On Thu, Jun 17, 2021, at 10:03 AM, Pete Zhang wrote:
Not sure if my previous email went through or not. Just resend it.
We hit this error during "glance-manage db_sync": *ImportError: cannot import name greenpool.* Any idea what the root cause is and how to fix it? We have the following rpms installed (thought related).
`python2-greenlet-0.4.9-1.el7.x86_64.rpm` `python2-eventlet-0.18.4-2.el7.noarch.rpm` `python2-gevent-1.1.2-2.el7.x86_64.rpm`
snip
Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: from eventlet import greenpool
Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: ImportError: cannot import name greenpool
I'm not familiar with the CentOS7 packaging, but as a sanity check I ran `pip install greenlet==0.4.9 eventlet==0.18.4` in a python2 virtualenv then in a python2 interpreter `from eventlet import greenpool` runs successfully. I would try running this import by hand on your system to see if you can get any more information. Could be a packaging issue or potentially some sort of name collision between script names? Clark