I've verified that this problem doesn't reproduces with the package contained in proposed.
1) Deployed this bundle of bionic-queens
Upgraded to the following version:
root@juju-51d6ad-1751923-6:/home/ubuntu# dpkg -l | grep nova
ii nova-api-os-compute 2:17.0.13-0ubuntu3 all OpenStack Compute - OpenStack Compute API frontend
ii nova-common 2:17.0.13-0ubuntu3 all OpenStack Compute - common files
ii nova-conductor 2:17.0.13-0ubuntu3 all OpenStack Compute - conductor service
ii nova-placement-api 2:17.0.13-0ubuntu3 all OpenStack Compute - placement API frontend
ii nova-scheduler 2:17.0.13-0ubuntu3 all OpenStack Compute - virtual machine scheduler
ii python-nova 2:17.0.13-0ubuntu3 all OpenStack Compute Python libraries
root@juju-51d6ad-1751923-7:/home/ubuntu# dpkg -l | grep nova
ii nova-api-metadata 2:17.0.13-0ubuntu3 all OpenStack Compute - metadata API frontend
ii nova-common 2:17.0.13-0ubuntu3 all OpenStack Compute - common files
ii nova-compute 2:17.0.13-0ubuntu3 all OpenStack Compute - compute node base
ii nova-compute-kvm 2:17.0.13-0ubuntu3 all OpenStack Compute - compute node (KVM)
ii nova-compute-libvirt 2:17.0.13-0ubuntu3 all OpenStack Compute - compute node libvirt support
ii python-nova 2:17.0.13-0ubuntu3 all OpenStack Compute Python libraries
ii python-novaclient 2:9.1.1-0ubuntu1 all client library for OpenStack Compute API - Python 2.7
ii python3-novaclient 2:9.1.1-0ubuntu1 all client library for OpenStack Compute API - 3.x
root@juju-51d6ad-1751923-6:/home/ubuntu# systemctl status nova*|grep -i active
Active: active (running) since Fri 2021-08-27 22:02:25 UTC; 1h 7min ago
Active: active (running) since Fri 2021-08-27 22:02:12 UTC; 1h 8min ago
Active: active (running) since Fri 2021-08-27 22:02:25 UTC; 1h 7min ago
3) Created a server with 4 private ports, 1 public one.
ubuntu@niedbalski-bastion:~/stsstack-bundles/openstack$ openstack server list
+--------------------------------------+---------------+--------+-------------------------------------------------------------------------------+--------+-----------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+---------------+--------+-------------------------------------------------------------------------------+--------+-----------+
| 5843e6b5-e1a7-4208-9f19-1d051c032afb | cirros-232302 | ACTIVE | private=192.168.21.22, 192.168.21.6, 192.168.21.10, 192.168.21.13, 10.5.150.1 | cirros | m1.cirros |
+--------------------------------------+---------------+--------+-------------------------------------------------------------------------------+--------+-----------+
ubuntu@niedbalski-bastion:~/stsstack-bundles/openstack$ nova interface-list 5843e6b5-e1a7-4208-9f19-1d051c032afb
+------------+--------------------------------------+--------------------------------------+---------------+-------------------+
| Port State | Port ID | Net ID | IP addresses | MAC Addr |
+------------+--------------------------------------+--------------------------------------+---------------+-------------------+
| ACTIVE | 1680b164-14d7-4d6e-b085-94292ece82cf | 8d91e266-0925-4c29-8039-0d71862df4fc | 192.168.21.13 | fa:16:3e:cf:f8:c8 |
| ACTIVE | 5865a40e-36fa-4cf9-bd40-85a1e78031f5 | 8d91e266-0925-4c29-8039-0d71862df4fc | 192.168.21.6 | fa:16:3e:eb:73:b1 |
| ACTIVE | 5f400107-d9eb-4a1b-a37b-3bd034d8f995 | 8d91e266-0925-4c29-8039-0d71862df4fc | 192.168.21.10 | fa:16:3e:95:9a:78 |
| ACTIVE | b11d1c8e-d42a-41e0-a7ad-e34a7a93d020 | 8d91e266-0925-4c29-8039-0d71862df4fc | 192.16 8.21.22 | fa:16:3e:a3:45:45 |
+------------+--------------------------------------+--------------------------------------+---------------+-------------------+
Hello,
I've verified that this problem doesn't reproduces with the package contained in proposed.
1) Deployed this bundle of bionic-queens
Upgraded to the following version:
root@juju- 51d6ad- 1751923- 6:/home/ ubuntu# dpkg -l | grep nova
ii nova-api-os-compute 2:17.0.13-0ubuntu3 all OpenStack Compute - OpenStack Compute API frontend
ii nova-common 2:17.0.13-0ubuntu3 all OpenStack Compute - common files
ii nova-conductor 2:17.0.13-0ubuntu3 all OpenStack Compute - conductor service
ii nova-placement-api 2:17.0.13-0ubuntu3 all OpenStack Compute - placement API frontend
ii nova-scheduler 2:17.0.13-0ubuntu3 all OpenStack Compute - virtual machine scheduler
ii python-nova 2:17.0.13-0ubuntu3 all OpenStack Compute Python libraries
root@juju- 51d6ad- 1751923- 7:/home/ ubuntu# dpkg -l | grep nova libvirt 2:17.0.13-0ubuntu3 all OpenStack Compute - compute node libvirt support
ii nova-api-metadata 2:17.0.13-0ubuntu3 all OpenStack Compute - metadata API frontend
ii nova-common 2:17.0.13-0ubuntu3 all OpenStack Compute - common files
ii nova-compute 2:17.0.13-0ubuntu3 all OpenStack Compute - compute node base
ii nova-compute-kvm 2:17.0.13-0ubuntu3 all OpenStack Compute - compute node (KVM)
ii nova-compute-
ii python-nova 2:17.0.13-0ubuntu3 all OpenStack Compute Python libraries
ii python-novaclient 2:9.1.1-0ubuntu1 all client library for OpenStack Compute API - Python 2.7
ii python3-novaclient 2:9.1.1-0ubuntu1 all client library for OpenStack Compute API - 3.x
root@juju- 51d6ad- 1751923- 6:/home/ ubuntu# systemctl status nova*|grep -i active
Active: active (running) since Fri 2021-08-27 22:02:25 UTC; 1h 7min ago
Active: active (running) since Fri 2021-08-27 22:02:12 UTC; 1h 8min ago
Active: active (running) since Fri 2021-08-27 22:02:25 UTC; 1h 7min ago
3) Created a server with 4 private ports, 1 public one.
ubuntu@ niedbalski- bastion: ~/stsstack- bundles/ openstack$ openstack server list ------- ------- ------- ------- ----+-- ------- ------+ ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ----+-- ------+ ------- ----+ ------- ------- ------- ------- ----+-- ------- ------+ ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ----+-- ------+ ------- ----+ e1a7-4208- 9f19-1d051c032a fb | cirros-232302 | ACTIVE | private= 192.168. 21.22, 192.168.21.6, 192.168.21.10, 192.168.21.13, 10.5.150.1 | cirros | m1.cirros | ------- ------- ------- ------- ----+-- ------- ------+ ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ----+-- ------+ ------- ----+
+------
| ID | Name | Status | Networks | Image | Flavor |
+------
| 5843e6b5-
+------
ubuntu@ niedbalski- bastion: ~/stsstack- bundles/ openstack$ nova interface-list 5843e6b5- e1a7-4208- 9f19-1d051c032a fb ------+ ------- ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- +------ ------- --+---- ------- ------- -+ ------+ ------- ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- +------ ------- --+---- ------- ------- -+ 14d7-4d6e- b085-94292ece82 cf | 8d91e266- 0925-4c29- 8039-0d71862df4 fc | 192.168.21.13 | fa:16:3e:cf:f8:c8 | 36fa-4cf9- bd40-85a1e78031 f5 | 8d91e266- 0925-4c29- 8039-0d71862df4 fc | 192.168.21.6 | fa:16:3e:eb:73:b1 | d9eb-4a1b- a37b-3bd034d8f9 95 | 8d91e266- 0925-4c29- 8039-0d71862df4 fc | 192.168.21.10 | fa:16:3e:95:9a:78 | d42a-41e0- a7ad-e34a7a93d0 20 | 8d91e266- 0925-4c29- 8039-0d71862df4 fc | 192.16 8.21.22 | fa:16:3e:a3:45:45 | ------+ ------- ------- ------- ------- ------- ---+--- ------- ------- ------- ------- ------- +------ ------- --+---- ------- ------- -+
+------
| Port State | Port ID | Net ID | IP addresses | MAC Addr |
+------
| ACTIVE | 1680b164-
| ACTIVE | 5865a40e-
| ACTIVE | 5f400107-
| ACTIVE | b11d1c8e-
+------
4) I can see the 4 tap devices.
root@juju- 51d6ad- 1751923- 7:/home/ ubuntu# virsh dumpxml instance- 00000001| grep -i tap e-d4'/> e-36'/> 7-d9'/> 4-14'/>
<target dev='tapb11d1c8
<target dev='tap5865a40
<target dev='tap5f40010
<target dev='tap1680b16
5) I modified the instance info caches removing one of the interfaces.
Database changed info_caches set network_ info='[ {"profile" :{},"ovs_ interfaceid" :"5865a40e- 36fa-4cf9- bd40-85a1e78031 f5","preserve_ on_delete" :true," network" :{"bridge" :"br-int" ,"subnets" :[{"ips" :[{"meta" :{},"version" :4,"type" :"fixed" ,"floating_ ips":[] ,"address" :"192.168. 21.6"}] ,"version" :4,"meta" :{"dhcp_ server" :"192.168. 21.2"}, "dns":[ ],"routes" :[],"cidr" :"192.168. 21.0/24" ,"gateway" :{"meta" :{},"version" :4,"type" :"gateway" ,"address" :"192.168. 21.1"}} ],"meta" :{"injected" :false, "tenant_ id":"991d5e66c5 f64485a8b6c49db 60cfe99" ,"mtu": 1500}," id":"8d91e266- 0925-4c29- 8039-0d71862df4 fc","label" :"private" },"devname" :"tap5865a40e- 36","vnic_ type":" normal" ,"qbh_params" :null," meta":{ },"details" :{"port_ filter" :true," datapath_ type":" system" ,"ovs_hybrid_ plug":false} ,"address" :"fa:16: 3e:eb:73: b1","active" :true," type":" ovs","id" :"5865a40e- 36fa-4cf9- bd40-85a1e78031 f5","qbg_ params" :null}, {"profile" :{},"ovs_ interfaceid" :"5f400107- d9eb-4a1b- a37b-3bd034d8f9 95","preserve_ on_delete" :true," network" :{"bridge" :"br-int" ,"subnets" :[{"ips" :[{"meta" :{},"version" :4,"type" :"fixed" ,"floating_ ips":[] ,"address" :"192.168. 21.10"} ],"version" :4,"meta" :{"dhcp_ server" :"192.168. 21.2"}, "dns":[ ],"routes" :[],"cidr" :"192.168. 21.0/24" ,"gateway" :{"meta" :{},"version" :4,"type" :"gateway" ,"address" :"192.168. 21.1"}} ],"meta" :{"injected" :false, "tenant_ id":"991d5e66c5 f64485a8b6c49db 60cfe99" ,"mtu": 1500}," id":"8d91e266- 0925-4c29- 8039-0d71862df4 fc","label" :"private" },"devname" :"tap5f400107- d9","vnic_ type":" normal" ,"qbh_params" :null," meta":{ },"details" :{"port_ filter" :true," datapath_ type":" system" ,"ovs_hybrid_ plug":false} ,"address" :"fa:16: 3e:95:9a: 78","active" :true," type":" ovs","id" :"5f400107- d9eb-4a1b- a37b-3bd034d8f9 95","qbg_ params" :null}, {"profile" :{},"ovs_ interfaceid" :"1680b164- 14d7-4d6e- b085-94292ece82 cf","preserve_ on_delete" :true," network" :{"bridge" :"br-int" ,"subnets" :[{"ips" :[{"meta" :{},"version" :4,"type" :"fixed" ,"floating_ ips":[] ,"address" :"192.168. 21.13"} ],"version" :4,"meta" :{"dhcp_ server" :"192.168. 21.2"}, "dns":[ ],"routes" :[],"cidr" :"192.168. 21.0/24" ,"gateway" :{"meta" :{},"version" :4,"type" :"gateway" ,"address" :"192.168. 21.1"}} ],"meta" :{"injected" :false, "tenant_ id":"991d5e66c5 f64485a8b6c49db 60cfe99" ,"mtu": 1500}," id":"8d91e266- 0925-4c29- 8039-0d71862df4 fc","label" :"private" },"devname" :"tap1680b164- 14","vnic_ type":" normal" ,"qbh_params" :null," meta":{ },"details" :{"port_ filter" :true," datapath_ type":" system" ,"ovs_hybrid_ plug":false} ,"address" :"fa:16: 3e:cf:f8: c8","active" :true," type":" ovs","id" :"1680b164- 14d7-4d6e- b085-94292ece82 cf","qbg_ params" :null}] ';
mysql> update instance_
Query OK, 1 row affected (0.02 sec)
Rows matched: 1 Changed: 1 Warnings: 0
6) Rebooted the server
ubuntu@ niedbalski- bastion: ~/stsstack- bundles/ openstack$ openstack server reboot 5843e6b5- e1a7-4208- 9f19-1d051c032a fb
7) Listed the interfaces and those are available.
ubuntu@ niedbalski- bastion: ~/stsstack- bundles/ openstack$ openstack server list ------- ------- ------- ------- ----+-- ------- ------+ ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ----+-- ------+ ------- ----+ ------- ------- ------- ------- ----+-- ------- ------+ ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ----+-- ------+ ------- ----+ e1a7-4208- 9f19-1d051c032a fb | cirros-232302 | ACTIVE | private= 192.168. 21.22, 192.168.21.6, 192.168.21.10, 192.168.21.13, 10.5.150.1 | cirros | m1.cirros | ------- ------- ------- ------- ----+-- ------- ------+ ------- -+----- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ----+-- ------+ ------- ----+
+------
| ID | Name | Status | Networks | Image | Flavor |
+------
| 5843e6b5-
+------
root@juju- 51d6ad- 1751923- 7:/home/ ubuntu# virsh dumpxml instance- 00000001| grep -i tap e-d4'/> e-36'/> 7-d9'/> 4-14'/>
<target dev='tapb11d1c8
<target dev='tap5865a40
<target dev='tap5f40010
<target dev='tap1680b16