Comment 0 for bug 1405964

Revision history for this message
Eugene Frolov (efrolov) wrote :

root@node-1:~# nova interface-list 84ea9602-d32b-4474-b7fc-778bd1e78c02
+------------+--------------------------------------+--------------------------------------+-----------------+-------------------+
| Port State | Port ID | Net ID | IP addresses | MAC Addr |
+------------+--------------------------------------+--------------------------------------+-----------------+-------------------+
| ACTIVE | 9c24fd72-b768-427c-9448-8375423880ba | f8091864-b1d5-4d0d-9f35-36070c57b7d2 | 192.168.111.119 | fa:16:3e:0f:4c:ef |
| ACTIVE | b6e31ed4-c910-4d95-b132-3c7ef872f66c | 7d8a16fd-130b-47f9-a985-d69e3a4e6620 | 192.168.0.1 | fa:16:3e:92:2d:08 |
| ACTIVE | bb6104f6-9451-4261-81e5-01b0a0ad0db2 | 82b2d5b8-6b33-4592-8cc9-3325c7b9396e | 192.168.0.3 | fa:16:3e:24:7d:51 |
+------------+--------------------------------------+--------------------------------------+-----------------+-------------------+

LC_ALL=C neutron port-show bb6104f6-9451-4261-81e5-01b0a0ad0db2
+-----------------------+------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | node-5 |
| binding:vif_details | {"port_filter": true, "ovs_hybrid_plug": true} |
| binding:vif_type | ovs |
| device_id | 84ea9602-d32b-4474-b7fc-778bd1e78c02 |
| device_owner | compute:None |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "c44361d5-a8a4-4c91-9388-ed1f48c535ca", "ip_address": "192.168.0.3"} |
| id | bb6104f6-9451-4261-81e5-01b0a0ad0db2 |
| mac_address | fa:16:3e:24:7d:51 |
| name | |
| network_id | 82b2d5b8-6b33-4592-8cc9-3325c7b9396e |
| security_groups | 168ca32c-456d-42cd-b7a8-5fb457cd6125 |
| status | ACTIVE |
| tenant_id | 3d0e067fc60a45b2af980681895501c6 |
+-----------------------+------------------------------------------------------------------------------------+

compute log:
<182>Dec 26 18:32:07 node-5 nova-nova.compute.resource_tracker INFO: Compute_service record updated for node-5:node-5
<179>Dec 26 18:32:15 node-5 nova-oslo.messaging.rpc.dispatcher ERROR: Exception during message handling: Port bb6104f6-9451-4261-81e5-01b0a0ad0db2 is not attached
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 133, in _dispatch_and_reply
    incoming.message))
  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 176, in _dispatch
    return self._do_dispatch(endpoint, method, ctxt, args)
  File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/dispatcher.py", line 122, in _do_dispatch
    result = getattr(endpoint, method)(ctxt, **new_args)
  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 393, in decorated_function
    return function(self, context, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 4360, in detach_interface
    "attached") % port_id)
PortNotFound: Port bb6104f6-9451-4261-81e5-01b0a0ad0db2 is not attached

root@node-1:~# nova interface-list 84ea9602-d32b-4474-b7fc-778bd1e78c02
+------------+--------------------------------------+--------------------------------------+-----------------+-------------------+
| Port State | Port ID | Net ID | IP addresses | MAC Addr |
+------------+--------------------------------------+--------------------------------------+-----------------+-------------------+
| ACTIVE | 9c24fd72-b768-427c-9448-8375423880ba | f8091864-b1d5-4d0d-9f35-36070c57b7d2 | 192.168.111.119 | fa:16:3e:0f:4c:ef |
| ACTIVE | b6e31ed4-c910-4d95-b132-3c7ef872f66c | 7d8a16fd-130b-47f9-a985-d69e3a4e6620 | 192.168.0.1 | fa:16:3e:92:2d:08 |
| ACTIVE | bb6104f6-9451-4261-81e5-01b0a0ad0db2 | 82b2d5b8-6b33-4592-8cc9-3325c7b9396e | 192.168.0.3 | fa:16:3e:24:7d:51 |
+------------+--------------------------------------+--------------------------------------+-----------------+-------------------+