Bug 1784903 - [OSP 16] Update: Undercloud failed due the image octavia-amphora conflicts with file from package octavia-amphora-image
Summary: [OSP 16] Update: Undercloud failed due the image octavia-amphora conflicts wi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director-images
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ga
: 16.0 (Train on RHEL 8.1)
Assignee: Lon Hohberger
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-18 16:09 UTC by Yuri Obshansky
Modified: 2021-02-08 20:20 UTC (History)
10 users (show)

Fixed In Version: rhosp-director-images-16.0-20200110.2.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-06 14:32:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
undercloud_update.log (64.18 KB, text/plain)
2019-12-18 16:09 UTC, Yuri Obshansky
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:0428 0 None None None 2020-02-06 14:32:16 UTC

Description Yuri Obshansky 2019-12-18 16:09:19 UTC
Created attachment 1646132 [details]
undercloud_update.log

Description of problem:
Undercloud update failed 
2019-12-18 04:21:41 | TASK [Update all packages] *****************************************************
2019-12-18 04:21:41 | Wednesday 18 December 2019  04:21:41 +0000 (0:00:00.448)       0:00:40.406 ****
2019-12-18 04:22:27 | fatal: [site-undercloud-0]: FAILED! => {"changed": false, "failures": [], "msg": "Unknown Error occured: Transaction check e
rror:\n  file /usr/share/openstack-octavia-amphora-images/octavia-amphora-16.0-20191213.2-x86_64-rpm.manifest from install of octavia-amphora-imag
e-x86_64-16.0-20191217.1.el8ost.noarch conflicts with file from package octavia-amphora-image-x86_64-16.0-20191213.2.el8ost.noarch\n  file /usr/sh
are/openstack-octavia-amphora-images/octavia-amphora-16.0-20191213.2-x86_64-signature.manifest from install of octavia-amphora-image-x86_64-16.0-2
0191217.1.el8ost.noarch conflicts with file from package octavia-amphora-image-x86_64-16.0-20191213.2.el8ost.noarch\n  file /usr/share/openstack-o
ctavia-amphora-images/octavia-amphora-16.0-20191213.2.x86_64-CHECKSUM.md5 from install of octavia-amphora-image-x86_64-16.0-20191217.1.el8ost.noar
ch conflicts with file from package octavia-amphora-image-x86_64-16.0-20191213.2.el8ost.noarch\n  file /usr/share/openstack-octavia-amphora-images
/octavia-amphora-16.0-20191213.2.x86_64-CHECKSUM.sha256 from install of octavia-amphora-image-x86_64-16.0-20191217.1.el8ost.noarch conflicts with 
file from package octavia-amphora-image-x86_64-16.0-20191213.2.el8ost.noarch\n  file /usr/share/openstack-octavia-amphora-images/octavia-amphora-1
6.0-20191213.2.x86_64.qcow2 from install of octavia-amphora-image-x86_64-16.0-20191217.1.el8ost.noarch conflicts with file from package octavia-am
phora-image-x86_64-16.0-20191213.2.el8ost.noarch\n", "rc": 1, "results": []}
......
2019-12-18 04:22:27 | Exception: Upgrade failed
2019-12-18 04:22:27 | Traceback (most recent call last):
2019-12-18 04:22:27 |   File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_deploy.py", line 1318, in _standalone_deploy
2019-12-18 04:22:27 |     raise exceptions.DeploymentError('Upgrade failed')
2019-12-18 04:22:27 | tripleoclient.exceptions.DeploymentError: Upgrade failed


Version-Release number of selected component (if applicable):
Performed update from 
passed_phase2 (RHOS_TRUNK-16.0-RHEL-8-20191213.n.5)
to
passed_phase1 (RHOS_TRUNK-16.0-RHEL-8-20191217.n.1)

How reproducible:
Jenkins job:
https://rhos-ci-staging-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/DFG/view/edge/job/DFG-edge-day2-16-rhel-virthost-3cont-2comp-2leafs-x-2comp-update/32/console

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Gregory Thiemonge 2020-01-07 10:03:58 UTC
octavia-amphora-image packages have different versions but they share the same content:

$ rpm -qpl octavia-amphora-image-x86_64-16.0-20191213.2.el8ost.noarch.rpm
/usr/share/openstack-octavia-amphora-images/octavia-amphora-16.0-20191213.2-x86_64-rpm.manifest
/usr/share/openstack-octavia-amphora-images/octavia-amphora-16.0-20191213.2-x86_64-signature.manifest
/usr/share/openstack-octavia-amphora-images/octavia-amphora-16.0-20191213.2.x86_64-CHECKSUM.md5
/usr/share/openstack-octavia-amphora-images/octavia-amphora-16.0-20191213.2.x86_64-CHECKSUM.sha256
/usr/share/openstack-octavia-amphora-images/octavia-amphora-16.0-20191213.2.x86_64.qcow2
/usr/share/openstack-octavia-amphora-images/version-16.0-20191213.2.el8ost.txt

$ rpm -qpl octavia-amphora-image-x86_64-16.0-20191217.1.el8ost.noarch.rpm
warning: octavia-amphora-image-x86_64-16.0-20191217.1.el8ost.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
/usr/share/openstack-octavia-amphora-images/octavia-amphora-16.0-20191213.2-x86_64-rpm.manifest
/usr/share/openstack-octavia-amphora-images/octavia-amphora-16.0-20191213.2-x86_64-signature.manifest
/usr/share/openstack-octavia-amphora-images/octavia-amphora-16.0-20191213.2.x86_64-CHECKSUM.md5
/usr/share/openstack-octavia-amphora-images/octavia-amphora-16.0-20191213.2.x86_64-CHECKSUM.sha256
/usr/share/openstack-octavia-amphora-images/octavia-amphora-16.0-20191213.2.x86_64.qcow2
/usr/share/openstack-octavia-amphora-images/version-16.0-20191217.1.el8ost.txt

and the package contains the "installonlypkg(vm)" flag, therefore yum/dnf triggers an update issue.

The root cause of problem comes from the name of the files in the 16.0-20191217 package which are incorrect.

Comment 18 Yuri Obshansky 2020-01-28 18:55:07 UTC
The issue was not reproducible when run CI job Minor update 
from RHOS_TRUNK-16.0-RHEL-8-20191213.n.5 up to RHOS_TRUNK-16.0-RHEL-8-20200124.n.1
See details
https://rhos-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/DFG/view/edge/job/DFG-edge-day2-16-rhel-virthost-3cont-2comp-2leafs-x-2comp-update/1/

Comment 20 errata-xmlrpc 2020-02-06 14:32:08 UTC
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/RHEA-2020:0428


Note You need to log in before you can comment on or make changes to this bug.