.The `rbd-target-api` service is started and stopped with respect to the `rbd-target-gw` service status
Previously, the `rbd-target-api` service did not start after starting the `rbd-target-gw` service. Consequently, the `rolling_update.yml` playbook stopped at `TASK [stop ceph iscsi services]`, and the updating process did not continue. With this update, the `rbd-target-api` service is started and stopped with respect to the `rbd-target-gw` service status, and the updating process works as expected.
* Description of problem:
rbd-target-api.service doesn't get started after starting rbd-target-gw.service.
* Version-Release number of selected component (if applicable):
RHCS 3.2
* How reproducible:
Always
* Steps to Reproduce:
1. Check both the services- rbd-target-api.service and rbd-target-gw.service are running.
2. Stop the service - rbd-target-gw.service
3. Check the status of the services- rbd-target-api.service and rbd-target-gw.service
=> Both the services must be inactive and not running.
4. Start the service rbd-target-gw.service
5. Check the status of rbd-target-api.service
* Actual results:
rbd-target-api.service doesn't get started after starting rbd-target-gw.service.
* Expected results:
After starting rbd-target-gw.service, the service rbd-target-api.service should get started too.
* Additional info:
To work around this problem :
STEP 1 :
Add 'Wants=rbd-target-api.service' in the file /usr/lib/systemd/system/rbd-target-gw.service.
STEP 2 :
Run the command : systemctl daemon-reload
STEP 3 :
Check the status of the services - rbd-target-gw.service and rbd-target-api.service
Created attachment 1562006[details]
Fix systemd deps
Just attaching to bz so I do not forget, because the upstream repo for this is closed and this patch is not needed for ceph-iscsi.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2019:2538