Revision 7e55040e
b/lib/cmdlib.py | ||
---|---|---|
57 | 57 |
- optionally redefine their run requirements: |
58 | 58 |
REQ_MASTER: the LU needs to run on the master node |
59 | 59 |
REQ_WSSTORE: the LU needs a writable SimpleStore |
60 |
REQ_BGL: the LU needs to hold the Big Ganeti Lock exclusively |
|
60 | 61 |
|
61 | 62 |
Note that all commands require root permissions. |
62 | 63 |
|
... | ... | |
66 | 67 |
_OP_REQP = [] |
67 | 68 |
REQ_MASTER = True |
68 | 69 |
REQ_WSSTORE = False |
70 |
REQ_BGL = True |
|
69 | 71 |
|
70 | 72 |
def __init__(self, processor, op, cfg, sstore): |
71 | 73 |
"""Constructor for LogicalUnit. |
Also available in: Unified diff