mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
Fix issue 5721: xCAT-client rpm seems to depend on xCAT-server (#5826)
This commit is contained in:
parent
470e739c80
commit
2cc06ef0b7
@ -8,7 +8,6 @@ use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR);
|
||||
use xCAT::PPCpower;
|
||||
use xCAT::FSPUtils;
|
||||
use xCAT::GlobalDef;
|
||||
use xCAT_monitoring::monitorctrl;
|
||||
|
||||
#use Data::Dumper;
|
||||
|
||||
@ -183,6 +182,7 @@ sub powercmd_boot {
|
||||
}
|
||||
}
|
||||
if (%newnodestatus) {
|
||||
require xCAT_monitoring::monitorctrl;
|
||||
xCAT_monitoring::monitorctrl::setNodeStatusAttributes(\%newnodestatus, 1);
|
||||
}
|
||||
return (\@output);
|
||||
@ -364,6 +364,7 @@ sub powercmd {
|
||||
}
|
||||
|
||||
if (%newnodestatus) {
|
||||
require xCAT_monitoring::monitorctrl;
|
||||
xCAT_monitoring::monitorctrl::setNodeStatusAttributes(\%newnodestatus, 1);
|
||||
}
|
||||
return (\@output);
|
||||
|
@ -614,6 +614,7 @@ sub rnetboot {
|
||||
my $newstat = $::STATUS_POWERING_ON;
|
||||
my %newnodestatus = ();
|
||||
$newnodestatus{$newstat} = [$node];
|
||||
require xCAT_monitoring::monitorctrl;
|
||||
xCAT_monitoring::monitorctrl::setNodeStatusAttributes(\%newnodestatus, 1);
|
||||
return ([ [ $node, "Success", $Rc ] ]);
|
||||
}
|
||||
|
@ -9,7 +9,6 @@ use xCAT::MsgUtils;
|
||||
use xCAT::FSPpower;
|
||||
|
||||
use xCAT::GlobalDef;
|
||||
use xCAT_monitoring::monitorctrl;
|
||||
|
||||
##########################################################################
|
||||
# Parse the command line for options and operands
|
||||
@ -301,6 +300,7 @@ sub powercmd_boot {
|
||||
}
|
||||
}
|
||||
|
||||
require xCAT_monitoring::monitorctrl;
|
||||
xCAT_monitoring::monitorctrl::setNodeStatusAttributes(\%newnodestatus, 1);
|
||||
return (\@output);
|
||||
}
|
||||
@ -423,6 +423,7 @@ sub powercmd {
|
||||
}
|
||||
}
|
||||
}
|
||||
require xCAT_monitoring::monitorctrl;
|
||||
xCAT_monitoring::monitorctrl::setNodeStatusAttributes(\%newnodestatus, 1);
|
||||
return (\@result);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user