FS#55761 - [python-openstackclient] openstack help does not work

Attached to Project: Community Packages
Opened by Daniel Speichert (dasp) - Wednesday, 27 September 2017, 03:57 GMT
Last edited by Felix Yan (felixonmars) - Friday, 16 March 2018, 12:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
`openstack help` throws:

Commands:
Could not load EntryPoint.parse('access_token_create = openstackclient.identity.v3.token:CreateAccessToken')
Could not load EntryPoint.parse('address_scope_create = openstackclient.network.v2.address_scope:CreateAddressScope')
Could not load EntryPoint.parse('address_scope_delete = openstackclient.network.v2.address_scope:DeleteAddressScope')
Could not load EntryPoint.parse('address_scope_list = openstackclient.network.v2.address_scope:ListAddressScope')
Could not load EntryPoint.parse('address_scope_set = openstackclient.network.v2.address_scope:SetAddressScope')
Could not load EntryPoint.parse('address_scope_show = openstackclient.network.v2.address_scope:ShowAddressScope')
Could not load EntryPoint.parse('aggregate_add_host = openstackclient.compute.v2.aggregate:AddAggregateHost')
...

Additional info:
* package version(s): 3.12.0-1
* config and/or log files etc.: none


Steps to reproduce:
Run: `openstack help`
This task depends upon

Closed by  Felix Yan (felixonmars)
Friday, 16 March 2018, 12:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  cinderclient 3.5.0-1
Comment by Rikard Falkeborn (Herk) - Saturday, 27 January 2018, 23:35 GMT
Running openstack --debug --help reveals some more information:

pkg_resources.VersionConflict: (python-cinderclient 3.2.0 (/usr/lib/python3.6/site-packages), Requirement.parse('python-cinderclient>=3.3.0'))

python-cinderclient is out of date (at 3.2.0). I've tested installing python-cinderclient to 3.5.0 (latest release) and the issue goes away.
Comment by Andy Botting (andybz) - Tuesday, 06 March 2018, 02:45 GMT
Here's an updated PKGBUILD for python-cinderclient that updated to v3.5.0.

https://paste.ubuntu.com/p/nzTB2ph8tB/

The major difference between this and the older version is that they've switched to a different testing framework.

I've sent Felix a copy, so hopefully we can get this fixed up soon.
Comment by Felix Yan (felixonmars) - Friday, 16 March 2018, 10:24 GMT
Fixed in cinderclient 3.5.0-1.
Comment by Andy Botting (andybz) - Friday, 16 March 2018, 10:25 GMT
THANK YOU!!

Loading...