Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2271956 - 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
Summary: hammer host create command does not power on the VM on compute resource unles...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: 6.14.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-03-27 21:46 UTC by soham
Modified: 2024-04-08 12:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-08 12:53:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-24218 0 None None None 2024-03-27 21:47:51 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.