octavia-amphora-image dependency error while running Openstack undercloud upgrade
Environment
- Red Hat OpenStack Platform 13
Issue
-
The command
Openstack undercloud upgrade
fails with an octavia-amphora dependency errorTraceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 2577, in pre_upgrade _run_live_command(args, name='yum update') File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 678, in _run_live_command raise RuntimeError('%s failed. See log for details.' % name) RuntimeError: yum update failed. See log for details. Command '['instack-pre-upgrade-undercloud']' returned non-zero exit status 1
Resolution
-
Remove old versions of
octavia-amphora-image
yum remove octavia-amphora-image-x86_64-13.0-20200303.1.el7ost.noarch octavia-amphora-image-x86_64-13.0-20200323.2.el7ost.noarch octavia-amphora-image-x86_64-13.0-20200610.2.el7ost.noarch -y
Root Cause
A bug prevents installing more than 3 versions of the Amphora images:
octavia-amphora-image-13.0-20200610.2.el7ost.noarch Thu Jun 25 21:04:36 2020
octavia-amphora-image-x86_64-13.0-20200303.1.el7ost.noarch Wed Mar 11 13:02:58 2020
octavia-amphora-image-x86_64-13.0-20200323.2.el7ost.noarch Tue Apr 7 18:57:01 2020
octavia-amphora-image-x86_64-13.0-20200610.2.el7ost.noarch Thu Jun 25 21:04:36 2020
This issue is still being investigated in the bugzilla 1749486
Diagnostic Steps
Running rpm -qa | grep amphora
should return three or more packages.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments