-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
False
-
-
False
-
CLOSED
-
2,450
-
Phoenix - Content
-
-
-
Sprint 109, Sprint 110, Sprint 111, Sprint 112, Sprint 113, Sprint 114, Sprint 115, Sprint 116
-
Moderate
-
None
Description of problem:
Unable to promote content view due to "NoMethodError: undefined method `get_status' for nil:NilClass"
Version-Release number of selected component (if applicable):
Satellite version 6.10
How reproducible:
100%
Steps to Reproduce:
1. Publish job is working as expected using the Ansible playbook.
2. Promoting with the below playbook fails with error:-
3. Run a playbook using the module `redhat.satellite.content_view_version`
```
- name: Publish new content view version to lib and dev
redhat.satellite.content_view_version:
username: "{{ user }}"
password: "{{ pw }}"
server_url: "{{ url }}"
content_view: "{{ view }}"
organization: "{{ org }}"
validate_certs: no
description: "testing content view"
lifecycle_environments: - Dev
loop: "{{ views }}"
loop_control:
loop_var: view
```
Actual results:
"msg": "Task Promote content view 'Test'; organization 'Test'(xxxxxx) did not succeed. Task information: [\"undefined method `get_status' for nil:NilClass\"]",
Expected results:
Success