Bug 1855008

Summary: Host parameters are set after the host is created.
Product: Red Hat Satellite Reporter: Rudnei Bertol Jr. <rbertolj>
Component: Ansible CollectionAssignee: Evgeni Golov <egolov>
Status: CLOSED ERRATA QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.7.0CC: egolov, kagarwal, robin.jonsson7, vijsingh, zhunting
Target Milestone: 6.8.0Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ansible-collection-redhat-satellite-1.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 13:03:56 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 Rudnei Bertol Jr. 2020-07-08 15:52:35 UTC
Description of problem:

Host created via Ansible Playbook, using the collection [1] has not the host parameters configured on the playbook set when the host is created, those parameters are set after the host is built.


Version-Release number of selected component (if applicable):

1.0.0

How reproducible:

Create a host using the collection, the parameters are not set 

Steps to Reproduce:
1. Create a host using the collection.
2. Check the host parameter logs.

Actual results:

Creating the host using the collection [1], the host parameters are created after the host be deployed.

Expected results:

When creating the host using the collection [1], the parameters be created when the host is created.


Additional info:

[1] - https://cloud.redhat.com/ansible/automation-hub/redhat/satellite
[2] - https://access.redhat.com/documentation/en-us/red_hat_satellite/6.7/html/provisioning_guide/provisioning_cloud_instances_in_amazon_ec2#connecting_to_an_Amazon_EC2_instance_using_SSH

Comment 8 Peter Ondrejka 2020-09-30 18:43:17 UTC
Verified on Satellite 6.8 snap 17 by provisioning via the similar playbook to c#3 in libvirt environment, confirming all host parematers are passed within the initial post call.

Comment 11 errata-xmlrpc 2020-10-27 13:03:56 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 (Important: Satellite 6.8 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-2020:4366