From eff22e7c56ba35870475dd92d9d89fde1b48de4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Fri, 14 Feb 2020 08:49:55 +0100 Subject: [PATCH] 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 --- ansible/roles/cinder/defaults/main.yml | 1 + releasenotes/notes/bug-1863094-1564f489a7eecb28.yaml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 releasenotes/notes/bug-1863094-1564f489a7eecb28.yaml diff --git a/ansible/roles/cinder/defaults/main.yml b/ansible/roles/cinder/defaults/main.yml index 88e260941c..8723f58ab2 100644 --- a/ansible/roles/cinder/defaults/main.yml +++ b/ansible/roles/cinder/defaults/main.yml @@ -94,6 +94,7 @@ cinder_backup_default_volumes: - "{{ 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 %}" diff --git a/releasenotes/notes/bug-1863094-1564f489a7eecb28.yaml b/releasenotes/notes/bug-1863094-1564f489a7eecb28.yaml new file mode 100644 index 0000000000..1aa9fa5428 --- /dev/null +++ b/releasenotes/notes/bug-1863094-1564f489a7eecb28.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Cinder Backup has now access to kernel modules to load e.g. iscsi_tcp + module. + `LP#1863094 `