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

Bug 1845726

Summary: [OSP13 ->OSP16.1 hackfest][upgrade] we should automate installation of Leapp on all overcloud nodes before we have customer run Leapp command
Product: Red Hat OpenStack Reporter: John Fulton <johfulto>
Component: openstack-tripleo-heat-templatesAssignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: David Rosenfeld <drosenfe>
Severity: high Docs Contact:
Priority: high    
Version: 16.1 (Train)CC: acanan, dbecker, dcadzow, dmacpher, jamsmith, jfrancoa, jpretori, jschluet, mburns, morazi, rhos-maint, shrjoshi, spower
Target Milestone: z1Keywords: FutureFeature, Triaged
Target Release: 16.1 (Train on RHEL 8.2)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-11.3.2-0.20200616081533.396affd.el8ost Doc Type: Bug Fix
Doc Text:
This director enhancement automatically installs the Leapp utility on overcloud nodes to prepare for OpenStack upgrades. This enhancement includes two new Heat parameters: LeappRepoInitCommand and LeappInitCommand. In addition, if you have the following repository defaults, you do not need to pass UpgradeLeappCommandOptions values. + ---- --enablerepo rhel-8-for-x86_64-baseos-eus-rpms --enablerepo rhel-8-for-x86_64-appstream-eus-rpms --enablerepo rhel-8-for-x86_64-highavailability-eus-rpms --enablerepo advanced-virt-for-rhel-8-x86_64-rpms --enablerepo ansible-2.9-for-rhel-8-x86_64-rpms --enablerepo fast-datapath-for-rhel-8-x86_64-rpms ----
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-27 15:19:10 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 John Fulton 2020-06-09 21:49:41 UTC
Run running FFWD update from 13 to 16, after running `openstack overcloud upgrade prepare` (and a few other commands) the customer runs `openstack overcloud upgrade run --limit overcloud-controller-0`. 

However, if leapp is not installed on that overcloud node, then this step will fail. 

Before the customer runs the upgrade, director should have a process to install leap for the customer.

Comment 5 Jose Luis Franco 2020-07-23 13:16:54 UTC
Just as a note, this BZ would requires doc_text change, to state the existence of the new LeappRepoInitCommand and LeappInitCommand Heat parameters, as well as removing the need to pass UpgradeLeappCommandOptions if the repos are the default "--enablerepo rhel-8-for-x86_64-baseos-eus-rpms --enablerepo rhel-8-for-x86_64-appstream-eus-rpms --enablerepo rhel-8-for-x86_64-highavailability-eus-rpms --enablerepo advanced-virt-for-rhel-8-x86_64-rpms --enablerepo ansible-2.9-for-rhel-8-x86_64-rpms --enablerepo fast-datapath-for-rhel-8-x86_64-rpms".

I set the requires_doc_text (I can't + it) in the BZ.

Comment 15 errata-xmlrpc 2020-08-27 15:19:10 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.1 director bug fix 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-2020:3542