2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-08-03 07:57:00 +00:00

Revert "fix(xcat-core) Fixes to get internal CI green"

This commit is contained in:
Daniel Hilst
2026-07-28 16:33:28 -03:00
committed by GitHub
parent c811f2b1bd
commit 819f5ebe71
9 changed files with 14 additions and 42 deletions
+12 -4
View File
@@ -667,7 +667,9 @@ sub build_conf {
#-------------------------------------------------------------------------------
sub start_service {
if (xCAT::Utils->startservice("goconserver") != 0) {
my $cmd = "service goconserver start";
xCAT::Utils->runcmd($cmd, -1);
if ($::RUNCMD_RC != 0) {
xCAT::MsgUtils->message("S", "Could not start goconserver service.");
return 1;
}
@@ -692,7 +694,9 @@ sub start_service {
#-------------------------------------------------------------------------------
sub stop_service {
if (xCAT::Utils->stopservice("goconserver") != 0) {
my $cmd = "service goconserver stop";
xCAT::Utils->runcmd($cmd, -1);
if ($::RUNCMD_RC != 0) {
xCAT::MsgUtils->message("S", "Could not stop goconserver service.");
return 1;
}
@@ -717,7 +721,9 @@ sub stop_service {
#-------------------------------------------------------------------------------
sub stop_conserver_service {
if (xCAT::Utils->stopservice("conserver") != 0) {
my $cmd = "service conserver stop";
xCAT::Utils->runcmd($cmd, -1);
if ($::RUNCMD_RC != 0) {
xCAT::MsgUtils->message("S", "Could not stop conserver service.");
return 1;
}
@@ -741,7 +747,9 @@ sub stop_conserver_service {
#-------------------------------------------------------------------------------
sub restart_service {
if (xCAT::Utils->restartservice("goconserver") != 0) {
my $cmd = "service goconserver restart";
xCAT::Utils->runcmd($cmd, -1);
if ($::RUNCMD_RC != 0) {
xCAT::MsgUtils->message("S", "Could not restart goconserver service.");
return 1;
}
@@ -1 +0,0 @@
../rh/compute.rhels8.ppc64le.exlist
@@ -1 +0,0 @@
../rh/compute.rhels8.ppc64le.pkglist
@@ -1 +0,0 @@
../rh/compute.rhels8.ppc64le.postinstall
@@ -1 +0,0 @@
../rh/compute.rhels9.ppc64le.exlist
@@ -1 +0,0 @@
../rh/compute.rhels9.ppc64le.pkglist
@@ -1 +0,0 @@
../rh/compute.rhels9.ppc64le.postinstall
@@ -1,30 +0,0 @@
@minimal-environment
chrony
kernel
net-tools
nfs-utils
openssh-server
rsync
tar
util-linux
wget
python3
tar
bzip2
bc
dracut
dracut-network
rsyslog
hostname
e2fsprogs
ethtool
parted
openssl
dhclient
openssh-clients
bash
vim-minimal
rpm
iputils
perl-interpreter
@@ -6,8 +6,8 @@ declare -i tryreinstall=1
node=$1
osimage=$2
vmhost=`lsdef $node -i vmhost -c | cut -d '=' -f 2`
times=2
wait_for_provision=20 #Min to wait for node to provision
times=3
wait_for_provision=30 #Min to wait for node to provision
check_status=10 #Sec to keep checking status
iterations=$wait_for_provision*60/$check_status #Iterations to check for "booted" status