Bug 1965395

Summary: [OSP16.2]Update is failing due to a dependency error with octavia-amphora-image
Product: Red Hat OpenStack Reporter: Candido Campos <ccamposr>
Component: rhosp-director-imagesAssignee: Lon Hohberger <lhh>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 16.2 (Train)CC: gthiemon, jjoyce, oblaut
Target Milestone: betaKeywords: AutomationBlocker, Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhosp-director-images-16.2-20210608.1.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-15 10:04:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Candido Campos 2021-05-27 15:49:49 UTC
Description of problem:

Update is failing due to a dependency error with octavia-amphora-image


2021-05-26 17:36:16 | PLAY [Upgrade tasks for step 3] ************************************************
2021-05-26 17:36:16 | 2021-05-26 17:36:16.247421 | 5254008d-fb25-97ee-d777-000000000024 |     TIMING | include_tasks | undercloud-0 | 0:00:24.757696 | 0.06s
2021-05-26 17:36:16 | 2021-05-26 17:36:16.268641 | 519a0174-cceb-4aa3-b95d-0978a23c9ba8 |   INCLUDED | /home/stack/undercloud-ansible-ilecqehr/Undercloud/upgrade_tasks_step3.yaml | undercloud-0
2021-05-26 17:36:16 | 2021-05-26 17:36:16.330569 | 5254008d-fb25-97ee-d777-0000000001b6 |       TASK | check if docker-distribution is installed
2021-05-26 17:36:16 | 2021-05-26 17:36:16.588975 |                                      |    WARNING | Consider using the yum, dnf or zypper module rather than running 'rpm'.  If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message.
2021-05-26 17:36:16 | 2021-05-26 17:36:16.589536 | 5254008d-fb25-97ee-d777-0000000001b6 |    CHANGED | check if docker-distribution is installed | undercloud-0
2021-05-26 17:36:16 | 2021-05-26 17:36:16.590126 | 5254008d-fb25-97ee-d777-0000000001b6 |     TIMING | check if docker-distribution is installed | undercloud-0 | 0:00:25.100436 | 0.26s
2021-05-26 17:36:16 | 2021-05-26 17:36:16.650690 | 5254008d-fb25-97ee-d777-0000000001b7 |       TASK | Stop, disable docker-distribution
2021-05-26 17:36:16 | 2021-05-26 17:36:16.707795 | 5254008d-fb25-97ee-d777-0000000001b7 |    SKIPPED | Stop, disable docker-distribution | undercloud-0
2021-05-26 17:36:16 | 2021-05-26 17:36:16.708545 | 5254008d-fb25-97ee-d777-0000000001b7 |     TIMING | Stop, disable docker-distribution | undercloud-0 | 0:00:25.218833 | 0.06s
2021-05-26 17:36:16 | 2021-05-26 17:36:16.767348 | 5254008d-fb25-97ee-d777-0000000001b8 |       TASK | Uninstall docker-distribution
2021-05-26 17:36:16 | 2021-05-26 17:36:16.823984 | 5254008d-fb25-97ee-d777-0000000001b8 |    SKIPPED | Uninstall docker-distribution | undercloud-0
2021-05-26 17:36:16 | 2021-05-26 17:36:16.824717 | 5254008d-fb25-97ee-d777-0000000001b8 |     TIMING | Uninstall docker-distribution | undercloud-0 | 0:00:25.335024 | 0.06s
2021-05-26 17:36:16 | 2021-05-26 17:36:16.884006 | 5254008d-fb25-97ee-d777-0000000001bc |       TASK | blank ipv6 rule before activating ipv6 firewall.
2021-05-26 17:36:17 | 2021-05-26 17:36:17.142867 | 5254008d-fb25-97ee-d777-0000000001bc |    CHANGED | blank ipv6 rule before activating ipv6 firewall. | undercloud-0
2021-05-26 17:36:17 | 2021-05-26 17:36:17.143972 | 5254008d-fb25-97ee-d777-0000000001bc |     TIMING | blank ipv6 rule before activating ipv6 firewall. | undercloud-0 | 0:00:25.654279 | 0.26s
2021-05-26 17:36:17 | 2021-05-26 17:36:17.203530 | 5254008d-fb25-97ee-d777-0000000001bd |       TASK | cleanup unmanaged rules pushed by iptables-services
2021-05-26 17:36:17 | 2021-05-26 17:36:17.618825 | 5254008d-fb25-97ee-d777-0000000001bd |    CHANGED | cleanup unmanaged rules pushed by iptables-services | undercloud-0
2021-05-26 17:36:17 | 2021-05-26 17:36:17.619971 | 5254008d-fb25-97ee-d777-0000000001bd |     TIMING | cleanup unmanaged rules pushed by iptables-services | undercloud-0 | 0:00:26.130274 | 0.42s
2021-05-26 17:36:17 | 2021-05-26 17:36:17.682300 | 5254008d-fb25-97ee-d777-0000000001bf |       TASK | Update all packages
2021-05-26 17:36:19 | 2021-05-26 17:36:19.769696 | 5254008d-fb25-97ee-d777-0000000001bf |      FATAL | Update all packages | undercloud-0 | error={"changed": false, "failures": [], "msg": "Depsolve Error occured: \n Problem 1: cannot install both rhosp-director-images-metadata-16.2-20210514.2.el8ost.noarch and rhosp-director-images-metadata-16.2-20210510.1.el8ost.noarch\n  - package octavia-amphora-image-x86_64-16.2-20210510.1.el8ost.noarch requires rhosp-director-images-metadata = 16.2-20210510.1.el8ost, but none of the providers can be installed\n  - cannot install the best update candidate for package rhosp-director-images-metadata-16.2-20210510.1.el8ost.noarch\n  - problem with installed package octavia-amphora-image-x86_64-16.2-20210510.1.el8ost.noarch\n Problem 2: cannot install both rhosp-director-images-metadata-16.2-20210514.2.el8ost.noarch and rhosp-director-images-metadata-16.2-20210510.1.el8ost.noarch\n  - package octavia-amphora-image-x86_64-16.2-20210514.2.el8ost.noarch requires rhosp-director-images-metadata = 16.2-20210514.2.el8ost, but none of the providers can be installed\n  - package rhosp-director-images-ipa-x86_64-16.2-20210510.1.el8ost.noarch requires rhosp-director-images-metadata = 16.2-20210510.1.el8ost, but none of the providers can be installed\n  - cannot install the best update candidate for package octavia-amphora-image-x86_64-16.2-20210510.1.el8ost.noarch\n  - problem with installed package rhosp-director-images-ipa-x86_64-16.2-20210510.1.el8ost.noarch\n Problem 3: cannot install both rhosp-director-images-metadata-16.2-20210514.2.el8ost.noarch and rhosp-director-images-metadata-16.2-20210510.1.el8ost.noarch\n  - package rhosp-director-images-ipa-x86_64-16.2-20210514.2.el8ost.noarch requires rhosp-director-images-metadata = 16.2-20210514.2.el8ost, but none of the providers can be installed\n  - package rhosp-director-images-x86_64-16.2-20210510.1.el8ost.noarch requires rhosp-director-images-metadata = 16.2-20210510.1.el8ost, but none of the providers can be installed\n  - cannot install the best update candidate for package rhosp-director-images-ipa-x86_64-16.2-20210510.1.el8ost.noarch\n  - problem with installed package rhosp-director-images-x86_64-16.2-20210510.1.el8ost.noarch\n Problem 4: cannot install both rhosp-director-images-metadata-16.2-20210514.2.el8ost.noarch and rhosp-director-images-metadata-16.2-20210510.1.el8ost.noarch\n  - package rhosp-director-images-x86_64-16.2-20210510.1.el8ost.noarch requires rhosp-director-images-metadata = 16.2-20210510.1.el8ost, but none of the providers can be installed\n  - package rhosp-director-images-x86_64-16.2-20210514.2.el8ost.noarch requires rhosp-director-images-metadata = 16.2-20210514.2.el8ost, but none of the providers can be installed\n  - package rhosp-director-images-16.2-20210510.1.el8ost.noarch requires rhosp-director-images-x86_64 = 16.2-20210510.1.el8ost, but none of the providers can be installed\n  - cannot install the best update candidate for package rhosp-director-images-x86_64-16.2-20210510.1.el8ost.noarch\n  - problem with installed package rhosp-director-images-16.2-20210510.1.el8ost.noarch", "rc": 1, "results": []}
2021-05-26 17:36:19 | 2021-05-26 17:36:19.770865 | 5254008d-fb25-97ee-d777-0000000001bf |     TIMING | Update all packages | undercloud-0 | 0:00:28.281171 | 2.09s

Comment 4 Lon Hohberger 2021-06-07 16:54:34 UTC
This is due to missing installonly(vm) in the metadata package. These should be parallel-installable, "base" is not.

Comment 13 errata-xmlrpc 2021-09-15 10:04:34 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 (Red Hat OpenStack Platform 16.2 deployment images), 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-2021:3485