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 1785568 - [Hammer] UserData false is not displayed in image list.
Summary: [Hammer] UserData false is not displayed in image list.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: 6.7.0
Assignee: Yifat Makias
QA Contact: Jitendra Yejare
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-20 10:15 UTC by Kavita
Modified: 2020-04-14 15:54 UTC (History)
6 users (show)

Fixed In Version: tfm-rubygem-hammer_cli-0.19.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-14 15:54:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 28134 0 Low Closed UserData false is not displayed in image list. 2020-10-19 13:17:45 UTC
Red Hat Product Errata RHBA-2020:1455 0 None None None 2020-04-14 15:54:21 UTC

Description Kavita 2019-12-20 10:15:57 UTC
When an image is created with user data false, listing that image using the hammer image list doesnt show anything under USER DATA column.

How Reproducible:
-------------------
Always

Steps:
-------------------
1. Create an image in GCE CR with user data set to false.
2. List all the images in GCE CR.

# $ hammer compute-resource image list --compute-resource-id 1


Actual Behavior:
-------------------
The hammer image list shows blank for user-data image set to false.


---|---------------|------------------|---------------|---------------------|----------
ID | NAME          | OPERATING SYSTEM | USERNAME      | UUID                | USER DATA
---|---------------|------------------|---------------|---------------------|----------
2  | gce_gceclloud | rhelcustom 7.6   | jitendracloud | 1238493266994992134 | true     
1  | gceImage      | rhelcustom 7.6   | jitendra      | 4654324179607992309 |          
---|---------------|------------------|---------------|---------------------|----------

Expected Behavior:
--------------------
Hammer listing image should show false for an image where user-data is false.

Comment 4 Jitendra Yejare 2020-01-20 08:58:42 UTC
Verified !

@Satellite 6.7 snap 9


Steps :

# hammer compute-resource image list --compute-resource-id 1
---|---------------|------------------|-----------|---------------------|----------
ID | NAME          | OPERATING SYSTEM | USERNAME  | UUID                | USER DATA
---|---------------|------------------|-----------|---------------------|----------
1  | myimg         | RedHat 7.7       | jitu      | 7726764279310511390 | false    
6  | udata_gce_img | RedHat 7.7       | userdjitu | 1238493266994992134 | true     
---|---------------|------------------|-----------|---------------------|----------


Observation:

1.  False for non-user-data image is shown.

Comment 7 errata-xmlrpc 2020-04-14 15:54:09 UTC
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/RHBA-2020:1455


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