Title ----- vhostuser port on br-int doesn't work Brief Description ----------------- VM can't send packet through vhostuser port. During the booting up VM, VM will contact DHCP server to get an IP address. However packet can't go through vhostuser port, VM can't get the IP address. Severity -------- Critical Steps to Reproduce ------------------ 1. Install Standard 2+2 on 4 bare metals Guide: https://wiki.openstack.org/wiki/StarlingX/Containers/Installation 2. Using the scripts from the guide to create network, subnet and router. 3. Download cirros image on controller-0 wget http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img 4. Upload cirros image openstack image create --container-format bare --disk-format qcow2 --file cirros-0.3.4-x86_64-disk.img cirros 5. Create VM openstack server create --image cirros --flavor m1.tiny --network public-net0 vm1 6. Check which host vm1 is running openstack server show vm1 7. On the host where vm1 is running, log in the vm1 and check the IP sudo virsh list sudo virsh console $num_vm1 login vm1: cirros, cubswin:) sudo ifconfig Expected Behavior ------------------ An IP address has been assigned to interface eth0 Actual Behavior ---------------- No IP address assigned to interface eth0 System Configuration -------------------- System mode: Standard 2+2 on bare metals Reproducibility --------------- 100% Branch/Pull Time/Commit ----------------------- master as of 20190305T060000Z Timestamp/Logs -------------- compute-0:/home/wrsroot# virsh list Id Name State ----------------------------------- 18 instance-00000037 running 21 cirros-ovs-dpdk running 22 instance-0000003d running compute-0:/home/wrsroot# virsh console 22 Connected to domain instance-0000003d Escape character is ^] Sending discover... Sending discover... Usage: /sbin/cirros-dhcpc No lease, failing WARN: /etc/rc3.d/S40-network failed cirros-ds 'net' up at 181.29 checking http://169.254.169.254/2009-04-04/instance-id failed 1/20: up 181.30. request failed failed 2/20: up 183.45. request failed failed 3/20: up 185.45. request failed failed 4/20: up 187.46. request failed failed 5/20: up 189.46. request failed failed 6/20: up 191.47. request failed failed 7/20: up 193.47. request failed failed 8/20: up 195.48. request failed failed 9/20: up 197.48. request failed failed 10/20: up 199.49. request failed failed 11/20: up 201.49. request failed failed 12/20: up 203.49. request failed failed 13/20: up 205.50. request failed failed 14/20: up 207.50. request failed failed 15/20: up 209.51. request failed failed 16/20: up 211.51. request failed failed 17/20: up 213.52. request failed failed 18/20: up 215.52. request failed failed 19/20: up 217.53. request failed failed 20/20: up 219.53. request failed failed to read iid from metadata. tried 20 no results found for mode=net. up 221.54. searched: nocloud configdrive ec2 failed to get instance-id of datasource Starting dropbear sshd: generating rsa key... generating dsa key... OK === system information === Platform: OpenStack Foundation OpenStack Nova Container: none Arch: x86_64 CPU(s): 1 @ 2693.508 MHz Cores/Sockets/Threads: 1/1/1 Virt-type: RAM Size: 491MB Disks: NAME MAJ:MIN SIZE LABEL MOUNTPOINT vda 253:0 1073741824 vda1 253:1 1061061120 cirros-rootfs / === sshd host keys === -----BEGIN SSH HOST KEY KEYS----- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgwCA7QbmxFnKoleSsaEAIUAio+d3TkrpQMW3pe16n+LhQQRHxnrFzKBzkkeaDD2xEpn49OjwheWJHaxUq6pDQ5pedneLb7MJR/aduum8mGFp3jVKrK+z7KX9iUp3m2oNw0ijnUzxME4nT17xQ99XZZ90rk0+M5Kp7H/JqKpYjZEq85lf root@cirros ssh-dss AAAAB3NzaC1kc3MAAACBAJb8vo+8XFfUaBqaAXZF5ENkHtFZIOcQYq8TbQm0HXvWnuHd6Ur2MX4opaUnk6ar9t/evjZJfq8A750q6NvOC6zCiMzhp6huqBpCfrUNMHVkdGtHEDtJRbFhLJbjL/57lVwxH+UukWKjtuPX7BTdP0NgT4VEbvGo0nfqGycbxXnnAAAAFQCy7dP1nLBU/jMIQ64OH7gvVcQ91QAAAIBMHGh9cfXdGRdwXuyA8JmzgYIzDzm/L96+RYl8ARJs9u7pp8ZV4kt2zF6zHcy+i3slXv82BoKv5G0mBgFypZE1kUonNn4U33ecYt7xALI5mzZinCk/sZd0dYkAwvogFQuXQHfYiozXNZtousZRB6x24oBgAPteM7Q/c9ckVOhtOQAAAIAVCrPaBucLRNeG7tst2OLGXwFacFq3M4dD/i5Tf9xJJCW26K3ZCoc/UkkdZv5TFWtXnDGCtcl+0t5JAanbZ90MosKvfo/QZEBEGXczh54evSoidgUKXwXBpGOp6jS2mOeIwvsTcMVdhuFi2/k5otbvoR6f/Rk2y3CiVHIo3nUkXw== root@cirros -----END SSH HOST KEY KEYS----- === network info === if-info: lo,up,127.0.0.1,8,::1 if-info: eth0,up,,8,fe80::f816:3eff:fe54:33ca === datasource: None None === === cirros: current=0.3.4 uptime=221.75 === route: fscanf === pinging gateway failed, debugging connection === ############ debug start ############## ### /etc/init.d/sshd start Starting dropbear sshd: OK route: fscanf ### ifconfig -a eth0 Link encap:Ethernet HWaddr FA:16:3E:54:33:CA inet6 addr: fe80::f816:3eff:fe54:33ca/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:1132 (1.1 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1020 (1020.0 B) TX bytes:1020 (1020.0 B) ### route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface route: fscanf ### cat /etc/resolv.conf cat: can't open '/etc/resolv.conf': No such file or directory ### gateway not found /sbin/cirros-status: line 1: can't open /etc/resolv.conf: no such file ### pinging nameservers ### uname -a Linux cirros 3.2.0-80-virtual #116-Ubuntu SMP Mon Mar 23 17:28:52 UTC 2015 x86_64 GNU/Linux ### lsmod Module Size Used by Not tainted nls_iso8859_1 12713 0 nls_cp437 16991 0 vfat 17585 0 fat 61512 1 vfat isofs 40259 0 ip_tables 27473 0 x_tables 29891 1 ip_tables pcnet32 42119 0 8139cp 27360 0 ne2k_pci 13691 0 8390 18856 1 ne2k_pci e1000 108589 0 acpiphp 24231 0 ### dmesg | tail [ 0.970394] acpiphp: Slot [30] registered [ 0.970405] acpiphp: Slot [31] registered [ 0.979866] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI [ 0.979868] e1000: Copyright (c) 1999-2006 Intel Corporation. [ 0.988386] ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker [ 0.994725] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004) [ 0.999723] pcnet32: pcnet32.c:v1.35 21.Apr.2008