Bug #1860
closed
Successful rename of host displays old name on host page
Added by Greg Sutcliffe about 12 years ago.
Updated about 10 years ago.
Description
After renaming a machine called "ubuntu64" to "services", I now see the attached image for my Host page. Looks like the rename is missing a step somewhere. All DNS etc seems ok, so it's just cosmetic.
Files
- Category set to Web Interface
- Status changed from New to Feedback
Unable to replicate
Title in view is @host.to_label --> @host.name. Seems OK.
Like Joseph, I can't reproduce this. Greg, can you provide more info or try again with develop?
- Status changed from Feedback to Assigned
I can reproduce it, but only on Libvirt hosts, not Bare Metal (haven't tried other hypervisors). I've sent Amos a ton of debug info. Specifically, look at the <title> page element on a Libvirt hosts it gets doubled up:
<title>foo.bar.comfoo.bar.com</title>
Despite this, it renders properly (weird). More weird is what happens when you rename this host - only one of the duplicates changes:
<title>baz.bar.comfoo.bar.com</title>
I suspect it's related to the fact that the name change doesn't alter the underlying XML from libvirt, and we're using it somehow....
- Description updated (diff)
I tried again and could not reproduce
- Status changed from Assigned to Resolved
At some point the title used to show both the libvirt "domain" name and our record of the hostname. The CR name has been removed since.
Also available in: Atom
PDF