Commit 04f1d97f authored by Dietmar Maurer's avatar Dietmar Maurer

skip test for HA managed VMs

unless we have a replavement for rgmanager
parent 14beca2c
...@@ -1225,7 +1225,7 @@ __PACKAGE__->register_method({ ...@@ -1225,7 +1225,7 @@ __PACKAGE__->register_method({
my $get_start_stop_list = sub { my $get_start_stop_list = sub {
my ($nodename, $autostart) = @_; my ($nodename, $autostart) = @_;
my $cc = PVE::Cluster::cfs_read_file('cluster.conf'); # fixmem: $cc = PVE::Cluster::cfs_read_file('cluster.conf');
my $vmlist = PVE::Cluster::get_vmlist(); my $vmlist = PVE::Cluster::get_vmlist();
my $resList = {}; my $resList = {};
...@@ -1261,8 +1261,8 @@ my $get_start_stop_list = sub { ...@@ -1261,8 +1261,8 @@ my $get_start_stop_list = sub {
die "unknown VM type '$d->{type}'\n"; die "unknown VM type '$d->{type}'\n";
} }
# skip ha managed VMs (started by rgmanager) # fixme: skip ha managed VMs (started by rgmanager)
return if PVE::Cluster::cluster_conf_lookup_pvevm($cc, 0, $vmid, 1); ##return if PVE::Cluster::cluster_conf_lookup_pvevm($cc, 0, $vmid, 1);
$resList->{$startup->{order}}->{$vmid} = $startup; $resList->{$startup->{order}}->{$vmid} = $startup;
$resList->{$startup->{order}}->{$vmid}->{type} = $d->{type}; $resList->{$startup->{order}}->{$vmid}->{type} = $d->{type};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment