Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1663043 - python-3 openstack command doesn' t work for server
Summary: python-3 openstack command doesn' t work for server
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-osc-lib
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Alfredo Moralejo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-02 20:16 UTC by Nicolas Hicher
Modified: 2019-01-24 04:30 UTC (History)
6 users (show)

Fixed In Version: python-osc-lib-1.9.0-3.fc29.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-24 04:30:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nicolas Hicher 2019-01-02 20:16:33 UTC
Description of problem:

After installing python3-openstackclient, openstack server list command doesn' t work


Version-Release number of selected component (if applicable):
python3-osc-lib-1.9.0-3.fc29.noarch

How reproducible:
Always


Steps to Reproduce:

1. dnf install -y python3-openstackclient
2. openstack-3 --os-cloud mycloud server list


Actual results:
[fedora@fedora-29 ~]$ openstack-3 --os-cloud mycloud server list                                                                          
issubclass() arg 1 must be a class                                                                                                        

Expected results:
[fedora@fedora-29 ~]$ openstack-3 --os-cloud mycloud server list                                                                          
+--------------------------------------+----------------------+--------+--------------------------------------+-------+-----------+       
| ID                                   | Name                 | Status | Networks                             | Image | Flavor    |       
+--------------------------------------+----------------------+--------+--------------------------------------+-------+-----------+       
| b5b995a1-859c-4efb-9c1c-1dce5db8d3ed | centos-7             | ACTIVE | private=192.168.10.13 |       | m1.medium |


Additional info:

After applying https://git.openstack.org/cgit/openstack/osc-lib/commit/?id=72fbf45ed15a1b4c8111cac9f4446289ca187b0d, the command works as expected

Comment 1 Fedora Update System 2019-01-08 11:59:41 UTC
python-osc-lib-1.9.0-3.fc29.1 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-de0290f4fe

Comment 2 Javier Peña 2019-01-08 12:03:03 UTC
Thanks for the report! I have sent an updated package for testing, including the patch to fix python 3.7 support.

Comment 3 Fedora Update System 2019-01-10 22:14:46 UTC
python-osc-lib-1.9.0-3.fc29.1 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-de0290f4fe

Comment 4 Fedora Update System 2019-01-24 04:30:43 UTC
python-osc-lib-1.9.0-3.fc29.1 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.