Creating volume backup fails when iscsi_tcp module is not inserted when using LVM backend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Radosław Piliszek | ||
Rocky |
Fix Released
|
Medium
|
Radosław Piliszek | ||
Stein |
Fix Released
|
Medium
|
Radosław Piliszek | ||
Train |
Fix Released
|
Medium
|
Radosław Piliszek | ||
Ussuri |
Fix Released
|
Medium
|
Radosław Piliszek |
Bug Description
Description
===========
Backup of created cinder volume with backend set as LVM fails in case iscsi_tcp kernel module is not inserted on storage node. During backup iscsi do discovery and requests iscsi_tcp module. cinder_backup container could not insert such module and fails.
Steps to reproduce
==================
Actions:
1.
$ openstack volume create --image cirros-0.3.5 --size 3 test_volume
-> Volume is created.
2.
$ openstack volume backup create --name test_backup test_volume
-> Backup of the volume fails.
Expected result
===============
After step (2) backup of the volume should be created successfully.
Logs
====
2020-02-12 23:44:20.717 39 DEBUG oslo_concurrenc
2020-02-12 23:44:20.718 39 DEBUG oslo.privsep.daemon [-] privsep: Exception during request[
Command: iscsiadm -m discovery -t sendtargets -I default -p 9.9.9.11:3260
Exit code: 21
Stdout: u''
Stderr: u"libkmod: kmod_module_
/site-packages/
Traceback (most recent call last):
File "/usr/lib/
reply = self._process_
File "/usr/lib/
ret = func(*f_args, **f_kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return custom_
File "/usr/lib/
on_
File "/usr/lib/
cmd=
ProcessExecutio
Command: iscsiadm -m discovery -t sendtargets -I default -p 9.9.9.11:3260
Exit code: 21
Stdout: u''
Stderr: u"libkmod: kmod_module_
Additional
==========
Root cause is probably that volume /lib/modules is not mounted in cinder_backup.
After inserting iscsi_tcp module ($ modprobe iscsi_tcp) creating of backup worked.
Best Regards,
Šimon
description: | updated |
description: | updated |
Changed in kolla-ansible: | |
status: | New → Triaged |
Changed in kolla-ansible: | |
assignee: | nobody → Chason Chan (chen-xing) |
Cinder Backup does not have LVM backend... do you mean you have Cinder Volume backend set as LVM and Cinder Backup uses something else?