Bug #24592
closedcontent hosts registered after 3.8RC upgrade doesn't show repository sets
Description
After upgrade to Katello 3.8RC1, newly registered content hosts doesn't show any repository sets in web user interface. The consequence is that after adding products to a host, repository tuning to enable/disable is unavailable.
Hosts registered previously to the 3.8RC1 upgrade still show the repositories in the repository sets tab.
Registration has been tested with and without activation keys.
Files
Updated by Jonathon Turel over 6 years ago
- Status changed from New to Needs design
- Target version set to Katello 3.8.0
Updated by Samir Jha over 6 years ago
Hello Hart, Are both the screenshots from content host UI or the activation key UI?
Also, do you see the subscriptions on the key attached to the registered host and is auto-attach enabled on activation key?
Updated by Anonymous over 6 years ago
- File showall.png showall.png added
- File actikey.png actikey.png added
- File contenthost2.png contenthost2.png added
- File contenthost.png contenthost.png added
Both screenshots come from content host UI. Autoattach is set to "yes" on key. I see the subscriptions on the keys.
In repository set tab, on one host which have this problem, when I click "show all", I see nothing. On another host, when I click "show all", I see all repositories.
I registered them with the bootstrap.py script (maybe the version from github master, I m not sure).
I can try any test that you would suggest.
Updated by Samir Jha over 6 years ago
This might be because when auto-attach is set, only the subscriptions required to satisfy the system's installed products are attached. You can verify the difference between subscriptions on the 2 content hosts and see why some repository-sets are not displayed. If you add the subscriptions manually, you should be able to see the repository-sets being added as well.
One problem I see is the show all checkbox not actually showing all repository-sets. I will check if that is a change in behavior or a regression.
Updated by Anonymous over 6 years ago
When I compare a host OK and a host not OK, I see no difference in subscriptions, activation key or autoattach settings. Both have their products in the list.
I removed all the subscriptions from host which had empty repository sets, and I added subscriptions again. Repository set stays empty.
I removed all the subscriptions from host which was OK, and repository sets are still there. Then I check "Limit to lifecycle environment" and repository sets are still there. (maybe it s the normal behavior, I dont know)
Updated by Anonymous over 6 years ago
I do not reproduce on a 3.8 fresh install with host registered with subscription-manager. (while the origin problem is on a system in 3.7 updated to 3.8 with host registered through bootstrap.py)
Updated by The Foreman Bot over 6 years ago
- Status changed from Needs design to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/7635 added
Updated by Samir Jha over 6 years ago
Hello Hart,
I have one test for you. Could you please refresh the repository-sets page on the not ok host and then check show all. I believe this is a UI issue and just need to verify the behavior I am seeing in my setup.
Updated by Samir Jha about 6 years ago
- Assignee set to Samir Jha
- Triaged changed from No to Yes
Updated by Anonymous about 6 years ago
On a host registered after 3.8 upgrade : after a browser refresh while being on repository sets tab, it s empty. I check "show all" and I see ALL the products and repositories of the organization. The ones which were in the activation key used to register host have their correct enable/disable overriden statuses.
Then I click something else, like the "Traces" tab and click back to repository sets. "Show all" is now unchecked, then I check it again, and the list is still empty.
On a host registered before 3.8 upgrade, I do not reproduce the repository sets tab behavior : When switching to repository set tab, I see only the subscribed product. When I check the "show all" box, I still see only subscribed products.
Updated by The Foreman Bot about 6 years ago
- Pull request https://github.com/Katello/katello/pull/7652 added
Updated by Samir Jha about 6 years ago
- Target version changed from Katello 3.8.0 to Katello 3.8.1
Updated by Anonymous about 6 years ago
I applied the changes from the 2 pull requests and restarted httpd, but problem is still present. Is it possible that something went wrong during upgrade ?
Updated by Samir Jha about 6 years ago
Hart Mel wrote:
I applied the changes from the 2 pull requests and restarted httpd, but problem is still present. Is it possible that something went wrong during upgrade ?
The bastion change is the one which should fix this. My understanding is that on a page refresh the page behaves as it should.. But when you move to a different tab and return, the show all behaves incorrectly.. Is that correct? That is the issue I saw in my box and that is what is being fixed..
Updated by Samir Jha about 6 years ago
- Pull request https://github.com/Katello/bastion/pull/230 added
- Pull request deleted (
https://github.com/Katello/katello/pull/7635)
Updated by Anonymous about 6 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|1de3a99c10c95588fa52335755ad748f80ed3914.