Project

General

Profile

Actions

action #92185

closed

openQA Project - coordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes

coordination #78206: [epic] 2020-11-18 nbg power outage aftermath

Our PowerPC worker machines need to be configured for automatic start after a power outage

Added by okurz almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
-
Target version:
Start date:
2021-05-05
Due date:
% Done:

0%

Estimated time:

Description

Motivation

See parent #78206 . For all machines within osd and o3 with the exception of PowerPC workers we have enabled automatic start after a power outage. So for PowerPC we should still do that.

Acceptance criteria

  • AC1: All PowerPC machines within osd and o3 have been configured to automatically start after a power outage

Suggestions

For all other machines we already did that, see #80542#note-4 , but for PowerPC this does not work. So more research should be conducted or experts should be asked what can be done to do that or what to do instead.

Actions #1

Updated by nicksinger almost 3 years ago

In the ASM (e.g. https://fsp1-powerqaworker-qam.qa.suse.de/) there is a setting under "Power/Restart Control" -> "Auto Power Restart" which we can set to "Enabled"

The help text of that option says: Select the policy for auto power restart. If enabled, the system will boot automatically once power is restored after a power disturbance.
Sounds exactly like what we need here, right?

Actions #2

Updated by okurz almost 3 years ago

  • Status changed from Workable to In Progress
  • Assignee set to okurz

yes, sounds good. For other machines the interface is available over IPMI completely. The command is available over IPMI on power as well but trying to set it yields "invalid command". ipmi-openqaworker1-ipmi chassis status says "previous" and ipmi-openqaworker1-ipmi chassis policy previous works but for power not. Thx. I will take a look into the FSP web menu myself.

Actions #3

Updated by okurz almost 3 years ago

  • Status changed from In Progress to Resolved

I set "Auto Power Restart" to "Enabled" on https://fsp1-powerqaworker-qam.qa.suse.de but ipmitool -I lanplus -C 3 -H fsp1-powerqaworker-qam.qa.suse.de -P admin chassis status says "always-off".

Completed:

others had been already correctly configured in #80542#note-4 as verified by IFS=$'\n'; for i in $(sed 's/^alias .*="\(.*\)"/\1/' ~/.openqa_ipmi_aliases); do echo "# $i" && eval "$i" chassis status | grep 'Power Restore Policy'; done

Actions

Also available in: Atom PDF