Bug 1357152
Summary: | Start/End dates on subscription-manager list --installed are immediately blank after a productid is first installed | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | John Sefler <jsefler> |
Component: | subscription-manager | Assignee: | Jiri Hnidek <jhnidek> |
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7.3 | CC: | jhnidek, khowell, redakkan, skallesh, vrjain |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | subscription-manager-1.19.10-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 19:18:42 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: |
Description
John Sefler
2016-07-15 21:25:11 UTC
I can confirm this behavior. Demonstrating failure on RHEL73 machine with below subscription-manager version ============================================================================== subscription-manager: 1.17.15-1.el7 python-rhsm: 1.17.9-1.el7 # subscription-manager register --serverurl=subscription.rhn.stage.redhat.com --baseurl=https://cdn.redhat.com --auto-attach --username=qa Registering to: subscription.rhn.stage.redhat.com:443/subscription Password: The system has been registered with ID: 53069bef-a9f2-4d97-9b0c-def3a85048f0 Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed # subscription-manager repos --list-enabled +----------------------------------------------------------+ Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID: rhel-7-server-htb-rpms Repo Name: Red Hat Enterprise Linux 7 Server HTB (RPMs) Repo URL: https://cdn.redhat.com/content/htb/rhel/server/7/$basearch/os Enabled: 1 Repo ID: rhel-7-server-aus-rhui-rpms Repo Name: Red Hat Enterprise Linux 7 Server - AUS (RPMs) from RHUI Repo URL: https://cdn.redhat.com/content/aus/rhel/rhui/server/7/$releasever/$basearch/os Enabled: 1 Repo ID: rhel-7-server-tus-rpms Repo Name: Red Hat Enterprise Linux 7 Server - TUS (RPMs) Repo URL: https://cdn.redhat.com/content/tus/rhel/server/7/$releasever/$basearch/os Enabled: 1 Repo ID: rhel-7-server-aus-rpms Repo Name: Red Hat Enterprise Linux 7 Server - AUS (RPMs) Repo URL: https://cdn.redhat.com/content/aus/rhel/server/7/$releasever/$basearch/os Enabled: 1 Repo ID: rhel-7-server-nfv-rpms Repo Name: Red Hat Enterprise Linux for Real Time for NFV (RHEL 7 Server) (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/nfv/os Enabled: 1 Repo ID: rhel-7-server-rt-htb-rpms Repo Name: Red Hat Enterprise Linux for Real Time HTB (RHEL 7 Server) (RPMs) Repo URL: https://cdn.redhat.com/content/htb/rhel/server/7/$basearch/rt/os Enabled: 1 Repo ID: rhel-7-fast-datapath-rpms Repo Name: Red Hat Enterprise Linux Fast Datapath (RHEL 7 Server) (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/fast-datapath/os Enabled: 1 Repo ID: qci-1.1-for-rhel-7-beta-rpms Repo Name: QuickStart Cloud Installer 1.1 Beta (RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/qci/1.1/os Enabled: 1 Repo ID: rhel-7-fast-datapath-htb-rpms Repo Name: Red Hat Enterprise Linux Fast Datapath Beta (RHEL 7 Server) (RPMs) Repo URL: https://cdn.redhat.com/content/htb/rhel/server/7/$basearch/fast-datapath/os Enabled: 1 Repo ID: rhel-7-server-rt-rpms Repo Name: Red Hat Enterprise Linux for Real Time (RHEL 7 Server) (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/rt/os Enabled: 1 Repo ID: rhel-7-server-rt-beta-rpms Repo Name: Red Hat Enterprise Linux for Real Time Beta (RHEL 7 Server) (RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/rt/os Enabled: 1 Repo ID: rhel-7-server-rpms Repo Name: Red Hat Enterprise Linux 7 Server (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/os Enabled: 1 # subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux Server Product ID: 69 Version: 7.3 Arch: x86_64 Status: Subscribed Status Details: Starts: 06/16/2016 Ends: 06/16/2017 # yum -y --quiet install zsh --disablerepo=* --enablerepo=rhel-7-server-aus-rpms warning: /var/cache/yum/x86_64/7Server/rhel-7-server-aus-rpms/packages/zsh-5.0.2-14.el7_2.2.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY Public key for zsh-5.0.2-14.el7_2.2.x86_64.rpm is not installed Importing GPG key 0xFD431D51: Userid : "Red Hat, Inc. (release key 2) <security>" Fingerprint: 567e 347a d004 4ade 55ba 8a5f 199e 2f91 fd43 1d51 Package : redhat-release-server-7.3-7.el7.x86_64 (@anaconda/7.3) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Importing GPG key 0x2FA658E0: Userid : "Red Hat, Inc. (auxiliary key) <security>" Fingerprint: 43a6 e49c 4a38 f4be 9abf 2a53 4568 9c88 2fa6 58e0 Package : redhat-release-server-7.3-7.el7.x86_64 (@anaconda/7.3) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release # subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux Server Product ID: 69 Version: 7.3 Arch: x86_64 Status: Subscribed Status Details: Starts: 06/16/2016 Ends: 06/16/2017 Product Name: Red Hat Enterprise Linux Server - AUS Product ID: 251 Version: 7.2 Arch: x86_64 Status: Subscribed Status Details: Starts: ---->> Reproduced and observed that start/end dates are missing Ends: # subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux Server Product ID: 69 Version: 7.3 Arch: x86_64 Status: Subscribed Status Details: Starts: 06/16/2016 Ends: 06/16/2017 Product Name: Red Hat Enterprise Linux Server - AUS Product ID: 251 Version: 7.2 Arch: x86_64 Status: Subscribed Status Details: Starts: 06/16/2016 Ends: 06/16/2017 ^^ observed that when list --installed was executed second time the start/end date appeared. Retesting on RHEL74 with the following subscription-manager version : ====================================================================== subscription-manager: 1.19.10-1.el7 python-rhsm: 1.19.5-1.el7 # subscription-manager register --serverurl=subscription.rhn.stage.redhat.com --baseurl=https://cdn.redhat.com --auto-attach --username=qa Registering to: subscription.rhn.stage.redhat.com:443/subscription Password: The system has been registered with ID: ed09d71a-2f6d-49db-86a9-52d902292d2c Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed [root@ibm-x3650m4-01-vm-10 test]# subscription-manager repos --list-enabled +----------------------------------------------------------+ Available Repositories in /etc/yum.repos.d/redhat.repo +----------------------------------------------------------+ Repo ID: rhel-7-server-htb-rpms Repo Name: Red Hat Enterprise Linux 7 Server HTB (RPMs) Repo URL: https://cdn.redhat.com/content/htb/rhel/server/7/$basearch/os Enabled: 1 Repo ID: rhel-7-server-aus-rhui-rpms Repo Name: Red Hat Enterprise Linux 7 Server - AUS (RPMs) from RHUI Repo URL: https://cdn.redhat.com/content/aus/rhel/rhui/server/7/$releasever/$basearch/os Enabled: 1 Repo ID: rhel-7-server-tus-rpms Repo Name: Red Hat Enterprise Linux 7 Server - TUS (RPMs) Repo URL: https://cdn.redhat.com/content/tus/rhel/server/7/$releasever/$basearch/os Enabled: 1 Repo ID: rhel-7-server-aus-rpms Repo Name: Red Hat Enterprise Linux 7 Server - AUS (RPMs) Repo URL: https://cdn.redhat.com/content/aus/rhel/server/7/$releasever/$basearch/os Enabled: 1 Repo ID: rhel-7-server-nfv-rpms Repo Name: Red Hat Enterprise Linux for Real Time for NFV (RHEL 7 Server) (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/nfv/os Enabled: 1 Repo ID: rhel-7-server-rt-htb-rpms Repo Name: Red Hat Enterprise Linux for Real Time HTB (RHEL 7 Server) (RPMs) Repo URL: https://cdn.redhat.com/content/htb/rhel/server/7/$basearch/rt/os Enabled: 1 Repo ID: rhel-7-fast-datapath-rpms Repo Name: Red Hat Enterprise Linux Fast Datapath (RHEL 7 Server) (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/fast-datapath/os Enabled: 1 Repo ID: qci-1.1-for-rhel-7-beta-rpms Repo Name: QuickStart Cloud Installer 1.1 Beta (RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/qci/1.1/os Enabled: 1 Repo ID: rhel-7-fast-datapath-htb-rpms Repo Name: Red Hat Enterprise Linux Fast Datapath Beta (RHEL 7 Server) (RPMs) Repo URL: https://cdn.redhat.com/content/htb/rhel/server/7/$basearch/fast-datapath/os Enabled: 1 Repo ID: rhel-7-server-rt-rpms Repo Name: Red Hat Enterprise Linux for Real Time (RHEL 7 Server) (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/rt/os Enabled: 1 Repo ID: rhel-7-server-rt-beta-rpms Repo Name: Red Hat Enterprise Linux for Real Time Beta (RHEL 7 Server) (RPMs) Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/rt/os Enabled: 1 Repo ID: rhel-7-server-rpms Repo Name: Red Hat Enterprise Linux 7 Server (RPMs) Repo URL: https://cdn.redhat.com/content/dist/rhel/server/7/$releasever/$basearch/os Enabled: 1 [root@ibm-x3650m4-01-vm-10 test]# subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux Server Product ID: 69 Version: 7.4 Beta Arch: x86_64 Status: Subscribed Status Details: Starts: 06/16/2016 Ends: 06/15/2017 [root@ibm-x3650m4-01-vm-10 test]# [root@ibm-x3650m4-01-vm-10 test]# yum -y --quiet install zsh --disablerepo=* --enablerepo=rhel-7-server-aus-rpms warning: /var/cache/yum/x86_64/7Server/rhel-7-server-aus-rpms/packages/zsh-5.0.2-14.el7_2.2.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY Public key for zsh-5.0.2-14.el7_2.2.x86_64.rpm is not installed Importing GPG key 0xFD431D51: Userid : "Red Hat, Inc. (release key 2) <security>" Fingerprint: 567e 347a d004 4ade 55ba 8a5f 199e 2f91 fd43 1d51 Package : redhat-release-server-7.4-11.el7.x86_64 (@beaker-Server/7.4) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release Importing GPG key 0x2FA658E0: Userid : "Red Hat, Inc. (auxiliary key) <security>" Fingerprint: 43a6 e49c 4a38 f4be 9abf 2a53 4568 9c88 2fa6 58e0 Package : redhat-release-server-7.4-11.el7.x86_64 (@beaker-Server/7.4) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release [root@ibm-x3650m4-01-vm-10 test]# subscription-manager list --installed +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux Server Product ID: 69 Version: 7.4 Beta Arch: x86_64 Status: Subscribed Status Details: Starts: 06/16/2016 Ends: 06/15/2017 Product Name: Red Hat Enterprise Linux Server - AUS Product ID: 251 Version: 7.2 Arch: x86_64 Status: Subscribed Status Details: Starts: 06/16/2016 Ends: 06/15/2017 ^^ Observed that now the start/End date appear immediately after the new product certification install Based on the above observations , marking this bug as Verified!! 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-2017:2083 |