xCAT 2.8.2
service nodes
esx vm
no mpa hardware
In esx.pm, the following function was called ONLY when a new esx vm node was
assigned a value for the noderes.servicenode attribute:
[root@drdkvm0003 xCAT_plugin]# rmvm -p drdvm0033 ; mkvm drdvm0033 -s 10
Error: esx plugin bug, pid 10535, process description: 'xCATd SSL: rmvm for
drdkvm0003.nyc.desres.deshaw.com@drdkvm0003: esx instance: locally executing'
with error 'TODO: fix this function if called at
/opt/xcat/lib/perl/xCAT_plugin/esx.pm line 4060.
' while trying to fulfill request for the following nodes: drdvm0033
drdvm0033: purged
Error: esx plugin bug, pid 10541, process description: 'xCATd SSL: mkvm for
drdkvm0003.nyc.desres.deshaw.com@drdkvm0003: esx instance: locally executing'
with error 'TODO: fix this function if called at
/opt/xcat/lib/perl/xCAT_plugin/esx.pm line 4060.
' while trying to fulfill request for the following nodes: drdvm0033
sub build_more_info{
die("TODO: fix this function if called");
print "Does this acually get called????**********************************\n";
my $noderange=shift;
my $callback=shift;
my $vmtab = xCAT::Table->new("vm");
my @moreinfo=();
unless ($vmtab) {
$callback->({data=>["Cannot open mp table"]});
return @moreinfo;
}
my %mpa_hash=();
foreach my $node (@$noderange) {
my $ent=$vmtab->getNodeAttribs($node,['mpa', 'id']);
if (defined($ent->{mpa})) { push @{$mpa_hash{$ent->{mpa}}{nodes}}, $node;}
else {
$callback->({data=>["no mpa defined for node $node"]});
return @moreinfo;
}
if (defined($ent->{id})) { push @{$mpa_hash{$ent->{mpa}}{ids}}, $ent->{id};}
else { push @{$mpa_hash{$ent->{mpa}}{ids}}, "";}
}
foreach (keys %mpa_hash) {
push @moreinfo, "\[$_\]\[" . join(',',@{$mpa_hash{$_}{nodes}}) ."\]\[" .
join(',',@{$mpa_hash{$_}{ids}}) . "\]";
}
return \@moreinfo;
}
If the “die” statement is commented out on all copies of esx.pm, the following
error is generated:
[root@drdkvm0003 xCAT_plugin]# rmvm -p drdvm0033 ; mkvm drdvm0033 -s 10
drdvm0033: purged
no mpa defined for node drdvm0033
Error: esx plugin bug, pid 10782, process description: 'xCATd SSL: rmvm for
drdkvm0003.nyc.desres.deshaw.com@drdkvm0003: esx instance: locally executing'
with error 'Can't use string ("0") as an ARRAY ref while "strict refs" in use
at /opt/xcat/lib/perl/xCAT_plugin/esx.pm line 396, <$parfd> line 1.
' while trying to fulfill request for the following nodes: drdvm0033
no mpa defined for node drdvm0033
Error: esx plugin bug, pid 10787, process description: 'xCATd SSL: mkvm for
drdkvm0003.nyc.desres.deshaw.com@drdkvm0003: esx instance: locally executing'
with error 'Can't use string ("0") as an ARRAY ref while "strict refs" in use
at /opt/xcat/lib/perl/xCAT_plugin/esx.pm line 396, <$parfd> line 1.
' while trying to fulfill request for the following nodes: drdvm0033
Here are some node attributes:
[root@drdkvm0003 xCAT_plugin]# nodels drdvm0033 vm noderes | grep -Ev ': *$'
drdvm0033: vm.nicmodel: vmxnet3
drdvm0033: vm.nics: vlan12
drdvm0033: vm.othersettings: vcpu.hotadd=true;mem.hotadd=true
drdvm0033: vm.node: drdvm0033
drdvm0033: vm.storagemodel: pvscsi
drdvm0033: vm.host: drdesx0104
drdvm0033: vm.mgr: drdvca0001
drdvm0033: vm.memory: 2048
drdvm0033: vm.cpus: 1
drdvm0033: vm.storage: vmfs://drdesx0104-datastore1
drdvm0033: noderes.primarynic: eth0
drdvm0033: noderes.tftpserver: 149.77.53.252
drdvm0033: noderes.installnic: eth0
drdvm0033: noderes.netboot: pxe
drdvm0033: noderes.servicenode: drdxcaten0001
drdvm0033: noderes.node: drdvm0033
drdvm0033: noderes.nfsserver: 149.77.53.252
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user