pcdshub / engineering_tools

A repository of scripts, configuration useful for the PCDS team
Other
4 stars 27 forks source link

DEV: disabling serverstat off and cycle for drp nodes #181

Closed KaushikMalapati closed 6 months ago

KaushikMalapati commented 7 months ago

Description

Trying to turn off or power cycle a drp node (a server with drp in its hostname) will instead point you to a confluence page explaining how to do this through the ipmi web interface and exit because using serverStat/psipmi sometimes causes the ipmi interfaces to stop working until they are manually restarted whereas the web interface works as exptected.

Motivation and Context

https://jira.slac.stanford.edu/browse/ECS-5126

How Has This Been Tested?

Interactively

Where Has This Been Documented?

Code will print out a message, but I did not update the serverStat readme description because I thought this would be too specific to mention.

silkenelson commented 7 months ago

Please hold this. I thought I had added a comment here yesterday with the exact verbiage I wanted which I assume I now have to remember what it was.

KaushikMalapati commented 6 months ago

@ZLLentz, could you approve this again? I just changed the exit message.

ZLLentz commented 6 months ago

shellcheck is upset but hopefully your other PR handles the issues related to that, so let's merge this as-is!