Skip to content

Instantly share code, notes, and snippets.

@sathlan
Created August 19, 2016 13:29
Show Gist options
  • Save sathlan/27ee7832c11cc1bd6fa9f3338e66bde5 to your computer and use it in GitHub Desktop.
Save sathlan/27ee7832c11cc1bd6fa9f3338e66bde5 to your computer and use it in GitHub Desktop.
#!/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