Commit b5695436 authored by Leigh Stoller's avatar Leigh Stoller

More missing stated transitions.

parent c6c5d2b4
...@@ -317,6 +317,7 @@ REPLACE INTO mode_transitions VALUES ('NETBOOT','SHUTDOWN','PXEFBSD','SHUTDOWN', ...@@ -317,6 +317,7 @@ REPLACE INTO mode_transitions VALUES ('NETBOOT','SHUTDOWN','PXEFBSD','SHUTDOWN',
REPLACE INTO mode_transitions VALUES ('MINIMAL','SHUTDOWN','PXEFBSD','SHUTDOWN',''); REPLACE INTO mode_transitions VALUES ('MINIMAL','SHUTDOWN','PXEFBSD','SHUTDOWN','');
REPLACE INTO mode_transitions VALUES ('NORMAL','REBOOTING','NORMALv2','SHUTDOWN',''); REPLACE INTO mode_transitions VALUES ('NORMAL','REBOOTING','NORMALv2','SHUTDOWN','');
REPLACE INTO mode_transitions VALUES ('NORMALv2','SHUTDOWN','NORMAL','REBOOTING',''); REPLACE INTO mode_transitions VALUES ('NORMALv2','SHUTDOWN','NORMAL','REBOOTING','');
REPLACE INTO mode_transitions VALUES ('NORMALv2','SHUTDOWN','RELOAD-PCVM','SHUTDOWN','vnodereload');
REPLACE INTO mode_transitions VALUES ('NORMALv1','SHUTDOWN','NORMALv2','SHUTDOWN',''); REPLACE INTO mode_transitions VALUES ('NORMALv1','SHUTDOWN','NORMALv2','SHUTDOWN','');
REPLACE INTO mode_transitions VALUES ('ALWAYSUP','SHUTDOWN','RELOAD-MOTE','SHUTDOWN','ReloadStart'); REPLACE INTO mode_transitions VALUES ('ALWAYSUP','SHUTDOWN','RELOAD-MOTE','SHUTDOWN','ReloadStart');
REPLACE INTO mode_transitions VALUES ('ALWAYSUP','ISUP','RELOAD-MOTE','SHUTDOWN','ReloadStart'); REPLACE INTO mode_transitions VALUES ('ALWAYSUP','ISUP','RELOAD-MOTE','SHUTDOWN','ReloadStart');
...@@ -587,6 +588,7 @@ REPLACE INTO state_transitions VALUES ('NORMALv2','VNODEBOOTSTART','TBSETUP','re ...@@ -587,6 +588,7 @@ REPLACE INTO state_transitions VALUES ('NORMALv2','VNODEBOOTSTART','TBSETUP','re
REPLACE INTO state_transitions VALUES ('NORMALv2','VNODEBOOTSTART','SHUTDOWN','bootfail'); REPLACE INTO state_transitions VALUES ('NORMALv2','VNODEBOOTSTART','SHUTDOWN','bootfail');
REPLACE INTO state_transitions VALUES ('NORMALv2','BOOTING','BOOTING','vnodesetup'); REPLACE INTO state_transitions VALUES ('NORMALv2','BOOTING','BOOTING','vnodesetup');
REPLACE INTO state_transitions VALUES ('NORMALv2','SHUTDOWN','BOOTING','vnode_setup'); REPLACE INTO state_transitions VALUES ('NORMALv2','SHUTDOWN','BOOTING','vnode_setup');
REPLACE INTO state_transitions VALUES ('RELOAD-PCVM','SHUTDOWN','SHUTDOWN','vnodereload');
REPLACE INTO state_transitions VALUES ('NORMAL','SHUTDOWN','SHUTDOWN','Retry'); REPLACE INTO state_transitions VALUES ('NORMAL','SHUTDOWN','SHUTDOWN','Retry');
REPLACE INTO state_transitions VALUES ('NETBOOT','PXEBOOTING','BOOTING','BootInfo'); REPLACE INTO state_transitions VALUES ('NETBOOT','PXEBOOTING','BOOTING','BootInfo');
REPLACE INTO state_transitions VALUES ('NODEALLOC','RES_INIT_CLEAN','RES_CLEAN_REBOOT','Reboot'); REPLACE INTO state_transitions VALUES ('NODEALLOC','RES_INIT_CLEAN','RES_CLEAN_REBOOT','Reboot');
......
...@@ -8,6 +8,11 @@ sub DoUpdate($$$) ...@@ -8,6 +8,11 @@ sub DoUpdate($$$)
{ {
my ($dbhandle, $dbname, $version) = @_; my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal("REPLACE INTO mode_transitions VALUES ".
"('NORMALv2','SHUTDOWN','RELOAD-PCVM','SHUTDOWN',".
" 'vnodereload')";
DBQueryFatal("REPLACE INTO state_transitions VALUES ".
"('RELOAD-PCVM','SHUTDOWN','SHUTDOWN','vnodereload')");
DBQueryFatal("REPLACE INTO state_transitions VALUES ". DBQueryFatal("REPLACE INTO state_transitions VALUES ".
"('NORMALv2','BOOTING','BOOTING','vnodesetup')"); "('NORMALv2','BOOTING','BOOTING','vnodesetup')");
DBQueryFatal("REPLACE INTO state_transitions VALUES ". DBQueryFatal("REPLACE INTO state_transitions VALUES ".
......
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