Currently, we only track which agents that belong to a certain subcluster in vsmserver.hconf. This can lead to inconsistencies between vsmserver and tlwebadm/tlctl if the conf have been updated but the vsmserver service not yet has been restarted. Ideally, we would like to store this information in a way where this inconsistency can't happen.
*** This bug has been marked as a duplicate of bug 7589 ***
This is not a duplicate of bug 7589 since this bug only concerns tlwebadm while bug 7589 also concerns `tl-ssh-all' and `tl-rsync-all'. The scope of this bug was fixed in bug 7589, so let's close this bug as fixed (as a blocker of that bug) and let that bug remain open.
Apparently this bug was untested, so let's mark it as resolved instead.
To clarify, the changes to be tested here are those concerning tlwebadm in bug 7589 (i.e. all changes made for that bug as of writing this).
Tested build 2582 on RHEL 7. I can see that it respects what vsmserver sees, not the config: 1. Configured two subclusters, restarted everything 2. Removed one subcluster, tlwebadm still shows two 3. Restarted just vsmserver, tlwebadm now shows one subcluster 4. Same thing, but adding the missing subcluster again All load information is also still shown correctly, so no regression there. “tlctl load” also still works. Error handling code was also touched, so I tested stopping vsmserver and tlwebadm still correctly shows that it gets a connection error.