Re: [ovirt-users] VM is locked, servlet , and SpiceVersion.txt problem

2018-02-26 Thread Terry hey
Thank for your reply.
OK, then do you know how to delete the lock virtual machine?
Because i cannot find the locked VM by using  "./unlock_entity.sh". I
cannot do anything on it.
Thank you.

2018-02-23 20:36 GMT+08:00 Tomas Jelinek :

>
>
> On Fri, Feb 23, 2018 at 11:31 AM, Terry hey  wrote:
>
>> Hello everyone!
>> Thank for your time to analyize my problem. Totally, i have two question.
>> I encountered vm image lock problem. The following action is what i have
>> to and make the vm image locked.
>> First, i imported a vm. Since it is take too long time to import and the
>> engine.log always repeatly said it was waiting child command id.
>> "2018-02-23 16:37:46,603+08 INFO  [org.ovirt.engine.core.bll.Co
>> ncurrentChildCommandsExecutionCallback] 
>> (EE-ManagedThreadFactory-engineScheduled-Thread-16)
>> [1c44d543-4dcc-429d-a172-386cc860afe0] Command 'ImportVm' (id:
>> '09718bd2-797d-4323-b1ad-1a85604543c3') waiting on child command id:
>> '9e285b2d-c0c7-4a75-8c70-b619b45c6855' type:'CopyImageGroup' to complete
>> "
>> So,I thought the operation was not normal. So,
>> 1. I use "./unlock_entity.sh" to unlock the virtual disk of the vm.
>> 2. Virtual disk was unlocked but vm was still locked. Therefore, i use
>> "./unlock_entity.sh" to show locked vm. But there was nothing.
>> 3. Then i used "./taskcleaner.sh" to clean all task. But nothing happen.
>>
>> Q1: So, now, i would like to ask how to unlock the vm image so that i can
>> delete or use it.
>>
>> Q2: In addition, there are two error or warning appeared in engine.log
>> 1. 2018-02-23 09:57:19,495+08 WARN  
>> [org.ovirt.engine.core.utils.servlet.ServletUtils]
>> (default task-272) [] File'/usr/share/ovirt-engine/u
>> i-plugins/dashboard-resources/css/main-tab.d3769419.css' is 2839039
>> bytes long. Please reconsider using this servlet for files larger than
>> 1048576 bytes.
>> 2. 2018-02-23 09:47:39,656+08 ERROR 
>> [org.ovirt.engine.core.utils.servlet.ServletUtils]
>> (default task-193) [] Can't read file 
>> '/usr/share/ovirt-engine/files/spice/SpiceVersion.txt'
>> for request '/ovirt-engine/services/files/spice/SpiceVersion.txt', will
>> send a 404 error response.
>> Do you guys have any idea what do they mean?
>>
>
> This is pretty cool :) The SpiceVersion.txt has been used years ago for
> the ActiveX SPICE client. This client is not in oVirt for ages, but we
> still have the handling of this file in the code forgotten.
>
> I have opened a bug to clean this up: https://bugzilla.redhat.com/
> show_bug.cgi?id=1548407
> But don't worry about this error, it has no effect on the function.
>
>
>>
>> I really appreciate you help. Thank you!
>>
>> Regards
>> Terry
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM is locked, servlet , and SpiceVersion.txt problem

2018-02-23 Thread Tomas Jelinek
On Fri, Feb 23, 2018 at 11:31 AM, Terry hey  wrote:

> Hello everyone!
> Thank for your time to analyize my problem. Totally, i have two question.
> I encountered vm image lock problem. The following action is what i have
> to and make the vm image locked.
> First, i imported a vm. Since it is take too long time to import and the
> engine.log always repeatly said it was waiting child command id.
> "2018-02-23 16:37:46,603+08 INFO  [org.ovirt.engine.core.bll.
> ConcurrentChildCommandsExecutionCallback] 
> (EE-ManagedThreadFactory-engineScheduled-Thread-16)
> [1c44d543-4dcc-429d-a172-386cc860afe0] Command 'ImportVm' (id:
> '09718bd2-797d-4323-b1ad-1a85604543c3') waiting on child command id:
> '9e285b2d-c0c7-4a75-8c70-b619b45c6855' type:'CopyImageGroup' to complete
> "
> So,I thought the operation was not normal. So,
> 1. I use "./unlock_entity.sh" to unlock the virtual disk of the vm.
> 2. Virtual disk was unlocked but vm was still locked. Therefore, i use
> "./unlock_entity.sh" to show locked vm. But there was nothing.
> 3. Then i used "./taskcleaner.sh" to clean all task. But nothing happen.
>
> Q1: So, now, i would like to ask how to unlock the vm image so that i can
> delete or use it.
>
> Q2: In addition, there are two error or warning appeared in engine.log
> 1. 2018-02-23 09:57:19,495+08 WARN  
> [org.ovirt.engine.core.utils.servlet.ServletUtils]
> (default task-272) [] File'/usr/share/ovirt-engine/ui-plugins/dashboard-
> resources/css/main-tab.d3769419.css' is 2839039 bytes long. Please
> reconsider using this servlet for files larger than 1048576 bytes.
> 2. 2018-02-23 09:47:39,656+08 ERROR 
> [org.ovirt.engine.core.utils.servlet.ServletUtils]
> (default task-193) [] Can't read file 
> '/usr/share/ovirt-engine/files/spice/SpiceVersion.txt'
> for request '/ovirt-engine/services/files/spice/SpiceVersion.txt', will
> send a 404 error response.
> Do you guys have any idea what do they mean?
>

This is pretty cool :) The SpiceVersion.txt has been used years ago for the
ActiveX SPICE client. This client is not in oVirt for ages, but we still
have the handling of this file in the code forgotten.

I have opened a bug to clean this up:
https://bugzilla.redhat.com/show_bug.cgi?id=1548407
But don't worry about this error, it has no effect on the function.


>
> I really appreciate you help. Thank you!
>
> Regards
> Terry
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] VM is locked, servlet , and SpiceVersion.txt problem

2018-02-23 Thread Terry hey
Hello everyone!
Thank for your time to analyize my problem. Totally, i have two question.
I encountered vm image lock problem. The following action is what i have to
and make the vm image locked.
First, i imported a vm. Since it is take too long time to import and the
engine.log always repeatly said it was waiting child command id.
"2018-02-23 16:37:46,603+08 INFO
 [org.ovirt.engine.core.bll.ConcurrentChildCommandsExecutionCallback]
(EE-ManagedThreadFactory-engineScheduled-Thread-16)
[1c44d543-4dcc-429d-a172-386cc860afe0] Command 'ImportVm' (id:
'09718bd2-797d-4323-b1ad-1a85604543c3') waiting on child command id:
'9e285b2d-c0c7-4a75-8c70-b619b45c6855' type:'CopyImageGroup' to complete
"
So,I thought the operation was not normal. So,
1. I use "./unlock_entity.sh" to unlock the virtual disk of the vm.
2. Virtual disk was unlocked but vm was still locked. Therefore, i use
"./unlock_entity.sh" to show locked vm. But there was nothing.
3. Then i used "./taskcleaner.sh" to clean all task. But nothing happen.

Q1: So, now, i would like to ask how to unlock the vm image so that i can
delete or use it.

Q2: In addition, there are two error or warning appeared in engine.log
1. 2018-02-23 09:57:19,495+08 WARN
 [org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-272) []
File'/usr/share/ovirt-engine/ui-plugins/dashboard-resources/css/main-tab.d3769419.css'
is 2839039 bytes long. Please reconsider using this servlet for files
larger than 1048576 bytes.
2. 2018-02-23 09:47:39,656+08 ERROR
[org.ovirt.engine.core.utils.servlet.ServletUtils] (default task-193) []
Can't read file '/usr/share/ovirt-engine/files/spice/SpiceVersion.txt' for
request '/ovirt-engine/services/files/spice/SpiceVersion.txt', will send a
404 error response.
Do you guys have any idea what do they mean?

I really appreciate you help. Thank you!

Regards
Terry
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Disks Locked

2017-01-08 Thread Robert Story
On Mon, 9 Jan 2017 00:44:57 +0200 Yaniv wrote:
YD> Please provide logs for the SPM and engine.

UI:

Dec 29, 2016 9:36:08 PM VM tmpl.iip.el7.x2 creation was initiated by 
admin@internal
Dec 29, 2016 9:42:01 PM VM tmpl.iip.el7.x2 creation has been completed.

At 2016-12-29 22:20:05 I tried to run the original VM, and was told that
images were still locked.

Engine log attached. Unfortunately the vdsmd logs don't go back that far..

I ended up solving my issue using unlock_entity.sh [1] to unlock the images.

I just tried to repeat the experiment, and of course it worked fine.

One bug that I found that seemed to be similar was
https://bugzilla.redhat.com/show_bug.cgi?id=1020909. In my case, the VM I
was trying to clone had just been restored from a snapshot, so a race
condition seems believable.


Robert

[1] /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh

-- 
Senior Software Engineer @ Parsons


engine.log-20170102.gz
Description: application/gzip


pgpDnmezxyDWd.pgp
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Disks Locked

2017-01-08 Thread Yaniv Dary
Please provide logs for the SPM and engine.

Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
8272306
Email: yd...@redhat.com
IRC : ydary


On Thu, Jan 5, 2017 at 9:07 PM, Robert Story  wrote:

> On Thu, 5 Jan 2017 14:35:33 + Clint wrote:
> CB> I'm having trouble with a VM showing that the disk is locked after
> CB> trying to clone that VM to a new VM. The source machine was powered off
> CB> when the clone was initiated. The source and destination disks both
> CB> show to be locked and are currently un-usable. This situation was
> CB> brought on around December 27 2016 and persists.
>
> I have the exact same issue, except I'm running 4.0.5.
>
>
> Robert
>
> --
> Senior Software Engineer @ Parsons
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Disks Locked

2017-01-05 Thread Robert Story
On Thu, 5 Jan 2017 14:35:33 + Clint wrote:
CB> I'm having trouble with a VM showing that the disk is locked after
CB> trying to clone that VM to a new VM. The source machine was powered off
CB> when the clone was initiated. The source and destination disks both
CB> show to be locked and are currently un-usable. This situation was
CB> brought on around December 27 2016 and persists.

I have the exact same issue, except I'm running 4.0.5.


Robert

-- 
Senior Software Engineer @ Parsons


pgpC5cfj5BGP0.pgp
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Disks Locked

2017-01-05 Thread Clint Boggio
Well Brett that's not totally out of the question however I'd prefer not to. 
I've seen other threads whereby there was a database command to locate the 
problem, and then a command to take that information and solve the problem.

This system is very much in production and I'd like to avoid poking it with a 
stick lol.

Clint Boggio
Cell 903.918.8461
Office 903.213.2523 ext. 210

On Jan 5, 2017, at 9:38 AM, Maton, Brett 
> wrote:

Hopefully someone else will confirm or scream don't do it, before you try this.

In the past I've managed to resolve hung tasks and the like by running 
engine-setup on the engine host

On 5 January 2017 at 14:35, Clint Boggio 
> wrote:
Good day ovirt family.

I'm having trouble with a VM showing that the disk is locked after trying to 
clone that VM to a new VM. The source machine was powered off when the clone 
was initiated. The source and destination disks both show to be locked and are 
currently un-usable. This situation was brought on around December 27 2016 and 
persists.

I have read some of the other threads  and using the information therein, have 
not been able to alleviate the condition. I have not tried to alter the 
database though, which I know is one of  the solutions to this problem. I am 
not confident enough in my diagnosis of the condition to alter the database at 
this time.

I have tried moving SPM to another node, and I have restarted ovirt-engine on 
the management server.

My setup is:


  1.  Dedicated ovirt-engine version 3.6 on CentOS 7
  2.  6 hosts running version 3.6 on CentOS 7

Any help to resolve this would be appreciated.

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Disks Locked

2017-01-05 Thread Maton, Brett
Hopefully someone else will confirm or scream don't do it, before you try
this.

In the past I've managed to resolve hung tasks and the like by running
engine-setup on the engine host

On 5 January 2017 at 14:35, Clint Boggio  wrote:

> Good day ovirt family.
>
>
>
> I’m having trouble with a VM showing that the disk is locked after trying
> to clone that VM to a new VM. The source machine was powered off when the
> clone was initiated. The source and destination disks both show to be
> locked and are currently un-usable. This situation was brought on around
> December 27 2016 and persists.
>
>
>
> I have read some of the other threads  and using the information therein,
> have not been able to alleviate the condition. I have not tried to alter
> the database though, which I know is one of  the solutions to this problem.
> I am not confident enough in my diagnosis of the condition to alter the
> database at this time.
>
>
>
> I have tried moving SPM to another node, and I have restarted ovirt-engine
> on the management server.
>
>
>
> My setup is:
>
>
>
>1. Dedicated ovirt-engine version 3.6 on CentOS 7
>2. 6 hosts running version 3.6 on CentOS 7
>
>
>
> Any help to resolve this would be appreciated.
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] VM Disks Locked

2017-01-05 Thread Clint Boggio
Good day ovirt family.

I'm having trouble with a VM showing that the disk is locked after trying to 
clone that VM to a new VM. The source machine was powered off when the clone 
was initiated. The source and destination disks both show to be locked and are 
currently un-usable. This situation was brought on around December 27 2016 and 
persists.

I have read some of the other threads  and using the information therein, have 
not been able to alleviate the condition. I have not tried to alter the 
database though, which I know is one of  the solutions to this problem. I am 
not confident enough in my diagnosis of the condition to alter the database at 
this time.

I have tried moving SPM to another node, and I have restarted ovirt-engine on 
the management server.

My setup is:


  1.  Dedicated ovirt-engine version 3.6 on CentOS 7
  2.  6 hosts running version 3.6 on CentOS 7

Any help to resolve this would be appreciated.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vm is locked

2015-11-06 Thread Budur Nagaraju
yeah.. Thanks for the help  :)

Regards,
Nagaraju


On Fri, Nov 6, 2015 at 1:21 PM, Roman Mohr  wrote:

> Hi Budur,
>
> On Fri, Nov 6, 2015 at 7:02 AM, Budur Nagaraju  wrote:
>
>> HI
>>
>> One of the host is down  with H/w issue and and the vms which are using
>> the resources like (CPU and RAM ) in the faulty node are locked .
>>
>> Is there any way to release these and deploy them in another host ? below
>> are the logs.
>>
>>
> did you try to right click on the faulty host and click "confirm host has
> been rebooted"? This might help.
> Probably you have the situation described in [1], question 19.
>
>
>
>> 2015-11-06 11:28:31,866 INFO
>> [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor)
>> Connecting to pbuovirt4.bnglab.psecure.net/10.206.68.4
>> 2015-11-06 11:28:31,867 WARN
>> [org.ovirt.vdsm.jsonrpc.client.utils.retry.Retryable] (SSL Stomp Reactor)
>> Retry failed
>> 2015-11-06 11:28:31,867 ERROR
>> [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient]
>> (DefaultQuartzScheduler_Worker-87) Exception during connection
>> 2015-11-06 11:28:31,868 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
>> (DefaultQuartzScheduler_Worker-87) Command
>> GetCapabilitiesVDSCommand(HostName = pbuovirt4, HostId =
>> 9d56d598-0c0f-49d7-ba53-8d0b41083b0f,
>> vds=Host[pbuovirt4,9d56d598-0c0f-49d7-ba53-8d0b41083b0f]) execution failed.
>> Exception: VDSNetworkException: java.net.ConnectException: Connection
>> refused
>> 2015-11-06 11:28:31,868 WARN
>> [org.ovirt.engine.core.vdsbroker.VdsManager]
>> (DefaultQuartzScheduler_Worker-87) Host pbuovirt4 is not responding. It
>> will stay in Connecting state for a grace period of 122 seconds and after
>> that an attempt to fence the host will be issued.
>> 2015-11-06 11:28:31,873 ERROR
>> [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
>> (DefaultQuartzScheduler_Worker-87) Failure to refresh Vds runtime info:
>> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
>> java.net.ConnectException: Connection refused
>>
>>
>> Regards,
>> Nagaraju
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
> [1] http://www.ovirt.org/Ovirt_faq
>
> Best Regards,
> Roman
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] vm is locked

2015-11-05 Thread Budur Nagaraju
HI

One of the host is down  with H/w issue and and the vms which are using the
resources like (CPU and RAM ) in the faulty node are locked .

Is there any way to release these and deploy them in another host ? below
are the logs.

2015-11-06 11:28:31,866 INFO
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor)
Connecting to pbuovirt4.bnglab.psecure.net/10.206.68.4
2015-11-06 11:28:31,867 WARN
[org.ovirt.vdsm.jsonrpc.client.utils.retry.Retryable] (SSL Stomp Reactor)
Retry failed
2015-11-06 11:28:31,867 ERROR
[org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient]
(DefaultQuartzScheduler_Worker-87) Exception during connection
2015-11-06 11:28:31,868 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
(DefaultQuartzScheduler_Worker-87) Command
GetCapabilitiesVDSCommand(HostName = pbuovirt4, HostId =
9d56d598-0c0f-49d7-ba53-8d0b41083b0f,
vds=Host[pbuovirt4,9d56d598-0c0f-49d7-ba53-8d0b41083b0f]) execution failed.
Exception: VDSNetworkException: java.net.ConnectException: Connection
refused
2015-11-06 11:28:31,868 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager]
(DefaultQuartzScheduler_Worker-87) Host pbuovirt4 is not responding. It
will stay in Connecting state for a grace period of 122 seconds and after
that an attempt to fence the host will be issued.
2015-11-06 11:28:31,873 ERROR
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
(DefaultQuartzScheduler_Worker-87) Failure to refresh Vds runtime info:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
java.net.ConnectException: Connection refused


Regards,
Nagaraju
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vm is locked

2015-11-05 Thread Roman Mohr
Hi Budur,

On Fri, Nov 6, 2015 at 7:02 AM, Budur Nagaraju  wrote:

> HI
>
> One of the host is down  with H/w issue and and the vms which are using
> the resources like (CPU and RAM ) in the faulty node are locked .
>
> Is there any way to release these and deploy them in another host ? below
> are the logs.
>
>
did you try to right click on the faulty host and click "confirm host has
been rebooted"? This might help.
Probably you have the situation described in [1], question 19.



> 2015-11-06 11:28:31,866 INFO
> [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor)
> Connecting to pbuovirt4.bnglab.psecure.net/10.206.68.4
> 2015-11-06 11:28:31,867 WARN
> [org.ovirt.vdsm.jsonrpc.client.utils.retry.Retryable] (SSL Stomp Reactor)
> Retry failed
> 2015-11-06 11:28:31,867 ERROR
> [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient]
> (DefaultQuartzScheduler_Worker-87) Exception during connection
> 2015-11-06 11:28:31,868 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
> (DefaultQuartzScheduler_Worker-87) Command
> GetCapabilitiesVDSCommand(HostName = pbuovirt4, HostId =
> 9d56d598-0c0f-49d7-ba53-8d0b41083b0f,
> vds=Host[pbuovirt4,9d56d598-0c0f-49d7-ba53-8d0b41083b0f]) execution failed.
> Exception: VDSNetworkException: java.net.ConnectException: Connection
> refused
> 2015-11-06 11:28:31,868 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager]
> (DefaultQuartzScheduler_Worker-87) Host pbuovirt4 is not responding. It
> will stay in Connecting state for a grace period of 122 seconds and after
> that an attempt to fence the host will be issued.
> 2015-11-06 11:28:31,873 ERROR
> [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
> (DefaultQuartzScheduler_Worker-87) Failure to refresh Vds runtime info:
> org.ovirt.engine.core.vdsbroker.vdsbroker.VDSNetworkException:
> java.net.ConnectException: Connection refused
>
>
> Regards,
> Nagaraju
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
[1] http://www.ovirt.org/Ovirt_faq

Best Regards,
Roman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM image locked after failed migration

2015-04-28 Thread Jannick DelOro
Hello Simone,

  after failed migrations I have several VMs where disk is in state locked. 
  I'm
  therefore unable to move the disk to another storage. The VMs are still
  running. What can I do to unlock the images? I haven't found a satisfying
  solution while searching list archive and web. The migration tasks have
  failed hours before because of a broken storage device.
 
 With this utility
 /usr/share/ovirt-engine/dbscripts/unlock_entity.sh
 you could forcefully unlock your entities.
 Before unlocking, please check that no jobs are still running over them.

Thanks for the hint. Nice script and does what it promises.

Kind regards

Jannick
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM image locked after failed migration

2015-04-28 Thread Simone Tiraboschi


- Original Message -
 From: Jannick DelOro jdel...@web.de
 To: users@ovirt.org
 Sent: Tuesday, April 28, 2015 12:23:18 PM
 Subject: [ovirt-users] VM image locked after failed migration
 
 Hello,
 
 after failed migrations I have several VMs where disk is in state locked. I'm
 therefore unable to move the disk to another storage. The VMs are still
 running. What can I do to unlock the images? I haven't found a satisfying
 solution while searching list archive and web. The migration tasks have
 failed hours before because of a broken storage device.

With this utility
/usr/share/ovirt-engine/dbscripts/unlock_entity.sh
you could forcefully unlock your entities.
Before unlocking, please check that no jobs are still running over them.


 Kind regards
 
 Jannick
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users