Description of problem
All Host items (in a list on Hosts page) in "Failed" or "Initializing" state
points to the same Host details page: details page of one particular failed
hosts is shown no matter which host name link is clicked on.
Steps to Reproduce
1. Install RHSC 2.0 following the documentation.
2. Prepare some machines for the future cluster. You would need at lest 6
machines (we need to break at lest 3 machines in the next step).
3. Run "Accept All", but kill (virsh destroy) 3 machines while the "Accepting
Host" tasks are still running.
(This is necessary for us to have multiple hosts in a failed state).
4. Go to Hosts page and see that all of your machines are in "Ok" state, with
the exception of 3 machines you destroyed in the previous step on purpose,
which are in "Failed" state.
5. Every Host item contains a html link to Host Details page. Try to click
on every host in Failed state to get to it's Host Details page.
For all hosts in "Failed" state, name of the host links to the same url:
(this applies to any Host in "Failed" or "Initializing" state)
Then you try to click on the name link, again for all hosts in "Failed" state
and observe that every time, you end up on the same page (Host Details of one
of failed nodes are shown).
For every host in a failed or initializing state, host name link should get
you to the details of this particular host.
Moreover if the data for the host are not available, this should be
communicated to the user instead of presenting and empty Host Details template
with empty or zero values everywhere.
Host link to be enabled only if node in the 'active' state. There is no point showing directing to 'host details' for host which is failed or stuck in 'initialization' state as no details available
This is fixed in
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.