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.
Description of problem:
hammer host create with compute-attributes 'image_id' requires 'Marketplace URN' instead of Compute_Resource created image ID.
Version-Release number of selected component (if applicable):
@Satellite 6.7.0 snap 5.0
How reproducible:
Always
Steps to Reproduce:
1. Get an image ID of already created image under same compute-resource:
# hammer compute-resource image list --compute-resource <CR Name>
2. Now create a host with compute-attributes 'image_id using above ID.
Actual results:
Selected image does not belong to <CR Name> (Azure Resource Manager)
Expected results:
Should be able to provision VM using Compute_Resource created image ID
Additional info:
ON_QA Verified
@Satellite 6.7.0 snap 7.0
Steps/Observation:
a) 'image_id' is no more part of compute attributes
_______________________________________________________
# hammer host create --help|grep AzureRM -A30
AzureRM:
--volume:
--interface:
compute_network Select one of available Azure Subnets, must be an ID
compute_public_ip Public IP (None, Static, Dynamic)
compute_private_ip Static Private IP (expressed as true or false)
--compute-attributes:
resource_group Existing Azure Resource Group of user
vm_size VM Size, eg. Standard_A0 etc.
username The Admin username
password The Admin password
platform OS type eg. Linux
ssh_key_data SSH key for passwordless authentication
os_disk_caching OS disk caching
premium_os_disk Premium OS Disk, Boolean as 0 or 1
script_command Custom Script Command
script_uris Comma seperated file URIs
_________________________________________________________
b) Able to create host using '--image-id' with Compute_Resource created image ID.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2020:1454