Created attachment 643564 [details] vdsm log [Storage] Unable to extend storage domain if PV is in use. When trying to extend storage domain,user gets the following warning (in UI) IF the PV is in use: ---- The following LUNs are already in use: - 3514f0c561000000e (Used by VG: qydKsX-BJ0t-OaiA-PmEa-kqDB-1Xln-pSeKPN) Approve operation ? ---- After user approves the operation the extend fails because we don't use FORCE option in vgextend command if the PV is in use. Force option must be used in this case. Thread-52749::DEBUG::2012-11-12 16:42:21,580::__init__::1164::Storage.Misc.excCmd::(_log) FAILED: <err> = ' Can\'t initialize physica l volume "/dev/mapper/3514f0c561000000d" of volume group "61677e82-0f8d-4245-a6bd-a1254fb945b5" without -ff\n full vdsm log attached.
http://gerrit.ovirt.org/#/c/9192/ Change-Id: I33ad4ee65d7303705d2cc8370502553125000ca0
both patches are merged upstream.
Merged: Change-Id: I33ad4ee65d7303705d2cc8370502553125000ca0
Failed on RHEVM 3.2 - SF02 environment RHEVM: rhevm-3.2.0-2.el6ev.noarch VDSM: vdsm-4.10.2-2.0.el6.x86_64 LIBVIRT: libvirt-0.10.2-13.el6.x86_64 QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.348.el6.x86_64 SANLOCK: sanlock-2.6-2.el6.x86_64 Impossible select disk in "Used" state in UI, follows from this, unable to extend storage domain if PV is in use.
Verified on RHEVM 3.2 - SF02 environment RHEVM: rhevm-3.2.0-2.el6ev.noarch VDSM: vdsm-4.10.2-2.0.el6.x86_64 LIBVIRT: libvirt-0.10.2-13.el6.x86_64 QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.348.el6.x86_64 SANLOCK: sanlock-2.6-2.el6.x86_64
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0886.html