Stopped nodes are in diagnostic snapshot since now

Stopped nodes could be also helpful for troubleshooting, so including
them into the diagnostic snapshot.

Change-Id: Ib8608f8e04663d16249b514788522f701b9a88b9
Closes-Bug: #1599530
This commit is contained in:
Georgy Kibardin 2016-07-06 17:36:40 +03:00
parent d131fd3db3
commit 269c1b1103
1 changed files with 2 additions and 1 deletions

View File

@ -1857,7 +1857,8 @@ class DumpTask(object):
def conf(cls):
logger.debug("Preparing config for snapshot")
nodes = db().query(Node).filter(
Node.status.in_(['ready', 'provisioned', 'deploying', 'error'])
Node.status.in_(['ready', 'provisioned', 'deploying',
'error', 'stopped'])
).all()
dump_conf = deepcopy(settings.DUMP)