diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 6a3191432..dedee793e 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -60,7 +60,7 @@ vm => { } }, hypervisor => { - cols => [qw(noe mgr comments disable)], + cols => [qw(node mgr comments disable)], keys => [qw(node)], table_desc => 'Hypervisor parameters', descriptions => { diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 249c21699..cfd8bc6eb 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -214,7 +214,10 @@ sub preprocess_request { #$vmtabhash = $vmtab->getNodesAttribs(\@hyps,['host']); #We now use hypervisor fields to be unambiguous my $hyptab = xCAT::Table->new('hypervisor'); - my $hyptabhash = $hyptab->getNodesAttribs(\@hyps,['mgr']); + my $hyptabhash={}; + if ($hyptab) { + $hyptabhash = $hyptab->getNodesAttribs(\@hyps,['mgr']); + } # build each request for each service node