[Openstack] openstack vs neutron CLI (mikata)

Sean.Boran at swisscom.com Sean.Boran at swisscom.com
Thu Aug 18 10:57:39 UTC 2016


I upgraded and can no longer use networking functions ☹.
Where should I report the issue, is this the right place?

Upgraded my client with:
pip install --upgrade python-openstackclient

openstack --version
openstack 2.6.0

openstack --debug --insecure network list
REQ: curl -g -i --insecure -X GET http://myhost.example.net:9696/v2.0/networks -H "User-Agent: openstacksdk/0.9.2 keystoneauth1/2.11.1 python-requests/2.11.1 CPython/2.7.12" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}436d68a30a626d6ea7d9990d67738382f9534a21"
Starting new HTTP connection (1): idc7stack3.corproot.net
Connection failure that may be retried.



From: Steve Martinelli <s.martinelli at gmail.com>
Date: Wednesday 17 August 2016 at 13:39
To: "Boran Sean, INI-INO-BX-IT" <Sean.Boran at swisscom.com>
Cc: Darek Śmigiel <smigiel.dariusz at gmail.com>, openstack <openstack at lists.openstack.org>
Subject: Re: [Openstack] openstack vs neutron CLI (mikata)

FWIW folks have added *a lot* of cool network functionality lately, it's just all unreleased. See our release notes: http://docs.openstack.org/releasenotes/python-openstackclient/unreleased.html

Look for a 3.0.0 of OpenStackClient any day now

On Wed, Aug 17, 2016 at 7:29 AM, <Sean.Boran at swisscom.com<mailto:Sean.Boran at swisscom.com>> wrote:
Thanks Darek, being new to openstack your links help me understand the situation much better.

The openstack client being used what that installed on a controller by Fuel v9/mikata, i.e. 2.2.0.
I’ll install 2.6.0 on my workstation and try from there.

[1] also links to python-openstacksdk, which looks (more) interesting, but there too all operations are not covered.
Don’t see much mention of domain support when clicking though the docs, so it is perhaps a major limitation if I need to work with ldap.

By the looks of things though, one needs to go to the neutron CLI for certain things.
The reference doc for using for neutron is http://docs.openstack.org/developer/python-neutronclient/ ?
Would it be correct to say that neutron only does v2 and cannot work with domains?

I wonder how horizon is able to “set conext” to a domain and then operations are valid with context.

Perhaps one need to just learn the API and program from there without any libraries or CLI wrappers.



From: Darek Śmigiel
Date: Wednesday 17 August 2016 at 12:28
Hey Sean,
Please remind, that transition is in progress. You can verify how far we are here [1].
But, according to OSC documentation [2] and release notes [3], you should be able to create subnet. It was released with OSC 2.4 version.

Could you verify, if you have correct version?


[1] https://etherpad.openstack.org/p/osc-neutron-support
[2] https://github.com/openstack/python-openstackclient/blob/master/doc/source/command-objects/subnet.rst#subnet-create
[3] http://docs.openstack.org/releasenotes/python-openstackclient/unreleased.html#id77

Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160818/9d5fb564/attachment.html>

More information about the Openstack mailing list