Revision b08d5a87 lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
947 | 947 |
inst = nv_dict.pop((node, lv_name), None) |
948 | 948 |
if (not lv_online and inst is not None |
949 | 949 |
and inst.name not in res_instances): |
950 |
res_instances.append(inst.name)
|
|
950 |
res_instances.append(inst.name) |
|
951 | 951 |
|
952 | 952 |
# any leftover items in nv_dict are missing LVs, let's arrange the |
953 | 953 |
# data better |
... | ... | |
3060 | 3060 |
# boot order verification |
3061 | 3061 |
if self.op.hvm_boot_order is not None: |
3062 | 3062 |
if len(self.op.hvm_boot_order.strip("acdn")) != 0: |
3063 |
raise errors.OpPrereqError("invalid boot order specified,"
|
|
3064 |
" must be one or more of [acdn]")
|
|
3063 |
raise errors.OpPrereqError("invalid boot order specified," |
|
3064 |
" must be one or more of [acdn]") |
|
3065 | 3065 |
|
3066 | 3066 |
if self.op.start: |
3067 | 3067 |
self.instance_status = 'up' |
Also available in: Unified diff