Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glance初始化数据库出现错误。麻烦大神给看一下。 #5

Open
kgdmyd8778 opened this issue Aug 29, 2017 · 2 comments
Open

Comments

@kgdmyd8778
Copy link

[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.

@jie-d-cheng
Copy link

解决没有啊,我也遇到这个问题了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants