Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 2167461

Summary: rpm-ostree status does not show ostree commit hash
Product: Red Hat Enterprise Linux 9 Reporter: Joseph Marrero <jmarrero>
Component: rpm-ostreeAssignee: Joseph Marrero <jmarrero>
Status: CLOSED CURRENTRELEASE QA Contact: RHCOS SST QE <rhcos-sst-qe>
Severity: medium Docs Contact:
Priority: urgent    
Version: 9.2CC: dornelas, walters
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2167469 2167477 2167478 (view as bug list) Environment:
Last Closed: 2023-03-06 14:51:56 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:
Bug Depends On:    
Bug Blocks: 2167469, 2167477, 2167478    

Description Joseph Marrero 2023-02-06 16:54:47 UTC
Description of problem:
When running `rpm-ostree status` the output does not show the ostree commit hash.



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

How reproducible:
always


Steps to Reproduce:
1. Run rpm-ostree status
2. Look at output
3. Notice no commit hash

Actual results:
 rpm-ostree status
State: idle
Deployments:
* rhel-edge:rhel/8/x86_64/edge
                  Version: 8.7 (2023-01-24T13:24:08Z)

  rhel-edge:rhel/8/x86_64/edge
                  Version: 8.7 (2023-01-23T11:58:26Z)


Expected results:

 rpm-ostree status
State: idle
Deployments:
* rhel-edge:rhel/8/x86_64/edge
                  Version: 8.7 (2023-01-24T13:24:08Z)
                  Digest: sha256:c7732b90fc07d10de3b98eb7c4e7cb9ee8d1306f92fcda1976539f4ef15e3df7

  rhel-edge:rhel/8/x86_64/edge
                  Version: 8.7 (2023-01-23T11:58:26Z)
                  Digest: sha256:de732b90fc17d10de3b98eb7c4e7cb9ee8d1306f92fcda1976539f4ef167eg67
Additional info:

Comment 5 Joseph Marrero 2023-03-01 15:44:03 UTC
This has now been backported to:
9.1: https://bugzilla.redhat.com/show_bug.cgi?id=2167477
8.8: https://bugzilla.redhat.com/show_bug.cgi?id=2167469
8.7: https://bugzilla.redhat.com/show_bug.cgi?id=2167476

and attached to their corresponding Erratas.

This does not affect 9.0 and it is fixed on the current release.

Comment 7 Colin Walters 2023-03-06 14:51:56 UTC
This is fixed in 9.2+, so closing this and leaving the zstream bugs open.