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 1313540 - races in upgrade exit status
Summary: races in upgrade exit status
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rpm-ostree-client
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Colin Walters
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1319057
TreeView+ depends on / blocked
 
Reported: 2016-03-01 20:28 UTC by Colin Walters
Modified: 2018-02-12 15:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1319057 (view as bug list)
Environment:
Last Closed: 2018-02-12 15:11:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Colin Walters 2016-03-01 20:28:40 UTC
See https://github.com/projectatomic/rpm-ostree/issues/220 for an upstream example. 

We also saw:

-bash-4.2# subscription-manager register --autosubscribe
Registering to: subscription.rhn.redhat.com:443/subscription
Username: qa
Password: 
The system has been registered with ID: b53ef0e3-eb06-4713-801c-ca9e90dc6643 

Installed Product Current Status:
Product Name: Red Hat Enterprise Linux Server
Status:       Subscribed

Product Name: Red Hat Enterprise Linux Atomic Host
Status:       Subscribed

-bash-4.2# 
-bash-4.2# atomic host upgrade
Updating from: rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard

27 metadata, 58 content objects fetched; 95479 KiB transferred in 6 seconds
Copying /etc changes: 31 modified, 4 removed, 54 added
Transaction complete; bootconfig swap: yes deployment count change: 1
-bash-4.2# echo $?
77

Comment 1 Micah Abbott 2016-03-01 20:35:35 UTC
In the case of 'atomic host upgrade', the upgrade itself looks successful, however the output which describes the packages added/changed/removed is not printed.


-bash-4.2# atomic host status
  TIMESTAMP (UTC)         VERSION     ID             OSNAME               REFSPEC                                                        
* 2016-02-18 15:34:28     7.2.2-1     04019d7e50     rhel-atomic-host     rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard     
  2016-02-12 16:43:35     7.2.2       a903629278     rhel-atomic-host     rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard     
-bash-4.2# atomic host upgrade
Updating from: rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard

27 metadata, 58 content objects fetched; 95479 KiB transferred in 14 seconds
Copying /etc changes: 35 modified, 4 removed, 91 added
Transaction complete; bootconfig swap: yes deployment count change: 0
Freed objects: 107.6 MB
-bash-4.2# echo $?
77
-bash-4.2# atomic host status
  TIMESTAMP (UTC)         VERSION     ID             OSNAME               REFSPEC                                                        
  2016-03-01 01:35:21     7.2.2-2     8b2cf24b42     rhel-atomic-host     rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard     
* 2016-02-18 15:34:28     7.2.2-1     04019d7e50     rhel-atomic-host     rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard

Comment 3 Micah Abbott 2016-03-04 14:36:16 UTC
Seen on Fedora 23 as well:

# atomic host status
  TIMESTAMP (UTC)         VERSION   ID             OSNAME            REFSPEC                                                
* 2016-02-26 07:10:36     23.70     13144c3ad3     fedora-atomic     fedora-atomic:fedora-atomic/f23/x86_64/docker-host     
  2016-03-02 21:10:48     23.75     6d9211c3fa     fedora-atomic     fedora-atomic:fedora-atomic/f23/x86_64/docker-host     
-bash-4.3# atomic host upgrade
Updating from: fedora-atomic:fedora-atomic/f23/x86_64/docker-host

680 metadata, 2872 content objects fetched; 142753 KiB transferred in 73 seconds
Copying /etc changes: 22 modified, 0 removed, 75 added
Transaction complete; bootconfig swap: yes deployment count change: 0
Freed objects: 159.7 MB
-bash-4.3# echo $?
77

Comment 4 Colin Walters 2018-02-12 15:11:32 UTC
This should be fixed now.


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