Hide Forgot
Description of problem: The status and color of subscription-manager-gui does not change when ca certs are removed. Version-Release number of selected component (if applicable): subscription-manager: 1.17.15-1.el7 python-rhsm: 1.17.9-1.el7 How reproducible: always Steps to Reproduce: 1. Register RHEL-7.3-20160914.1 against SAM1.4, and auto attach it. 2. Remove all of CA certs from /etc/rhsm/ca/ 3. Open subscription-manage-gui. The status is still subscribed, and the status color is green. Actual results: As step 3. Expected results: When all of CA certs are removed, the gui status should be 'unknown' with grey color. Additional info: Please see attachment 'status_and_color_should_be_grey_when_ca_certs_removed.png' and 'rhsm.log'
Created attachment 1202126 [details] status_and_color_should_be_grey_when_ca_certs_removed.png
Created attachment 1202127 [details] rhsm.log
QA verification: This appears to happen as described. (as of subscription-manager-1.17.15-1) Will create a test for it.
@devs: After the CA certs are deleted: 1) Can we verify that the downloaded entitlement and identity certs are valid and authentic? 2) When is the status cache invalidated?
I was unable to reproduce as described. I did the following: 1. Register and attach subscriptions. 2. Remove the CA certs from /etc/rhsm/ca/ 3. Launch subscription-manager-gui. Doing this, I got the expected results (gray question mark icon/unknown status). I suspect perhaps you still had subscription-manager-gui running in the background while the certs were deleted (which we won't detect). Can you please confirm? If there is a bug, I'm not able to reproduce, and will probably need more info (what's different between my attempt to reproduce and yours)?
Hi Kevin, There is no difference between your steps and mine. I'm sure no gui window in the background when the certs were removed. I can not reproduce it either with RHEL-7.3-RC-1.0 (Please see attachment 'status_and_color_are_normal.png'). So close this bug now, and will reopen it when it happens again.
Created attachment 1206099 [details] 'status_and_color_are_normal.png'