Run utils-defragOSDs.sh in ceph-osd-default container
The Ceph defragosds cronjob script used to connect to OSD pods not explicitly specifying the ceph-osd-default container and eventually tried to run the defrag script in the log-runner container where the defrag script is mounted with 0644 permissions and shell fails to run it. Change-Id: I4ffc6653070dbbc6f0766b278acf0ebe2b4ae1e1
This commit is contained in:
parent
2163b19738
commit
75fdad3ff9
@ -15,6 +15,6 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Ceph Client
|
||||
name: ceph-client
|
||||
version: 0.1.51
|
||||
version: 0.1.52
|
||||
home: https://github.com/ceph/ceph-client
|
||||
...
|
||||
|
@ -21,7 +21,7 @@ PODS=$(kubectl get pods --namespace=${NAMESPACE} \
|
||||
'--output=jsonpath={range .items[*]}{.metadata.name}{"\n"}{end}')
|
||||
|
||||
for POD in ${PODS}; do
|
||||
kubectl exec -t ${POD} --namespace=${NAMESPACE} -- \
|
||||
kubectl exec -t ${POD} -c ceph-osd-default --namespace=${NAMESPACE} -- \
|
||||
sh -c -e "/tmp/utils-defragOSDs.sh"
|
||||
done
|
||||
|
||||
|
@ -52,4 +52,5 @@ ceph-client:
|
||||
- 0.1.49 Update Ceph images to Jammy and Reef 18.2.1
|
||||
- 0.1.50 Update Ceph images to patched 18.2.2 and restore debian-reef repo
|
||||
- 0.1.51 Use quay.io/airshipit/kubernetes-entrypoint:latest-ubuntu_focal by default
|
||||
- 0.1.52 Run utils-defragOSDs.sh in ceph-osd-default container
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user