[Nova] Nova removes a port after unsuccessful attaching
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | Status tracked in 10.0.x | |||||
10.0.x |
Confirmed
|
Medium
|
stgleb | |||
9.x |
Won't Fix
|
Medium
|
MOS Nova |
Bug Description
Steps to reproduce:
1) Create a port: neutron port-create a72ac858-
2) Boot a server with this port:
3) Start polling nova with detach requests:nova boot b --flavor=m1.micro --image=TestVM --nic port-id=
so you can probably will see such messages:
ERROR (Conflict): Cannot 'detach_interface' instance 094283e8-
After successful detach try to attach mentioned port again, you will see: ERROR (ClientException): Failed to attach network adapter device to bc4c1dca-
After this unsuccessful attach we can't find mentioned port:
root@node-2:~# neutron port-show fea272eb-
Unable to find port with name or id 'fea272eb-
The reason of this behaviour may be in some races in nova, so in some moment after changing of BUILD state nova can't correctly serve detach requests.
Attached nova logs: http://
Changed in mos: | |
importance: | Undecided → High |
summary: |
- Nova removes a port after unsuccessful attaching + [Nova] Nova removes a port after unsuccessful attaching |
Changed in mos: | |
milestone: | none → 9.0 |
assignee: | nobody → MOS Nova (mos-nova) |
Changed in mos: | |
assignee: | MOS Nova (mos-nova) → stgleb (gstepanov) |
Changed in mos: | |
milestone: | 9.0 → 10.0 |
tags: | added: 10.0-reviewed |
(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:
actual result
version
expected result
For more detailed information on the contents of each of the listed sections see https:/ /wiki.openstack .org/wiki/ Fuel/How_ to_contribute# Here_is_ how_you_ file_a_ bug