New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restarting Rancher loses changes to Host names #3414
Comments
In fact, it seems that any changes to hostnames are reverted after a few minutes to whatever the host in question thinks its hostname is |
@sshipway Yep we broke this. Basically we wanted if the hostname of the server changed for that to be reflected in the UI. Kind of forgot about users renaming the host. We will fix this so both situations work. |
Thanks; I can see the benefit for some of hostname changes trickling through, however many people (including us) who use VMWare or equivalent will have a chain of identical clones docker hosts with the same name using DHCP, and you then end up with everything called 'host' .... |
+1 to follow. noticed the same |
@sshipway The new behavior we were thinking would be that the Then the UI would show the But now that I'm typing this out... @ibuildthecloud This will break metadata unless we do the same |
This is (will be) in 0.57 |
Version - master UI 2/4 (you will see it in next build, which will be 0.58) Comment: After the hostname is changed, the API is not sending a change request to UI, so to see it you have to refresh the page. There is a separate issue entered for getting change request for Host info changes - #3523 |
Rancher 0.56
Our docker hosts are cloned in VMware and consequently have the same hostname internally (though different IP addresses via DHCP).
When they register with Rancher, the Hosts are given the same hostname; however we can edit this to identify the VM number.
However, when Rancher is restarted (such as to upgrade) then these changes are lost, and the Host names revert to the actual VM hostnames.
The text was updated successfully, but these errors were encountered: