commit | c86ec3568c7ed11ce38584b654b91594eb0d235a | [log] [tgz] |
---|---|---|
author | Yuriy Zveryanskyy <yzveryanskyy@mirantis.com> | Wed Feb 12 11:03:18 2014 +0200 |
committer | Yuriy Zveryanskyy <yzveryanskyy@mirantis.com> | Wed Feb 12 11:04:15 2014 +0200 |
tree | 29f29748ccc2febbc0bc34c7cdb4e525a2173cb6 | |
parent | 7719d4aca8e87a73416637f2b91671738f801123 [diff] [blame] |
Fix hook script for Ironic cleanup_ironic should not be started on "unstack" phase, otherwise API service not restarted because auth cache directory removed. Change-Id: I3da86b9fb8c3ce1185aff05df0fa83cf259708f4
diff --git a/extras.d/50-ironic.sh b/extras.d/50-ironic.sh index f68a146..9e61dc5 100644 --- a/extras.d/50-ironic.sh +++ b/extras.d/50-ironic.sh
@@ -28,6 +28,9 @@ if [[ "$1" == "unstack" ]]; then stop_ironic + fi + + if [[ "$1" == "clean" ]]; then cleanup_ironic fi fi