2018-01-17 13:10:57 |
Annie Melen |
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-4312-4ca8-a610-30e340cdb9df | ExternalNet-1 | 8568f73979a148f4856fbba225107f44 | 55e6cbbb-a0ec-4aba-8776-546da20ffe9f 10.0.210.0/23 |
| 6ae99ab2-084c-4d44-8893-1e36ca2973b5 | ExternalNet-2 | 8568f73979a148f4856fbba225107f44 | 930a98a7-b159-46bc-8e4d-db7c5ceba2df 10.0.212.0/23 |
+--------------------------------------+---------------------+----------------------------------+--------------------------------------------------------+
Downgrading openstacksdk package (via pip) back to 0.9.19 version solves this problem. |
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-4312-4ca8-a610-30e340cdb9df | ExternalNet-1 | 8568f73979a148f4856fbba225107f44 | 55e6cbbb-a0ec-4aba-8776-546da20ffe9f 10.0.210.0/23 |
| 6ae99ab2-084c-4d44-8893-1e36ca2973b5 | ExternalNet-2 | 8568f73979a148f4856fbba225107f44 | 930a98a7-b159-46bc-8e4d-db7c5ceba2df 10.0.212.0/23 |
+--------------------------------------+---------------------+----------------------------------+--------------------------------------------------------+
Downgrading openstacksdk package (via pip) back to 0.9.19 version solves this problem.
Current version of python-openstackclient is 3.12.0. |
|