<div dir="ltr">Hi Thomas,<div><br></div><div>That does looks like a bug, can u please open a new bug in Bugzilla at <a href="https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine">https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine</a></div><div>Please attach it also the engine logs.</div><div><br></div><div>Thanks,</div><div>Maor</div><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 21, 2016 at 12:00 PM, Thomas Klute <span dir="ltr">&lt;<a href="mailto:klute@ingenit.com" target="_blank">klute@ingenit.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear oVirt Users,<br>
<br>
we&#39;re using cinder (based on the Kolla setup) to provide storage for<br>
ovirt. Everything works fine except the clone process of a VM.<br>
Cloning a VM with NFS based storage works as expected, thus I think it&#39;s<br>
the cinder integration that causes the problem here.<br>
<br>
When cloning a VM with cinder/ceph-based storage we see, that the VM<br>
clone is created, the attached image is cloned as well, but the<br>
disk/image remains in locked state. We then need to issue a<br>
<br>
&quot;update images set imagestatus=1 where imagestatus=2;&quot;<br>
<br>
on the engine to make the VM clone work.<br>
<br>
Is this a bug in the cinder integration?<br>
<br>
Thanks and best regards,<br>
 Thomas<br>
<br>
engine.log:<br>
2016-11-21 10:00:20,216 INFO  [org.ovirt.engine.core.bll.<wbr>CloneVmCommand]<br>
(default task-19) [2dd83801] Lock Acquired to object<br>
&#39;EngineLock:{exclusiveLocks=&#39;[<wbr>vm-vertr-kp-klon=&lt;VM_NAME,<br>
ACTION_TYPE_FAILED_OBJECT_<wbr>LOCKED&gt;]&#39;,<br>
sharedLocks=&#39;[897d96c8-0ea9-<wbr>4d06-b815-66a42b63c49b=&lt;VM,<br>
ACTION_TYPE_FAILED_VM_IS_<wbr>BEING_CLONED&gt;,<br>
e5e06033-e099-4efe-a5cd-<wbr>9de2ebc0238b=&lt;DISK,<br>
ACTION_TYPE_FAILED_DISK_IS_<wbr>USED_FOR_CREATE_VM$VmName vm-vertr-kp-klon&gt;]&#39;}&#39;<br>
2016-11-21 10:00:21,290 INFO  [org.ovirt.engine.core.bll.<wbr>CloneVmCommand]<br>
(default task-19) [] Running command: CloneVmCommand internal: false.<br>
Entities affected :  ID: 897d96c8-0ea9-4d06-b815-<wbr>66a42b63c49b Type:<br>
VMAction group CREATE_VM with role type USER<br>
2016-11-21 10:00:21,846 INFO<br>
[org.ovirt.engine.core.bll.<wbr>storage.disk.cinder.<wbr>CloneSingleCinderDiskCommand]<br>
(default task-19) [4c8e58b8] Running command:<br>
CloneSingleCinderDiskCommand internal: true. Entities affected :  ID:<br>
1f342ea3-49f8-4f65-bf15-<wbr>ce48514e9bd3 Type: StorageAction group<br>
CONFIGURE_VM_STORAGE with role type USER<br>
2016-11-21 10:00:23,143 INFO<br>
[org.ovirt.engine.core.bll.<wbr>AddGraphicsDeviceCommand] (default task-19)<br>
[420ca5bf] Running command: AddGraphicsDeviceCommand internal: true.<br>
Entities affected :  ID: b9f78fd2-9a55-42f0-9ae9-<wbr>7bca4ae93d9a Type:<br>
VMAction group EDIT_VM_PROPERTIES with role type USER<br>
2016-11-21 10:00:23,151 INFO<br>
[org.ovirt.engine.core.bll.<wbr>AddGraphicsDeviceCommand] (default task-19)<br>
[7f72e8e4] Running command: AddGraphicsDeviceCommand internal: true.<br>
Entities affected :  ID: b9f78fd2-9a55-42f0-9ae9-<wbr>7bca4ae93d9a Type:<br>
VMAction group EDIT_VM_PROPERTIES with role type USER<br>
2016-11-21 10:00:23,222 INFO<br>
[org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector]<br>
(default task-19) [7f72e8e4] Correlation ID: 2dd83801, Job ID:<br>
a02e5069-a9ef-4b1b-8ec1-<wbr>b1922d2e3135, Call Stack: null, Custom Event ID:<br>
-1, Message: VM vm-vertr-kp-klon was created by admin@internal-authz.<br>
2016-11-21 10:00:23,240 INFO  [org.ovirt.engine.core.bll.<wbr>CloneVmCommand]<br>
(default task-19) [7f72e8e4] Lock freed to object<br>
&#39;EngineLock:{exclusiveLocks=&#39;[<wbr>vm-vertr-kp-klon=&lt;VM_NAME,<br>
ACTION_TYPE_FAILED_OBJECT_<wbr>LOCKED&gt;]&#39;,<br>
sharedLocks=&#39;[897d96c8-0ea9-<wbr>4d06-b815-66a42b63c49b=&lt;VM,<br>
ACTION_TYPE_FAILED_VM_IS_<wbr>BEING_CLONED&gt;,<br>
e5e06033-e099-4efe-a5cd-<wbr>9de2ebc0238b=&lt;DISK,<br>
ACTION_TYPE_FAILED_DISK_IS_<wbr>USED_FOR_CREATE_VM$VmName vm-vertr-kp-klon&gt;]&#39;}&#39;<br>
2016-11-21 10:00:29,283 INFO<br>
[org.ovirt.engine.core.bll.<wbr>storage.disk.cinder.<wbr>CloneSingleCinderDiskCommandCa<wbr>llback]<br>
(DefaultQuartzScheduler9) [4c8e58b8] Command &#39;CloneSingleCinderDisk&#39; id:<br>
&#39;a76696d7-f698-4591-9a26-<wbr>888f47462888&#39; child commands &#39;[]&#39; executions<br>
were completed, status &#39;SUCCEEDED&#39;<br>
2016-11-21 10:00:29,284 INFO<br>
[org.ovirt.engine.core.bll.<wbr>storage.disk.cinder.<wbr>CloneSingleCinderDiskCommandCa<wbr>llback]<br>
(DefaultQuartzScheduler9) [4c8e58b8] Command &#39;CloneSingleCinderDisk&#39; id:<br>
&#39;a76696d7-f698-4591-9a26-<wbr>888f47462888&#39; Updating status to &#39;SUCCEEDED&#39;,<br>
The command end method logic will be executed by one of its parent commands.<br>
<br>
Packets:<br>
ovirt-engine-jboss-as-7.1.1-1.<wbr>el7.centos.x86_64<br>
ovirt-vmconsole-proxy-1.0.4-1.<wbr>el7.centos.noarch<br>
ovirt-engine-wildfly-overlay-<wbr>10.0.0-1.el7.noarch<br>
ovirt-engine-setup-base-4.0.5.<wbr>5-1.el7.centos.noarch<br>
ovirt-guest-agent-common-1.0.<wbr>12-3.el7.noarch<br>
ovirt-engine-setup-plugin-<wbr>ovirt-engine-4.0.5.5-1.el7.<wbr>centos.noarch<br>
ovirt-host-deploy-1.5.3-1.el7.<wbr>centos.noarch<br>
ovirt-engine-websocket-proxy-<wbr>4.0.5.5-1.el7.centos.noarch<br>
ovirt-engine-extensions-api-<wbr>impl-4.0.5.5-1.el7.centos.<wbr>noarch<br>
ovirt-engine-wildfly-10.1.0-1.<wbr>el7.x86_64<br>
ovirt-engine-dbscripts-4.0.5.<wbr>5-1.el7.centos.noarch<br>
ovirt-engine-restapi-4.0.5.5-<wbr>1.el7.centos.noarch<br>
ovirt-vmconsole-1.0.4-1.el7.<wbr>centos.noarch<br>
ovirt-release36-3.6.6-1.noarch<br>
ovirt-engine-lib-4.0.5.5-1.<wbr>el7.centos.noarch<br>
ovirt-setup-lib-1.0.2-1.el7.<wbr>centos.noarch<br>
ovirt-engine-setup-plugin-<wbr>ovirt-engine-common-4.0.5.5-1.<wbr>el7.centos.noarch<br>
ovirt-engine-setup-plugin-<wbr>vmconsole-proxy-helper-4.0.5.<wbr>5-1.el7.centos.noarch<br>
ovirt-engine-setup-plugin-<wbr>websocket-proxy-4.0.5.5-1.el7.<wbr>centos.noarch<br>
ovirt-host-deploy-java-1.5.3-<wbr>1.el7.centos.noarch<br>
ovirt-iso-uploader-4.0.2-1.<wbr>el7.centos.noarch<br>
ovirt-engine-setup-4.0.5.5-1.<wbr>el7.centos.noarch<br>
ovirt-engine-extension-aaa-<wbr>jdbc-1.1.1-1.el7.noarch<br>
ovirt-imageio-common-0.4.0-1.<wbr>el7.noarch<br>
ovirt-imageio-proxy-setup-0.4.<wbr>0-0.201608310602.gita9b573b.<wbr>el7.centos.noarch<br>
ovirt-image-uploader-4.0.1-1.<wbr>el7.centos.noarch<br>
ovirt-engine-sdk-python-3.6.9.<wbr>1-1.el7.centos.noarch<br>
ovirt-release40-4.0.5-2.noarch<br>
ovirt-engine-tools-4.0.5.5-1.<wbr>el7.centos.noarch<br>
ovirt-engine-dashboard-1.0.5-<wbr>1.el7.centos.noarch<br>
ovirt-engine-backend-4.0.5.5-<wbr>1.el7.centos.noarch<br>
ovirt-engine-4.0.5.5-1.el7.<wbr>centos.noarch<br>
ovirt-engine-dwh-4.0.5-1.el7.<wbr>centos.noarch<br>
ovirt-engine-cli-3.6.8.1-1.<wbr>el7.centos.noarch<br>
ovirt-imageio-proxy-0.4.0-0.<wbr>201608310602.gita9b573b.el7.<wbr>centos.noarch<br>
ovirt-guest-tools-iso-4.0-1.<wbr>fc23.noarch<br>
ovirt-engine-dwh-setup-4.0.5-<wbr>1.el7.centos.noarch<br>
python-ovirt-engine-sdk4-4.0.<wbr>2-1.el7.centos.x86_64<br>
ovirt-engine-vmconsole-proxy-<wbr>helper-4.0.5.5-1.el7.centos.<wbr>noarch<br>
ovirt-engine-tools-backup-4.0.<wbr>5.5-1.el7.centos.noarch<br>
ovirt-engine-webadmin-portal-<wbr>4.0.5.5-1.el7.centos.noarch<br>
ovirt-engine-userportal-4.0.5.<wbr>5-1.el7.centos.noarch<br>
<br>
<br>
Sollten noch Fragen offen sein, stehen wir Ihnen natürlich jederzeit<br>
gerne zur Verfügung.<br>
<br>
Mit Grüßen aus Dortmund,<br>
 Thomas Klute<br>
<br>
--<br>
______________________________<wbr>______________________________<wbr>____________<br>
<br>
 Dipl.-Inform. Thomas Klute                           <a href="mailto:klute@ingenit.com">klute@ingenit.com</a><br>
 Geschäftsführer / CEO<br>
 ------------------------------<wbr>------------------------------<wbr>----------<br>
 ingenit GmbH &amp; Co. KG                       Tel. <a href="tel:%2B49%20%280%29231%2058%20698-120" value="+4923158698120">+49 (0)231 58 698-120</a><br>
 Emil-Figge-Strasse 76-80                    Fax. <a href="tel:%2B49%20%280%29231%2058%20698-121" value="+4923158698121">+49 (0)231 58 698-121</a><br>
 D-44227 Dortmund                                       <a href="http://www.ingenit.com" rel="noreferrer" target="_blank">www.ingenit.com</a><br>
<br>
 Registergericht: Amtsgericht Dortmund, HRA 13 914<br>
 Gesellschafter : Thomas Klute, Marc-Christian Schröer<br>
______________________________<wbr>______________________________<wbr>____________<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
</blockquote></div><br></div>