Ask Your Question
0

How do I pip install openstack-client version matching OSP release?

asked 2018-03-08 13:36:33 -0500

dlbewley gravatar image

I am pip installing openstack-client to perform operations from a Mac and I'm experiencing trouble with version mismatches with my OSP 11 cloud.

I've discovered some differences in nova command parameters, specifically around floating IP options when comparing to my RPM install of the client.

My requirements.txt:

python-openstackclient==3.8.1
python-heatclient
python-ironicclient
shade

Mac with pip:

$ openstack --version
openstack 3.8.1
$ nova --version
10.1.0

Linux with RPM:

$ rpm -q python-openstackclient
python-openstackclient-3.8.1-1.el7ost.noarch
$ openstack --version
openstack 3.8.1
$ nova --version
7.1.2

Is it as brute force as finding all the versions of the python-foo RPMs required by python-openstackclient, finding the module versions of all those, and pinning them in my requirements.txt?

Is there perhaps a shortcut to finding the versions of all the python clients associated with a given OSP release?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-03-21 10:04:30 -0500

dlbewley gravatar image

I wound up brute forcing the issue by checking deps on the RPM and trying to manually pip install each one. I ultimately ended up with a requirements.txt like this:

python-openstackclient==3.8.1
python-cinderclient==1.11.0
python-designateclient
python-glanceclient==2.6.0
python-keystoneclient==3.10.0
python-neutronclient==6.1.1
python-novaclient==7.1.2
oslo.log
python-heatclient
python-ironicclient
shade
edit flag offensive delete link more
0

answered 2018-03-21 10:21:42 -0500

The current openstack client should be compatible with the current and all earlier OpenStack versions. See https://docs.openstack.org/releasenot....

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2018-03-08 13:36:33 -0500

Seen: 314 times

Last updated: Mar 21 '18