Description of problem: Topology: 3 controller, 2 novacontrol, 2 compute, When runnning FFU upgrade procedure, there is an ImportError on novacontrol node, due to missing dependencies.
Version-Release number of selected component (if applicable):
python2-tooz-1.60.1-1.el7ost.noarch
Steps to Reproduce:
1. Deploy Rhos-10 and start FFU upgrade procedure to add novacontrol node from Rhos-11
2. Run ffwd-upgrade run command
3. Command fails with error: ImportError
Actual results:
TASK [Sync nova/cell DB] *******************************************************',
u'Tuesday 18 September 2018 03:48:54 -0400 (0:00:00.058) 0:19:46.721 ***** ',
u'skipping: [novacontrol-1] => {"changed": false, "skip_reason": "Conditional result was False", "skipped": true}',
u'fatal: [novacontrol-0]: FAILED! => {"ansible_job_id": "209998738394.106690", "changed": true, "cmd": ["nova-manage", "db", "sync"], "delta": "0:00:02.838145", "end": "2018-09-18 07:48:58.146995", "failed": true, "finished": 1, "msg": "non-zero return code", "rc": 1, "start": "2018-09-18 07:48:55.308850", "stderr": "Traceback (most recent call last):\\n File \\"/bin/nova-manage\\", line 6, in <module>\\n from nova.cmd.manage import main\\n File \\"/usr/lib/python2.7/site-packages/nova/cmd/manage.py\\", line 102, in <module>\\n from nova.virt import ironic\\n File \\"/usr/lib/python2.7/site-packages/nova/virt/ironic/__init__.py\\", line 16, in <module>\\n from nova.virt.ironic import driver\\n File \\"/usr/lib/python2.7/site-packages/nova/virt/ironic/driver.py\\", line 34, in <module>\\n from tooz import hashring as hash_ring\\nImportError: cannot import name hashring", "stderr_lines": ["Traceback (most recent call last):", " File \\"/bin/nova-manage\\", line 6, in <module>", " from nova.cmd.manage import main", " File \\"/usr/lib/python2.7/site-packages/nova/cmd/manage.py\\", line 102, in <module>", " from nova.virt import ironic", " File \\"/usr/lib/python2.7/site-packages/nova/virt/ironic/__init__.py\\", line 16, in <module>", " from nova.virt.ironic import driver", " File \\"/usr/lib/python2.7/site-packages/nova/virt/ironic/driver.py\\", line 34, in <module>", " from tooz import hashring as hash_ring", "ImportError: cannot import name hashring"], "stdout": "", "stdout_lines": []}',
u'',
[root@novacontrol-0 heat-admin]# nova-manage db sync
Traceback (most recent call last):
File "/bin/nova-manage", line 6, in <module>
from nova.cmd.manage import main
File "/usr/lib/python2.7/site-packages/nova/cmd/manage.py", line 102, in <module>
from nova.virt import ironic
File "/usr/lib/python2.7/site-packages/nova/virt/ironic/__init__.py", line 16, in <module>
from nova.virt.ironic import driver
File "/usr/lib/python2.7/site-packages/nova/virt/ironic/driver.py", line 34, in <module>
from tooz import hashring as hash_ring
ImportError: cannot import name hashring
Expected results:
Sucess
Additional info:
Appears that openstack-nova doesn't require python-tooz >= 1.44.0 as required by the change that introduced the dependency in Pike [1]. I've pushed a change to the upstream RDO spec [2] that should correct this and I'll cherry-pick this downstream once it lands.
[1] https://review.openstack.org/#/c/399022/
[2] https://review.rdoproject.org/r/#/c/16307/
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2018:3791