Upgrading openstacksdk to newest (0.10.0) version causes problems in OSC network commands
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I have successfully installed Openstack Pike on Ubuntu 16.04.3 LTS, but yesterday I encountered the folowing bug...
Upgrading openstacksdk package from 0.9.19 to newest 0.10.0 version causes the error in openstackclient network commands:
$ openstack network list
'NoneType' object has no attribute 'name'
$ openstack network agent list
'NoneType' object has no attribute 'name'
However, such commands via neutron-cli executed without any errors:
$ neutron net-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+------
| id | name | tenant_id | subnets |
+------
| 031fc202-
| 6ae99ab2-
+------
Downgrading openstacksdk package (via pip) back to 0.9.19 version solves this problem.
Current version of python-
affects: | python-openstackclient → python-openstacksdk |
affects: | python-openstacksdk → python-openstackclient |
description: | updated |
tags: | added: pike |
tags: | added: neutron openstack-utils openstacksdk |
no longer affects: | python-openstacksdk |
It seems that this happens when there is a version mismatch between sdk and client. Upgrading python- openstackclient to 3.13.0 solves the issue for me.