Hi,

Please try newest version from master branch. All works fine for me with it:

[09:15:53] vagrant@devstack-ubuntu-ovs ~ $ neutron net-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI 
instead.
+--------------------------------------+---------+----------------------------------+----------------------------------------------------------+
| id                                   | name    | tenant_id                    
    | subnets                                                  |
+--------------------------------------+---------+----------------------------------+----------------------------------------------------------+
| 78e44156-4a0d-47d1-902f-91a5bab0a2f7 | private | 
e9ded0c4ea2a48ed98d77a4048176b92 | b470007a-00c9-4953-bbf2-6ef8337bbaba 
fddb:30c8:695d::/64 |
|                                      |         |                              
    | b536f540-6e40-4e37-adf3-deb46733550f 10.0.0.0/26         |
| a95c7928-003b-4be5-b623-e8c608646a93 | public  | 
0b9809c9cadf44779b99680baabdf981 | e9fecfad-97b4-4998-b3f5-9f0c1f570236 
10.10.0.128/25      |
|                                      |         |                              
    | be9ba7f0-3931-41e9-8492-b207a10db930 2001:db8::/64       |
+--------------------------------------+---------+----------------------------------+----------------------------------------------------------+
[09:15:56] vagrant@devstack-ubuntu-ovs ~ $ openstack network list
+--------------------------------------+---------+----------------------------------------------------------------------------+
| ID                                   | Name    | Subnets                      
                                              |
+--------------------------------------+---------+----------------------------------------------------------------------------+
| 78e44156-4a0d-47d1-902f-91a5bab0a2f7 | private | 
b470007a-00c9-4953-bbf2-6ef8337bbaba, b536f540-6e40-4e37-adf3-deb46733550f |
| a95c7928-003b-4be5-b623-e8c608646a93 | public  | 
be9ba7f0-3931-41e9-8492-b207a10db930, e9fecfad-97b4-4998-b3f5-9f0c1f570236 |
+--------------------------------------+---------+----------------------------------------------------------------------------+


> Wiadomość napisana przez Manuel Sopena Ballesteros <manuel...@garvan.org.au> 
> w dniu 15.11.2018, o godz. 08:52:
> 
> Hi,
>  
> This looks like a stupid thing but I can’t make it to work. For some reason I 
> can’t run any openstack cli command related to neutron, however using neutron 
> cli seems to work so I am guessing this is just affecting the the python 
> client. I tried pip uninstall and install it again with no success. I am 
> using Rocky deployed through kolla-ansible
>  
> [root@openstack-deployment ~]# pip show python-neutronclient
> Name: python-neutronclient
> Version: 6.10.0
> Summary: CLI and Client Library for OpenStack Networking
> Home-page: https://docs.openstack.org/python-neutronclient/latest/
> Author: OpenStack Networking Project
> Author-email: openstack-...@lists.openstack.org
> License: UNKNOWN
> Location: /usr/lib/python2.7/site-packages
> Requires: osc-lib, Babel, oslo.i18n, oslo.utils, oslo.serialization, 
> requests, netaddr, iso8601, python-keystoneclient, cliff, keystoneauth1, 
> oslo.log, os-client-config, six, pbr, debtcollector, simplejson
> Required-by:
> [root@openstack-deployment ~]# openstack server list
> +--------------------------------------+----------------+--------+---------------------------------------+-------------+-----------+
> | ID                                   | Name           | Status | Networks   
>                            | Image       | Flavor    |
> +--------------------------------------+----------------+--------+---------------------------------------+-------------+-----------+
> | 6e079312-b067-4cf0-870a-c6e452b57d5c | test_gpu_small | ACTIVE | 
> private=192.168.1.108, 129.94.120.182 | ubuntu18.04 | gpu.small |
> | bd977544-a088-4365-8bed-128daca1e820 | test_gpu_large | ACTIVE | 
> private=192.168.1.117, 129.94.120.186 | ubuntu18.04 | gpu.large |
> | db439705-5b57-4a05-9bc3-74ff0f88bf87 | test           | ACTIVE | 
> private=192.168.1.120, 129.94.120.181 | cirros      | m1.tiny   |
> +--------------------------------------+----------------+--------+---------------------------------------+-------------+-----------+
> [root@openstack-deployment ~]# openstack network list
> __init__() got an unexpected keyword argument 'retriable_status_codes'
> [root@openstack-deployment ~]# openstack subnet list
> __init__() got an unexpected keyword argument 'retriable_status_codes'
> [root@openstack-deployment ~]# openstack port list
> __init__() got an unexpected keyword argument 'retriable_status_codes'
> [root@openstack-deployment ~]# neutron port-list
> neutron CLI is deprecated and will be removed in the future. Use openstack 
> CLI instead.
> +--------------------------------------+------+----------------------------------+-------------------+---------------------------------------------------------------------------------------+
> | id                                   | name | tenant_id                     
>    | mac_address       | fixed_ips                                            
>                                  |
> +--------------------------------------+------+----------------------------------+-------------------+---------------------------------------------------------------------------------------+
> | 305c8e83-08ca-4df0-b6e4-984cc31f8f0b |      |                               
>    | fa:16:3e:c8:7f:34 | {"subnet_id": 
> "7d5f5405-8b3b-4ebc-8bf3-9f9be196e1a5", "ip_address": "129.94.120.186"} |
> | 569ec2d3-c1f7-41c8-a7cb-a20d4d721634 |      | 
> abc29399b91d423088549d7446766573 | fa:16:3e:e2:9a:98 | {"subnet_id": 
> "13fd3ed8-988e-407b-955b-e6f749b8f8a3", "ip_address": "192.168.1.108"}  |
> | 70b16d5b-648b-40fc-9b44-4cb1d13e80e4 |      |                               
>    | fa:16:3e:15:8c:70 | {"subnet_id": 
> "7d5f5405-8b3b-4ebc-8bf3-9f9be196e1a5", "ip_address": "129.94.120.182"} |
> | 7cf3f895-b6f8-4b08-9c92-1909b956425a |      | 
> abc29399b91d423088549d7446766573 | fa:16:3e:75:29:a4 | {"subnet_id": 
> "13fd3ed8-988e-407b-955b-e6f749b8f8a3", "ip_address": "192.168.1.117"}  |
> | b4f86f58-66f9-4961-851b-3627cccfbfbe |      |                               
>    | fa:16:3e:a7:bd:6c | {"subnet_id": 
> "7d5f5405-8b3b-4ebc-8bf3-9f9be196e1a5", "ip_address": "129.94.120.181"} |
> | d5d0e2d0-42c3-4438-862a-d5908932daba |      | 
> abc29399b91d423088549d7446766573 | fa:16:3e:55:ef:95 | {"subnet_id": 
> "13fd3ed8-988e-407b-955b-e6f749b8f8a3", "ip_address": "192.168.1.100"}  |
> | dc22e1ba-1776-467c-a511-8c68ee16520f |      |                               
>    | fa:16:3e:76:13:ee | {"subnet_id": 
> "7d5f5405-8b3b-4ebc-8bf3-9f9be196e1a5", "ip_address": "129.94.120.184"} |
> | e18bcf54-302c-4424-a0a1-2c558c7ef5eb |      | 
> abc29399b91d423088549d7446766573 | fa:16:3e:82:e8:ac | {"subnet_id": 
> "13fd3ed8-988e-407b-955b-e6f749b8f8a3", "ip_address": "192.168.1.120"}  |
> | f225fa78-9683-4d89-bbc8-67ff80513a56 |      | 
> abc29399b91d423088549d7446766573 | fa:16:3e:dd:52:d8 | {"subnet_id": 
> "13fd3ed8-988e-407b-955b-e6f749b8f8a3", "ip_address": "192.168.1.1"}    |
> +--------------------------------------+------+----------------------------------+-------------------+---------------------------------------------------------------------------------------+
> [root@openstack-deployment ~]# neutron subnet-list
> neutron CLI is deprecated and will be removed in the future. Use openstack 
> CLI instead.
> +--------------------------------------+---------------+----------------------------------+-------------------+------------------------------------------------------+
> | id                                   | name          | tenant_id            
>             | cidr              | allocation_pools                            
>          |
> +--------------------------------------+---------------+----------------------------------+-------------------+------------------------------------------------------+
> | 13fd3ed8-988e-407b-955b-e6f749b8f8a3 | privatesubnet | 
> abc29399b91d423088549d7446766573 | 192.168.1.0/24    | {"start": 
> "192.168.1.100", "end": "192.168.1.199"}   |
> | 7d5f5405-8b3b-4ebc-8bf3-9f9be196e1a5 | publicsubnet  | 
> abc29399b91d423088549d7446766573 | 129.94.120.128/26 | {"start": 
> "129.94.120.181", "end": "129.94.120.190"} |
> +--------------------------------------+---------------+----------------------------------+-------------------+------------------------------------------------------+
>  
> How can I make openstack client to work again with neutron commands?
>  
> Thank you very much
>  
> Manuel Sopena Ballesteros | Big data Engineer
> Garvan Institute of Medical Research 
> The Kinghorn Cancer Centre, 370 Victoria Street, Darlinghurst, NSW 2010
> T: + 61 (0)2 9355 5760 | F: +61 (0)2 9295 8507 | E: manuel...@garvan.org.au
>  
> NOTICE
> Please consider the environment before printing this email. This message and 
> any attachments are intended for the addressee named and may contain legally 
> privileged/confidential/copyright information. If you are not the intended 
> recipient, you should not read, use, disclose, copy or distribute this 
> communication. If you have received this message in error please notify us at 
> once by return email and then delete both messages. We accept no liability 
> for the distribution of viruses or similar in electronic communications. This 
> notice should not be removed.
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

— 
Slawek Kaplonski
Senior software engineer
Red Hat


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to