Skip to content

Commit c86ec35

Browse files
committed
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
1 parent 7719d4a commit c86ec35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

extras.d/50-ironic.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ if is_service_enabled ir-api ir-cond; then
2828

2929
if [[ "$1" == "unstack" ]]; then
3030
stop_ironic
31+
fi
32+
33+
if [[ "$1" == "clean" ]]; then
3134
cleanup_ironic
3235
fi
3336
fi

0 commit comments

Comments
 (0)