Bug 2208557
| Summary: | While creating modulemd filter for content view via ansible playbook getting error traceback. | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | vivek singh <vivsingh> |
| Component: | Ansible Collection | Assignee: | Evgeni Golov <egolov> |
| Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.13.0 | CC: | egolov, ehelms, jpathan, lpramuk |
| Target Milestone: | 6.15.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ansible-collection-redhat-satellite-3.11.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-04-23 17:11:17 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
vivek singh
2023-05-19 14:09:56 UTC
VERIFIED.
@Satellite 6.15.0 Snap 2.1
ansible-collection-redhat-satellite-3.14.0-1.el8sat.noarch
using the folowing reproducer:
1) Create CV cv_test_rhel8 and add there RHEL8 repos
2) Prepare testing playbook test.yaml
# cat test.yaml
---
- name: Test playbook
hosts: localhost
tasks:
- name: Create content view filters
redhat.satellite.content_view_filter:
username: admin
password: changeme
server_url: "https://{{ ansible_fqdn }}"
content_view: cv_test_rhel8
filter_state: present
filter_type: modulemd
inclusion: true
name: module_streams_without_errata
organization: Default Organization
original_module_streams: true
3) Run the playbook
# ansible-playbook -ilocalhoast, -c local test.yaml
PLAY [Test playbook] *********************************************************************************************************************************************************************************************************************************************************************
TASK [Gathering Facts] *******************************************************************************************************************************************************************************************************************************************************************
ok: [localhost]
TASK [Create content view filters] *******************************************************************************************************************************************************************************************************************************************************
changed: [localhost]
PLAY RECAP *******************************************************************************************************************************************************************************************************************************************************************************
localhost : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
>>> content-view filter of type modulemd is being created successfully
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 (Important: Satellite 6.15.0 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-2024:2010 |