Hide Forgot
Created attachment 1223205 [details] engine.log Description of problem: We're using cinder (based on the Kolla setup) to provide storage for ovirt. Everything works fine except the clone process of a VM: When cloning a VM with cinder/ceph-based storage we see, that the VM clone is created, the attached image is cloned as well, but the disk/image remains in locked state. We then need to issue a "update images set imagestatus=1 where imagestatus=2;" on the engine to make the VM clone work. Trying to clone a VM with NFS based storage works as expected, thus I think it's the cinder/ceph integration that causes the problem here. Version-Release number of selected component (if applicable): 4.0.5 How reproducible: Always Steps to Reproduce: 1. Create VM with a Cinder/Ceph based disk 2. Try to clone that VM via oVirt engine admin portal Actual results: VM is cloned, disk is cloned in cinder, disk remains locked in postgres db on the engine. Expected results: VM is cloned, disk is cloned in cinder, disk becomes unlocked in postgres db on the engine after the disk is cloned. Additional info: Package-Versions: ovirt-engine-jboss-as-7.1.1-1.el7.centos.x86_64 ovirt-vmconsole-proxy-1.0.4-1.el7.centos.noarch ovirt-engine-wildfly-overlay-10.0.0-1.el7.noarch ovirt-engine-setup-base-4.0.5.5-1.el7.centos.noarch ovirt-guest-agent-common-1.0.12-3.el7.noarch ovirt-engine-setup-plugin-ovirt-engine-4.0.5.5-1.el7.centos.noarch ovirt-host-deploy-1.5.3-1.el7.centos.noarch ovirt-engine-websocket-proxy-4.0.5.5-1.el7.centos.noarch ovirt-engine-extensions-api-impl-4.0.5.5-1.el7.centos.noarch ovirt-engine-wildfly-10.1.0-1.el7.x86_64 ovirt-engine-dbscripts-4.0.5.5-1.el7.centos.noarch ovirt-engine-restapi-4.0.5.5-1.el7.centos.noarch ovirt-vmconsole-1.0.4-1.el7.centos.noarch ovirt-release36-3.6.6-1.noarch ovirt-engine-lib-4.0.5.5-1.el7.centos.noarch ovirt-setup-lib-1.0.2-1.el7.centos.noarch ovirt-engine-setup-plugin-ovirt-engine-common-4.0.5.5-1.el7.centos.noarch ovirt-engine-setup-plugin-vmconsole-proxy-helper-4.0.5.5-1.el7.centos.noarch ovirt-engine-setup-plugin-websocket-proxy-4.0.5.5-1.el7.centos.noarch ovirt-host-deploy-java-1.5.3-1.el7.centos.noarch ovirt-iso-uploader-4.0.2-1.el7.centos.noarch ovirt-engine-setup-4.0.5.5-1.el7.centos.noarch ovirt-engine-extension-aaa-jdbc-1.1.1-1.el7.noarch ovirt-imageio-common-0.4.0-1.el7.noarch ovirt-imageio-proxy-setup-0.4.0-0.201608310602.gita9b573b.el7.centos.noarch ovirt-image-uploader-4.0.1-1.el7.centos.noarch ovirt-engine-sdk-python-3.6.9.1-1.el7.centos.noarch ovirt-release40-4.0.5-2.noarch ovirt-engine-tools-4.0.5.5-1.el7.centos.noarch ovirt-engine-dashboard-1.0.5-1.el7.centos.noarch ovirt-engine-backend-4.0.5.5-1.el7.centos.noarch ovirt-engine-4.0.5.5-1.el7.centos.noarch ovirt-engine-dwh-4.0.5-1.el7.centos.noarch ovirt-engine-cli-3.6.8.1-1.el7.centos.noarch ovirt-imageio-proxy-0.4.0-0.201608310602.gita9b573b.el7.centos.noarch ovirt-guest-tools-iso-4.0-1.fc23.noarch ovirt-engine-dwh-setup-4.0.5-1.el7.centos.noarch python-ovirt-engine-sdk4-4.0.2-1.el7.centos.x86_64 ovirt-engine-vmconsole-proxy-helper-4.0.5.5-1.el7.centos.noarch ovirt-engine-tools-backup-4.0.5.5-1.el7.centos.noarch ovirt-engine-webadmin-portal-4.0.5.5-1.el7.centos.noarch ovirt-engine-userportal-4.0.5.5-1.el7.centos.noarch
Verified with the following code: -------------------------------------- ovirt-engine-4.1.1.3-0.1.el7.noarch rhevm-4.1.1.3-0.1.el7.noarch vdsm-4.19.7-1.el7ev.x86_64 Verified with the following scenario: -------------------------------------- 1. Create VM with a Cinder/Ceph based disk 2. Try to clone that VM via oVirt engine admin portal Actual results: VM is cloned, disk is cloned in cinder, disk ARE NO LONGER locked in postgres db on the engine.