<div dir="ltr"><div>We hit this error during "glance-manage db_sync":</div><div><b>ImportError: cannot import name greenpool.</b></div><div></div><div>Any idea what the root cause is and how to fix it?</div><div>We have the following rpms installed (thought related).</div><div><br></div><div><code>python2-greenlet-0.4.9-1.el7.x86_64.rpm</code><br></div><div><code>python2-eventlet-0.18.4-2.el7.noarch.rpm</code><br></div><div><code>python2-gevent-1.1.2-2.el7.x86_64.rpm</code></div><div><br></div><div>





<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(46,174,187);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Debug: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: Sleeping for 5 seconds between tries</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(46,174,187);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Debug: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: Exec try 10/10</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(46,174,187);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Debug: Exec[neutron-db-sync](provider=posix): Executing 'neutron-db-manage<span class="gmail-Apple-converted-space">  </span>upgrade heads'</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(46,174,187);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Debug: Executing: 'neutron-db-manage<span class="gmail-Apple-converted-space">  </span>upgrade heads'</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(46,174,187);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Debug: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: Sleeping for 5 seconds between tries</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: Traceback (most recent call last):</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">  </span>File "/usr/bin/neutron-db-manage", line 10, in <module></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">    </span>sys.exit(main())</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">  </span>File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 657, in main</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">    </span>return_val |= bool(CONF.command.func(config, <a href="http://CONF.command.name">CONF.command.name</a>))</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">  </span>File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 179, in do_upgrade</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">    </span>run_sanity_checks(config, revision)</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">  </span>File "/usr/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 641, in run_sanity_checks</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">    </span>script_dir.run_env()</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">  </span>File "/usr/lib/python2.7/site-packages/alembic/script/base.py", line 425, in run_env</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">    </span>util.load_python_file(self.dir, 'env.py')</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">  </span>File "/usr/lib/python2.7/site-packages/alembic/util/pyfiles.py", line 81, in load_python_file</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">    </span>module = load_module_py(module_id, path)</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">  </span>File "/usr/lib/python2.7/site-packages/alembic/util/compat.py", line 141, in load_module_py</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">    </span>mod = imp.load_source(module_id, path, fp)</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">  </span>File "/usr/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/env.py", line 24, in <module></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">    </span>from neutron.db.migration.models import head<span class="gmail-Apple-converted-space">  </span># noqa</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">  </span>File "/usr/lib/python2.7/site-packages/neutron/db/migration/models/head.py", line 28, in <module></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">    </span>from neutron.common import utils</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">  </span>File "/usr/lib/python2.7/site-packages/neutron/common/utils.py", line 35, in <module></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">    </span>import eventlet</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">  </span>File "/usr/lib/python2.7/site-packages/eventlet/__init__.py", line 10, in <module></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">    </span>from eventlet import convenience</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">  </span>File "/usr/lib/python2.7/site-packages/eventlet/convenience.py", line 4, in <module></span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: <span class="gmail-Apple-converted-space">    </span>from eventlet import greenpool</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]/returns: ImportError: cannot import name greenpool</span></p>
<p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(180,36,25);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Error: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]: Failed to call refresh: 'neutron-db-manage<span class="gmail-Apple-converted-space">  </span>upgrade heads' returned 1 instead of one of [0]</span></p>
<p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(180,36,25);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Error: /Stage[main]/Neutron::Db::Sync/Exec[neutron-db-sync]: 'neutron-db-manage<span class="gmail-Apple-converted-space">  </span>upgrade heads' returned 1 instead of one of [0]</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:17px;line-height:normal;font-family:"Andale Mono";color:rgb(47,255,18);background-color:rgba(0,0,0,0.9)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">Notice: /Stage[main]/Neutron::Deps/Anchor[neutron::dbsync::end]: Dependency Exec[neutron-db-sync] has failures: true</span></p></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><br><a href="https://smart.salesforce.com/sig/peiyong.zhang//us_mb/default/link.html" target="_blank"><img border="0" src="https://smart.salesforce.com/sig/peiyong.zhang//us_mb/default/logo.png"></a></div></div>