Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1582662 - 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 [NEEDINFO]
FFU: undercloud upgrade to OSP13 fails with python-neutron-vpnaas-tests and m...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: instack-undercloud (Show other bugs)
10.0 (Newton)
Unspecified Unspecified
urgent Severity high
: z9
: 10.0 (Newton)
Assigned To: Carlos Camacho
Marius Cornea
: ReleaseNotes, Triaged, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-05-25 16:34 EDT by Marius Cornea
Modified: 2018-09-17 12:56 EDT (History)
14 users (show)

See Also:
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 12:54:55 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
jslagle: needinfo? (ccamacho)


Attachments (Terms of Use)
yum update log (56.59 KB, text/plain)
2018-05-25 16:34 EDT, Marius Cornea
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 570897 None stable/newton: ABANDONED instack-undercloud: Removing packages when installing Undercloud in Newton (I0df4356c4cb8deccd95d2d5787f11d209c8b1db7) 2018-07-25 09:08 EDT
Red Hat Product Errata RHBA-2018:2670 None None None 2018-09-17 12:56 EDT

  None (edit)
Description Marius Cornea 2018-05-25 16:34:41 EDT
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 06:42:55 EDT
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 06:58:53 EDT
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 09:56:18 EDT
Confirmed it works if removing the packages
Comment 4 Carlos Camacho 2018-05-29 06:11:49 EDT
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 07:01:18 EDT
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 12:23:11 EDT
(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 15:00:48 EDT
(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 15:01:26 EDT
Resetting the rhos-flags@redhat.com needinfo.
Comment 10 Michele Baldessari 2018-07-23 12:00:53 EDT
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 12:10:21 EDT
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 12:24:48 EDT
(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 07:27:56 EDT
Tested the fix again (fix merged downstream), shiiiiiip it!
Comment 26 errata-xmlrpc 2018-09-17 12:54:55 EDT
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

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