Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1721334

Summary: API host creation fails if scsi_controllers are empty on compute profile
Product: Red Hat Satellite Reporter: Ondřej Ezr <oezr>
Component: Compute Resources - VMWareAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Jitendra Yejare <jyejare>
Severity: low Docs Contact:
Priority: unspecified    
Version: NightlyCC: chrobert, mhulan
Target Milestone: UnspecifiedKeywords: Triaged
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: 2020-08-31 15:04:41 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 Ondřej Ezr 2019-06-18 00:49:39 UTC
Description of problem:

If user removes all controllers on Compute Profile (seems like he does not want to define it there), the API (and hammer) host creation fails, even if user defines volume there. As a user I expect it to be created with default controller

Version-Release number of selected component (if applicable):
Nightly, but reproducible from 6.4

How reproducible:
On VMware Compute Resource, define Compute Profile with no SCSi Controller.
Try create host using this compute profile through API/hammer.

Steps to Reproduce:
1. Define Compute profile for VMware Compute resource
2. Run
   hammer host create --name vmhammer --hostgroup-id <somehostgrouponVMWARE> --compute-resource-id <VMWareComputeResource>  --location-id 1 --organization-id 2  --root-password passwdpasswd  --volume "datastore=datastore,mode=Persistent,size_gb=10,thin=true" --compute-profile-id <CProfileDefinedForVMWAREwithEmptyControllers>

Actual results:
"Could not create the host:
  Failed to create a compute ToledoVMware (VMware) instance vmhammer.tfm.brq: InvalidController: The device '1' is referring to a nonexisting controller '1,000'."

Expected results:
Host created with a default SCSi Controller 

Additional info:

Comment 3 Bryan Kearney 2020-07-06 15:39:16 UTC
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Red Hat Technical Support or your account team. If we do not hear from you, we will close this bug out. Thank you.

Comment 4 Bryan Kearney 2020-08-31 15:04:41 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.