Revision ae562340 snf-cyclades-app/synnefo/api/servers.py
b/snf-cyclades-app/synnefo/api/servers.py | ||
---|---|---|
261 | 261 |
if backend is None: |
262 | 262 |
transaction.rollback() |
263 | 263 |
log.error("No available backends for VM with flavor %s", flavor) |
264 |
raise Exception |
|
264 |
raise Exception("No available backends")
|
|
265 | 265 |
transaction.commit() |
266 | 266 |
|
267 | 267 |
if settings.PUBLIC_ROUTED_USE_POOL: |
Also available in: Unified diff