Re: [ovirt-users] Disk's locked of VM

2014-07-10 Thread Andy Michielsen
Hello Vered,

Okay. That I understand. That was also what we where using but somehow
while activating the stateless state of that vm the disks got locked and
stayed that way even after a reboot. I suspect they activated the stateless
state and restarted that vm to soon.

Kind regards.
On Jul 10, 2014 10:42 AM, "Vered Volansky"  wrote:

> Hello Andy,
>
> Thanks for your reply.
> I think I understand what's going on there.
> I think your running the VM in stateless mode, which means that what
> happened is exactly what should have happened.
> When you run a VM in stateless mode, What's actually happening is that a
> snapshot is being taken and the VM runs on this snapshot. When the VM is
> rebooted the snapshot is deleted (with everything installed on it) and the
> VM goes back to the previous state (with the previous Active Image). This
> is the point of the Run stateless feature.
> If you want the installations to persist, just run the VM, not statelessly.
>
> Is it possible that this is what happened?
> lease let me know if you need any further assistance.
>
> Best Regards,
> Vered
>
>
>
> - Original Message -
> > From: "Andy Michielsen" 
> > To: "Vered Volansky" 
> > Cc: users@ovirt.org
> > Sent: Thursday, July 10, 2014 8:57:48 AM
> > Subject: Re: [ovirt-users] Disk's locked of VM
> >
> > Hello Vered,
> >
> > Sorry for the late reply. You did more than try. With your help I
> resolved my
> > problem.
> >
> > I was busy doing my job. This is only a side thing according to my boss
> but
> > he doesn't know how much time we will safe if we have a decent and easy
> to
> > use test enviroment to see why something happen in the real world at our
> > customers.
> >
> > But anyways ...
> >
> > I have the following setup. One server with the engine on and this one
> also
> > delivers the storage via nfs.
> > On another server I have only the VDSM setup.
> >
> > When I say I'm trying to put the disk in stateless mode (off a VM
> machine) I'
> > mean that I'm trying to install new software on a VM but when I reboot
> > everything is back the way it was before the changed situation of the new
> > software.
> >
> > Kind regards.
> >
> >
> > 2014-07-06 8:27 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> >
> >
> > Hi Andy,
> >
> > Happy to (try to) help :)
> >
> > What do you mean by putting the disks in stateless mode?
> > By server do you mean the storage server, I presume?
> > If so, I can see how this might have caused corruption. Still Would like
> to
> > be sure what you mean to better understand the issue.
> > Unfortunately, vdsm log was not helpful due to the gap, but the engine
> log
> > might help out if I knew what operation I was looking for.
> > BTW, Was the vdsm log on the SPM machine? If not, and you do still have
> it
> > (or a rotation of it), I'd like to take a look and see if we have a bug
> > hiding there.
> >
> > Thanks,
> > Vered
> >
> > - Original Message -
> > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > To: "Vered Volansky" < ve...@redhat.com >
> > > Cc: users@ovirt.org
> > > Sent: Thursday, July 3, 2014 6:03:42 PM
> > > Subject: Re: [ovirt-users] Disk's locked of VM
> > >
> > > Hello Vered,
> > >
> > > We where trying to put the disks i stateless mode and the user was
> > > impatient
> > > and also started the server.
> > > I have changed the lock status now but the machine was broken. I 'm
> already
> > > creating a new VM as these are test machines and I don't care about the
> > > data
> > > in these VM's.
> > >
> > > Thank you very much for your assistance so far. I 'm curious still what
> > > happened though so if you have questions I will give additional info if
> > > needed.
> > >
> > > Kind regards.
> > >
> > >
> > > 2014-07-03 14:57 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> > >
> > >
> > > Sorry, got sent in the middle.
> > >
> > > Andy,
> > >
> > > What operation did you try to attempt that caused the disks to lock?
> > >
> > > You do have a working engine, right?
> > > Your'e supposed to be able to see the Disks' GUIDs under the Disks
> main tab
> > > (Id column).
> > >

Re: [ovirt-users] Disk's locked of VM

2014-07-10 Thread Vered Volansky
Hello Andy,

Thanks for your reply.
I think I understand what's going on there.
I think your running the VM in stateless mode, which means that what happened 
is exactly what should have happened.
When you run a VM in stateless mode, What's actually happening is that a 
snapshot is being taken and the VM runs on this snapshot. When the VM is 
rebooted the snapshot is deleted (with everything installed on it) and the VM 
goes back to the previous state (with the previous Active Image). This is the 
point of the Run stateless feature.
If you want the installations to persist, just run the VM, not statelessly.

Is it possible that this is what happened?
lease let me know if you need any further assistance.

Best Regards,
Vered



- Original Message -
> From: "Andy Michielsen" 
> To: "Vered Volansky" 
> Cc: users@ovirt.org
> Sent: Thursday, July 10, 2014 8:57:48 AM
> Subject: Re: [ovirt-users] Disk's locked of VM
> 
> Hello Vered,
> 
> Sorry for the late reply. You did more than try. With your help I resolved my
> problem.
> 
> I was busy doing my job. This is only a side thing according to my boss but
> he doesn't know how much time we will safe if we have a decent and easy to
> use test enviroment to see why something happen in the real world at our
> customers.
> 
> But anyways ...
> 
> I have the following setup. One server with the engine on and this one also
> delivers the storage via nfs.
> On another server I have only the VDSM setup.
> 
> When I say I'm trying to put the disk in stateless mode (off a VM machine) I'
> mean that I'm trying to install new software on a VM but when I reboot
> everything is back the way it was before the changed situation of the new
> software.
> 
> Kind regards.
> 
> 
> 2014-07-06 8:27 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> 
> 
> Hi Andy,
> 
> Happy to (try to) help :)
> 
> What do you mean by putting the disks in stateless mode?
> By server do you mean the storage server, I presume?
> If so, I can see how this might have caused corruption. Still Would like to
> be sure what you mean to better understand the issue.
> Unfortunately, vdsm log was not helpful due to the gap, but the engine log
> might help out if I knew what operation I was looking for.
> BTW, Was the vdsm log on the SPM machine? If not, and you do still have it
> (or a rotation of it), I'd like to take a look and see if we have a bug
> hiding there.
> 
> Thanks,
> Vered
> 
> - Original Message -----
> > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > To: "Vered Volansky" < ve...@redhat.com >
> > Cc: users@ovirt.org
> > Sent: Thursday, July 3, 2014 6:03:42 PM
> > Subject: Re: [ovirt-users] Disk's locked of VM
> > 
> > Hello Vered,
> > 
> > We where trying to put the disks i stateless mode and the user was
> > impatient
> > and also started the server.
> > I have changed the lock status now but the machine was broken. I 'm already
> > creating a new VM as these are test machines and I don't care about the
> > data
> > in these VM's.
> > 
> > Thank you very much for your assistance so far. I 'm curious still what
> > happened though so if you have questions I will give additional info if
> > needed.
> > 
> > Kind regards.
> > 
> > 
> > 2014-07-03 14:57 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> > 
> > 
> > Sorry, got sent in the middle.
> > 
> > Andy,
> > 
> > What operation did you try to attempt that caused the disks to lock?
> > 
> > You do have a working engine, right?
> > Your'e supposed to be able to see the Disks' GUIDs under the Disks main tab
> > (Id column).
> > 
> > The images GUIDs are available in the DB (images table) and through
> > vdsClient
> > getVolumesList   [imgUUID]
> > imgUUID should be the disk's GUID in the engine.
> > You should be able to get that data from vdsClient as well:
> > getImagesList 
> > relevant sql query:
> > select image_guid, imagestatus from images;
> > 
> > *image status 2 is locked...
> > 
> > The spUUID:
> > Either the datacenter GUID in the engine, or -
> > vdsClient -s 0 getConnectedStoragePoolsList, or in the db:
> > select * from storage_pool;
> > 
> > The StorageDomain's can be retrieved either by DB (bellow) or vdsClient:
> > getStorageDomainsList  (from above).
> > sql query:
> > select storage_name, id from storage_domains where
> > storage_pool_id='';
> > 
> > -

Re: [ovirt-users] Disk's locked of VM

2014-07-09 Thread Andy Michielsen
Hello Vered,

Sorry for the late reply. You did more than try. With your help I resolved
my problem.

I was busy doing my job. This is only a side thing according to my boss but
he doesn't know how much time we will safe if we have a decent and easy to
use test enviroment to see why something happen in the real world at our
customers.

But anyways ...

I have the following setup. One server with the engine on and this one also
delivers the storage via nfs.
On another server I have only the VDSM setup.

When I say I'm trying to put the disk in stateless mode (off a VM machine)
I' mean that I'm trying to install new software on a VM but when I reboot
everything is back the way it was before the changed situation of the new
software.

Kind regards.


2014-07-06 8:27 GMT+02:00 Vered Volansky :

> Hi Andy,
>
> Happy to (try to) help :)
>
> What do you mean by putting the disks in stateless mode?
> By server do you mean the storage server, I presume?
> If so, I can see how this might have caused corruption. Still Would like
> to be sure what you mean to better understand the issue.
> Unfortunately, vdsm log was not helpful due to the gap, but the engine log
> might help out if I knew what operation I was looking for.
> BTW, Was the vdsm log on the SPM machine? If not, and you do still have it
> (or a rotation of it), I'd like to take a look and see if we have a bug
> hiding there.
>
> Thanks,
> Vered
>
> - Original Message -
> > From: "Andy Michielsen" 
> > To: "Vered Volansky" 
> > Cc: users@ovirt.org
> > Sent: Thursday, July 3, 2014 6:03:42 PM
> > Subject: Re: [ovirt-users] Disk's locked of VM
> >
> > Hello Vered,
> >
> > We where trying to put the disks i stateless mode and the user was
> impatient
> > and also started the server.
> > I have changed the lock status now but the machine was broken. I 'm
> already
> > creating a new VM as these are test machines and I don't care about the
> data
> > in these VM's.
> >
> > Thank you very much for your assistance so far. I 'm curious still what
> > happened though so if you have questions I will give additional info if
> > needed.
> >
> > Kind regards.
> >
> >
> > 2014-07-03 14:57 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> >
> >
> > Sorry, got sent in the middle.
> >
> > Andy,
> >
> > What operation did you try to attempt that caused the disks to lock?
> >
> > You do have a working engine, right?
> > Your'e supposed to be able to see the Disks' GUIDs under the Disks main
> tab
> > (Id column).
> >
> > The images GUIDs are available in the DB (images table) and through
> vdsClient
> > getVolumesList   [imgUUID]
> > imgUUID should be the disk's GUID in the engine.
> > You should be able to get that data from vdsClient as well:
> > getImagesList 
> > relevant sql query:
> > select image_guid, imagestatus from images;
> >
> > *image status 2 is locked...
> >
> > The spUUID:
> > Either the datacenter GUID in the engine, or -
> > vdsClient -s 0 getConnectedStoragePoolsList, or in the db:
> > select * from storage_pool;
> >
> > The StorageDomain's can be retrieved either by DB (bellow) or vdsClient:
> > getStorageDomainsList  (from above).
> > sql query:
> > select storage_name, id from storage_domains where
> > storage_pool_id='';
> >
> > - Original Message -
> > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > To: "Vered Volansky" < ve...@redhat.com >
> > > Cc: users@ovirt.org
> > > Sent: Thursday, July 3, 2014 3:09:41 PM
> > > Subject: Re: [ovirt-users] Disk's locked of VM
> > >
> > > Vered,
> > >
> > > Where can I find the images GUIDs ?
> > >
> > > Kind regards.snapshots'
> > >
> > >
> > > 2014-06-30 17:40 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> > >
> > >
> > > Or better yet, just use:
> > >
> > > >> /share/ovirt-engine/dbscripts/unlock_entity.sh
> > >
> > > I suppose you have the images GUIDs from engine.
> > >
> > > BUT -
> > > If the images never got released you might want to get to know what got
> > > them
> > > into this in the first place.
> > > You can send vdsm and engine logs from that period of time if you
> still got
> > > them, and we'll take a look.
> > >
> > > Regards,

Re: [ovirt-users] Disk's locked of VM

2014-07-05 Thread Vered Volansky
Hi Andy,

Happy to (try to) help :)

What do you mean by putting the disks in stateless mode?
By server do you mean the storage server, I presume?
If so, I can see how this might have caused corruption. Still Would like to be 
sure what you mean to better understand the issue.
Unfortunately, vdsm log was not helpful due to the gap, but the engine log 
might help out if I knew what operation I was looking for.
BTW, Was the vdsm log on the SPM machine? If not, and you do still have it (or 
a rotation of it), I'd like to take a look and see if we have a bug hiding 
there.

Thanks,
Vered

- Original Message -
> From: "Andy Michielsen" 
> To: "Vered Volansky" 
> Cc: users@ovirt.org
> Sent: Thursday, July 3, 2014 6:03:42 PM
> Subject: Re: [ovirt-users] Disk's locked of VM
> 
> Hello Vered,
> 
> We where trying to put the disks i stateless mode and the user was impatient
> and also started the server.
> I have changed the lock status now but the machine was broken. I 'm already
> creating a new VM as these are test machines and I don't care about the data
> in these VM's.
> 
> Thank you very much for your assistance so far. I 'm curious still what
> happened though so if you have questions I will give additional info if
> needed.
> 
> Kind regards.
> 
> 
> 2014-07-03 14:57 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> 
> 
> Sorry, got sent in the middle.
> 
> Andy,
> 
> What operation did you try to attempt that caused the disks to lock?
> 
> You do have a working engine, right?
> Your'e supposed to be able to see the Disks' GUIDs under the Disks main tab
> (Id column).
> 
> The images GUIDs are available in the DB (images table) and through vdsClient
> getVolumesList   [imgUUID]
> imgUUID should be the disk's GUID in the engine.
> You should be able to get that data from vdsClient as well:
> getImagesList 
> relevant sql query:
> select image_guid, imagestatus from images;
> 
> *image status 2 is locked...
> 
> The spUUID:
> Either the datacenter GUID in the engine, or -
> vdsClient -s 0 getConnectedStoragePoolsList, or in the db:
> select * from storage_pool;
> 
> The StorageDomain's can be retrieved either by DB (bellow) or vdsClient:
> getStorageDomainsList  (from above).
> sql query:
> select storage_name, id from storage_domains where
> storage_pool_id='';
> 
> - Original Message -
> > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > To: "Vered Volansky" < ve...@redhat.com >
> > Cc: users@ovirt.org
> > Sent: Thursday, July 3, 2014 3:09:41 PM
> > Subject: Re: [ovirt-users] Disk's locked of VM
> > 
> > Vered,
> > 
> > Where can I find the images GUIDs ?
> > 
> > Kind regards.snapshots'
> > 
> > 
> > 2014-06-30 17:40 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> > 
> > 
> > Or better yet, just use:
> > 
> > >> /share/ovirt-engine/dbscripts/unlock_entity.sh
> > 
> > I suppose you have the images GUIDs from engine.
> > 
> > BUT -
> > If the images never got released you might want to get to know what got
> > them
> > into this in the first place.
> > You can send vdsm and engine logs from that period of time if you still got
> > them, and we'll take a look.
> > 
> > Regards,
> > Vered
> > 
> > - Original Message -----
> > > From: "Vered Volansky" < ve...@redhat.com >
> > > To: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > Cc: users@ovirt.org
> > > Sent: Monday, June 30, 2014 6:03:15 PM
> > > Subject: Re: [ovirt-users] Disk's locked of VM
> > > 
> > > 
> > > 
> > > - Original Message -
> > > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > > To: "Vered Volansky" < ve...@redhat.com >
> > > > Cc: users@ovirt.org
> > > > Sent: Monday, June 30, 2014 4:57:05 PM
> > > > Subject: Re: [ovirt-users] Disk's locked of VM
> > > > 
> > > > 
> > > > 
> > > > Hello,
> > > > 
> > > > How can I connect to my postgress database ?
> > > Try this:
> > > psql -d engine -U engine .
> > > 
> > > This is assuming you're using password authentication.
> > > If you aren't please send me your pg_hba.conf settings and we'll go
> > > forward
> > > from there:
> > > 
> > > Fedora,RHEL /var/lib/pgsql

Re: [ovirt-users] Disk's locked of VM

2014-07-03 Thread Andy Michielsen
Hello Vered,

We where trying to put the disks i stateless mode and the user was
impatient and also started the server.
I have changed the lock status now but the machine was broken. I 'm already
creating a new VM as these are test machines and I don't care about the
data in these VM's.

Thank you very much for your assistance so far. I 'm curious still what
happened though so if you have questions I will give additional info if
needed.

Kind regards.


2014-07-03 14:57 GMT+02:00 Vered Volansky :

> Sorry, got sent in the middle.
>
> Andy,
>
> What operation did you try to attempt that caused the disks to lock?
>
> You do have a working engine, right?
> Your'e supposed to be able to see the Disks' GUIDs under the Disks main
> tab (Id column).
>
> The images GUIDs are available in the DB (images table) and through
> vdsClient getVolumesList   [imgUUID]
> imgUUID should be the disk's GUID in the engine.
> You should be able to get that data from vdsClient as well:
> getImagesList 
> relevant sql query:
> select image_guid, imagestatus from images;
>
> *image status 2 is locked...
>
> The spUUID:
> Either the datacenter GUID in the engine, or -
> vdsClient -s 0 getConnectedStoragePoolsList, or in the db:
> select * from storage_pool;
>
> The StorageDomain's can be retrieved either by DB (bellow) or vdsClient:
> getStorageDomainsList   (from above).
> sql query:
> select storage_name, id from storage_domains where
> storage_pool_id='';
>
> - Original Message -
> > From: "Andy Michielsen" 
> > To: "Vered Volansky" 
> > Cc: users@ovirt.org
> > Sent: Thursday, July 3, 2014 3:09:41 PM
> > Subject: Re: [ovirt-users] Disk's locked of VM
> >
> > Vered,
> >
> > Where can I find the images GUIDs ?
> >
> > Kind regards.snapshots'
> >
> >
> > 2014-06-30 17:40 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> >
> >
> > Or better yet, just use:
> >
> > >> /share/ovirt-engine/dbscripts/unlock_entity.sh
> >
> > I suppose you have the images GUIDs from engine.
> >
> > BUT -
> > If the images never got released you might want to get to know what got
> them
> > into this in the first place.
> > You can send vdsm and engine logs from that period of time if you still
> got
> > them, and we'll take a look.
> >
> > Regards,
> > Vered
> >
> > - Original Message -
> > > From: "Vered Volansky" < ve...@redhat.com >
> > > To: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > Cc: users@ovirt.org
> > > Sent: Monday, June 30, 2014 6:03:15 PM
> > > Subject: Re: [ovirt-users] Disk's locked of VM
> > >
> > >
> > >
> > > - Original Message -
> > > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > > To: "Vered Volansky" < ve...@redhat.com >
> > > > Cc: users@ovirt.org
> > > > Sent: Monday, June 30, 2014 4:57:05 PM
> > > > Subject: Re: [ovirt-users] Disk's locked of VM
> > > >
> > > >
> > > >
> > > > Hello,
> > > >
> > > > How can I connect to my postgress database ?
> > > Try this:
> > > psql -d engine -U engine .
> > >
> > > This is assuming you're using password authentication.
> > > If you aren't please send me your pg_hba.conf settings and we'll go
> forward
> > > from there:
> > >
> > > Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf
> > > Debian /etc/postgresql/*/main/pg_hba.conf
> > > Gentoo /etc/postgresql-*/pg_hba.conf
> > >
> > > >
> > > > Kind regards.
> > > > On Jun 30, 2014 10:10 AM, "Vered Volansky" < ve...@redhat.com >
> wrote:
> > > >
> > > >
> > > > Hi Andy,
> > > >
> > > > In the DB, try
> > > > update images set imagestatus = 1 where imagestatus = 2;
> > > > commit;
> > > >
> > > > Let me know if this helps.
> > > >
> > > > Regards,
> > > > Vered
> > > >
> > > > - Original Message -
> > > > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > > > To: users@ovirt.org
> > > > > Sent: Friday, June 27, 2014 11:08:47 AM
> > > > > Subject: 

Re: [ovirt-users] Disk's locked of VM

2014-07-03 Thread Vered Volansky
Sorry, got sent in the middle.

Andy,

What operation did you try to attempt that caused the disks to lock?

You do have a working engine, right?
Your'e supposed to be able to see the Disks' GUIDs under the Disks main tab (Id 
column).

The images GUIDs are available in the DB (images table) and through vdsClient 
getVolumesList   [imgUUID]
imgUUID should be the disk's GUID in the engine.
You should be able to get that data from vdsClient as well:
getImagesList 
relevant sql query:
select image_guid, imagestatus from images;

*image status 2 is locked...

The spUUID:
Either the datacenter GUID in the engine, or -
vdsClient -s 0 getConnectedStoragePoolsList, or in the db:
select * from storage_pool;

The StorageDomain's can be retrieved either by DB (bellow) or vdsClient:
getStorageDomainsList   (from above).
sql query:
select storage_name, id from storage_domains where storage_pool_id='';
 
- Original Message -
> From: "Andy Michielsen" 
> To: "Vered Volansky" 
> Cc: users@ovirt.org
> Sent: Thursday, July 3, 2014 3:09:41 PM
> Subject: Re: [ovirt-users] Disk's locked of VM
> 
> Vered,
> 
> Where can I find the images GUIDs ?
> 
> Kind regards.snapshots' 
> 
> 
> 2014-06-30 17:40 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> 
> 
> Or better yet, just use:
> 
> >> /share/ovirt-engine/dbscripts/unlock_entity.sh
> 
> I suppose you have the images GUIDs from engine.
> 
> BUT -
> If the images never got released you might want to get to know what got them
> into this in the first place.
> You can send vdsm and engine logs from that period of time if you still got
> them, and we'll take a look.
> 
> Regards,
> Vered
> 
> - Original Message -
> > From: "Vered Volansky" < ve...@redhat.com >
> > To: "Andy Michielsen" < andy.michiel...@gmail.com >
> > Cc: users@ovirt.org
> > Sent: Monday, June 30, 2014 6:03:15 PM
> > Subject: Re: [ovirt-users] Disk's locked of VM
> > 
> > 
> > 
> > - Original Message -
> > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > To: "Vered Volansky" < ve...@redhat.com >
> > > Cc: users@ovirt.org
> > > Sent: Monday, June 30, 2014 4:57:05 PM
> > > Subject: Re: [ovirt-users] Disk's locked of VM
> > > 
> > > 
> > > 
> > > Hello,
> > > 
> > > How can I connect to my postgress database ?
> > Try this:
> > psql -d engine -U engine .
> > 
> > This is assuming you're using password authentication.
> > If you aren't please send me your pg_hba.conf settings and we'll go forward
> > from there:
> > 
> > Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf
> > Debian /etc/postgresql/*/main/pg_hba.conf
> > Gentoo /etc/postgresql-*/pg_hba.conf
> > 
> > > 
> > > Kind regards.
> > > On Jun 30, 2014 10:10 AM, "Vered Volansky" < ve...@redhat.com > wrote:
> > > 
> > > 
> > > Hi Andy,
> > > 
> > > In the DB, try
> > > update images set imagestatus = 1 where imagestatus = 2;
> > > commit;
> > > 
> > > Let me know if this helps.
> > > 
> > > Regards,
> > > Vered
> > > 
> > > - Original Message -
> > > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > > To: users@ovirt.org
> > > > Sent: Friday, June 27, 2014 11:08:47 AM
> > > > Subject: [ovirt-users] Disk's locked of VM
> > > > 
> > > > Hello all,
> > > > 
> > > > Does anyone know how I can check if a VM's disk are indeed locked or
> > > > not.
> > > > The
> > > > engine tell's me they are locked but this is now already 16 day's and
> > > > counting.
> > > > 
> > > > I already restarted every server involved but to no avail.
> > > > 
> > > > I can not remove, change or start the VM as long as the disks are
> > > > locked.
> > > > Can
> > > > I give a command to check the status of this machine in the CLI
> > > > enviroment
> > > > or after connecting to the database and checking a table (Realy don't
> > > > know
> > > > how to do this).
> > > > 
> > > > Kind regards.
> > > > 
> > > > ___
> > > > 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
> > > 
> > ___
> > 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
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Disk's locked of VM

2014-07-03 Thread Sven Kieske
you should be able to retrieve them from the webadmin gui
or via rest, just select the images, it should display the guids?

HTH

Am 03.07.2014 14:09, schrieb Andy Michielsen:
> Vered,
> 
> Where can I find the images GUIDs ?
> 
> Kind regards.

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Disk's locked of VM

2014-07-03 Thread Andy Michielsen
Vered,

Where can I find the images GUIDs ?

Kind regards.


2014-06-30 17:40 GMT+02:00 Vered Volansky :

> Or better yet, just use:
>
> >> /share/ovirt-engine/dbscripts/unlock_entity.sh
>
> I suppose you have the images GUIDs from engine.
>
> BUT -
> If the images never got released you might want to get to know what got
> them into this in the first place.
> You can send vdsm and engine logs from that period of time if you still
> got them, and we'll take a look.
>
> Regards,
> Vered
>
> - Original Message -
> > From: "Vered Volansky" 
> > To: "Andy Michielsen" 
> > Cc: users@ovirt.org
> > Sent: Monday, June 30, 2014 6:03:15 PM
> > Subject: Re: [ovirt-users] Disk's locked of VM
> >
> >
> >
> > - Original Message -
> > > From: "Andy Michielsen" 
> > > To: "Vered Volansky" 
> > > Cc: users@ovirt.org
> > > Sent: Monday, June 30, 2014 4:57:05 PM
> > > Subject: Re: [ovirt-users] Disk's locked of VM
> > >
> > >
> > >
> > > Hello,
> > >
> > > How can I connect to my postgress database ?
> > Try this:
> > psql -d engine -U engine .
> >
> > This is assuming you're using password authentication.
> > If you aren't please send me your pg_hba.conf settings and we'll go
> forward
> > from there:
> >
> > Fedora,RHEL   /var/lib/pgsql/data/pg_hba.conf
> > Debian/etc/postgresql/*/main/pg_hba.conf
> > Gentoo/etc/postgresql-*/pg_hba.conf
> >
> > >
> > > Kind regards.
> > > On Jun 30, 2014 10:10 AM, "Vered Volansky" < ve...@redhat.com > wrote:
> > >
> > >
> > > Hi Andy,
> > >
> > > In the DB, try
> > > update images set imagestatus = 1 where imagestatus = 2;
> > > commit;
> > >
> > > Let me know if this helps.
> > >
> > > Regards,
> > > Vered
> > >
> > > - Original Message -
> > > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > > To: users@ovirt.org
> > > > Sent: Friday, June 27, 2014 11:08:47 AM
> > > > Subject: [ovirt-users] Disk's locked of VM
> > > >
> > > > Hello all,
> > > >
> > > > Does anyone know how I can check if a VM's disk are indeed locked or
> not.
> > > > The
> > > > engine tell's me they are locked but this is now already 16 day's and
> > > > counting.
> > > >
> > > > I already restarted every server involved but to no avail.
> > > >
> > > > I can not remove, change or start the VM as long as the disks are
> locked.
> > > > Can
> > > > I give a command to check the status of this machine in the CLI
> > > > enviroment
> > > > or after connecting to the database and checking a table (Realy don't
> > > > know
> > > > how to do this).
> > > >
> > > > Kind regards.
> > > >
> > > > ___
> > > > 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
> > >
> > ___
> > 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] Disk's locked of VM

2014-07-03 Thread Vered Volansky


- Original Message -
> From: "Andy Michielsen" 
> To: "Vered Volansky" 
> Cc: users@ovirt.org
> Sent: Thursday, July 3, 2014 2:54:44 PM
> Subject: Re: [ovirt-users] Disk's locked of VM
> 
> Hello Vered,
> 
> I didnt change anything after installing the engine on a clean CentOS 6.5
> minimal install.
> 
> I see logs of the format vdsm.log.1.xz up to vdsm.log.100.xz which is as old
> as the 15th of june and some older logs with an other naming convention like
> vdsm.log-20140522.xz.
Yes, these are the rotated logs. If you'll be able to find the log(s) from that 
date it might give us some more insight.
> 
> Kind regards.
> 
> 
> 2014-07-03 13:43 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> 
> 
> 
> 
> 
> - Original Message -
> > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > To: "Vered Volansky" < ve...@redhat.com >
> > Cc: users@ovirt.org
> > Sent: Thursday, July 3, 2014 2:31:06 PM
> > Subject: Re: [ovirt-users] Disk's locked of VM
> > 
> > Hello Vered,
> > 
> > Unfortunately do the log files for vdsm go back that far.
> Don't they rotate?
> The engine.log
> > does.
> > 
> > It happend on the 10the of june.
> > 
> > Kind regards.
> > 
> > 
> > 2014-06-30 17:40 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> > 
> > 
> > Or better yet, just use:
> > 
> > >> /share/ovirt-engine/dbscripts/unlock_entity.sh
> > 
> > I suppose you have the images GUIDs from engine.
> > 
> > BUT -
> > If the images never got released you might want to get to know what got
> > them
> > into this in the first place.
> > You can send vdsm and engine logs from that period of time if you still got
> > them, and we'll take a look.
> > 
> > Regards,
> > Vered
> > 
> > - Original Message -
> > > From: "Vered Volansky" < ve...@redhat.com >
> > > To: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > Cc: users@ovirt.org
> > > Sent: Monday, June 30, 2014 6:03:15 PM
> > > Subject: Re: [ovirt-users] Disk's locked of VM
> > > 
> > > 
> > > 
> > > - Original Message -
> > > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > > To: "Vered Volansky" < ve...@redhat.com >
> > > > Cc: users@ovirt.org
> > > > Sent: Monday, June 30, 2014 4:57:05 PM
> > > > Subject: Re: [ovirt-users] Disk's locked of VM
> > > > 
> > > > 
> > > > 
> > > > Hello,
> > > > 
> > > > How can I connect to my postgress database ?
> > > Try this:
> > > psql -d engine -U engine .
> > > 
> > > This is assuming you're using password authentication.
> > > If you aren't please send me your pg_hba.conf settings and we'll go
> > > forward
> > > from there:
> > > 
> > > Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf
> > > Debian /etc/postgresql/*/main/pg_hba.conf
> > > Gentoo /etc/postgresql-*/pg_hba.conf
> > > 
> > > > 
> > > > Kind regards.
> > > > On Jun 30, 2014 10:10 AM, "Vered Volansky" < ve...@redhat.com > wrote:
> > > > 
> > > > 
> > > > Hi Andy,
> > > > 
> > > > In the DB, try
> > > > update images set imagestatus = 1 where imagestatus = 2;
> > > > commit;
> > > > 
> > > > Let me know if this helps.
> > > > 
> > > > Regards,
> > > > Vered
> > > > 
> > > > - Original Message -
> > > > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > > > To: users@ovirt.org
> > > > > Sent: Friday, June 27, 2014 11:08:47 AM
> > > > > Subject: [ovirt-users] Disk's locked of VM
> > > > > 
> > > > > Hello all,
> > > > > 
> > > > > Does anyone know how I can check if a VM's disk are indeed locked or
> > > > > not.
> > > > > The
> > > > > engine tell's me they are locked but this is now already 16 day's and
> > > > > counting.
> > > > > 
> > > > > I already restarted every server involved but to no avail.
> > > > > 
> > > > > I can not remove, change or start the VM as long as the disks are
> > > > > locked.
> > > > > Can
> > > > > I give a command to check the status of this machine in the CLI
> > > > > enviroment
> > > > > or after connecting to the database and checking a table (Realy don't
> > > > > know
> > > > > how to do this).
> > > > > 
> > > > > Kind regards.
> > > > > 
> > > > > ___
> > > > > 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
> > > > 
> > > ___
> > > 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
> > 
> 
> 
> ___
> 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] Disk's locked of VM

2014-07-03 Thread Andy Michielsen
Hello Vered,

I didnt change anything after installing the engine on a clean CentOS 6.5
minimal install.

I see logs of the format vdsm.log.1.xz up to vdsm.log.100.xz which is as
old as the 15th of june and some older logs with an other naming convention
like vdsm.log-20140522.xz.

Kind regards.


2014-07-03 13:43 GMT+02:00 Vered Volansky :

>
>
> - Original Message -
> > From: "Andy Michielsen" 
> > To: "Vered Volansky" 
> > Cc: users@ovirt.org
> > Sent: Thursday, July 3, 2014 2:31:06 PM
> > Subject: Re: [ovirt-users] Disk's locked of VM
> >
> > Hello Vered,
> >
> > Unfortunately do the log files for vdsm go back that far.
> Don't they rotate?
>  The engine.log
> > does.
> >
> > It happend on the 10the of june.
> >
> > Kind regards.
> >
> >
> > 2014-06-30 17:40 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> >
> >
> > Or better yet, just use:
> >
> > >> /share/ovirt-engine/dbscripts/unlock_entity.sh
> >
> > I suppose you have the images GUIDs from engine.
> >
> > BUT -
> > If the images never got released you might want to get to know what got
> them
> > into this in the first place.
> > You can send vdsm and engine logs from that period of time if you still
> got
> > them, and we'll take a look.
> >
> > Regards,
> > Vered
> >
> > - Original Message -
> > > From: "Vered Volansky" < ve...@redhat.com >
> > > To: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > Cc: users@ovirt.org
> > > Sent: Monday, June 30, 2014 6:03:15 PM
> > > Subject: Re: [ovirt-users] Disk's locked of VM
> > >
> > >
> > >
> > > - Original Message -
> > > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > > To: "Vered Volansky" < ve...@redhat.com >
> > > > Cc: users@ovirt.org
> > > > Sent: Monday, June 30, 2014 4:57:05 PM
> > > > Subject: Re: [ovirt-users] Disk's locked of VM
> > > >
> > > >
> > > >
> > > > Hello,
> > > >
> > > > How can I connect to my postgress database ?
> > > Try this:
> > > psql -d engine -U engine .
> > >
> > > This is assuming you're using password authentication.
> > > If you aren't please send me your pg_hba.conf settings and we'll go
> forward
> > > from there:
> > >
> > > Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf
> > > Debian /etc/postgresql/*/main/pg_hba.conf
> > > Gentoo /etc/postgresql-*/pg_hba.conf
> > >
> > > >
> > > > Kind regards.
> > > > On Jun 30, 2014 10:10 AM, "Vered Volansky" < ve...@redhat.com >
> wrote:
> > > >
> > > >
> > > > Hi Andy,
> > > >
> > > > In the DB, try
> > > > update images set imagestatus = 1 where imagestatus = 2;
> > > > commit;
> > > >
> > > > Let me know if this helps.
> > > >
> > > > Regards,
> > > > Vered
> > > >
> > > > - Original Message -
> > > > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > > > To: users@ovirt.org
> > > > > Sent: Friday, June 27, 2014 11:08:47 AM
> > > > > Subject: [ovirt-users] Disk's locked of VM
> > > > >
> > > > > Hello all,
> > > > >
> > > > > Does anyone know how I can check if a VM's disk are indeed locked
> or
> > > > > not.
> > > > > The
> > > > > engine tell's me they are locked but this is now already 16 day's
> and
> > > > > counting.
> > > > >
> > > > > I already restarted every server involved but to no avail.
> > > > >
> > > > > I can not remove, change or start the VM as long as the disks are
> > > > > locked.
> > > > > Can
> > > > > I give a command to check the status of this machine in the CLI
> > > > > enviroment
> > > > > or after connecting to the database and checking a table (Realy
> don't
> > > > > know
> > > > > how to do this).
> > > > >
> > > > > Kind regards.
> > > > >
> > > > > ___
> > > > > 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
> > > >
> > > ___
> > > 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
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Disk's locked of VM

2014-07-03 Thread Vered Volansky


- Original Message -
> From: "Andy Michielsen" 
> To: "Vered Volansky" 
> Cc: users@ovirt.org
> Sent: Thursday, July 3, 2014 2:31:06 PM
> Subject: Re: [ovirt-users] Disk's locked of VM
> 
> Hello Vered,
> 
> Unfortunately do the log files for vdsm go back that far.
Don't they rotate?
 The engine.log
> does.
> 
> It happend on the 10the of june.
> 
> Kind regards.
> 
> 
> 2014-06-30 17:40 GMT+02:00 Vered Volansky < ve...@redhat.com > :
> 
> 
> Or better yet, just use:
> 
> >> /share/ovirt-engine/dbscripts/unlock_entity.sh
> 
> I suppose you have the images GUIDs from engine.
> 
> BUT -
> If the images never got released you might want to get to know what got them
> into this in the first place.
> You can send vdsm and engine logs from that period of time if you still got
> them, and we'll take a look.
> 
> Regards,
> Vered
> 
> - Original Message -
> > From: "Vered Volansky" < ve...@redhat.com >
> > To: "Andy Michielsen" < andy.michiel...@gmail.com >
> > Cc: users@ovirt.org
> > Sent: Monday, June 30, 2014 6:03:15 PM
> > Subject: Re: [ovirt-users] Disk's locked of VM
> > 
> > 
> > 
> > - Original Message -
> > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > To: "Vered Volansky" < ve...@redhat.com >
> > > Cc: users@ovirt.org
> > > Sent: Monday, June 30, 2014 4:57:05 PM
> > > Subject: Re: [ovirt-users] Disk's locked of VM
> > > 
> > > 
> > > 
> > > Hello,
> > > 
> > > How can I connect to my postgress database ?
> > Try this:
> > psql -d engine -U engine .
> > 
> > This is assuming you're using password authentication.
> > If you aren't please send me your pg_hba.conf settings and we'll go forward
> > from there:
> > 
> > Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf
> > Debian /etc/postgresql/*/main/pg_hba.conf
> > Gentoo /etc/postgresql-*/pg_hba.conf
> > 
> > > 
> > > Kind regards.
> > > On Jun 30, 2014 10:10 AM, "Vered Volansky" < ve...@redhat.com > wrote:
> > > 
> > > 
> > > Hi Andy,
> > > 
> > > In the DB, try
> > > update images set imagestatus = 1 where imagestatus = 2;
> > > commit;
> > > 
> > > Let me know if this helps.
> > > 
> > > Regards,
> > > Vered
> > > 
> > > - Original Message -
> > > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > > To: users@ovirt.org
> > > > Sent: Friday, June 27, 2014 11:08:47 AM
> > > > Subject: [ovirt-users] Disk's locked of VM
> > > > 
> > > > Hello all,
> > > > 
> > > > Does anyone know how I can check if a VM's disk are indeed locked or
> > > > not.
> > > > The
> > > > engine tell's me they are locked but this is now already 16 day's and
> > > > counting.
> > > > 
> > > > I already restarted every server involved but to no avail.
> > > > 
> > > > I can not remove, change or start the VM as long as the disks are
> > > > locked.
> > > > Can
> > > > I give a command to check the status of this machine in the CLI
> > > > enviroment
> > > > or after connecting to the database and checking a table (Realy don't
> > > > know
> > > > how to do this).
> > > > 
> > > > Kind regards.
> > > > 
> > > > ___
> > > > 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
> > > 
> > ___
> > 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
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Disk's locked of VM

2014-06-30 Thread Vered Volansky
Or better yet, just use:

>> /share/ovirt-engine/dbscripts/unlock_entity.sh

I suppose you have the images GUIDs from engine.

BUT -
If the images never got released you might want to get to know what got them 
into this in the first place.
You can send vdsm and engine logs from that period of time if you still got 
them, and we'll take a look.

Regards,
Vered

- Original Message -
> From: "Vered Volansky" 
> To: "Andy Michielsen" 
> Cc: users@ovirt.org
> Sent: Monday, June 30, 2014 6:03:15 PM
> Subject: Re: [ovirt-users] Disk's locked of VM
> 
> 
> 
> - Original Message -
> > From: "Andy Michielsen" 
> > To: "Vered Volansky" 
> > Cc: users@ovirt.org
> > Sent: Monday, June 30, 2014 4:57:05 PM
> > Subject: Re: [ovirt-users] Disk's locked of VM
> > 
> > 
> > 
> > Hello,
> > 
> > How can I connect to my postgress database ?
> Try this:
> psql -d engine -U engine .
> 
> This is assuming you're using password authentication.
> If you aren't please send me your pg_hba.conf settings and we'll go forward
> from there:
> 
> Fedora,RHEL   /var/lib/pgsql/data/pg_hba.conf
> Debian/etc/postgresql/*/main/pg_hba.conf
> Gentoo/etc/postgresql-*/pg_hba.conf
> 
> > 
> > Kind regards.
> > On Jun 30, 2014 10:10 AM, "Vered Volansky" < ve...@redhat.com > wrote:
> > 
> > 
> > Hi Andy,
> > 
> > In the DB, try
> > update images set imagestatus = 1 where imagestatus = 2;
> > commit;
> > 
> > Let me know if this helps.
> > 
> > Regards,
> > Vered
> > 
> > - Original Message -
> > > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > > To: users@ovirt.org
> > > Sent: Friday, June 27, 2014 11:08:47 AM
> > > Subject: [ovirt-users] Disk's locked of VM
> > > 
> > > Hello all,
> > > 
> > > Does anyone know how I can check if a VM's disk are indeed locked or not.
> > > The
> > > engine tell's me they are locked but this is now already 16 day's and
> > > counting.
> > > 
> > > I already restarted every server involved but to no avail.
> > > 
> > > I can not remove, change or start the VM as long as the disks are locked.
> > > Can
> > > I give a command to check the status of this machine in the CLI
> > > enviroment
> > > or after connecting to the database and checking a table (Realy don't
> > > know
> > > how to do this).
> > > 
> > > Kind regards.
> > > 
> > > ___
> > > 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
> > 
> ___
> 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] Disk's locked of VM

2014-06-30 Thread Vered Volansky


- Original Message -
> From: "Andy Michielsen" 
> To: "Vered Volansky" 
> Cc: users@ovirt.org
> Sent: Monday, June 30, 2014 4:57:05 PM
> Subject: Re: [ovirt-users] Disk's locked of VM
> 
> 
> 
> Hello,
> 
> How can I connect to my postgress database ?
Try this:
psql -d engine -U engine .

This is assuming you're using password authentication.
If you aren't please send me your pg_hba.conf settings and we'll go forward 
from there:

Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf
Debian  /etc/postgresql/*/main/pg_hba.conf
Gentoo  /etc/postgresql-*/pg_hba.conf 

> 
> Kind regards.
> On Jun 30, 2014 10:10 AM, "Vered Volansky" < ve...@redhat.com > wrote:
> 
> 
> Hi Andy,
> 
> In the DB, try
> update images set imagestatus = 1 where imagestatus = 2;
> commit;
> 
> Let me know if this helps.
> 
> Regards,
> Vered
> 
> - Original Message -
> > From: "Andy Michielsen" < andy.michiel...@gmail.com >
> > To: users@ovirt.org
> > Sent: Friday, June 27, 2014 11:08:47 AM
> > Subject: [ovirt-users] Disk's locked of VM
> > 
> > Hello all,
> > 
> > Does anyone know how I can check if a VM's disk are indeed locked or not.
> > The
> > engine tell's me they are locked but this is now already 16 day's and
> > counting.
> > 
> > I already restarted every server involved but to no avail.
> > 
> > I can not remove, change or start the VM as long as the disks are locked.
> > Can
> > I give a command to check the status of this machine in the CLI enviroment
> > or after connecting to the database and checking a table (Realy don't know
> > how to do this).
> > 
> > Kind regards.
> > 
> > ___
> > 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
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Disk's locked of VM

2014-06-30 Thread Andy Michielsen
Hello,

How can I connect to my postgress database ?

Kind regards.
On Jun 30, 2014 10:10 AM, "Vered Volansky"  wrote:

> Hi Andy,
>
> In the DB, try
> update images set imagestatus = 1 where imagestatus = 2;
> commit;
>
> Let me know if this helps.
>
> Regards,
> Vered
>
> - Original Message -
> > From: "Andy Michielsen" 
> > To: users@ovirt.org
> > Sent: Friday, June 27, 2014 11:08:47 AM
> > Subject: [ovirt-users] Disk's locked of VM
> >
> > Hello all,
> >
> > Does anyone know how I can check if a VM's disk are indeed locked or
> not. The
> > engine tell's me they are locked but this is now already 16 day's and
> > counting.
> >
> > I already restarted every server involved but to no avail.
> >
> > I can not remove, change or start the VM as long as the disks are
> locked. Can
> > I give a command to check the status of this machine in the CLI
> enviroment
> > or after connecting to the database and checking a table (Realy don't
> know
> > how to do this).
> >
> > Kind regards.
> >
> > ___
> > 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] Disk's locked of VM

2014-06-30 Thread Vered Volansky
Hi Andy,

In the DB, try
update images set imagestatus = 1 where imagestatus = 2;
commit;

Let me know if this helps.

Regards,
Vered

- Original Message -
> From: "Andy Michielsen" 
> To: users@ovirt.org
> Sent: Friday, June 27, 2014 11:08:47 AM
> Subject: [ovirt-users] Disk's locked of VM
> 
> Hello all,
> 
> Does anyone know how I can check if a VM's disk are indeed locked or not. The
> engine tell's me they are locked but this is now already 16 day's and
> counting.
> 
> I already restarted every server involved but to no avail.
> 
> I can not remove, change or start the VM as long as the disks are locked. Can
> I give a command to check the status of this machine in the CLI enviroment
> or after connecting to the database and checking a table (Realy don't know
> how to do this).
> 
> Kind regards.
> 
> ___
> 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] Disk's locked of VM

2014-06-27 Thread Andy Michielsen
Hello all,

Does anyone know how I can check if a VM's disk are indeed locked or not.
The engine tell's me they are locked but this is now already 16 day's and
counting.

I already restarted every server involved but to no avail.

I can not remove, change or start the VM as long as the disks are locked.
Can I give a command to check the status of this machine in the CLI
enviroment or after connecting to the database and checking a table (Realy
don't know how to do this).

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