Revision ff699aa9 lib/bootstrap.py
b/lib/bootstrap.py | ||
---|---|---|
43 | 43 |
from ganeti import netutils |
44 | 44 |
from ganeti import backend |
45 | 45 |
from ganeti import luxi |
46 |
from ganeti import jstore |
|
46 | 47 |
|
47 | 48 |
|
48 | 49 |
# ec_id for InitConfig's temporary reservation manager |
... | ... | |
660 | 661 |
" continuing but activating the master on the current" |
661 | 662 |
" node will probably fail", total_timeout) |
662 | 663 |
|
664 |
if jstore.CheckDrainFlag(): |
|
665 |
logging.info("Undraining job queue") |
|
666 |
jstore.SetDrainFlag(False) |
|
667 |
|
|
663 | 668 |
logging.info("Starting the master daemons on the new master") |
664 | 669 |
|
665 | 670 |
result = rpc.RpcRunner.call_node_start_master(new_master, True, no_voting) |
Also available in: Unified diff