Bug 2167477

Summary: rpm-ostree status does not show ostree commit hash [rhel-9.1.0.z]
Product: Red Hat Enterprise Linux 9 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: rpm-ostreeAssignee: Joseph Marrero <jmarrero>
Status: CLOSED ERRATA QA Contact: Xiaofeng Wang <xiaofwan>
Severity: medium Docs Contact:
Priority: urgent    
Version: 9.2CC: aaradhak, dornelas, mnguyen, xiaofwan
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rpm-ostree-2022.12-3.el9_1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2167461 Environment:
Last Closed: 2023-04-11 14:24:25 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:
Bug Depends On: 2167461    
Bug Blocks:    

Comment 4 Xiaofeng Wang 2023-03-03 16:53:03 UTC
Verified on rpm-ostree-2022.12-3.el9_1.x86_64
TASK [check rpm-ostree status] *************************************************
changed: [192.168.100.50] => changed=true 
  cmd:
  - rpm-ostree
  - status
  delta: '0:00:00.091217'
  end: '2023-03-02 14:34:32.963049'
  msg: ''
  rc: 0
  start: '2023-03-02 14:34:32.871832'
  stderr: ''
  stderr_lines: <omitted>
  stdout: |-
    State: idle
    Deployments:
    ● rhel-edge:rhel/9/x86_64/edge
                      Version: 9.1 (2023-03-02T14:33:08Z)
                       Commit: f4ee59e8520429a7cdaf863a44f980f79b31fb13729568c903772917c5991769
  
      rhel-edge:rhel/9/x86_64/edge
                      Version: 9.1 (2023-03-02T14:22:02Z)
                       Commit: 645667e57b7141347ef48d0d9e4753ca9c2aeaa837359f6a807219077ad83b80

Comment 5 Michael Nguyen 2023-03-15 16:03:57 UTC
Marking as verified based on https://bugzilla.redhat.com/show_bug.cgi?id=2167477#c4

Comment 11 errata-xmlrpc 2023-04-11 14:24:25 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 (rpm-ostree bug fix and enhancement update), 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-2023:1694