diff --git a/xCAT-server/lib/xcat/plugins/openbmc.pm b/xCAT-server/lib/xcat/plugins/openbmc.pm index 1672f244b..5b0b624a1 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc.pm @@ -734,6 +734,11 @@ sub rpower_response { my $response_info = decode_json $response->content; + foreach my $key (keys %{$response_info->{data}}) { + # Debug, print out the Current and Transition States + print "$node: DEBUG host_states $key=$response_info->{'data'}->{$key}\n"; + } + if ($node_info{$node}{cur_status} eq "RPOWER_ON_RESPONSE") { if ($response_info->{'message'} eq $::RESPONSE_OK) { xCAT::SvrUtils::sendmsg("on", $callback, $node);