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 1758530

Summary: Deprecated option has been mentioned with "hammer compute-resource create" in Satellite 6.5 provisioning guide
Product: Red Hat Satellite Reporter: Sayan Das <saydas>
Component: DocumentationAssignee: Melanie Corr <mcorr>
Status: CLOSED CURRENTRELEASE QA Contact: Vlada Grosu <vgrosu>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.5.0CC: mcorr
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-09 17:07:25 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 Sayan Das 2019-10-04 13:00:29 UTC
Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_satellite/6.5/html/provisioning_guide/provisioning_virtual_machines_in_vmware_vsphere


Section Number and Name: 

Section 9.3 Adding a VMware vSphere Connection to Satellite Server

The portion is "For CLI Users"



Describe the issue: 

For CLI Users

Create the connection with the hammer compute-resource create command. Select Vmware as the --provider and set the instance UUID of the data center as the --uuid:

# hammer compute-resource create --name "My_vSphere" \
--provider "Vmware" \
--description "vSphere server at vsphere.example.com" \
--server "vsphere.example.com" --user "SatelliteUser" \
--password "p@55w0rd!" --locations "New York" --organizations "My_Organization" \
--uuid 72cb9454-81cd-4231-a863-d9baf0f399f8


Here --uuid is a deprecated option in hammer and very hard to collect without having CLI access of VMware.




Suggestions for improvement: 

For CLI Users

Create the connection with the hammer compute-resource create command. Select Vmware as the --provider and set the name of the data center you want to use using --datacenter. 

# hammer compute-resource create --name "My_vSphere" \
--provider "Vmware" \
--description "vSphere server at vsphere.example.com" \
--server "vsphere.example.com" --user "SatelliteUser" \
--password "p@55w0rd!" --locations "New York" --organizations "My_Organization" \
--datacenter "My_Datacenter"


Additional information: 

[root@vm253-38 ~]# hammer compute-resource create --help | egrep "uuid|datacenter"
 --datacenter DATACENTER                     For RHEV, VMware Datacenter
 --uuid UUID                                 Deprecated, please use datacenter



The information should be fixed in Satellite 6.6 documentation as well.

Comment 1 Melanie Corr 2019-10-04 13:51:44 UTC
Thank you for opening this bug. I'll take a look.

Comment 4 Melanie Corr 2019-10-09 17:07:25 UTC
Thanks, Vlada. 

These changes are now live on the Customer Portal: 

Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_satellite/6.5/html/provisioning_guide/provisioning_virtual_machines_in_vmware_vsphere