Created
August 19, 2016 13:29
-
-
Save sathlan/27ee7832c11cc1bd6fa9f3338e66bde5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
. stackrc | |
for failed in $(heat resource-list \ | |
--nested-depth 5 overcloud | grep FAILED | | |
grep 'StructuredDeployment ' | cut -d '|' -f3) | |
do heat deployment-show $failed > failed_deployment_$failed.log | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment