I could re-create the same with the latest devstack and long hostname stack@myci:~/devstack$ hostname myci.home.org
stack@myci:~/devstack$ sudo ovs-vsctl list open_vswitch _uuid : 3859f81a-2f37-456c-b3da-bb068f30310f bridges : [06b3fc03-5783-4401-be39-2562836f2058, 3e1363b6-fb78-4160-a41e-9c47441ca481] cur_cfg : 2 datapath_types : [netdev, system] datapaths : {} db_version : "8.2.0" dpdk_initialized : false dpdk_version : none external_ids : {hostname=myci, ovn-bridge=br-int, ovn-bridge-mappings="public:br-ex", ovn-cms-options=enable-chassis-as-gw, ovn-encap-ip="192.168.122.20", ovn-encap-type=geneve, ovn-remote="tcp:192.168.122.20:6642", rundir="/var/run/openvswitch", system-id="cd754343-5266-4d01-8328-f462916a2a2c"} iface_types : [erspan, geneve, gre, internal, ip6erspan, ip6gre, lisp, patch, stt, system, tap, vxlan] manager_options : [a92f4ff7-f42f-4f4c-962a-647c82287cf1] next_cfg : 2 other_config : {} ovs_version : "2.13.5" ssl : [] statistics : {} system_type : ubuntu system_version : "20.04" A fix for this config: stack@myci:~/devstack$ sudo ovs-vsctl set open_vswitch . external- ids:hostname='myci.home.org' After that everything works. So this is rather devstack bug ** Changed in: neutron Status: Expired => Confirmed ** Project changed: neutron => devstack -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1943631 Title: Neutron with OVN fails to bind port if hostname has dots Status in devstack: Confirmed Bug description: If the hostname has dots, as in for example "devstack.localdomain", when trying to create an instance, Neutron will fail with "Failed to bind port". Reproduced with the latest DevStack from master on top of Ubuntu Server 20.04.3 LTS with latest packages installed. Minimal installation, no additional packages installed (only removed python3-simplejson and python3-pyasn1-modules due to recent issues with those packages[1]). I find this weird, because afaik TripleO uses FQDNs, so in theory Neutron with OVN should break their CI (although I'm not sure if they use OVN or Open vSwitch). I'm still not sure if this is on my end or not, but I was able to reproduce this consistently, trying different hostnames, trying the most minimal local.conf possible (setting only passwords), so I decided to report it as a bug. Steps to reproduce: 1. Set the system's hostname to something with at least one dot 2. Deploy DevStack 3. Create instance on any network 4. Inspect devstack@q-svc.service to see the error Expected output: Instance is created successfully Actual output: Instance enters error state and devstack@q-svc.service reports this: https://paste.openstack.org/show/809315/ Version: DevStack from master Ubuntu Server 20.04.3 LTS OVN mechanism driver Environment (local.conf): https://paste.openstack.org/show/809316/ Perceived severity: low [1] https://bugs.launchpad.net/devstack/+bug/1871485 To manage notifications about this bug go to: https://bugs.launchpad.net/devstack/+bug/1943631/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp