-Be more specific about vm placement on power on in the face of clustered hypervisors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5574 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
48aa987922
commit
6f3159c2dd
@ -954,7 +954,7 @@ sub power {
|
||||
return; #We'll pick it up on the retry if it gets registered
|
||||
}
|
||||
eval {
|
||||
$task = $args{vmview}->PowerOnVM_Task();
|
||||
$task = $args{vmview}->PowerOnVM_Task(host=>$hyphash{$hyp}->{hostview});
|
||||
};
|
||||
if ($@) {
|
||||
sendmsg([1,":".$@],$node);
|
||||
@ -986,7 +986,7 @@ sub power {
|
||||
$running_tasks{$task}->{data} = { node => $node, successtext => $intent.'reset' };
|
||||
} elsif ($args{pretendop}) { #It is off, but pretend it was on
|
||||
eval {
|
||||
$task = $args{vmview}->PowerOnVM_Task();
|
||||
$task = $args{vmview}->PowerOnVM_Task(host=>$hyphash{$hyp}->{hostview});
|
||||
};
|
||||
if ($@) {
|
||||
sendmsg([1,":".$@],$node);
|
||||
|
Loading…
Reference in New Issue
Block a user