Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1636403

Summary: user with view_ansible_roles, import_ansible_roles foles can not import roles: AnsibleRole not found Please try to update your request
Product: Red Hat Satellite Reporter: Jan Hutař <jhutar>
Component: Ansible - Configuration ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Danny Synk <dsynk>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.4CC: egolov, lpramuk, oezr, oprazak
Target Milestone: 6.10.0Keywords: Reopened, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-foreman_ansible-6.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:08:27 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 Jan Hutař 2018-10-05 10:45:41 UTC
Description of problem:
User with view_ansible_roles, import_ansible_roles foles can not import roles. UI complains "AnsibleRole not found Please try to update your request"


Version-Release number of selected component (if applicable):
satellite-6.4.0-15.el7sat.noarch


How reproducible:
always


Steps to Reproduce:
1. Create role with only filters set to view_ansible_roles, import_ansible_roles
2. Create user with only that role
3. Make sure there is some role in /etc/ansible/roles/ which was not imported yet
4. Log in as that user
5. Go to Configure -> Roles -> From <satellite>


Actual results:
Error "AnsibleRole not found Please try to update your request" appears


Expected results:
It should work


Additional info:
Same result even when I add "Ansible Roles Manager" role to the user

Comment 2 Ondřej Pražák 2018-11-29 09:33:18 UTC
Created redmine issue http://projects.theforeman.org/issues/25580 from this bug

Comment 3 Bryan Kearney 2019-11-04 14:34:27 UTC
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Red Hat Technical Support or your account team. If we do not hear from you, we will close this bug out. Thank you.

Comment 4 Bryan Kearney 2019-12-03 12:54:11 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.

Comment 5 Ondřej Ezr 2021-05-17 12:36:15 UTC
Fix for this will be included in Sat 6.10

Comment 6 Danny Synk 2021-06-21 15:17:52 UTC
Steps to test:

1. Create a role with only the filters view_ansible_roles and import_ansible_roles.
2. Create a user and assign only this role.
3. Install a role from Ansible Galaxy on the Satellite and copy it to /etc/ansible/roles.
4. Log in to the Satellite webUI as the user created in step 2.
5. Navigate in the webUI to Configure > Roles.

Expected Results:

The user is presented with the option to import Ansible roles. The user can select roles and successfully import them.

Actual Results:

The user is presented with the option to import Ansible roles. The user can select roles and successfully import them.

Verified on Satellite 6.10, snap 5 (tfm-rubygem-foreman_ansible-6.3.0-1.el7sat.noarch).

Comment 9 errata-xmlrpc 2021-11-16 14:08:27 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.10 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:4702