[Users] Error taking snapshot

This is a multi-part message in MIME format. --------------060107010001080800090506 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I have a DC which is FC based and i already have a virtual disk and booting VM off it. When i try to take a snapshot of this, it gives me a msg on OE side ..something like.. Error: vm-backed-by-fc-storage: * Cannot ${action} ${type}. Same action in progress. From OE log.. this is what i found relevant... 2012-02-28 21:18:08,990 INFO [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (http--0.0.0.0-8080-1) Failed to Acquire Lock to object EngineLock [exclusiveLocks= key: org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand value: 99df0240-928b-47eb-a944-7c44ce7e9ece , sharedLocks= ] How can i proceed from here ? --------------060107010001080800090506 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> </head> <body text="#000000" bgcolor="#ffffff"> Hi,<br> I have a DC which is FC based and i already have a virtual disk and booting VM off it.<br> When i try to take a snapshot of this, it gives me a msg on OE side ..something like..<br> <br> Error: <br> <br> vm-backed-by-fc-storage: <ul style="margin-top: 0pt;"> <li>Cannot ${action} ${type}. Same action in progress.</li> </ul> <br> <br> From OE log.. this is what i found relevant...<br> <br> 2012-02-28 21:18:08,990 INFO [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (http--0.0.0.0-8080-1) Failed to Acquire Lock to object EngineLock [exclusiveLocks= key: org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand value: 99df0240-928b-47eb-a944-7c44ce7e9ece<br> , sharedLocks= ]<br> <br> How can i proceed from here ?<br> <br> </body> </html> --------------060107010001080800090506--

On 02/28/2012 12:35 PM, Deepak C Shetty wrote:
Hi, I have a DC which is FC based and i already have a virtual disk and booting VM off it. When i try to take a snapshot of this, it gives me a msg on OE side ..something like..
Error:
vm-backed-by-fc-storage:
* Cannot ${action} ${type}. Same action in progress.
this is a text bug that the action/type weren't replaced by the real text. is this in UI or API?
From OE log.. this is what i found relevant...
2012-02-28 21:18:08,990 INFO [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (http--0.0.0.0-8080-1) Failed to Acquire Lock to object EngineLock [exclusiveLocks= key: org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand value: 99df0240-928b-47eb-a944-7c44ce7e9ece , sharedLocks= ]
How can i proceed from here ?
sounds like expected behavior to me? you can't take a snapshot while VM is running until live snapshot are implemented? or am i missing something?

On 02/28/2012 06:49 PM, Itamar Heim wrote:
On 02/28/2012 12:35 PM, Deepak C Shetty wrote:
Hi, I have a DC which is FC based and i already have a virtual disk and booting VM off it. When i try to take a snapshot of this, it gives me a msg on OE side ..something like..
Error:
vm-backed-by-fc-storage:
* Cannot ${action} ${type}. Same action in progress.
this is a text bug that the action/type weren't replaced by the real text. is this in UI or API?
In the UI, on the web browser interface.
From OE log.. this is what i found relevant...
2012-02-28 21:18:08,990 INFO [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (http--0.0.0.0-8080-1) Failed to Acquire Lock to object EngineLock [exclusiveLocks= key: org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand value: 99df0240-928b-47eb-a944-7c44ce7e9ece , sharedLocks= ]
How can i proceed from here ?
sounds like expected behavior to me? you can't take a snapshot while VM is running until live snapshot are implemented? or am i missing something?
I know that, but in this case VM status is down. There are no VMs running. I tried this twice, and i see the same issue both the times. In fact ps -ef| grep qemu also shows nothing (on the host), meaning no VMs running.

On 02/28/2012 03:28 PM, Deepak C Shetty wrote:
On 02/28/2012 06:49 PM, Itamar Heim wrote:
On 02/28/2012 12:35 PM, Deepak C Shetty wrote:
Hi, I have a DC which is FC based and i already have a virtual disk and booting VM off it. When i try to take a snapshot of this, it gives me a msg on OE side ..something like..
Error:
vm-backed-by-fc-storage:
* Cannot ${action} ${type}. Same action in progress.
this is a text bug that the action/type weren't replaced by the real text. is this in UI or API?
In the UI, on the web browser interface.
From OE log.. this is what i found relevant...
2012-02-28 21:18:08,990 INFO [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (http--0.0.0.0-8080-1) Failed to Acquire Lock to object EngineLock [exclusiveLocks= key: org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand value: 99df0240-928b-47eb-a944-7c44ce7e9ece , sharedLocks= ]
How can i proceed from here ?
sounds like expected behavior to me? you can't take a snapshot while VM is running until live snapshot are implemented? or am i missing something?
I know that, but in this case VM status is down. There are no VMs running. I tried this twice, and i see the same issue both the times. In fact ps -ef| grep qemu also shows nothing (on the host), meaning no VMs running.
then sounds like a newly introduced bug/regression in engine side. please open a bug

On 02/28/2012 07:14 PM, Itamar Heim wrote:
On 02/28/2012 03:28 PM, Deepak C Shetty wrote:
On 02/28/2012 06:49 PM, Itamar Heim wrote:
On 02/28/2012 12:35 PM, Deepak C Shetty wrote:
Hi, I have a DC which is FC based and i already have a virtual disk and booting VM off it. When i try to take a snapshot of this, it gives me a msg on OE side ..something like..
Error:
vm-backed-by-fc-storage:
* Cannot ${action} ${type}. Same action in progress.
this is a text bug that the action/type weren't replaced by the real text. is this in UI or API?
In the UI, on the web browser interface.
From OE log.. this is what i found relevant...
2012-02-28 21:18:08,990 INFO [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (http--0.0.0.0-8080-1) Failed to Acquire Lock to object EngineLock [exclusiveLocks= key: org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand value: 99df0240-928b-47eb-a944-7c44ce7e9ece , sharedLocks= ]
How can i proceed from here ?
sounds like expected behavior to me? you can't take a snapshot while VM is running until live snapshot are implemented? or am i missing something?
I know that, but in this case VM status is down. There are no VMs running. I tried this twice, and i see the same issue both the times. In fact ps -ef| grep qemu also shows nothing (on the host), meaning no VMs running.
then sounds like a newly introduced bug/regression in engine side. please open a bug
Okay, not sure if it helps, but the same worked when i tried with localfs storage (meaning host being part of local dc using host local storage) Only when i try with fc storage, the snapshot fails. How is this specific to fc storage ?

On 02/28/2012 07:14 PM, Itamar Heim wrote:
On 02/28/2012 03:28 PM, Deepak C Shetty wrote:
On 02/28/2012 06:49 PM, Itamar Heim wrote:
On 02/28/2012 12:35 PM, Deepak C Shetty wrote:
Hi, I have a DC which is FC based and i already have a virtual disk and booting VM off it. When i try to take a snapshot of this, it gives me a msg on OE side ..something like..
Error:
vm-backed-by-fc-storage:
* Cannot ${action} ${type}. Same action in progress.
this is a text bug that the action/type weren't replaced by the real text. is this in UI or API?
In the UI, on the web browser interface.
From OE log.. this is what i found relevant...
2012-02-28 21:18:08,990 INFO [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (http--0.0.0.0-8080-1) Failed to Acquire Lock to object EngineLock [exclusiveLocks= key: org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand value: 99df0240-928b-47eb-a944-7c44ce7e9ece , sharedLocks= ]
How can i proceed from here ?
sounds like expected behavior to me? you can't take a snapshot while VM is running until live snapshot are implemented? or am i missing something?
I know that, but in this case VM status is down. There are no VMs running. I tried this twice, and i see the same issue both the times. In fact ps -ef| grep qemu also shows nothing (on the host), meaning no VMs running.
then sounds like a newly introduced bug/regression in engine side. please open a bug
Okay, not sure if it helps, but the same worked when i tried with localfs storage (meaning host being part of local dc using host local storage)
Only when i try with fc storage, the snapshot fails. How is this specific to fc storage ?
It shouldn't be related to the storage type that you're using. Can you please send (perhaps via pastebin?) an OE log excerpt from around the time it is happening (should contain the log bit you sent earlier also, but also some other logs related)?
participants (3)
-
Deepak C Shetty
-
Itamar Heim
-
Mike Kolesnik