Fix Cinder Backup access to kernel modules (iscsi_tcp issue)

It looks like the only missing part was the actual mount of
/lib/modules

Now Cinder Backup volumes differ from Cinder Volume volumes only
by /etc/target which is not relevant (Cinder Backup does not
provide a target).

Change-Id: Iccf4298c4f9306eb0a95b6712815778555ef44fc
Closes-bug: #1863094
(cherry picked from commit eff22e7c56)
(cherry picked from commit 26d8fbcb6e)
This commit is contained in:
Radosław Piliszek 2020-02-14 08:49:55 +01:00
parent 66a47a0438
commit fe7f8ce320
2 changed files with 7 additions and 0 deletions

View File

@ -53,6 +53,7 @@ cinder_services:
- "{{ node_config_directory }}/cinder-backup/:{{ container_config_directory }}/:ro"
- "/etc/localtime:/etc/localtime:ro"
- "/dev/:/dev/"
- "/lib/modules:/lib/modules:ro"
- "/run/:/run/:shared"
- "cinder:/var/lib/cinder"
- "{% if enable_iscsid | bool %}iscsi_info:/etc/iscsi{% endif %}"

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Cinder Backup has now access to kernel modules to load e.g. iscsi_tcp
module.
`LP#1863094 <https://launchpad.net/bugs/1863094>`