Revision 9cdea43f lib/bootstrap.py
b/lib/bootstrap.py | ||
---|---|---|
47 | 47 |
from ganeti import luxi |
48 | 48 |
from ganeti import jstore |
49 | 49 |
from ganeti import pathutils |
50 |
from ganeti import runtime |
|
50 | 51 |
|
51 | 52 |
|
52 | 53 |
# ec_id for InitConfig's temporary reservation manager |
... | ... | |
742 | 743 |
os.path.isfile): |
743 | 744 |
default_iallocator = constants.IALLOC_HAIL |
744 | 745 |
|
746 |
# check if we have all the users we need |
|
747 |
try: |
|
748 |
runtime.GetEnts() |
|
749 |
except errors.ConfigurationError, err: |
|
750 |
raise errors.OpPrereqError("Required system user/group missing: %s" % |
|
751 |
err, errors.ECODE_ENVIRON) |
|
752 |
|
|
745 | 753 |
candidate_certs = {} |
746 | 754 |
|
747 | 755 |
now = time.time() |
Also available in: Unified diff