You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@wcg ~]# openstack-db --init --service glance --password openstack
Please enter the password for the 'root' MySQL user:
Verified connectivity to MySQL.
Creating 'glance' database.
Updating 'glance' database password in /etc/glance/glance-registry.conf /etc/glance/glance-api.conf
Initializing the glance database, please wait...
Traceback (most recent call last):
File "/usr/bin/glance-manage", line 6, in
from glance.cmd.manage import main
File "/usr/lib/python2.6/site-packages/glance/cmd/manage.py", line 45, in
from glance.db import migration as db_migration
File "/usr/lib/python2.6/site-packages/glance/db/init.py", line 21, in
from glance.common import crypt
File "/usr/lib/python2.6/site-packages/glance/common/crypt.py", line 24, in
from Crypto import Random
ImportError: cannot import name Random
Error updating the database. Please see /var/log/glance/ logs for details.
The text was updated successfully, but these errors were encountered:
[root@wcg ~]# openstack-db --init --service glance --password openstack
Please enter the password for the 'root' MySQL user:
Verified connectivity to MySQL.
Creating 'glance' database.
Updating 'glance' database password in /etc/glance/glance-registry.conf /etc/glance/glance-api.conf
Initializing the glance database, please wait...
Traceback (most recent call last):
File "/usr/bin/glance-manage", line 6, in
from glance.cmd.manage import main
File "/usr/lib/python2.6/site-packages/glance/cmd/manage.py", line 45, in
from glance.db import migration as db_migration
File "/usr/lib/python2.6/site-packages/glance/db/init.py", line 21, in
from glance.common import crypt
File "/usr/lib/python2.6/site-packages/glance/common/crypt.py", line 24, in
from Crypto import Random
ImportError: cannot import name Random
Error updating the database. Please see /var/log/glance/ logs for details.
The text was updated successfully, but these errors were encountered: