Bug 1898450

Summary: Unable to import Ansible Variables from Satellite UI.
Product: Red Hat Satellite Reporter: Jameer Pathan <jpathan>
Component: Ansible - Configuration ManagementAssignee: Ondřej Pražák <oprazak>
Status: CLOSED ERRATA QA Contact: Jameer Pathan <jpathan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: egolov, oezr
Target Milestone: 6.9.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_ansible-6.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 13:18: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:

Description Jameer Pathan 2020-11-17 07:24:56 UTC
Description of problem:
Unable to import Ansible Variables from Satellite UI.

Version-Release number of selected component (if applicable):
- Satellite 6.9.0 snap 1

How reproducible:
- Always

Steps to Reproduce:
1. Import Ansible roles from Satellite UI. (Configure > Roles > Import from satellite.example.com)
2. Try importing Ansible variables. (Configure > Ansible Variable > Import from satellite.example.com)

Actual results:
Notification says "Import of variables successfully finished. Added: 20 Removed: 0 Updated: 0", but no variable is actually listed on the page itself.

Expected results:
Imported Ansible variables should be shown on page.

Additional info:
- This is working fine from Hammer CLI, only issue is with Satellite UI.

Comment 1 Bryan Kearney 2020-11-18 08:02:40 UTC
Upstream bug assigned to oprazak

Comment 2 Bryan Kearney 2020-11-18 08:02:41 UTC
Upstream bug assigned to oprazak

Comment 3 Bryan Kearney 2020-11-24 12:02:39 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/31302 has been resolved.

Comment 4 Jameer Pathan 2020-12-14 07:05:39 UTC
Verified

Verified with:
- Satellite 6.9.0 snap 5

Test steps:
1. Import Ansible roles from Satellite UI. (Configure > Roles > Import from satellite.example.com)
2. Import Ansible variables. (Configure > Ansible Variable > Import from satellite.example.com)

Observation:
- Ansible roles and variables imported successfully from Satellite UI.

Comment 7 errata-xmlrpc 2021-04-21 13:18: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 (Moderate: Satellite 6.9 Release), 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-2021:1313