[Git][qa/jenkins.debian.net][master] djm: add support for powercycling openstack instances at infomaniak

Holger Levsen (@holger) gitlab at salsa.debian.org
Fri Sep 27 11:11:27 BST 2024



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
74c2c053 by Holger Levsen at 2024-09-27T12:11:20+02:00
djm: add support for powercycling openstack instances at infomaniak

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/djm


Changes:

=====================================
bin/djm
=====================================
@@ -591,8 +591,7 @@ djm_do() {
 						osuosl*)	echo "We cannot powercycle nodes at OSUOSL on our own. Please contact #osuosl on libera.chat or send email to support at osuosl.org"
 								exit 1
 								;;
-						infom*)		echo "We need to learn how to powercycle these via script."
-								exit 1
+						infom*)		openstack server reboot --hard --verbose $(echo $SHORTNODE | cut -d '-' -f1)
 								;;
 						*)		echo "This should not happen, please investigate and fixup."
 								exit 1



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/74c2c05347383a213c11949ece34bf4c4c317fdb

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/74c2c05347383a213c11949ece34bf4c4c317fdb
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20240927/0db625ef/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list