@logger.error"Node '#{uid}' has comment 'OK', so its state should not be 'Dead' "if@tofix
@logger.error"Node '#{uid}' of state '#{state}' should not have comment '#{comment.inspect}'"if@tofix
else
else
# nothing, good state
# nothing, good state
end
end
else
else
ifstate=="dead"
ifstate=="dead"
@logger.info"Node '#{uid}' is dead because '#{comment}'"if@reasons
@logger.info"Node '#{uid}' is dead because '#{comment.inspect}'"if@reasons
else
else
@logger.error"Node '#{uid}' has comment not 'OK'. so its state should be 'Dead'. Instead its state is '#{state}'"if@tofix
@logger.error"Node '#{uid}' should have the not-dead-comment 'OK', since its state is '#{state}'. Instead, it has comment '#{comment.inspect}'."if@tofix