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:
parent
d7d9e05ff8
commit
48f274a39f
|
@ -176,9 +176,9 @@ outputs:
|
||||||
Description=Cinder LVM losetup
|
Description=Cinder LVM losetup
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
Conflicts=umount.target
|
Conflicts=umount.target
|
||||||
Requires=lvm2-lvmetad.service systemd-udev-settle.service
|
Requires=systemd-udev-settle.service
|
||||||
Before=local-fs.target umount.target
|
Before=local-fs.target umount.target
|
||||||
After=lvm2-lvmetad.service systemd-udev-settle.service
|
After=systemd-udev-settle.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
|
Loading…
Reference in New Issue