cinder/iscsi backend: remove lvm2-lvmetad.service dependency

When using iscsi/lvm backend, we create a systemd service that will help
to recreate the loop device needed by the LVM setup.

However this service was requiring lvm2-lvmetad.service to be exected on
the host but this one doesn't exist anymore in RHEL8/centos8. Let's just
remove it.

Change-Id: Id3b807955dadf8c99a9f90a96069f85c9d05e18d
(cherry picked from commit 4933d6f3eb)
This commit is contained in:
Emilien Macchi 2020-10-30 15:01:37 -04:00
parent d7d9e05ff8
commit 48f274a39f
1 changed files with 2 additions and 2 deletions

View File

@ -176,9 +176,9 @@ outputs:
Description=Cinder LVM losetup
DefaultDependencies=no
Conflicts=umount.target
Requires=lvm2-lvmetad.service systemd-udev-settle.service
Requires=systemd-udev-settle.service
Before=local-fs.target umount.target
After=lvm2-lvmetad.service systemd-udev-settle.service
After=systemd-udev-settle.service
[Service]
Type=oneshot