Bug 1966932

Summary: foreman_rh_cloud 3.0.21 not installable
Product: Red Hat Satellite Reporter: Evgeni Golov <egolov>
Component: RH Cloud - InventoryAssignee: Adam Ruzicka <aruzicka>
Status: CLOSED ERRATA QA Contact: Jameer Pathan <jpathan>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: ahumbe, aruzicka
Target Milestone: 6.9.3Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_rh_cloud-3.0.21.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-01 14:56:52 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 Evgeni Golov 2021-06-02 07:51:09 UTC
Description of problem:
When I upgrade rh_cloud from 3.0.19 to 3.0.21 and run the installer, it fails.

The installer, under the hood, calls "foreman-rake apipie:cache:index" which results in:
The Dynflow world was not initialized yet. If your plugin uses it, make sure to call Rails.application.dynflow.require! in some initializer

And the traceback points at /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_rh_cloud-3.0.21/lib/foreman_rh_cloud/engine.rb:139:in `block in <class:Engine>'

3.0.19 works fine, 3.0.20 wasn't tried.

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

How reproducible:
100%

Steps to Reproduce:
1. install 3.0.21
2. run foreman-rake apipie:cache:index

Actual results:
failure

Expected results:
success

Additional info:
The "component description" of this component still lists the old plugin name:
The plugin (tfm-rubygem-foreman_inventory_upload) for loading inventory to cloud.redhat.com

Comment 2 Jameer Pathan 2021-06-18 06:02:42 UTC
Verified:

Verified with:
- Satellite 6.9.3 snap 3
- tfm-rubygem-foreman_rh_cloud-3.0.22-1.el7sat.noarch

Test steps:
- Install Satellite 6.9.2 (foreman_rh_cloud-3.0.18)
- Upgrade it to Satellite 6.9.3 snap 3 (foreman_rh_cloud-3.0.22)

Observation:
- Satellite upgrade completed successfully.

Comment 8 errata-xmlrpc 2021-07-01 14:56:52 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 (Satellite 6.9.3 Async Bug Fix Update), 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-2021:2636