nova interface-list got none mac-addr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
Medium
|
Tiantian Gao |
Bug Description
When use nova shell to list interfaces, the column 'mac address' is empty.
ubuntu@
+------
| Port State | Port ID | Net ID | IP addresses | MAC Address |
+------
| ACTIVE | 1ef56a7c-
| ACTIVE | 2098f1ca-
+------
But in debug information we can find mac addr:
RESP: [200] {'date': 'Wed, 10 Jul 2013 09:38:33 GMT', 'content-length': '541', 'content-type': 'application/json', 'x-compute-
RESP BODY: {"interfaceAtta
Changed in python-novaclient: | |
status: | New → Confirmed |
Changed in python-novaclient: | |
importance: | Undecided → Medium |
Changed in python-novaclient: | |
status: | Fix Committed → Fix Released |
Review: https:/ /review. openstack. org/#/c/ 36421/
Fix interface-list got none mac address.
novaclient expect the response json body has a column 'mac_address', but
actually is 'mac_addr'. This patch is a quick fix. Just print out
"mac_addr" is readable enough.
Fix bug: #1199706
Change-Id: I68823a3d719ee2 f5d9d8b6227ca8e b858fc270c3