nova list not showing networks info
Bug #854585 reported by
Eric Dodemont
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Critical
|
Trey Morris |
Bug Description
I just have installed nova with the latest ppa packages: 2012.1~
The nova command is no more showing the networks info:
* euca-describe-
INSTANCE i-00000018 ami-00000003 192.168.1.240 10.0.3.3 running key-dodeeric (project-toc, node1) 0 a1.medium
* nova list (NOK: "Netwoks" field is empty):
+----+-
| ID | Name | Status | Networks |
+----+-
| 24 | Server 24 | ACTIVE | |
+----+-
Changed in nova: | |
assignee: | nobody → Dan Prince (dan-prince) |
status: | New → In Progress |
importance: | Undecided → Critical |
Changed in nova: | |
assignee: | Dan Prince (dan-prince) → Trey Morris (tr3buchet) |
Changed in nova: | |
milestone: | none → essex-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-1 → 2012.1 |
To post a comment you must log in.
I'm seeing this as well. When using the OSAPI to access servers the IP information is gone:
{"server": {"status": "ACTIVE", "updated": "2011-09- 20T14:33: 26Z", "hostId": "84fd63700cb981 fed0d55e7a7eca3 b25d111477b5b67 e70efcf39b93" , "user_id": "admin", "name": "test", "links": [{"href": "http:// nova1:8774/ v1.1/1/ servers/ 2", "rel": "self"}, {"href": "http:// nova1:8774/ 1/servers/ 2", "rel": "bookmark"}], "addresses": {}, "tenant_id": "1", "image": {"id": "3", "links": [{"href": "http:// nova1:8774/ 1/images/ 3", "rel": "bookmark"}]}, "created": "2011-09- 20T14:33: 14Z", "uuid": "e10b051d- 0b69-436b- a6b0-60045be92f f3", "accessIPv4": "", "accessIPv6": "", "key_name": null, "progress": 100, "flavor": {"id": "1", "links": [{"href": "http:// nova1:8774/ 1/flavors/ 1", "rel": "bookmark"}]}, "config_drive": "", "id": 2, "metadata": {}}}
Looks like commit 1594 is the culprit. That commit removed the fkey from instances to virtual_interfaces.
Our code uses the following to obtain the IPs:
interfaces = inst.get( 'virtual_ interfaces' , [])