Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
48bcc554
Commit
48bcc554
authored
Nov 15, 2017
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Blockstore VMs do not report start cmd status. This closes issue
#346
.
parent
fcff7f0c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
db/Node.pm.in
db/Node.pm.in
+6
-0
tbsetup/libvtop_test.pm.in
tbsetup/libvtop_test.pm.in
+7
-2
No files found.
db/Node.pm.in
View file @
48bcc554
...
...
@@ -2322,6 +2322,12 @@ sub SetEventState($$)
sub ResetStartStatus($)
{
my ($self) = @_;
#
# Do not do this on certain node types.
#
return 0
if ($self->type() eq "blockstore");
$self->{"DBROW"}->{'
startstatus
'} = '
none
';
return $self->Update({"startstatus" => '
none
'});
...
...
tbsetup/libvtop_test.pm.in
View file @
48bcc554
...
...
@@ -7670,8 +7670,13 @@ sub InitializePhysNode($$$)
"loadlist"
=>
$
loadlist
||
''
,
"failureaction"
=>
$
failureaction
,
"routertype"
=>
$
routertype
);
$
nodesets
{
"startstatus"
}
=
'none'
if
(
!exists($self->oldreservednodes()->{$pnodename}));
#
They
never
report
status
,
need
to
set
them
.
if
(
defined
($
virtnode
->
_blockstore
()))
{
$
nodesets
{
"startstatus"
}
=
0
;
}
elsif
(
!exists($self->oldreservednodes()->{$pnodename})) {
$
nodesets
{
"startstatus"
}
=
'none'
;
}
%
rsrvsets
=
(
"vname"
=>
$
vnodename
,
"erole"
=>
$
role
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment