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 1026450 - Subscription management service (candlepin) version isn't always known
Summary: Subscription management service (candlepin) version isn't always known
Keywords:
Status: CLOSED DUPLICATE of bug 843649
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel70
TreeView+ depends on / blocked
 
Reported: 2013-11-04 16:52 UTC by Matt Reid
Modified: 2014-01-13 17:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-13 17:57:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Matt Reid 2013-11-04 16:52:42 UTC
Description of problem:
In the About dialog in the GUI, and in the version module in the CLI, we attempt to provide users with the version of candlepin that they're registered with. Off hand, I've always seen it returned as Unknown, and assumed it needed a newer CP build to work, but this was added to the GUI quite some time ago I think, and I feel like by now it should be in Prod.

Running this today, I got Unknown back from SAM 1.1, and Portal prod, and got an actual version number back from a dev's local instance.

Is this functioning as it should, or should it have returned a version number for more than 1 of the 3 servers I tried? Does it depend on minimum version of CP before it returns version info?

* Registered to SAM 1.1   
[root@rhel-dev3 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: Unknown
subscription-manager: 1.10.5-1.git.18.a5876d1.el6
python-rhsm: 1.10.5-1.git.7.690d461.el6
     
* Registered to Prod Portal
[root@rhel-dev3 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: Unknown
subscription-manager: 1.10.5-1.git.18.a5876d1.el6
python-rhsm: 1.10.5-1.git.7.690d461.el6
     
* Registered to mstead-cp
[root@rhel-dev3 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.29-1
subscription-manager: 1.10.5-1.git.18.a5876d1.el6
python-rhsm: 1.10.5-1.git.7.690d461.el6


Steps to Reproduce:
1. Register with a server
2. Either run subscription-manager version, or open the About dialog

Actual results:
Candlepin version sometimes returned as Unknown

Expected results:
Candlepin version should be listed under subscription management service version

Additional info:
Having issues registering with Stage, so I can't check what's returned there

Comment 1 Matt Reid 2013-11-13 19:56:18 UTC
Stage doesn't return a value for me either, just shows Unknown.

Comment 2 Carter Kozak 2013-12-20 17:18:51 UTC
I think stage/prod blocks this call, we should probably move the bug to IT.

Comment 3 Carter Kozak 2014-01-13 17:57:46 UTC

*** This bug has been marked as a duplicate of bug 843649 ***


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