mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-07-31 18:19:40 +00:00
Merge pull request #7672 from VersatusHPC/harvest/blade-findme-nodetype
fix(blade): only scan a node MPA during discovery if it is a blade
This commit is contained in:
@@ -4258,6 +4258,9 @@ sub preprocess_request {
|
||||
foreach my $node (@$noderange) {
|
||||
my $ent = $mptabhash->{$node}->[0]; #$mptab->getNodeAttribs($node,['mpa', 'id']);
|
||||
my $mpaent;
|
||||
if ($request->{command}->[0] eq 'findme' and $ent->{nodetype} ne 'blade') {
|
||||
next;
|
||||
}
|
||||
if (defined($ent->{mpa})) {
|
||||
push @{ $mpa_hash{ $ent->{mpa} }{nodes} }, $node;
|
||||
unless ($mpatype{ $ent->{mpa} }) {
|
||||
|
||||
Reference in New Issue
Block a user