Public bug reported:

Description
===========
We spawn VM with port-id ,the value of preserve_on_delete is True ,When we lose 
some ports from instance_info_caches ,after periodic task 
_heal_instance_info_cache the instance_info_caches are recovery from neutron, 
however the value of preserve_on_delete became False,not the original value 
False    

Steps to reproduce
==================
1.Spawn VM with command :nova boot --flavor xx --nic port-id xx --image xx 
instance_name
2.nova interface-list instance_name(Preserve On Delete is True)
3.Update nova db row, drop one interface from interfaces,such as
Update instance_info_caches set network_info='[]' where instance_uuid='xxx';
4.nova show instance_name (we can see ,vm lost network info )
5.after periodic task _heal_instance_info_cache , interface is added to the 
instance 
6.nova interface-list instance_name   (Preserve On Delete became False ,not the 
original value)

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1834463

Title:
  Value of perserve_on_delete not corrte after _heal_instance_info_cache

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  We spawn VM with port-id ,the value of preserve_on_delete is True ,When we 
lose some ports from instance_info_caches ,after periodic task 
_heal_instance_info_cache the instance_info_caches are recovery from neutron, 
however the value of preserve_on_delete became False,not the original value 
False    

  Steps to reproduce
  ==================
  1.Spawn VM with command :nova boot --flavor xx --nic port-id xx --image xx 
instance_name
  2.nova interface-list instance_name(Preserve On Delete is True)
  3.Update nova db row, drop one interface from interfaces,such as
  Update instance_info_caches set network_info='[]' where instance_uuid='xxx';
  4.nova show instance_name (we can see ,vm lost network info )
  5.after periodic task _heal_instance_info_cache , interface is added to the 
instance 
  6.nova interface-list instance_name   (Preserve On Delete became False ,not 
the original value)

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to