Bug 989204
Summary: | "nova interface-list" shows empty value in the interface's mac address field | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Rami Vaknin <rvaknin> |
Component: | python-novaclient | Assignee: | Brent Eagles <beagles> |
Status: | CLOSED ERRATA | QA Contact: | Roey Dekel <rdekel> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.0 | CC: | beagles, dallan, ddomingo, hateya, jruzicka, mlopes, ndipanov, oblaut, yeylon |
Target Milestone: | beta | ||
Target Release: | 4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-novaclient-2.15.0-1.el6ost | Doc Type: | Bug Fix |
Doc Text: |
A python-novaclient bug prevented the 'nova interface-list' command from displaying MAC addresses. Specifically, the interface-list command incorrectly expected MAC address information in the JSON response to be in a column named 'mac_address'. However, the column was actually named 'mac_addr'.
This prevented the 'nova interface-list' command from retrieving and, consequently, displaying MAC address information.
With this fix, python-novaclient now expects MAC addresses from the correct 'mac_addr' column. This allows the 'nova interface-list' command to retrieve and display MAC address information.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-12-20 00:15:54 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rami Vaknin
2013-07-28 10:47:29 UTC
This was actually a novaclient issue and appears to have been fixed in the upstream source tree. I'm adding the external tracker for the issue, changing the component and setting to post for verification. Verified on Havana 2013-10-28.2: openstack-nova-api-2013.2-4.el6ost.noarch openstack-neutron-2013.2-3.el6ost.noarch nova interface-list show all the ports MAC Addr: # nova list +--------------------------------------+-----------+--------+------------+-------------+-------------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+-----------+--------+------------+-------------+-------------------------+ | 8e4018ff-5656-422b-9af4-389fc97d4b1e | instance1 | ACTIVE | None | Running | netInt238=192.168.238.2 | | 05b1e84d-5577-482b-9bdf-a0d2a44db02d | instance2 | ACTIVE | None | Running | netInt237=192.168.237.4 | | ba08ad5c-42ef-4504-87ef-534afba24bec | instance3 | ACTIVE | None | Running | netInt238=192.168.238.5 | | 3d337d3c-a666-4c31-a2ca-56fcdbda8ba2 | instance5 | ACTIVE | None | Running | netInt238=192.168.238.6 | +--------------------------------------+-----------+--------+------------+-------------+-------------------------+ # nova interface-list 8e4018ff-5656-422b-9af4-389fc97d4b1e+------------+--------------------------------------+--------------------------------------+---------------+-------------------+ | Port State | Port ID | Net ID | IP addresses | MAC Addr | +------------+--------------------------------------+--------------------------------------+---------------+-------------------+ | ACTIVE | 528b3411-a243-4674-83db-7aaecb5cb6d0 | 75e4f2d2-7d7b-4cd6-89e6-5d31a893c367 | 192.168.237.2 | fa:16:3e:5b:e5:86 | | ACTIVE | 8ea7ee3b-42f2-4208-a33a-c20bea6d25f8 | 992071d2-115f-41a1-9ecd-47147045d586 | 192.168.238.2 | fa:16:3e:cf:95:d8 | +------------+--------------------------------------+--------------------------------------+---------------+-------------------+ # neutron port-show 528b3411-a243-4674-83db-7aaecb5cb6d0 +-----------------------+--------------------------------------------------------------------------------------+ | Field | Value | +-----------------------+--------------------------------------------------------------------------------------+ | admin_state_up | True | | allowed_address_pairs | | | binding:capabilities | {"port_filter": true} | | binding:host_id | rose11.qa.lab.tlv.redhat.com | | binding:vif_type | ovs | | device_id | 8e4018ff-5656-422b-9af4-389fc97d4b1e | | device_owner | compute:None | | extra_dhcp_opts | | | fixed_ips | {"subnet_id": "37eae6ec-e15b-46be-b965-514fd441efb4", "ip_address": "192.168.237.2"} | | id | 528b3411-a243-4674-83db-7aaecb5cb6d0 | | mac_address | fa:16:3e:5b:e5:86 | | name | | | network_id | 75e4f2d2-7d7b-4cd6-89e6-5d31a893c367 | | security_groups | 99f29033-e186-4a3d-ae89-029a0b4caeca | | status | ACTIVE | | tenant_id | 80384d55b7554d9ab3d6190142a69d34 | +-----------------------+--------------------------------------------------------------------------------------+ # neutron port-show 8ea7ee3b-42f2-4208-a33a-c20bea6d25f8 +-----------------------+--------------------------------------------------------------------------------------+ | Field | Value | +-----------------------+--------------------------------------------------------------------------------------+ | admin_state_up | True | | allowed_address_pairs | | | binding:capabilities | {"port_filter": true} | | binding:host_id | rose11.qa.lab.tlv.redhat.com | | binding:vif_type | ovs | | device_id | 8e4018ff-5656-422b-9af4-389fc97d4b1e | | device_owner | compute:None | | extra_dhcp_opts | | | fixed_ips | {"subnet_id": "475970ce-badb-4025-9240-854d00cdc83e", "ip_address": "192.168.238.2"} | | id | 8ea7ee3b-42f2-4208-a33a-c20bea6d25f8 | | mac_address | fa:16:3e:cf:95:d8 | | name | | | network_id | 992071d2-115f-41a1-9ecd-47147045d586 | | security_groups | 99f29033-e186-4a3d-ae89-029a0b4caeca | | status | ACTIVE | | tenant_id | 80384d55b7554d9ab3d6190142a69d34 | +-----------------------+--------------------------------------------------------------------------------------+ Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1859.html |