The MTC client manages ceph services via ceph.sh which
is installed on all node types in
/etc/service.d/{controller,worker,storage}/ceph.sh
Since the AIO controllers have both controller and worker
personalities, the MTC client will execute the ceph script
twice (/etc/service.d/worker/ceph.sh,
/etc/service.d/controller/ceph.sh).
This behavior will generate some issues.
We fix this by exiting the ceph script if it is the one from
/etc/services.d/worker on AIO systems.
Reviewed: https:/ /review. opendev. org/c/starlingx /integ/ +/792361 /opendev. org/starlingx/ integ/commit/ 322557053045895 6fd642fa06b8336 0a7e4e2e61
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 322557053045895 6fd642fa06b8336 0a7e4e2e61
Author: Mihnea Saracin <email address hidden>
Date: Thu May 20 14:33:58 2021 +0300
Execute once the ceph services script on AIO
The MTC client manages ceph services via ceph.sh which service. d/{controller, worker, storage} /ceph.sh
is installed on all node types in
/etc/
Since the AIO controllers have both controller and worker d/worker/ ceph.sh, service. d/controller/ ceph.sh) .
personalities, the MTC client will execute the ceph script
twice (/etc/service.
/etc/
This behavior will generate some issues.
We fix this by exiting the ceph script if it is the one from services. d/worker on AIO systems.
/etc/
Closes-Bug: 1928934 f870b8f6c640a60 33822639926
Change-Id: I3e4dc313cc3764
Signed-off-by: Mihnea Saracin <email address hidden>