[Bug 1562065] [NEW] python-openstackclient not installing cleanly in Trusty
Gema Gomez
gema.gomez-solano at canonical.com
Fri Mar 25 16:24:32 UTC 2016
Public bug reported:
I tried installing python-openstackclient in trusty and found an issue
with a dependency:
ubuntu at mitaka-bastion:~$ sudo apt-get install python-openstackclient
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
python-openstackclient
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 81.1 kB of archives.
After this operation, 953 kB of additional disk space will be used.
Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty/universe python-openstackclient all 0.3.0-1ubuntu1 [81.1 kB]
Fetched 81.1 kB in 0s (247 kB/s)
Selecting previously unselected package python-openstackclient.
(Reading database ... 90286 files and directories currently installed.)
Preparing to unpack .../python-openstackclient_0.3.0-1ubuntu1_all.deb ...
Unpacking python-openstackclient (0.3.0-1ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up python-openstackclient (0.3.0-1ubuntu1) ...
ubuntu at mitaka-bastion:~$ openstack project list
Traceback (most recent call last):
File "/usr/bin/openstack", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 436, in main
return OpenStackShell().run(argv)
File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 87, in __init__
'openstack.cli.extension',
File "/usr/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 98, in get_extension_modules
__import__(ep.module_name)
File "/usr/lib/python2.7/dist-packages/openstackclient/image/client.py", line 19, in <module>
from glanceclient.v1 import client as gc_v1_client
File "/usr/lib/python2.7/dist-packages/glanceclient/v1/__init__.py", line 16, in <module>
from glanceclient.v1.client import Client # noqa
File "/usr/lib/python2.7/dist-packages/glanceclient/v1/client.py", line 16, in <module>
from glanceclient.common import http
File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 38, in <module>
import OpenSSL
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/rand.py", line 12, in <module>
from OpenSSL._util import (
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py", line 6, in <module>
from cryptography.hazmat.bindings.openssl.binding import Binding
ImportError: No module named cryptography.hazmat.bindings.openssl.binding
I could fix the issue by running:
sudo pip install cryptography
** Affects: python-openstackclient (Ubuntu)
Importance: Undecided
Status: New
** Tags: sts
** Tags added: sts
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-openstackclient in Ubuntu.
https://bugs.launchpad.net/bugs/1562065
Title:
python-openstackclient not installing cleanly in Trusty
Status in python-openstackclient package in Ubuntu:
New
Bug description:
I tried installing python-openstackclient in trusty and found an issue
with a dependency:
ubuntu at mitaka-bastion:~$ sudo apt-get install python-openstackclient
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
python-openstackclient
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 81.1 kB of archives.
After this operation, 953 kB of additional disk space will be used.
Get:1 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty/universe python-openstackclient all 0.3.0-1ubuntu1 [81.1 kB]
Fetched 81.1 kB in 0s (247 kB/s)
Selecting previously unselected package python-openstackclient.
(Reading database ... 90286 files and directories currently installed.)
Preparing to unpack .../python-openstackclient_0.3.0-1ubuntu1_all.deb ...
Unpacking python-openstackclient (0.3.0-1ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up python-openstackclient (0.3.0-1ubuntu1) ...
ubuntu at mitaka-bastion:~$ openstack project list
Traceback (most recent call last):
File "/usr/bin/openstack", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 436, in main
return OpenStackShell().run(argv)
File "/usr/lib/python2.7/dist-packages/openstackclient/shell.py", line 87, in __init__
'openstack.cli.extension',
File "/usr/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 98, in get_extension_modules
__import__(ep.module_name)
File "/usr/lib/python2.7/dist-packages/openstackclient/image/client.py", line 19, in <module>
from glanceclient.v1 import client as gc_v1_client
File "/usr/lib/python2.7/dist-packages/glanceclient/v1/__init__.py", line 16, in <module>
from glanceclient.v1.client import Client # noqa
File "/usr/lib/python2.7/dist-packages/glanceclient/v1/client.py", line 16, in <module>
from glanceclient.common import http
File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 38, in <module>
import OpenSSL
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/rand.py", line 12, in <module>
from OpenSSL._util import (
File "/usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py", line 6, in <module>
from cryptography.hazmat.bindings.openssl.binding import Binding
ImportError: No module named cryptography.hazmat.bindings.openssl.binding
I could fix the issue by running:
sudo pip install cryptography
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1562065/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list