← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1641304] [NEW] when attach interface failed and raise a NovaException , the interface will be deleted not detach

 

Public bug reported:

what i did:
  Doing some extensions based on attach_interface when I raised an InterfaceAttachFailed in the file vmops.py ,I found the interface would be deleted ,because the variable instance not be refreshed。

what i try to solve:
  added 'instance.refresh()' before deallocate_port_for_instance in the function 'attach_interface' of the file 'manager.py' , the problem would be solved.

** 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/1641304

Title:
  when attach interface failed and raise a NovaException ,the interface
  will be deleted not detach

Status in OpenStack Compute (nova):
  New

Bug description:
  what i did:
    Doing some extensions based on attach_interface when I raised an InterfaceAttachFailed in the file vmops.py ,I found the interface would be deleted ,because the variable instance not be refreshed。

  what i try to solve:
    added 'instance.refresh()' before deallocate_port_for_instance in the function 'attach_interface' of the file 'manager.py' , the problem would be solved.

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


Follow ups