Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1694107 - repackage syspurpose for rhel7.7 as subscription-manager role,usage,service-level function is broken
Summary: repackage syspurpose for rhel7.7 as subscription-manager role,usage,service-l...
Keywords:
Status: ON_QA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: Red Hat subscription-manager QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-29 14:27 UTC by Shwetha Kallesh
Modified: 2019-04-16 15:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Github candlepin subscription-manager pull 2067 None None None 2019-04-10 17:53:51 UTC

Description Shwetha Kallesh 2019-03-29 14:27:30 UTC
Description of problem:
repackage syspurpose for rhel7.7  as subscription-manager role,usage,service-level  function is broken 

Version-Release number of selected component (if applicable):

[root@kvm-04-guest11 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 2.3.15-1
subscription management rules: 5.34
subscription-manager: 1.24.3-1.el7


How reproducible:


Steps to Reproduce:

Service-level is broken:
-------------------------------------------------------------
[root@kvm-04-guest11 ~]# subscription-manager register --username shwetha_tier1_test
Registering to: subscription.rhsm.stage.redhat.com:443/subscription
Password: 
The system has been registered with ID: 99ab7acf-d483-4ba3-9038-33a62a0100a7
The registered system name is: kvm-04-guest11.rhts.eng.bos.redhat.com
[root@kvm-04-guest11 ~]# subscription-manager service-level --set  Premium
service_level_agreement set to "Premium".
[root@kvm-04-guest11 ~]#  subscription-manager service-level --show
Service level preference not set

Role is broken
------------------------------------------------------------
[root@kvm-04-guest11 ~]# subscription-manager role --set foo
role set to "foo".

[root@kvm-04-guest11 ~]# subscription-manager role
Role not set.

No syspurpose.json file
-------------------------------------
root@kvm-04-guest11 ~]# ls /etc/rhsm/
ca/           facts/        logging.conf  pluginconf.d/ rhsm.conf  
Actual results:


Expected results:


Additional info:


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