Revision c4367587 logic/backend.py
b/logic/backend.py | ||
---|---|---|
154 | 154 |
os='image+default', |
155 | 155 |
ip_check=False, |
156 | 156 |
name_check=False, |
157 |
pnode=rapi.GetNodes()[0], #TODO: use a Ganeti iallocator instead |
|
157 |
# Do not specific a node explicitly, have |
|
158 |
# Ganeti use an iallocator instead |
|
159 |
# |
|
160 |
# pnode=rapi.GetNodes()[0] |
|
158 | 161 |
dry_run=settings.TEST, |
159 | 162 |
beparams=dict(auto_balance=True, vcpus=flavor.cpu, memory=flavor.ram), |
160 | 163 |
osparams=dict(img_id=image.backend_id, img_passwd=password, |
Also available in: Unified diff