-
Bug
-
Resolution: Done-Errata
-
Major
-
6.16.z, 6.16.0, 6.16.1, 6.16.0.1
Description of problem: when using the 'redhat.satellite.host' module with the following task:
~~~~~~~~~
name: Change a host's CV
delegate_to: localhost
redhat.satellite.host:
name: "client.example.org"
content_view: "Some_CV"
organization: "Some_Organization"
lifecycle_environment: "Library"
~~~~~~~~~
The module returns the following error from the API:
=======
"msg": "Failed to ensure entity state: ForemanApiException: Error while performing update on hosts: 422 Client Error: Unprocessable Content for url: https://satellite.example.com/api/hosts/123 - {'id': 123, 'errors':
, 'full_messages': ['Content view and lifecycle environment must be provided together']}"
=======
How reproducible: Yes
Is this issue a regression from an earlier version: No
Steps to Reproduce:
- Try to change the host's content-view using the 'redhat.satellite.host' module with the following task:
~~~
name: Change a host's CV
delegate_to: localhost
redhat.satellite.host:
name: "client.example.org"
content_view: "Some_CV"
organization: "Some_Organization"
lifecycle_environment: "Library"
~~~
Actual behavior:
Changing a Host's content view failed with the following error: "Content view and lifecycle environment must be provided together"
Expected behavior:
The host's content-view should be updated successfully.
Business Impact / Additional info:
NA
- clones
-
SAT-30221 Unable to update or change a Host's content view using the redhat.satellite.host module on Satellite v6.16
-
- Release Pending
-
- is blocked by
-
SAT-34288 workaround to ensure LCE and CV are always sent together by evgeni · Pull Request #1867 · theforeman/foreman-ansible-modules · GitHub
-
- Closed
-
- relates to
-
SAT-18045 As a user, I expect to be able to assign multiple content view environments via Foreman Ansible Modules
-
- In Progress
-
- links to
-
RHSA-2025:150941 Satellite 6.16.5.2 Async Update