Custom Search

Friday, May 3, 2013

Openstack ImportError: No module named iso8601 [Fixed]

Error Log
----------------
ImportError: No module named iso8601

Solution
-------------
#sudo apt-get install python-iso8601

Complete Error Log
--------------------------------
(.venv)saju@saju-desktop:~/openstk_manual/keystone$ sudo ./bin/keystone-manage pki_setup
Traceback (most recent call last):
  File "./bin/keystone-manage", line 17, in
    from keystone import cli
  File "/home/saju/openstk_manual/keystone/keystone/cli.py", line 27, in
    from keystone.openstack.common import jsonutils
  File "/home/saju/openstk_manual/keystone/keystone/openstack/common/jsonutils.py", line 43, in
    from keystone.openstack.common import timeutils
  File "/home/saju/openstk_manual/keystone/keystone/openstack/common/timeutils.py", line 25, in
    import iso8601
ImportError: No module named iso8601
(.venv)saju@saju-desktop:~/openstk_manual/keystone$


Success: sudo ./bin/keystone-manage pki_setup
----------------------------------------------------------------------------
(.venv)saju@saju-desktop:~/openstk_manual/keystone$ sudo ./bin/keystone-manage pki_setup
Generating RSA private key, 1024 bit long modulus
.++++++
................++++++
e is 65537 (0x10001)
Generating RSA private key, 1024 bit long modulus
.......................++++++
.......++++++
e is 65537 (0x10001)
Using configuration from /etc/keystone/ssl/certs/openssl.conf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName           :PRINTABLE:'US'
stateOrProvinceName   :PRINTABLE:'Unset'
localityName          :PRINTABLE:'Unset'
organizationName      :PRINTABLE:'Unset'
commonName            :PRINTABLE:'www.example.com'
Certificate is to be certified until May  1 08:18:41 2023 GMT (3650 days)

Write out database with 1 new entries
Data Base Updated
(.venv)saju@saju-desktop:~/openstk_manual/keystone$

No comments:

Post a Comment