Revision 1464a17b snf-cyclades-app/synnefo/logic/reconciliation.py
b/snf-cyclades-app/synnefo/logic/reconciliation.py | ||
---|---|---|
146 | 146 |
self.reconcile_building_server(db_server) |
147 | 147 |
elif build_status != "RUNNING": |
148 | 148 |
stale.append(server_id) |
149 |
elif (db_server.operstate == "ERROR" and |
|
150 |
db_server.action != "DESTROY"): |
|
151 |
# Servers at building ERROR are stale only if the user has |
|
152 |
# asked to destroy them. |
|
153 |
pass |
|
149 | 154 |
else: |
150 | 155 |
stale.append(server_id) |
151 | 156 |
|
Also available in: Unified diff