Bug 1610674 - Compute attributes are not user-friendly and some attributes are missing
Summary: Compute attributes are not user-friendly and some attributes are missing
Keywords:
Status: CLOSED DUPLICATE of bug 1638906
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - VMWare
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Chris Roberts
QA Contact: Sanket Jagtap
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-01 08:00 UTC by Sanket Jagtap
Modified: 2018-11-07 18:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-07 18:31:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 25192 0 Normal Closed Update VMware helpers and the hostcreate.md file 2020-05-08 17:38:14 UTC
Github theforeman hammer-cli-foreman pull 393 0 None closed Fixes #25192 - Update VMware helpers and host create page 2020-05-08 17:38:14 UTC
Red Hat Bugzilla 1610684 0 unspecified CLOSED Unable to provision host from CLI Unknown Network ID 2021-02-22 00:41:40 UTC

Internal Links: 1610684

Description Sanket Jagtap 2018-08-01 08:00:58 UTC
Description of problem:
It is very tedious to provision a host on Vmware as, most of the settings are not directly fetched from Vmware and you need to go hunting on Vmware API to find entities proper IDs

Also the help text should have more information

Version-Release number of selected component (if applicable):
Satellite 6.4 Snap 14

How reproducible:
Always

Steps to Reproduce:
  VMWare:
    --compute-attributes:
      cluster               Cluster id from VMware
Should this be some kind of numeric ID or Cluster name 
      path                  Path to folder
Should Mention, does it needs whole path from / or from vm Folder
      guest_id              Guest OS id form VMware
Guest ID is not fetched, also should support guest OS name , like in UI
      scsi_controller_type  Id of the controller from VMware
Should be fetched depending in the name that is passed , like in UI
      hardware_version      Hardware version id from VMware
Add a link to Vmware documetation regarding, where to find this
      compute_network     Network id from VMware
This option is problematic of all, network-id should be automatically fetched from Vmware, rather than user needing to login to Vmware or looking in satellite logs from UI

    --volume:
      name
You don't have the option to specify the name in UI, If it is static we can remove
      datastore           Datastore id from VMware
Datastore name should also be supported and datastore Id should be fetched


Also, some attributes are missing form CLI 
COMPUTE:

Resource pool - [List]
Firmware=[BIOS EFI]

Memory hot add=Boolean

Cpu hot add=Boolean

Cd-rom= Boolean

Annotation Notes

VOLUME:
Storage Pod = [List]

Disk Mode = [List]

Actual results:
Option are not clear and some entities only support ID while some are missing

Expected results:
Options should have proper help text and should support "NAME" which user-friendly rather than ID which requires user to login to Vmware 

Additional info:

Comment 2 Sanket Jagtap 2018-08-01 09:59:24 UTC
P.S This is a Hammer CLI only Bug

Comment 3 Chris Roberts 2018-11-07 18:31:08 UTC
Forgot I filled https://bugzilla.redhat.com/show_bug.cgi?id=1638906

Which cleaned up alot of things and added all the current attributes exposed by fog. Marking this one as a dup of mine, since mine is in ON_QA already.

*** This bug has been marked as a duplicate of bug 1638906 ***


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