Bug 1313039
Summary: | When restarting subscription-manager-gui after installing some products, none of the new products show in the My Installed Products tab | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Sean Toner <stoner> | ||||||||
Component: | subscription-manager | Assignee: | candlepin-bugs | ||||||||
Status: | CLOSED NOTABUG | QA Contact: | John Sefler <jsefler> | ||||||||
Severity: | urgent | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 6.8 | CC: | bcourt, stoner | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2016-03-01 15:26:38 UTC | Type: | Bug | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Created attachment 1131676 [details]
After restarting subman-gui
After restarting the GUI (as seen in the 2nd attachment), the products are in /etc/pki/product [root@dhcp129-207 ~]# ls /etc/pki/product 100000000000000_.pem 100000000000003_.pem 100000000000020_.pem 213412341234_.pem 2701_.pem 37060_.pem 37068_.pem 37090_.pem 6050_.pem 88888_.pem 98121_.pem 100000000000001_.pem 100000000000005_.pem 100000000000060_.pem 213412341235_.pem 2702_.pem 37062_.pem 37069_.pem 37091_.pem 6051_.pem 900_.pem 1000000000000023_.pem 100000000000006_.pem 100000000000069_.pem 213412341236_.pem 27060_.pem 37065_.pem 37070_.pem 5050_.pem 801_.pem 908_.pem 100000000000002_.pem 100000000000011_.pem 1_.pem 213412341237_.pem 32060_.pem 37067_.pem 37080_.pem 5051_.pem 806_.pem 917571_.pem Is this still an issue? jsefler thinks that you resolved it yourself. No, this is still an issue and JC also hit the same problem manually. Right now, I have a system that shows only one installed product in My Installed Products tab, but there are still many product certs in /etc/pki/product Looks like I forgot to add the version info: [root@dhcp129-207 ~]# rpm -qa | grep subscription subscription-manager-1.16.8-3.el6.x86_64 subscription-manager-gui-1.16.8-3.el6.x86_64 subscription-manager-migration-data-2.0.26-1.el6.noarch subscription-manager-firstboot-1.16.8-3.el6.x86_64 subscription-manager-migration-1.16.8-3.el6.x86_64 Created attachment 1131933 [details]
Tail of rhsm.log when starting up subman-gui
It appears that the testware was not cleaning up the rhsm.conf so that it had this: productCertDir=/tmp/sm-allProductsSubscribableByOneCommonServiceLevel This is a testware bug, not a subman-gui bug |
Created attachment 1131675 [details] After adding products, before restart Description of problem: ======================= In one of our automated tests, we have a setup function which installs some test data including some "fake" products in /etc/pki/product. When the pem files have been installed, you can see the products show in the My Installed Products tab. Later in the test, we automatically restart the GUI. The test fails because once the GUI is restarted, the only product that shows is the one from /etc/pki/product-default. It does not appear to be picking up any of the products from /etc/pki/product This can also happen when manually restarting subman-gui. Version-Release number of selected component (if applicable): ============================================================= How reproducible: ================= Sometimes Steps to Reproduce: =================== 1. Install a new product (no need to create an entitlement for it though) 2. Check to see it shows in My Installed Products tab 3. Close subman-gui 4. Restart subman-gui 5. Only the /etc/pki/product-default product shows - verify that new installed product is still in /etc/pki/product Actual results: =============== After restarting, only the product from /etc/pki/default-product shows in the My Installed Products tab Expected results: ================= The My Installed PRoducts tab should show all products Additional info: