[ovirt-users] Failed to attach a disk

Maor Lipchuk mlipchuk at redhat.com
Sun Jan 22 12:52:21 UTC 2017


Hi Fabrice,

Can you please attach the VDSM and engine logs

Thanks,
Maor

On Wed, Jan 18, 2017 at 5:05 PM, Fabrice Bacchella <
fabrice.bacchella at icloud.com> wrote:

> I upgraded an host to the latest version of vdsm:
> vdsm-4.18.21-1.el7.centos.x86_64, on a CentOS Linux release 7.3.1611
> (Core)
>
> I then created a disk that I wanted to attach to a running vm, but il
> fails, with the message in /var/log/libvirt/qemu/<VMNAME>.log:
>
> Could not open '/rhev/data-center/17434f4e-8d1a-4a88-ae39-d2ddd46b3b9b/
> 7c5291d3-11e2-420f-99ad-47a376013671/images/4d33f997-
> 94b0-42c1-8052-5364993b85e9/8e613dd3-eebc-476a-a830-e2a8236ea8a8':
> Permission denied
>
> I tried to have a look at the disks images, and got a strange result:
>
> -rw-rw---- 1 vdsm qemu 1.0M May 18  2016 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/ed18c515-09c9-4a71-af0a-7f0934193a65/
> b5e53c81-2279-4f2b-b282-69db430d36d4.lease
> -rw-rw---- 1 vdsm qemu 1.0M May 18  2016 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/3a00232b-c1f9-4b9b-910e-caf8b0321609/
> 4f6d5c63-6a36-4356-832e-f52427d9512e.lease
> -rw-rw---- 1 vdsm qemu 1.0M May 23  2016 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/b0f4c517-e492-409f-934f-1561281a242b/
> a3d60d8a-f89b-41dd-b519-fb652301b1f5.lease
> -rw-rw---- 1 vdsm qemu 1.0M May 23  2016 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/465df4e9-3c62-4501-889f-cbab65ed0e0d/
> 7a9b9033-f5f8-4eaa-ac94-6cc0c4ff6120.lease
> -rw-rw---- 1 vdsm kvm  1.0M Jan  6 18:00 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/baf01c4e-ede9-4e4e-a265-172695d81a83/
> 4cdd72a7-b347-4479-accd-ab08d61552f9.lease
> -rw-rw---- 1 vdsm kvm  1.0M Jan 18 15:38 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/4d33f997-94b0-42c1-8052-5364993b85e9/
> 8e613dd3-eebc-476a-a830-e2a8236ea8a8.lease
>
> -rw-r--r-- 1 vdsm qemu 314 May 23  2016 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/b0f4c517-e492-409f-934f-1561281a242b/
> a3d60d8a-f89b-41dd-b519-fb652301b1f5.meta
> -rw-r--r-- 1 vdsm kvm  314 Jan  6 18:00 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/465df4e9-3c62-4501-889f-cbab65ed0e0d/
> 7a9b9033-f5f8-4eaa-ac94-6cc0c4ff6120.meta
> -rw-r--r-- 1 vdsm kvm  307 Jan  6 18:00 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/baf01c4e-ede9-4e4e-a265-172695d81a83/
> 4cdd72a7-b347-4479-accd-ab08d61552f9.meta
> -rw-r--r-- 1 vdsm kvm  437 Jan 18 11:32 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/ed18c515-09c9-4a71-af0a-7f0934193a65/
> b5e53c81-2279-4f2b-b282-69db430d36d4.meta
> -rw-r--r-- 1 vdsm kvm  437 Jan 18 11:32 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/3a00232b-c1f9-4b9b-910e-caf8b0321609/
> 4f6d5c63-6a36-4356-832e-f52427d9512e.meta
> -rw-r--r-- 1 vdsm kvm  310 Jan 18 15:38 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/4d33f997-94b0-42c1-8052-5364993b85e9/
> 8e613dd3-eebc-476a-a830-e2a8236ea8a8.meta
>
> -rw-rw---- 1 vdsm qemu  16G Jan  9 17:25 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/baf01c4e-ede9-4e4e-a265-172695d81a83/
> 4cdd72a7-b347-4479-accd-ab08d61552f9
> -rw-rw---- 1 vdsm qemu  30K Jan 18 11:32 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/ed18c515-09c9-4a71-af0a-7f0934193a65/
> b5e53c81-2279-4f2b-b282-69db430d36d4
> -rw-rw---- 1 vdsm qemu  30K Jan 18 11:32 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/3a00232b-c1f9-4b9b-910e-caf8b0321609/
> 4f6d5c63-6a36-4356-832e-f52427d9512e
> -rw-rw---- 1 vdsm kvm  300G Jan 18 15:38 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/4d33f997-94b0-42c1-8052-5364993b85e9/
> 8e613dd3-eebc-476a-a830-e2a8236ea8a8
> -rw-rw---- 1 vdsm qemu  32G Jan 18 15:58 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/b0f4c517-e492-409f-934f-1561281a242b/
> a3d60d8a-f89b-41dd-b519-fb652301b1f5
> -rw-rw---- 1 vdsm qemu  32G Jan 18 15:58 /rhev/data-center/17434f4e-
> 8d1a-4a88-ae39-d2ddd46b3b9b/7c5291d3-11e2-420f-99ad-
> 47a376013671/images/465df4e9-3c62-4501-889f-cbab65ed0e0d/
> 7a9b9033-f5f8-4eaa-ac94-6cc0c4ff6120
>
>
> What a strange mix of group owner. Any explanation for that ? Is that a
> known bug ?
>
> The new disk is the 300G one, owned by kvm.
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170122/4fa01698/attachment.html>


More information about the Users mailing list