Skip to content
Snippets Groups Projects
Commit dba68ac1 authored by Danny Auble's avatar Danny Auble
Browse files

BGQ - added support for checking of a nodeboard in meta state instead of

ignoring all nodeboards in error state.
parent 5e20ef20
No related branches found
No related tags found
No related merge requests found
...@@ -640,13 +640,15 @@ static void _handle_midplane_update(ComputeHardware::ConstPtr bgq, ...@@ -640,13 +640,15 @@ static void _handle_midplane_update(ComputeHardware::ConstPtr bgq,
for (i=0; i<16; i++) { for (i=0; i<16; i++) {
NodeBoard::ConstPtr nb_ptr = bridge_get_nodeboard(mp_ptr, i); NodeBoard::ConstPtr nb_ptr = bridge_get_nodeboard(mp_ptr, i);
/* FIXME: the Hardware::Error can/should be taken away after /* When a cnode is in error state a nodeboard is also
IBM fixes it so when a cnode is in an error state set in an error state. Since we want to track on
it doesn't put the nodeboard in an error state as the cnode level and not the nodeboard level we can
well. use the isMetaState option that will tell me of
this state. If it isn't set then the nodeboard
itself is in an error state so procede.
*/ */
if (nb_ptr && (nb_ptr->getState() != Hardware::Available) if (nb_ptr && !nb_ptr->isMetaState()
&& (nb_ptr->getState() != Hardware::Error)) && (nb_ptr->getState() != Hardware::Available))
_handle_bad_nodeboard( _handle_bad_nodeboard(
nb_ptr->getLocation().substr(7,3).c_str(), nb_ptr->getLocation().substr(7,3).c_str(),
ba_mp->coord_str, nb_ptr->getState()); ba_mp->coord_str, nb_ptr->getState());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment