Commit 01045ce
committed
Fix CrashLoopBackOff, ramdisk-logs no inotifywait
When updating the operators we end up recreating the conductor and
inspector deployments. But the old service images does not yet have
the required command: inotifywait - because of the missing command
the pod enter CrashLoopBackOff state.
To resolve the issue, the OpenstackVersion must be patch to update
the container images.
To workaround this issue, add a check for the inotifywait command,
and in case it does not exist:
a) Print a Warning
b) Starta a tail for follow /dev/null to have the container do
nothing forever. (e.g. until it is restarted with new service
container images after patching the OpenstackVersion.)
Jira: OSPRH-175201 parent cc3c9c9 commit 01045ce
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
6 | 13 | | |
7 | 14 | | |
8 | 15 | | |
| |||
0 commit comments