Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1582662

Summary: FFU: undercloud upgrade to OSP13 fails with python-neutron-vpnaas-tests and mariadb-devel-5.5.56-2.el7.x86_64 dependencies when initial deployment was on OSP8
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: instack-undercloudAssignee: Carlos Camacho <ccamacho>
Status: CLOSED ERRATA QA Contact: Marius Cornea <mcornea>
Severity: high Docs Contact:
Priority: urgent    
Version: 10.0 (Newton)CC: amcleod, amuller, apevec, augol, ccamacho, dbecker, jschluet, jslagle, mburns, mcornea, michele, morazi, nyechiel
Target Milestone: z9Keywords: ReleaseNotes, Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: instack-undercloud-5.3.7-5.el7ost Doc Type: Bug Fix
Doc Text:
Previously, Undercloud upgrade failed due to dependency issues. With this fix, the upgrade procedure automatically removes the mariadb-devel and neutron-vpnaas packages from the Undercloud before running the FFWD. As a result, the Undercloud upgrade succeeds.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-17 16:54:55 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:
Attachments:
Description Flags
yum update log none

Description Marius Cornea 2018-05-25 20:34:41 UTC
Created attachment 1441707 [details]
yum update log

Description of problem:
FFU: undercloud upgrade to OSP13 fails with python-neutron-vpnaas-tests and mariadb-devel-5.5.56-2.el7.x86_64 dependencies when initial deployment was on OSP8:


2018-05-25 16:29:33,462 INFO: Error: Package: 1:python-neutron-vpnaas-tests-10.0.0-4.el7ost.noarch (@rhelosp-11.0-puddle)
2018-05-25 16:29:33,462 INFO:            Requires: python-neutron-tests
2018-05-25 16:29:33,463 INFO:            Removing: 1:python-neutron-tests-11.0.2-1.el7ost.noarch (@rhelosp-12.0-puddle)
2018-05-25 16:29:33,463 INFO:                python-neutron-tests = 1:11.0.2-1.el7ost
2018-05-25 16:29:33,463 INFO:            Obsoleted By: python2-neutron-tests-tempest-0.0.1-0.20180419105837.f33d59b.el7ost.noarch (rhelosp-13.0-puddle)
2018-05-25 16:29:33,464 INFO:                Not found
2018-05-25 16:29:33,464 INFO: Error: Package: 1:mariadb-devel-5.5.56-2.el7.x86_64 (@rhelosp-rhel-7.5-server)
2018-05-25 16:29:33,464 INFO:            Requires: mariadb-libs(x86-64) = 1:5.5.56-2.el7
2018-05-25 16:29:33,465 INFO:            Removing: 1:mariadb-libs-5.5.56-2.el7.x86_64 (@rhelosp-rhel-7.5-server)
2018-05-25 16:29:33,465 INFO:                mariadb-libs(x86-64) = 1:5.5.56-2.el7
2018-05-25 16:29:33,465 INFO:            Updated By: 3:mariadb-libs-10.1.20-2.el7ost.x86_64 (rhelosp-13.0-puddle)
2018-05-25 16:29:33,466 INFO:                mariadb-libs(x86-64) = 3:10.1.20-2.el7ost
2018-05-25 16:29:33,466 INFO:            Available: 1:mariadb-libs-5.5.35-3.el7.x86_64 (rhelosp-rhel-7.5-server)
2018-05-25 16:29:33,466 INFO:                mariadb-libs(x86-64) = 1:5.5.35-3.el7
2018-05-25 16:29:33,467 INFO:            Available: 1:mariadb-libs-5.5.37-1.el7_0.x86_64 (rhelosp-rhel-7.5-server)
2018-05-25 16:29:33,467 INFO:                mariadb-libs(x86-64) = 1:5.5.37-1.el7_0
2018-05-25 16:29:33,467 INFO:            Available: 1:mariadb-libs-5.5.40-1.el7_0.x86_64 (rhelosp-rhel-7.5-server)
2018-05-25 16:29:33,468 INFO:                mariadb-libs(x86-64) = 1:5.5.40-1.el7_0
2018-05-25 16:29:33,468 INFO:            Available: 1:mariadb-libs-5.5.40-2.el7_0.x86_64 (rhelosp-rhel-7.5-server)
2018-05-25 16:29:33,468 INFO:                mariadb-libs(x86-64) = 1:5.5.40-2.el7_0
2018-05-25 16:29:33,469 INFO:            Available: 1:mariadb-libs-5.5.41-2.el7_0.x86_64 (rhelosp-rhel-7.5-server)
2018-05-25 16:29:33,469 INFO:                mariadb-libs(x86-64) = 1:5.5.41-2.el7_0
2018-05-25 16:29:33,469 INFO:            Available: 1:mariadb-libs-5.5.44-1.el7_1.x86_64 (rhelosp-rhel-7.5-server)
2018-05-25 16:29:33,470 INFO:                mariadb-libs(x86-64) = 1:5.5.44-1.el7_1
2018-05-25 16:29:33,470 INFO:            Available: 1:mariadb-libs-5.5.44-2.el7.x86_64 (rhelosp-rhel-7.5-server)
2018-05-25 16:29:33,470 INFO:                mariadb-libs(x86-64) = 1:5.5.44-2.el7
2018-05-25 16:29:33,471 INFO:            Available: 1:mariadb-libs-5.5.47-1.el7_2.x86_64 (rhelosp-rhel-7.5-server)
2018-05-25 16:29:33,471 INFO:                mariadb-libs(x86-64) = 1:5.5.47-1.el7_2
2018-05-25 16:29:33,471 INFO:            Available: 1:mariadb-libs-5.5.50-1.el7_2.x86_64 (rhelosp-rhel-7.5-server)
2018-05-25 16:29:33,472 INFO:                mariadb-libs(x86-64) = 1:5.5.50-1.el7_2
2018-05-25 16:29:33,472 INFO:            Available: 1:mariadb-libs-5.5.52-1.el7.x86_64 (rhelosp-rhel-7.5-server)
2018-05-25 16:29:33,473 INFO:                mariadb-libs(x86-64) = 1:5.5.52-1.el7
2018-05-25 16:29:33,473 INFO:  You could try using --skip-broken to work around the problem
2018-05-25 16:29:34,655 INFO:  You could try running: rpm -Va --nofiles --nodigest


Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Deploy OSP8
2. Upgrade to OSP9
3. Upgrade to OSP10
4. Upgrade underclod to 11/12/13

Actual results:
Undercloud upgrade fails with dependency errors.

Expected results:
Undercloud upgrade completes fine.

Additional info:
Attaching full output of yum update.

Comment 1 Carlos Camacho 2018-05-28 10:42:55 UTC
Investing about this with amoralej and jpena, seems to be a packaging issue, we will post an update ASAP.

Comment 2 Carlos Camacho 2018-05-28 10:58:53 UTC
mcornea can we remove (when the UC is in 10 before running FFWD) mariadb-devel and neutron-vpnaas ?

Comment 3 Carlos Camacho 2018-05-28 13:56:18 UTC
Confirmed it works if removing the packages

Comment 4 Carlos Camacho 2018-05-29 10:11:49 UTC
This shouldn't be a blocker as now we have a workaround.

Now, we need guidance from DFG:Networking (vpnaas) and DFG:Pidone (mariadb) to properly push a fix for this.

Comment 5 Carlos Camacho 2018-05-29 11:01:18 UTC
Hey Marios, as the fix should be on OSP10 (newton) when installing the Undercloud, do you think we can re-target this BZ to 10?

Comment 6 Assaf Muller 2018-05-29 16:23:11 UTC
(In reply to Carlos Camacho from comment #4)
> This shouldn't be a blocker as now we have a workaround.
> 
> Now, we need guidance from DFG:Networking (vpnaas) and DFG:Pidone (mariadb)
> to properly push a fix for this.

I can confirm that VPNaaS was removed from OSP and it's correct to uninstall the relevant RPMS during the FFU process.

Comment 7 Marius Cornea 2018-05-29 19:00:48 UTC
(In reply to Carlos Camacho from comment #5)
> Hey Marios, as the fix should be on OSP10 (newton) when installing the
> Undercloud, do you think we can re-target this BZ to 10?

Please note that my test case involved an OSP8 initial deployment(so there was no OSP10 undercloud install involved) and the error was hit when upgrading the undercloud to OSP13. So if the fix is applied during 9 to 10 undercloud upgrade then yes, I think it's ok to target it for 10.

Comment 8 Marius Cornea 2018-05-29 19:01:26 UTC
Resetting the rhos-flags needinfo.

Comment 10 Michele Baldessari 2018-07-23 16:00:53 UTC
Hey Carlos,

what are the next steps here? A downstream only review since newton is EOL or do we need to do something else?

thanks,
Michele

Comment 11 Carlos Camacho 2018-07-23 16:10:21 UTC
Hey Michele, yeah there I posted the dowstream fix, I tested it long time ago, would be nice to re-test it before merging the patch downstream.

https://code.engineering.redhat.com/gerrit/#/c/144747/


Im deploying OSP to test FFU so I can also double check it.

Comment 12 Michele Baldessari 2018-07-23 16:24:48 UTC
(In reply to Carlos Camacho from comment #11)
> Hey Michele, yeah there I posted the dowstream fix, I tested it long time
> ago, would be nice to re-test it before merging the patch downstream.
> 
> https://code.engineering.redhat.com/gerrit/#/c/144747/
> 
> 
> Im deploying OSP to test FFU so I can also double check it.

Perfect thanks, I'll remove PIDONE from the internal whiteboard for now but I am staying in CC if anything comes up. Ping if you need anything from our side ;)

Comment 13 Carlos Camacho 2018-07-25 11:27:56 UTC
Tested the fix again (fix merged downstream), shiiiiiip it!

Comment 26 errata-xmlrpc 2018-09-17 16:54:55 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/RHBA-2018:2670

Comment 27 Red Hat Bugzilla 2023-09-18 00:13:44 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days