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 1785568

Summary: [Hammer] UserData false is not displayed in image list.
Product: Red Hat Satellite Reporter: Kavita <kgaikwad>
Component: HammerAssignee: Yifat Makias <ymakias>
Status: CLOSED ERRATA QA Contact: Jitendra Yejare <jyejare>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.7.0CC: apatel, kgaikwad, mshira, ofedoren, pcreech, rabajaj
Target Milestone: 6.7.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-hammer_cli-0.19.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-14 15:54:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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