Bart, this is the block of code that causes it to skip the audit
if (subcloud.deploy_status not in [consts.DEPLOY_STATE_DONE, consts.DEPLOY_STATE_DEPLOYING, consts.DEPLOY_STATE_DEPLOY_FAILED]): LOG.debug("Skip subcloud %s audit, deploy_status: %s" % (subcloud.name, subcloud.deploy_status)) continue
Should failed be the only one removed from the list. I am assuming 'done' and 'deploying' will never get stuck.
Bart, this is the block of code that causes it to skip the audit
if (subcloud. deploy_ status not in
[ consts. DEPLOY_ STATE_DONE,
consts. DEPLOY_ STATE_DEPLOYING ,
consts. DEPLOY_ STATE_DEPLOY_ FAILED] ):
LOG.debug( "Skip subcloud %s audit, deploy_status: %s" %
(subcloud. name, subcloud. deploy_ status) )
continue
Should failed be the only one removed from the list. I am assuming 'done' and 'deploying' will never get stuck.