'openstack --help' doesn't work

Bug #1702860 reported by Kanshi
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-openstackclient
New
Undecided
Unassigned

Bug Description

Hello,

I just installed python-openstackclient (3.2.1-1) on Debian 9/Stretch, and I'm unable to see the help from the command line :

$ openstack --help
Auth plugin requires parameters which were not given: auth_url

Best,

Tags: openstack
Revision history for this message
Kanshi (opensource-g) wrote :

I forgot to notice, I downloaded it from official Debian repo:
https://packages.debian.org/stretch/python-openstackclient

Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

I believe you should check the documentation for the openstack client first.
https://docs.openstack.org/python-openstackclient/latest/cli/man/openstack.html#manpage

And your problem has nothing to do with the Fuel project, so I'm going to retarget it to the openstack team.

no longer affects: fuel
Revision history for this message
David Rabel (rabel-b1) wrote :

Hi Kanshi,

that sounds familiar. Although I am not able to reproduce the issue at the moment on my Debian Stretch.

The main problem is that we would need more people working on OpenStack packaging for Debian. Because of that the version of OpenStackClient included in current Debian is fairly old. The problem is very probably fixed in a more recent version.

What you could do as a workaround: Use the current version of OpenStackClient from the PyPI, maybe in a virtual environment to keep your system clean. If you need help, please let me know.

Yours
  David

Revision history for this message
Kanshi (opensource-g) wrote :

Hi all,

Thanks for your feedback.

I've actually installed the OpenStack client from the Ocata Ubuntu cloud archive which is at a newer version (3.8.1-0ubuntu3~cloud0) and the issue is no longer here.

Regarding the package from the Debian/Stretch repo, I just tested it again (it hasn't been upgraded, still in version 3.2.1-1), and I was able to reproduce the issue:

root@5926bc1fa1c5:/# dpkg -l | grep openstack
ii python-openstackclient 3.2.1-1 all OpenStack Command-line Client - Python 2.7
ii python-openstacksdk 0.9.5-2 all SDK for building applications to work with OpenStack - Python 2.x
root@5926bc1fa1c5:/# openstack --help
Auth plugin requires parameters which were not given: auth_url

Best regards

Revision history for this message
David Rabel (rabel-b1) wrote :

Yes, I can reproduce it now. Wasn't able to do so, because I had some newer libraries installed via pip.

Since this is a minor bug ( you can bypassing it by setting the environment variable OS_AUTH_URL , which is oftenly set by sourcing an openrc file in any way ) it will probably not be fixed in Debian Stable. You can still try and file a bug against the Debian package at bugs.debian.org .

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.