]> git.proxmox.com Git - qemu-server.git/commitdiff
API HA tasks: we request states not execute them
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jun 2017 05:20:11 +0000 (07:20 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 27 Jun 2017 05:59:12 +0000 (07:59 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/Qemu.pm

index 76fd0e44280185a1dd6f88ec964ca1072165440d..6b502df34ac707630909a3d6452cd46ffab21fa3 100644 (file)
@@ -1756,7 +1756,7 @@ __PACKAGE__->register_method({
 
                my $cmd = ['ha-manager', 'set', $service, '--state', 'started'];
 
-               print "Executing HA start for VM $vmid\n";
+               print "Requesting HA start for VM $vmid\n";
 
                PVE::Tools::run_command($cmd);
 
@@ -1853,7 +1853,7 @@ __PACKAGE__->register_method({
 
                my $cmd = ['ha-manager', 'set', $service, '--state', 'stopped'];
 
-               print "Executing HA stop for VM $vmid\n";
+               print "Requesting HA stop for VM $vmid\n";
 
                PVE::Tools::run_command($cmd);
 
@@ -2023,7 +2023,7 @@ __PACKAGE__->register_method({
 
                my $cmd = ['ha-manager', 'set', $service, '--state', 'stopped'];
 
-               print "Executing HA stop for VM $vmid\n";
+               print "Requesting HA stop for VM $vmid\n";
 
                PVE::Tools::run_command($cmd);
 
@@ -2846,7 +2846,7 @@ __PACKAGE__->register_method({
 
                my $cmd = ['ha-manager', 'migrate', $service, $target];
 
-               print "Executing HA migrate for VM $vmid to node $target\n";
+               print "Requesting HA migration for VM $vmid to node $target\n";
 
                PVE::Tools::run_command($cmd);