add fixed ip throws 'Client' object has no attribute 'networks'

Bug #1686239 reported by tom king
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Incomplete
Undecided
Unassigned

Bug Description

python-openstackclient version 3.9.0

lab@Ubuntu-1404LTS:~$ openstack server list
+--------------------------------------+----------+--------+----------------------------+----------------+
| ID | Name | Status | Networks | Image Name |
+--------------------------------------+----------+--------+----------------------------+----------------+
| 266f293d-49d2-47cc-942c-a6a9aa2b3b54 | TestIPv6 | ACTIVE | AdminNetwork=10.144.74.239 | Ubuntu16.04LTS |
+--------------------------------------+----------+--------+----------------------------+----------------+
lab@Ubuntu-1404LTS:~$ openstack network list | grep AllTestVLANs
| bc2dee55-3c32-4176-bb80-c1f9bf352ca0 | AllTestVLANs | 06ae7c7f-c77d-41a9-9ea8-c0aa3058e5a9 |
lab@Ubuntu-1404LTS:~$ openstack server add fixed ip 266f293d-49d2-47cc-942c-a6a9aa2b3b54 bc2dee55-3c32-4176-bb80-c1f9bf352ca0
'Client' object has no attribute 'networks'

Revision history for this message
Dean Troyer (dtroyer) wrote :

We need a bit more information on this, it is likely caused by a) the cloud using Nova-network and not Neutron, and b) python-novaclient >= 8.0 is installed. Can you confirm either or both of these?

FWIW, installing python-novaclient 7.1.0 should restore operation until the next release of OSC (expected to be 3.10.0 next week).

Changed in python-openstackclient:
status: New → Incomplete
Revision history for this message
tom king (kingttx) wrote :

pip list | grep python-novaclient
python-novaclient (8.0.0)

I may answer your first question out of ignorance, so please nudge me in the correct direction. We are running VMware VIO 3.0 on top of NSX, tied into Neutron. I am running OSC 3.9.0 - I'll look for 3.10.0 next week.

Revision history for this message
tom king (kingttx) wrote :

Confirmed fixed with python-openstackclient (3.11.0), please close at your leisure.

Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.