ovirt 4.3.3 Disk for New VM is always Preallocated

Hi All, I have stumbled upon a potential bug in UI. Can someone test it , in order to reproduce it ? How to reproduce:1. Create a VM2. Within the new VM wizard - Create a disk and select Thin Provision.3. Create the VM and wait for the disk to be completed.4. Check the disk within UI - Allocation Policy is set to "Preallocation" Best Regards,Strahil Nikolov

Hi Strahil, sorry can’t reproduce it on NFS SD. - UI and Disk usage looks ok, Thin Provision for Thin Provision created Disks. Sparse File with (0 Blocks) Second: UI and Disk usage looks ok also for Preallocated. Preallocated File with (2097152 Blocks) Regards Oliver root@ovn-elem images]# stat 620b4bc0-3e46-4abc-b995-41f34ea84280/23bf0bea-c1ca-43fd-b9c3-bf35d9cfcd0c Datei: „620b4bc0-3e46-4abc-b995-41f34ea84280/23bf0bea-c1ca-43fd-b9c3-bf35d9cfcd0c“ Größe: 5368709120 Blöcke: 0 EA Block: 4096 reguläre Datei Gerät: fd12h/64786d Inode: 12884902045 Verknüpfungen: 1 Zugriff: (0660/-rw-rw----) Uid: ( 36/ vdsm) Gid: ( 36/ kvm) Kontext: system_u:object_r:unlabeled_t:s0 Zugriff : 2019-04-30 02:23:36.170064398 +0200 Modifiziert: 2019-04-30 02:20:48.082782687 +0200 Geändert : 2019-04-30 02:20:48.083782558 +0200 Geburt : - [root@ovn-elem images]# stat b0956e87-9971-4304-b3d9-3ef9d10af62a/d9dafb0e-23f5-4f3e-a2ba-a652d8f66155 Datei: „b0956e87-9971-4304-b3d9-3ef9d10af62a/d9dafb0e-23f5-4f3e-a2ba-a652d8f66155“ Größe: 1073741824 Blöcke: 2097152 EA Block: 4096 reguläre Datei Gerät: fd12h/64786d Inode: 4902168062 Verknüpfungen: 1 Zugriff: (0660/-rw-rw----) Uid: ( 36/ vdsm) Gid: ( 36/ kvm) Kontext: system_u:object_r:unlabeled_t:s0 Zugriff : 2019-04-30 02:35:29.763851948 +0200 Modifiziert: 2019-04-30 02:35:29.781849622 +0200 Geändert : 2019-04-30 02:35:29.789848588 +0200 Geburt : -
Am 29.04.2019 um 22:53 schrieb Strahil Nikolov <hunter86_bg@yahoo.com>:
Hi All,
I have stumbled upon a potential bug in UI. Can someone test it , in order to reproduce it ?
How to reproduce: 1. Create a VM 2. Within the new VM wizard - Create a disk and select Thin Provision. 3. Create the VM and wait for the disk to be completed. 4. Check the disk within UI - Allocation Policy is set to "Preallocation"
Best Regards, Strahil Nikolov
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FUB67DZTZHNRB6...

Hi Oliver, can you check your version of UI ? It seems that both VMs I had created are fully "Preallocated" instead of being "Thin Provisioned". Can someone lead me what section of bugzilla should I open the bug ? Here is some output: [root@ovirt1 images]# qemu-img info /rhev/data-center/mnt/glusterSD/ovirt1.localdomain\:_data/cd0018d3-05cd-4667-a5f8-b26dca65a680/images/b87f1fe7-127a-4574-b835-85202f76368a/41fcb56c-7ee0-4575-9366-72ae051444f9 image: /rhev/data-center/mnt/glusterSD/ovirt1.localdomain:_data/cd0018d3-05cd-4667-a5f8-b26dca65a680/images/b87f1fe7-127a-4574-b835-85202f76368a/41fcb56c-7ee0-4575-9366-72ae051444f9 file format: raw virtual size: 20G (21474836480 bytes) disk size: 20G [root@ovirt1 images]# qemu-img info /rhev/data-center/mnt/glusterSD/ovirt1.localdomain\:_data/cd0018d3-05cd-4667-a5f8-b26dca65a680/images/9e1065ed-fbc3-455b-a611-f650d56dadc9/aed4306e-7c45-4cf5-82ee-7bed3c9631ce image: /rhev/data-center/mnt/glusterSD/ovirt1.localdomain:_data/cd0018d3-05cd-4667-a5f8-b26dca65a680/images/9e1065ed-fbc3-455b-a611-f650d56dadc9/aed4306e-7c45-4cf5-82ee-7bed3c9631ce file format: raw virtual size: 20G (21474836480 bytes) disk size: 20G [root@ovirt1 images]# ssh engine "rpm -qa | grep ovirt | sort " root@engine's password: ovirt-ansible-cluster-upgrade-1.1.13-1.el7.noarch ovirt-ansible-disaster-recovery-1.1.4-1.el7.noarch ovirt-ansible-engine-setup-1.1.9-1.el7.noarch ovirt-ansible-hosted-engine-setup-1.0.17-1.el7.noarch ovirt-ansible-image-template-1.1.9-1.el7.noarch ovirt-ansible-infra-1.1.12-1.el7.noarch ovirt-ansible-manageiq-1.1.13-1.el7.noarch ovirt-ansible-repositories-1.1.5-1.el7.noarch ovirt-ansible-roles-1.1.6-1.el7.noarch ovirt-ansible-shutdown-env-1.0.3-1.el7.noarch ovirt-ansible-vm-infra-1.1.14-1.el7.noarch ovirt-cockpit-sso-0.1.1-1.el7.noarch ovirt-engine-4.3.3.6-1.el7.noarch ovirt-engine-api-explorer-0.0.4-1.el7.noarch ovirt-engine-backend-4.3.3.6-1.el7.noarch ovirt-engine-cli-3.6.9.2-1.el7.centos.noarch ovirt-engine-dbscripts-4.3.3.6-1.el7.noarch ovirt-engine-dwh-4.3.0-1.el7.noarch ovirt-engine-dwh-setup-4.3.0-1.el7.noarch ovirt-engine-extension-aaa-jdbc-1.1.10-1.el7.noarch ovirt-engine-extension-aaa-ldap-1.3.9-1.el7.noarch ovirt-engine-extension-aaa-ldap-setup-1.3.9-1.el7.noarch ovirt-engine-extensions-api-impl-4.3.3.6-1.el7.noarch ovirt-engine-metrics-1.3.0.2-1.el7.noarch ovirt-engine-restapi-4.3.3.6-1.el7.noarch ovirt-engine-sdk-python-3.6.9.1-1.el7.noarch ovirt-engine-setup-4.3.3.6-1.el7.noarch ovirt-engine-setup-base-4.3.3.6-1.el7.noarch ovirt-engine-setup-plugin-cinderlib-4.3.3.6-1.el7.noarch ovirt-engine-setup-plugin-ovirt-engine-4.3.3.6-1.el7.noarch ovirt-engine-setup-plugin-ovirt-engine-common-4.3.3.6-1.el7.noarch ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.3.3.6-1.el7.noarch ovirt-engine-setup-plugin-websocket-proxy-4.3.3.6-1.el7.noarch ovirt-engine-tools-4.3.3.6-1.el7.noarch ovirt-engine-tools-backup-4.3.3.6-1.el7.noarch ovirt-engine-ui-extensions-1.0.4-1.el7.noarch ovirt-engine-vmconsole-proxy-helper-4.3.3.6-1.el7.noarch ovirt-engine-webadmin-portal-4.3.3.6-1.el7.noarch ovirt-engine-websocket-proxy-4.3.3.6-1.el7.noarch ovirt-engine-wildfly-15.0.1-1.el7.x86_64 ovirt-engine-wildfly-overlay-15.0.1-1.el7.noarch ovirt-guest-agent-common-1.0.16-1.el7.noarch ovirt-guest-tools-iso-4.3-2.el7.noarch ovirt-host-deploy-common-1.8.0-1.el7.noarch ovirt-host-deploy-java-1.8.0-1.el7.noarch ovirt-imageio-common-1.5.1-0.el7.x86_64 ovirt-imageio-proxy-1.5.1-0.el7.noarch ovirt-imageio-proxy-setup-1.5.1-0.el7.noarch ovirt-iso-uploader-4.3.1-1.el7.noarch ovirt-js-dependencies-1.2.0-3.1.el7.centos.noarch ovirt-provider-ovn-1.2.20-1.el7.noarch ovirt-release43-4.3.3.1-1.el7.noarch ovirt-vmconsole-1.0.7-2.el7.noarch ovirt-vmconsole-proxy-1.0.7-2.el7.noarch ovirt-web-ui-1.5.2-1.el7.noarch python2-ovirt-engine-lib-4.3.3.6-1.el7.noarch python2-ovirt-host-deploy-1.8.0-1.el7.noarch python2-ovirt-setup-lib-1.2.0-1.el7.noarch python-ovirt-engine-sdk4-4.3.1-2.el7.x86_64 Best Regards,Strahil Nikolov В понеделник, 29 април 2019 г., 20:45:57 ч. Гринуич-4, Oliver Riesener <Oliver.Riesener@hs-bremen.de> написа: Hi Strahil, sorry can’t reproduce it on NFS SD. - UI and Disk usage looks ok, Thin Provision for Thin Provision created Disks. Sparse File with (0 Blocks) Second: UI and Disk usage looks ok also for Preallocated. Preallocated File with (2097152 Blocks) Regards Oliver root@ovn-elem images]# stat 620b4bc0-3e46-4abc-b995-41f34ea84280/23bf0bea-c1ca-43fd-b9c3-bf35d9cfcd0c Datei: „620b4bc0-3e46-4abc-b995-41f34ea84280/23bf0bea-c1ca-43fd-b9c3-bf35d9cfcd0c“ Größe: 5368709120 Blöcke: 0 EA Block: 4096 reguläre DateiGerät: fd12h/64786d Inode: 12884902045 Verknüpfungen: 1Zugriff: (0660/-rw-rw----) Uid: ( 36/ vdsm) Gid: ( 36/ kvm)Kontext: system_u:object_r:unlabeled_t:s0Zugriff : 2019-04-30 02:23:36.170064398 +0200Modifiziert: 2019-04-30 02:20:48.082782687 +0200Geändert : 2019-04-30 02:20:48.083782558 +0200 Geburt : -[root@ovn-elem images]# stat b0956e87-9971-4304-b3d9-3ef9d10af62a/d9dafb0e-23f5-4f3e-a2ba-a652d8f66155 Datei: „b0956e87-9971-4304-b3d9-3ef9d10af62a/d9dafb0e-23f5-4f3e-a2ba-a652d8f66155“ Größe: 1073741824 Blöcke: 2097152 EA Block: 4096 reguläre DateiGerät: fd12h/64786d Inode: 4902168062 Verknüpfungen: 1Zugriff: (0660/-rw-rw----) Uid: ( 36/ vdsm) Gid: ( 36/ kvm)Kontext: system_u:object_r:unlabeled_t:s0Zugriff : 2019-04-30 02:35:29.763851948 +0200Modifiziert: 2019-04-30 02:35:29.781849622 +0200Geändert : 2019-04-30 02:35:29.789848588 +0200 Geburt : - Am 29.04.2019 um 22:53 schrieb Strahil Nikolov <hunter86_bg@yahoo.com>: Hi All, I have stumbled upon a potential bug in UI. Can someone test it , in order to reproduce it ? How to reproduce:1. Create a VM2. Within the new VM wizard - Create a disk and select Thin Provision.3. Create the VM and wait for the disk to be completed.4. Check the disk within UI - Allocation Policy is set to "Preallocation" Best Regards,Strahil Nikolov _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FUB67DZTZHNRB6...

I have raised a bug (1704782 – ovirt 4.3.3 doesn't allow creation of VM with "Thin Provision"-ed disk (always preallocated)) , despite not being sure if I have selected the right category. Best Regards, Strahil Nikolov В вторник, 30 април 2019 г., 9:31:46 ч. Гринуич-4, Strahil Nikolov <hunter86_bg@yahoo.com> написа: Hi Oliver, can you check your version of UI ? It seems that both VMs I had created are fully "Preallocated" instead of being "Thin Provisioned". Can someone lead me what section of bugzilla should I open the bug ? Here is some output: [root@ovirt1 images]# qemu-img info /rhev/data-center/mnt/glusterSD/ovirt1.localdomain\:_data/cd0018d3-05cd-4667-a5f8-b26dca65a680/images/b87f1fe7-127a-4574-b835-85202f76368a/41fcb56c-7ee0-4575-9366-72ae051444f9 image: /rhev/data-center/mnt/glusterSD/ovirt1.localdomain:_data/cd0018d3-05cd-4667-a5f8-b26dca65a680/images/b87f1fe7-127a-4574-b835-85202f76368a/41fcb56c-7ee0-4575-9366-72ae051444f9 file format: raw virtual size: 20G (21474836480 bytes) disk size: 20G [root@ovirt1 images]# qemu-img info /rhev/data-center/mnt/glusterSD/ovirt1.localdomain\:_data/cd0018d3-05cd-4667-a5f8-b26dca65a680/images/9e1065ed-fbc3-455b-a611-f650d56dadc9/aed4306e-7c45-4cf5-82ee-7bed3c9631ce image: /rhev/data-center/mnt/glusterSD/ovirt1.localdomain:_data/cd0018d3-05cd-4667-a5f8-b26dca65a680/images/9e1065ed-fbc3-455b-a611-f650d56dadc9/aed4306e-7c45-4cf5-82ee-7bed3c9631ce file format: raw virtual size: 20G (21474836480 bytes) disk size: 20G [root@ovirt1 images]# ssh engine "rpm -qa | grep ovirt | sort " root@engine's password: ovirt-ansible-cluster-upgrade-1.1.13-1.el7.noarch ovirt-ansible-disaster-recovery-1.1.4-1.el7.noarch ovirt-ansible-engine-setup-1.1.9-1.el7.noarch ovirt-ansible-hosted-engine-setup-1.0.17-1.el7.noarch ovirt-ansible-image-template-1.1.9-1.el7.noarch ovirt-ansible-infra-1.1.12-1.el7.noarch ovirt-ansible-manageiq-1.1.13-1.el7.noarch ovirt-ansible-repositories-1.1.5-1.el7.noarch ovirt-ansible-roles-1.1.6-1.el7.noarch ovirt-ansible-shutdown-env-1.0.3-1.el7.noarch ovirt-ansible-vm-infra-1.1.14-1.el7.noarch ovirt-cockpit-sso-0.1.1-1.el7.noarch ovirt-engine-4.3.3.6-1.el7.noarch ovirt-engine-api-explorer-0.0.4-1.el7.noarch ovirt-engine-backend-4.3.3.6-1.el7.noarch ovirt-engine-cli-3.6.9.2-1.el7.centos.noarch ovirt-engine-dbscripts-4.3.3.6-1.el7.noarch ovirt-engine-dwh-4.3.0-1.el7.noarch ovirt-engine-dwh-setup-4.3.0-1.el7.noarch ovirt-engine-extension-aaa-jdbc-1.1.10-1.el7.noarch ovirt-engine-extension-aaa-ldap-1.3.9-1.el7.noarch ovirt-engine-extension-aaa-ldap-setup-1.3.9-1.el7.noarch ovirt-engine-extensions-api-impl-4.3.3.6-1.el7.noarch ovirt-engine-metrics-1.3.0.2-1.el7.noarch ovirt-engine-restapi-4.3.3.6-1.el7.noarch ovirt-engine-sdk-python-3.6.9.1-1.el7.noarch ovirt-engine-setup-4.3.3.6-1.el7.noarch ovirt-engine-setup-base-4.3.3.6-1.el7.noarch ovirt-engine-setup-plugin-cinderlib-4.3.3.6-1.el7.noarch ovirt-engine-setup-plugin-ovirt-engine-4.3.3.6-1.el7.noarch ovirt-engine-setup-plugin-ovirt-engine-common-4.3.3.6-1.el7.noarch ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.3.3.6-1.el7.noarch ovirt-engine-setup-plugin-websocket-proxy-4.3.3.6-1.el7.noarch ovirt-engine-tools-4.3.3.6-1.el7.noarch ovirt-engine-tools-backup-4.3.3.6-1.el7.noarch ovirt-engine-ui-extensions-1.0.4-1.el7.noarch ovirt-engine-vmconsole-proxy-helper-4.3.3.6-1.el7.noarch ovirt-engine-webadmin-portal-4.3.3.6-1.el7.noarch ovirt-engine-websocket-proxy-4.3.3.6-1.el7.noarch ovirt-engine-wildfly-15.0.1-1.el7.x86_64 ovirt-engine-wildfly-overlay-15.0.1-1.el7.noarch ovirt-guest-agent-common-1.0.16-1.el7.noarch ovirt-guest-tools-iso-4.3-2.el7.noarch ovirt-host-deploy-common-1.8.0-1.el7.noarch ovirt-host-deploy-java-1.8.0-1.el7.noarch ovirt-imageio-common-1.5.1-0.el7.x86_64 ovirt-imageio-proxy-1.5.1-0.el7.noarch ovirt-imageio-proxy-setup-1.5.1-0.el7.noarch ovirt-iso-uploader-4.3.1-1.el7.noarch ovirt-js-dependencies-1.2.0-3.1.el7.centos.noarch ovirt-provider-ovn-1.2.20-1.el7.noarch ovirt-release43-4.3.3.1-1.el7.noarch ovirt-vmconsole-1.0.7-2.el7.noarch ovirt-vmconsole-proxy-1.0.7-2.el7.noarch ovirt-web-ui-1.5.2-1.el7.noarch python2-ovirt-engine-lib-4.3.3.6-1.el7.noarch python2-ovirt-host-deploy-1.8.0-1.el7.noarch python2-ovirt-setup-lib-1.2.0-1.el7.noarch python-ovirt-engine-sdk4-4.3.1-2.el7.x86_64 Best Regards, Strahil Nikolov В понеделник, 29 април 2019 г., 20:45:57 ч. Гринуич-4, Oliver Riesener <Oliver.Riesener@hs-bremen.de> написа: Hi Strahil, sorry can’t reproduce it on NFS SD. - UI and Disk usage looks ok, Thin Provision for Thin Provision created Disks. Sparse File with (0 Blocks) Second: UI and Disk usage looks ok also for Preallocated. Preallocated File with (2097152 Blocks) Regards Oliver root@ovn-elem images]# stat 620b4bc0-3e46-4abc-b995-41f34ea84280/23bf0bea-c1ca-43fd-b9c3-bf35d9cfcd0c Datei: „620b4bc0-3e46-4abc-b995-41f34ea84280/23bf0bea-c1ca-43fd-b9c3-bf35d9cfcd0c“ Größe: 5368709120 Blöcke: 0 EA Block: 4096 reguläre Datei Gerät: fd12h/64786d Inode: 12884902045 Verknüpfungen: 1 Zugriff: (0660/-rw-rw----) Uid: ( 36/ vdsm) Gid: ( 36/ kvm) Kontext: system_u:object_r:unlabeled_t:s0 Zugriff : 2019-04-30 02:23:36.170064398 +0200 Modifiziert: 2019-04-30 02:20:48.082782687 +0200 Geändert : 2019-04-30 02:20:48.083782558 +0200 Geburt : - [root@ovn-elem images]# stat b0956e87-9971-4304-b3d9-3ef9d10af62a/d9dafb0e-23f5-4f3e-a2ba-a652d8f66155 Datei: „b0956e87-9971-4304-b3d9-3ef9d10af62a/d9dafb0e-23f5-4f3e-a2ba-a652d8f66155“ Größe: 1073741824 Blöcke: 2097152 EA Block: 4096 reguläre Datei Gerät: fd12h/64786d Inode: 4902168062 Verknüpfungen: 1 Zugriff: (0660/-rw-rw----) Uid: ( 36/ vdsm) Gid: ( 36/ kvm) Kontext: system_u:object_r:unlabeled_t:s0 Zugriff : 2019-04-30 02:35:29.763851948 +0200 Modifiziert: 2019-04-30 02:35:29.781849622 +0200 Geändert : 2019-04-30 02:35:29.789848588 +0200 Geburt : -
Am 29.04.2019 um 22:53 schrieb Strahil Nikolov <hunter86_bg@yahoo.com>:
Hi All,
I have stumbled upon a potential bug in UI. Can someone test it , in order to reproduce it ?
How to reproduce: 1. Create a VM 2. Within the new VM wizard - Create a disk and select Thin Provision. 3. Create the VM and wait for the disk to be completed. 4. Check the disk within UI - Allocation Policy is set to "Preallocation"
Best Regards, Strahil Nikolov
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FUB67DZTZHNRB6...

Hi, I strongly suspect this is the same problem I’ve reported a few days ago as “New disk creation very slow after upgrade to 4.3.3”, in particular this: In the UI the default is "preallocated" but changing it to thin provision does not make any difference, regardless of this setting, an fallocate process gets started on the SDM host and takes forever to create the pre-allocated image. The observed slowness is just a symptom of always creating a pre-allocated image. From a cursory look at the history, the _default_ in a HC environment is now supposed to be set to “preallocated”. https://github.com/oVirt/ovirt-engine/commit/8b0969cfca241821e6cb5e923a2d4a5... I wonder if this change made it unconditional … Best regards — Steffen
On Apr 29, 2019, at 1:53 PM, Strahil Nikolov <hunter86_bg@yahoo.com> wrote:
Hi All,
I have stumbled upon a potential bug in UI. Can someone test it , in order to reproduce it ?
How to reproduce: 1. Create a VM 2. Within the new VM wizard - Create a disk and select Thin Provision. 3. Create the VM and wait for the disk to be completed. 4. Check the disk within UI - Allocation Policy is set to "Preallocation"
Best Regards, Strahil Nikolov
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/FUB67DZTZHNRB6...
participants (3)
-
Oliver Riesener
-
Steffen Luitz
-
Strahil Nikolov