Project

General

Profile

Bug #33910

Hammer compute-profile create missing 'boot_order' from 'compute-attributes'

Added by Oleh Fedorenko 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Category:
Other commands
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2013611

Description of problem:

Hammer command to create vmware host missing boot_order from compute-attributes.

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

Red Hat Satellite 6.9

How reproducible:

It looks like 'boot_order' attributes is not listed in vmware compute profile section.

  1. hammer compute-profile values create --help

---snip----

VMware:
--volume:
name
storage_pod Storage Pod ID from VMware
datastore Datastore ID from VMware
mode persistent/independent_persistent/independent_nonpersistent
size_gb Integer number, volume size in GB
thin true/false
eager_zero true/false
controller_key Associated SCSI controller key

--interface:
compute_type Type of the network adapter, for example one of:
VirtualVmxnet3
VirtualE1000
See documentation center for your version of vSphere to find more details about available adapter types:
https://www.vmware.com/support/pubs/
compute_network Network ID or Network Name from VMware
--compute-attributes:
cluster Cluster ID from VMware
corespersocket Number of cores per socket (applicable to hardware versions < 10 only)
cpus CPU count
memory_mb Integer number, amount of memory in MB
path Path to folder
resource_pool Resource Pool ID from VMware
firmware automatic/bios/efi
guest_id Guest OS ID form VMware
hardware_version Hardware version ID from VMware
memoryHotAddEnabled Must be a 1 or 0, lets you add memory resources while the machine is on
cpuHotAddEnabled Must be a 1 or 0, lets you add CPU resources while the machine is on
add_cdrom Must be a 1 or 0, Add a CD-ROM drive to the virtual machine
annotation Annotation Notes
scsi_controllers List with SCSI controllers definitions
type - ID of the controller from VMware
key - Key of the controller (e.g. 1000)

------snip---------

Actual results:

'boot_order' not available with compute-attributes

Expected results:

'boot_order' should be available with compute-attributes

Additional info:

This is listed in section "1.8.1. JSON Formatted Content" from following hammer cli guide

https://access.redhat.com/documentation/en-us/red_hat_satellite/6.9/pdf/hammer_cli_guide/hammer-cli-guide.pdf

Associated revisions

Revision 1f7fad5d (diff)
Added by Adi Abramovich 5 months ago

Fixes #33910 - Add boot_order to compute-attribute (#588)

History

#1 Updated by Adi Abramovitch 5 months ago

  • Assignee set to Adi Abramovitch

#2 Updated by The Foreman Bot 5 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/585 added

#3 Updated by The Foreman Bot 5 months ago

  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/588 added

#4 Updated by Adi Abramovitch 5 months ago

  • Pull request deleted (https://github.com/theforeman/hammer-cli-foreman/pull/585)

#5 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases hammer-cli-foreman-3.2.0 added

#6 Updated by Anonymous 5 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF