Bug 1034574 - Display appropriate message in "Repositories" (GUI) when the system have no entitlements attached
Summary: Display appropriate message in "Repositories" (GUI) when the system have no e...
Keywords:
Status: CLOSED CURRENTRELEASE
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: Michael Stead
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel70
TreeView+ depends on / blocked
 
Reported: 2013-11-26 06:34 UTC by Rehana
Modified: 2014-06-18 00:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 11:26:44 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Rehana 2013-11-26 06:34:35 UTC
Description of problem:
Currently "Attached subscriptions do not provide any repositories" is displayed for both the scenarios when the system have no subscription and when the system have entitlements with out repositories

Version-Release number of selected component (if applicable):
subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.33-1
subscription-manager: 1.10.7-1.git.0.15d737b.el7
python-rhsm: 1.10.7-1.git.0.b7645ce.el7


How reproducible:
3/3

Steps to Reproduce:
1.Register the client
2.Go to System --> repositories
3.

Actual results:
Displayed "Attached subscriptions do not provide any repositories" when the system didnt have any subscriptions

Expected results:
Should will be good to display  "No repositories available, please attach subscriptions first" 
or "No repositories available without an attached subscription.".


Additional info:
post office discussion thread http://post-office.corp.redhat.com/archives/chainsaw/2013-November/msg00226.html

Comment 1 Michael Stead 2013-11-27 15:04:23 UTC
Patch awaiting review:

https://github.com/candlepin/subscription-manager/pull/833

Comment 2 Michael Stead 2013-11-28 13:45:53 UTC
Available in:

subscription-manager-1.10.8-1+

Comment 4 Rehana 2013-12-09 08:32:49 UTC
Retested on,

subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.33-1
subscription-manager: 1.10.8-1.el7
python-rhsm: 1.10.8-1.el7

Observed that 
Scenario 1

when no subscription is attached "No repositories are available without an attached subscription." message is displayed in the "Manager Repositories" window

Scenario 2

when attached subscription doesnot provide any repositories  "Attached subscriptions do not provide any repositories" message is displayed in the "Manager Repositories" window

Hence moving this bug to "Verified"

Comment 5 Ludek Smid 2014-06-13 11:26:44 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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