Hide Forgot
Description of problem: The system service level agreement preference in GUI is 'Not Set' after reigister and auto-attach in CLI. Version-Release number of selected component (if applicable): subscription-manager-1.8.22-1.el5 subscription-manager-gui-1.8.22-1.el5 python-rhsm-1.8.17-1.el5 How reproducible: always Steps to Reproduce: 1. Register to SAM and auto-attach in CLI: [root@dhcp-65-86 ~]# subscription-manager register --auto-attach Username: admin Password: The system has been registered with ID: 8a064848-c982-49af-a5a5-21331221704a Installed Product Current Status: Product Name: Red Hat Enterprise Linux Desktop Status: Subscribed 2. Open GUI and check the system service level agreement preference: The system service level agreement preference is 'Not Set'. Please see attachment 'service level agreement preference in CLI.png' 3. Repeate step 1 and step 2 in GUI: The system service level agreement preference is 'Standard'. Please see attachment 'service level agreement preference in GUI.png' Actual results: As step 2. Expected results: The system service level agreement preference in GUI should display after reigister and auto-attach in CLI. Additional info: I tried on stage candlepin, the result is the same as above.
Created attachment 797115 [details] 'service level agreement preference in CLI.png'
Created attachment 797116 [details] 'service level agreement preference in GUI.png'
I don't think this is a bug. You did specify a service level preference when you registered via the GUI, you didn't specify one (via --servicelevel=x) in the command line register. To avoid setting SLA in the gui, check "manually attach subscriptions" during registration.
Firstly, I don't think it is reasonable with the inconsistence between CLI and GUI, because there is always a process of selecting a SLA in GUI no matter with single SLA or multiple SLAs while this not happened in CLI which is incomprehensible. When there is only one available service level for the client, there is a process of selecting service level in GUI but no such process in CLI (as above steps). Also, when there are multiple available service levels for the client, the process of selecting SLA is in GUI but not in CLI: 1. Please see attachment 'GUI-auto-attach-SLA-select.png' for the process of selecting SLA from multiple SLAs in GUI. 2. The following are steps of auto-attach with multiple available service levels in CLI: (1) [root@unused-65-238 ~]# subscription-manager attach --auto Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Subscribed (2) [root@unused-65-238 ~]# subscription-manager list --consumed | grep 'Service Level' Service Level: Standard (3) [root@unused-65-238 ~]# subscription-manager service-level Service level preference not set Secondly, with step 2.(2) and step 2.(3). The client has consumed subscription with service level 'Standard' but 'subscription-manager service-level' command has not display the current service level supporting the client and I think this is a question.
Created attachment 798103 [details] 'GUI-auto-attach-SLA-select.png'