Bug 1522734 - Upgrade to 6.3 hides ReX templates
Summary: Upgrade to 6.3 hides ReX templates
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Adam Ruzicka
QA Contact: Lukas Pramuk
URL:
Whiteboard:
: 1526785 (view as bug list)
Depends On:
Blocks: 1122832 1533259
TreeView+ depends on / blocked
 
Reported: 2017-12-06 10:44 UTC by Lukas Zapletal
Modified: 2021-12-10 15:28 UTC (History)
12 users (show)

Fixed In Version: tfm-rubygem-foreman_remote_execution-1.3.7.2-1.fm1_14
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:54:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 21888 0 None None None 2017-12-06 12:20:40 UTC
Red Hat Bugzilla 1500263 0 unspecified CLOSED when upgraded from 6.2.12 to 6.3.0 snap 19.0, I can no longer show ReX job from before upgrade: undefined method `name' ... 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1515082 0 unspecified CLOSED Rerunning a ReX job with JobTemplate not in current Org/Loc shows undefined method `input_values' for nil:NilClass 2021-02-22 00:41:40 UTC

Internal Links: 1500263 1515082

Description Lukas Zapletal 2017-12-06 10:44:34 UTC
Due to taxonomy changes in 6.3, templates without any taxonomy are no longer visible. Users after upgrade won't see them anymore in the UI.

According to Marek, the solution for ReX is to explicitly associate with all Orgs/Locs during migration:

https://github.com/theforeman/foreman/pull/3416/files#diff-151633105c29141fe3aac7603de185a5

Comment 4 Adam Ruzicka 2017-12-06 12:20:38 UTC
Created redmine issue http://projects.theforeman.org/issues/21888 from this bug

Comment 5 Adam Ruzicka 2017-12-17 16:43:04 UTC
*** Bug 1526785 has been marked as a duplicate of this bug. ***

Comment 6 Mike McCune 2018-01-04 01:29:48 UTC
Is this not a regression post-upgrade?

Comment 8 Ivan Necas 2018-01-08 14:39:03 UTC
I think it a regression, we are looking into it this iteration

Comment 9 Satellite Program 2018-01-10 15:19:39 UTC
Upstream bug assigned to aruzicka

Comment 10 Satellite Program 2018-01-10 15:19:49 UTC
Upstream bug assigned to aruzicka

Comment 11 Satellite Program 2018-01-16 17:19:37 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/21888 has been resolved.

Comment 13 Lukas Pramuk 2018-02-01 11:08:55 UTC
VERIFIED.

@satellite-6.3.0-23.0.el7sat.noarch
tfm-rubygem-foreman_remote_execution-1.3.7.2-1.fm1_15.el7sat.noarch

by this manual reproducer: 

1. On Sat 6.2 disassociate the chosen job template with all orgs/locs

2. Upgrade to 6.3

3. Check if the job template is visible at UI with "Any Context" set

>>> template is visible

Comment 14 Lukas Pramuk 2018-02-01 12:09:56 UTC
Fixed reproducer:

1. Upgrade 

2. Check if the usual job templates are visible at UI with "Default Organization" context

Comment 15 Satellite Program 2018-02-21 16:54:17 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/RHSA-2018:0336


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