Commit dc38d628 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor bug fix for subnodes.

parent 8a7e6259
...@@ -2913,9 +2913,9 @@ sub InterpNodes($) ...@@ -2913,9 +2913,9 @@ sub InterpNodes($)
tbwarn("Could not lookup subnode host $physical\n"); tbwarn("Could not lookup subnode host $physical\n");
return -1; return -1;
} }
if (! exists($self->pnodes()->{$subnode_pnode->phys_nodeid()})) {
my $parentname = $subnode_pnode->phys_nodeid(); my $parentname = $subnode_pnode->phys_nodeid();
if (! exists($self->solution()->{'P2V'}->{$parentname})) {
# Make up a name and add to the reserve list. # Make up a name and add to the reserve list.
my $newvname = $self->newvname($parentname, "phost"); my $newvname = $self->newvname($parentname, "phost");
......
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