Bug 2271956

Summary: hammer host create command does not power on the VM on compute resource unless --compute-attributes start=1 is used in Red Hat Satellite 6
Product: Red Hat Satellite Reporter: soham <smajumda>
Component: ProvisioningAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.14.2CC: lstejska, rlavi, sshtein
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-08 12:53:14 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 soham 2024-03-27 21:46:36 UTC
Description of problem:
hammer host create command does not power on the VM on compute resource unless --compute-attributes start=1 is used in Red Hat Satellite 6

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


How reproducible:

While using a hostgroup the below command creates the host but it does not start the vm

# hammer host create --name myhost --hostgroup hg --location GSS --organization RedHat


We need to add --compute-attributes start=1 to start it on the compute resource. So the command becomes:

# hammer -d host create --name myhost --hostgroup hg --location GSS --organization RedHat --compute-attributes start=1

We do not need this while using web ui probably because its hard coded.

Comment 3 Leos Stejskal 2024-04-08 06:10:21 UTC
Hi,
this is expected behavior, confirmed with our QAs,
I suggest closing the BZ as not a bug.
Thanks you

Comment 4 soham 2024-04-08 12:53:14 UTC
Sure. closing this.