Port still existed after attach interface failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Low
|
Eli Qiao |
Bug Description
$ nova boot --flavor 1 --image 01efb526-
$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 50cf7eb6-
+------
$ nova interface-attach vm1 --net-id 72cad723-
ERROR (InternalServer
And get error from compute-manager:
2014-07-14 17:34:49.072 TRACE oslo.messaging.
2014-07-14 17:34:49.072 TRACE oslo.messaging.
2014-07-14 17:34:49.072 TRACE oslo.messaging.
2014-07-14 17:34:49.072 TRACE oslo.messaging.
2014-07-14 17:34:49.072 TRACE oslo.messaging.
2014-07-14 17:34:49.072 TRACE oslo.messaging.
2014-07-14 17:34:49.072 TRACE oslo.messaging.
2014-07-14 17:34:49.072 TRACE oslo.messaging.
2014-07-14 17:34:49.072 TRACE oslo.messaging.
2014-07-14 17:34:49.072 TRACE oslo.messaging.
2014-07-14 17:34:49.072 TRACE oslo.messaging.
2014-07-14 17:34:49.072 TRACE oslo.messaging.
2014-07-14 17:34:49.072 TRACE oslo.messaging.
2014-07-14 17:34:49.072 TRACE oslo.messaging.
$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 50cf7eb6-
+------
$ neutron port-show a342ea6e-
Starting new HTTP connection (1): cloudcontroller
Starting new HTTP connection (1): cloudcontroller
Starting new HTTP connection (1): cloudcontroller
+------
| Field | Value |
+------
| admin_state_up | True |
| allowed_
| binding:host_id | soulxu1404-
| binding:profile | {} |
| binding:vif_details | {"port_filter": true} |
| binding:vif_type | bridge |
| binding:vnic_type | normal |
| device_id | 50cf7eb6-
| device_owner | compute:None |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "f1b4645d-
| id | a342ea6e-
| mac_address | fa:16:3e:ac:e7:9f |
| name | |
| network_id | 72cad723-
| security_groups | c4cee52e-
| status | DOWN |
| tenant_id | ac99aeb3fbb2449
+------
Actually the port isn't attach to instance. The port should be deleted after attach interface failed.
Changed in nova: | |
assignee: | nobody → Alex Xu (xuhj) |
importance: | Undecided → Low |
Changed in nova: | |
assignee: | Alex Xu (xuhj) → Eli Qiao (taget-9) |
status: | Incomplete → In Progress |
Fix proposed to branch: master /review. openstack. org/106719
Review: https:/