Skip to content

Commit 0b3d3ce

Browse files
author
Fergal Mc Carthy
committed
Install python-swiftclient as cinder-backup dependency (SOC-11364)
As a workaround for SOC-10522, explicitly install python-swiftclient on CND-BCK nodes as part of setting up the cinder-backup service. This avoids a race condition where cinder-backup is started prior to the Monasca Agent dependencies being installed on the node which may not happen until after the cinder-backup start is attempted. Change-Id: I3073bd76e3166ba68ba5b9d94ee928586127de4f
1 parent c8b4b38 commit 0b3d3ce

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

roles/CND-BCK/tasks/install.yml

+10
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,16 @@
2020

2121
- include: ../../CND-VOL/tasks/install.yml cnd_stop_tgt="False"
2222

23+
# TODO(fergal): Remove once the fix for SOC-10522 has landed
24+
# The cinder-backup services depends on the switfclient module
25+
# but that module is currently missing from the Cinder venv.
26+
- name: CND-BCK | install | Install cinder-backup dependencies
27+
package:
28+
name: "{{ item }}"
29+
state: present
30+
with_items:
31+
- python-swiftclient
32+
2333
- name: CND-BCK | install | Update venv cache
2434
install_package:
2535
cache: update

0 commit comments

Comments
 (0)