When cluster is renamed and at the same time the cluster is displayed in the webui, it notify user that the cluster loading failed, however the interface looks like cluster is loaded (just with no nodes, no resource etc.). This is confusing for the user and webui should provide better display.
Technical information:
Webui is automatically reloading cluster state (after 30 s by default). There are two phases after cluster rename:
- the first response brings valid but empty cluster status (http 200)
- the following responses brings "Unknown cluster" (http 403)
The fix should address at least the later phase.