← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1740282] [NEW] network_info is empty in instance_info_caches table

 

Public bug reported:

Last time I experienced simillar issue to:
https://bugs.launchpad.net/mos/+bug/1422686
https://bugs.launchpad.net/nova/+bug/1378459
https://bugs.launchpad.net/nova/+bug/1460308
https://bugs.launchpad.net/nova/+bug/1407664

Shortly, horizon and 'openstack port show' are showing correct info
about attached interface to instance, but 'openstack server show' has no
info about network interface (also openstack server list has many empty
entries instead of ip addresses). So after hard reboot of instance or
hypervisor restart, the instance is booting without network interface. I
found that problem is with missing information in instance_info_caches
table, which has value "[]" in network_info field, for example:

mysql> select * from instance_info_caches where instance_uuid = 'e615b76e-f61a-4703-a383-f58dbf1a4ffe';
+---------------------+------------+------------+-------+--------------+--------------------------------------+---------+
| created_at          | updated_at | deleted_at | id    | network_info | instance_uuid                        | deleted |
+---------------------+------------+------------+-------+--------------+--------------------------------------+---------+
| 2017-12-27 15:20:51 | NULL       | NULL       | 99314 | []           | e615b76e-f61a-4703-a383-f58dbf1a4ffe |       0 |
+---------------------+------------+------------+-------+--------------+--------------------------------------+---------+

I tried to delete the row from the table, but nova recreates the entry in the same way. So the only solution is delete neutron port and attach new interface to instance.
The issue affects instances when single or multiple are created at once, so I think it's not related to bug #1422686.

Openstack: Ocata
Hypervisor: Ubuntu 16.04 libvirt
network: neutron with ovs

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: neutron nova

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1740282

Title:
   network_info is empty in instance_info_caches table

Status in OpenStack Compute (nova):
  New

Bug description:
  Last time I experienced simillar issue to:
  https://bugs.launchpad.net/mos/+bug/1422686
  https://bugs.launchpad.net/nova/+bug/1378459
  https://bugs.launchpad.net/nova/+bug/1460308
  https://bugs.launchpad.net/nova/+bug/1407664

  Shortly, horizon and 'openstack port show' are showing correct info
  about attached interface to instance, but 'openstack server show' has
  no info about network interface (also openstack server list has many
  empty entries instead of ip addresses). So after hard reboot of
  instance or hypervisor restart, the instance is booting without
  network interface. I found that problem is with missing information in
  instance_info_caches table, which has value "[]" in network_info
  field, for example:

  mysql> select * from instance_info_caches where instance_uuid = 'e615b76e-f61a-4703-a383-f58dbf1a4ffe';
  +---------------------+------------+------------+-------+--------------+--------------------------------------+---------+
  | created_at          | updated_at | deleted_at | id    | network_info | instance_uuid                        | deleted |
  +---------------------+------------+------------+-------+--------------+--------------------------------------+---------+
  | 2017-12-27 15:20:51 | NULL       | NULL       | 99314 | []           | e615b76e-f61a-4703-a383-f58dbf1a4ffe |       0 |
  +---------------------+------------+------------+-------+--------------+--------------------------------------+---------+

  I tried to delete the row from the table, but nova recreates the entry in the same way. So the only solution is delete neutron port and attach new interface to instance.
  The issue affects instances when single or multiple are created at once, so I think it's not related to bug #1422686.

  Openstack: Ocata
  Hypervisor: Ubuntu 16.04 libvirt
  network: neutron with ovs

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1740282/+subscriptions