cannot import name greenpool
Pete Zhang
peiyong.zhang at salesforce.com
Thu Jul 8 22:37:39 UTC 2021
We are seeing this error in /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]
from eventlet import greenpool
ImportError: cannot import name greenpool
*glance/greenlet version*
sh-4.2# yum list installed | grep -i "eventlet\|glance"
openstack-glance.noarch 1:19.0.4-1.el7 @local_openstack-tnrp
python2-eventlet.noarch 0.25.1-1.el7 @local_openstack-tnrp
python2-glance.noarch 1:19.0.4-1.el7 @local_openstack-tnrp
python2-glance-store.noarch 1.0.1-1.el7 @local_openstack-tnrp
python2-glanceclient.noarch 1:2.17.1-1.el7 @local_openstack-tnrp
*Log*
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: Traceback (most recent call last):
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: File "/usr/bin/glance-manage", line 6, in <module>
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: from glance.cmd.manage import main
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: File
"/usr/lib/python2.7/site-packages/glance/cmd/manage.py", line 54, in
<module>
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: from glance.db.sqlalchemy import
alembic_migrations
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: File
"/usr/lib/python2.7/site-packages/glance/db/sqlalchemy/alembic_migrations/__init__.py",
line 28, in <module>
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: from glance.db.sqlalchemy import api as db_api
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: File
"/usr/lib/python2.7/site-packages/glance/db/sqlalchemy/api.py", line
46, in <module>
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: from glance.common import utils
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: File
"/usr/lib/python2.7/site-packages/glance/common/utils.py", line 29, in
<module>
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: from eventlet.green import socket
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: File
"/usr/lib/python2.7/site-packages/eventlet/__init__.py", line 10, in
<module>
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: from eventlet import convenience
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: File
"/usr/lib/python2.7/site-packages/eventlet/convenience.py", line 4, in
<module>
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: from eventlet import greenpool
Notice: /Stage[main]/Glance::Db::Sync/Exec[glance-manage
db_sync]/returns: ImportError: cannot import name greenpool
Error: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]:
Failed to call refresh: 'glance-manage db_sync' returned 1 instead of
one of [0]
Error: /Stage[main]/Glance::Db::Sync/Exec[glance-manage db_sync]:
'glance-manage db_sync' returned 1 instead of one of [0]
--
<https://smart.salesforce.com/sig/peiyong.zhang//us_mb/default/link.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210708/3ac620e9/attachment.html>
More information about the openstack-discuss
mailing list