yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #58778
[Bug 1641304] Re: when attach interface failed and raise a NovaException , the interface will be deleted not detach
Sorry, please provide more details. What level of code are you using?
Provide the nova git hash. And does 'doing some extensions' mean you're
changing the code? Please provide details on how to recreate this
without modified code and then re-open the bug if it's still an issue.
** Changed in: nova
Status: New => Invalid
--
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):
Invalid
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
References