Re: [ovirt-users] "Deactivating Storage Domain" error

2016-12-26 Thread Liron Aravot
Hi Juan, see the reply inline

On Sun, Dec 25, 2016 at 8:47 PM, Juan Pablo <pablo.localh...@gmail.com> wrote:
> Hi Liron, Marry christmas!
>
> 1- [root@virt01-int ~]# vdsClient -s 0 getStorageDomainInfo
> e6a85203-32e0-4200-b3d7-83f140203294
> uuid = e6a85203-32e0-4200-b3d7-83f140203294
> vguuid = fDclFZ-KLel-t36P-VAFm-hyle-RxcU-uOc7gj
> state = OK
> version = 3
> role = Master
> type = ISCSI
> class = Data
> pool = ['58405b2d-0094-0380-0260-00a5']
> name = nas01
> 2- which file do you want me to share ?

I've meant to the status of the domain as appears in the web ui.

>
> how do I perform task a and b you mention? is there a guide somewhere ?
You need to login to the engine database, IIRC the default is "engine".
Please make sure to backup you db before you perform manual operation
(those operations are safe, but just in case).

a. psql -U engine -d engine
b. select job_id, description from job where description like '%Deactivating%';
c. delete from job where job_id='JOB_ID_FROM_PREVIOUS_QUERY';

Let me know how it went,
Liron

>
> I appreciate your help,
> best regards,
> JP
>
> 2016-12-25 11:10 GMT-03:00 Liron Aravot <lara...@redhat.com>:
>>
>> On Fri, Dec 23, 2016 at 2:32 PM, Juan Pablo <pablo.localh...@gmail.com>
>> wrote:
>> > So, what do you guys suggest? isn't there a hint or a way to fix this
>> > issue?
>> >
>> > thanks for your help,
>> > JP
>> >
>>
>> Hi Juan,
>> Having a "running" task under the tasks tab doesn't mean there's a
>> task running on vdsm - there are engine "tasks" and vdsm tasks.
>>
>> 1. what is the current status of the domain listed in the task?
>> 2. do you see any print related to the operation in the engine log
>> file currently? (you can upload it so we'll be able to help you with
>> verifying that).
>>
>> After you verify the operation is indeed not running
>> You can delete that specific job from the jobs table:
>> a. select job_id from job where description like '%...%';
>> b. delete from job where..
>>
>> Let me know if that worked for you,
>> Liron.
>>
>>
>>
>> > 2016-12-20 13:35 GMT-03:00 Juan Pablo <pablo.localh...@gmail.com>:
>> >>
>> >> Andrea, thanks for your reply, I already tried that , but
>> >> unfortunately, a
>> >> restart of the engine VM did not solve the error.
>> >>
>> >> best regards,
>> >> JP
>> >>
>> >> 2016-12-20 13:32 GMT-03:00 Andrea Ghelardi <a.ghela...@iontrading.com>:
>> >>>
>> >>> I remember facing a similar issue during decommissioning of my Ovirt 3
>> >>> environment.
>> >>>
>> >>> Several tasks showed on GUI (and storage operations unavailable) but
>> >>> no
>> >>> tasks on command line.
>> >>>
>> >>> Eventually restarting the engine VM cleaned up the situation and made
>> >>> the
>> >>> storage avail again.
>> >>>
>> >>>
>> >>>
>> >>> Cheers
>> >>>
>> >>> AG
>> >>>
>> >>>
>> >>>
>> >>> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On
>> >>> Behalf
>> >>> Of Elad Ben Aharon
>> >>> Sent: Tuesday, December 20, 2016 5:24 PM
>> >>> To: Juan Pablo <pablo.localh...@gmail.com>
>> >>> Cc: users <Users@ovirt.org>
>> >>> Subject: Re: [ovirt-users] "Deactivating Storage Domain" error
>> >>>
>> >>>
>> >>>
>> >>> Do you have a storage domain in the DC in status 'locked'?
>> >>>
>> >>>
>> >>>
>> >>> On Tue, Dec 20, 2016 at 6:09 PM, Juan Pablo
>> >>> <pablo.localh...@gmail.com>
>> >>> wrote:
>> >>>
>> >>> Elad, I did that and running the commands on the SPM  returned :
>> >>>
>> >>> [root@virt01-int ~]# vdsClient -s 0 getAllTasks
>> >>>
>> >>> [root@virt01-int ~]# vdsClient -s 0 getSpmStatus `vdsClient -s 0
>> >>> getConnectedStoragePoolsList`
>> >>> spmId = 1
>> >>> spmStatus = SPM
>> >>> spmLver = 8
>> >>>
>> >>> [root@virt01-int ~]# vdsClient -s 0 getAllTasks
>> >>>
>> >>>

Re: [ovirt-users] "Deactivating Storage Domain" error

2016-12-25 Thread Juan Pablo
Hi Liron, Marry christmas!

1- [root@virt01-int ~]# vdsClient -s 0 getStorageDomainInfo
e6a85203-32e0-4200-b3d7-83f140203294
uuid = e6a85203-32e0-4200-b3d7-83f140203294
vguuid = fDclFZ-KLel-t36P-VAFm-hyle-RxcU-uOc7gj
state = OK
version = 3
role = Master
type = ISCSI
class = Data
pool = ['58405b2d-0094-0380-0260-00a5']
name = nas01
2- which file do you want me to share ?

how do I perform task a and b you mention? is there a guide somewhere ?

I appreciate your help,
best regards,
JP

2016-12-25 11:10 GMT-03:00 Liron Aravot <lara...@redhat.com>:

> On Fri, Dec 23, 2016 at 2:32 PM, Juan Pablo <pablo.localh...@gmail.com>
> wrote:
> > So, what do you guys suggest? isn't there a hint or a way to fix this
> issue?
> >
> > thanks for your help,
> > JP
> >
>
> Hi Juan,
> Having a "running" task under the tasks tab doesn't mean there's a
> task running on vdsm - there are engine "tasks" and vdsm tasks.
>
> 1. what is the current status of the domain listed in the task?
> 2. do you see any print related to the operation in the engine log
> file currently? (you can upload it so we'll be able to help you with
> verifying that).
>
> After you verify the operation is indeed not running
> You can delete that specific job from the jobs table:
> a. select job_id from job where description like '%...%';
> b. delete from job where..
>
> Let me know if that worked for you,
> Liron.
>
>
>
> > 2016-12-20 13:35 GMT-03:00 Juan Pablo <pablo.localh...@gmail.com>:
> >>
> >> Andrea, thanks for your reply, I already tried that , but
> unfortunately, a
> >> restart of the engine VM did not solve the error.
> >>
> >> best regards,
> >> JP
> >>
> >> 2016-12-20 13:32 GMT-03:00 Andrea Ghelardi <a.ghela...@iontrading.com>:
> >>>
> >>> I remember facing a similar issue during decommissioning of my Ovirt 3
> >>> environment.
> >>>
> >>> Several tasks showed on GUI (and storage operations unavailable) but no
> >>> tasks on command line.
> >>>
> >>> Eventually restarting the engine VM cleaned up the situation and made
> the
> >>> storage avail again.
> >>>
> >>>
> >>>
> >>> Cheers
> >>>
> >>> AG
> >>>
> >>>
> >>>
> >>> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On
> Behalf
> >>> Of Elad Ben Aharon
> >>> Sent: Tuesday, December 20, 2016 5:24 PM
> >>> To: Juan Pablo <pablo.localh...@gmail.com>
> >>> Cc: users <Users@ovirt.org>
> >>> Subject: Re: [ovirt-users] "Deactivating Storage Domain" error
> >>>
> >>>
> >>>
> >>> Do you have a storage domain in the DC in status 'locked'?
> >>>
> >>>
> >>>
> >>> On Tue, Dec 20, 2016 at 6:09 PM, Juan Pablo <pablo.localh...@gmail.com
> >
> >>> wrote:
> >>>
> >>> Elad, I did that and running the commands on the SPM  returned :
> >>>
> >>> [root@virt01-int ~]# vdsClient -s 0 getAllTasks
> >>>
> >>> [root@virt01-int ~]# vdsClient -s 0 getSpmStatus `vdsClient -s 0
> >>> getConnectedStoragePoolsList`
> >>> spmId = 1
> >>> spmStatus = SPM
> >>> spmLver = 8
> >>>
> >>> [root@virt01-int ~]# vdsClient -s 0 getAllTasks
> >>>
> >>> [root@virt01-int ~]#
> >>>
> >>> thanks for your time,
> >>>
> >>> JP
> >>>
> >>>
> >>>
> >>> 2016-12-20 12:55 GMT-03:00 Elad Ben Aharon <ebena...@redhat.com>:
> >>>
> >>> It's OK, but you need to make sure you're checking it on the host which
> >>> has the SPM role. So, first check on the host that it is the current
> SPM
> >>> with the following:
> >>>
> >>> vdsClient -s 0 getSpmStatus `vdsClient -s 0
> getConnectedStoragePoolsList`
> >>>
> >>> Look for the host that has " spmStatus = SPM"
> >>>
> >>> And after you find the SPM, check for the running tasks as you did
> >>> before.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> On Tue, Dec 20, 2016 at 5:37 PM, Juan Pablo <pablo.localh...@gmail.com
> >
> >>> wrote:
> >>>
> >>> Hi,
> >>>
> >

Re: [ovirt-users] "Deactivating Storage Domain" error

2016-12-25 Thread Liron Aravot
On Fri, Dec 23, 2016 at 2:32 PM, Juan Pablo <pablo.localh...@gmail.com> wrote:
> So, what do you guys suggest? isn't there a hint or a way to fix this issue?
>
> thanks for your help,
> JP
>

Hi Juan,
Having a "running" task under the tasks tab doesn't mean there's a
task running on vdsm - there are engine "tasks" and vdsm tasks.

1. what is the current status of the domain listed in the task?
2. do you see any print related to the operation in the engine log
file currently? (you can upload it so we'll be able to help you with
verifying that).

After you verify the operation is indeed not running
You can delete that specific job from the jobs table:
a. select job_id from job where description like '%...%';
b. delete from job where..

Let me know if that worked for you,
Liron.



> 2016-12-20 13:35 GMT-03:00 Juan Pablo <pablo.localh...@gmail.com>:
>>
>> Andrea, thanks for your reply, I already tried that , but unfortunately, a
>> restart of the engine VM did not solve the error.
>>
>> best regards,
>> JP
>>
>> 2016-12-20 13:32 GMT-03:00 Andrea Ghelardi <a.ghela...@iontrading.com>:
>>>
>>> I remember facing a similar issue during decommissioning of my Ovirt 3
>>> environment.
>>>
>>> Several tasks showed on GUI (and storage operations unavailable) but no
>>> tasks on command line.
>>>
>>> Eventually restarting the engine VM cleaned up the situation and made the
>>> storage avail again.
>>>
>>>
>>>
>>> Cheers
>>>
>>> AG
>>>
>>>
>>>
>>> From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf
>>> Of Elad Ben Aharon
>>> Sent: Tuesday, December 20, 2016 5:24 PM
>>> To: Juan Pablo <pablo.localh...@gmail.com>
>>> Cc: users <Users@ovirt.org>
>>> Subject: Re: [ovirt-users] "Deactivating Storage Domain" error
>>>
>>>
>>>
>>> Do you have a storage domain in the DC in status 'locked'?
>>>
>>>
>>>
>>> On Tue, Dec 20, 2016 at 6:09 PM, Juan Pablo <pablo.localh...@gmail.com>
>>> wrote:
>>>
>>> Elad, I did that and running the commands on the SPM  returned :
>>>
>>> [root@virt01-int ~]# vdsClient -s 0 getAllTasks
>>>
>>> [root@virt01-int ~]# vdsClient -s 0 getSpmStatus `vdsClient -s 0
>>> getConnectedStoragePoolsList`
>>> spmId = 1
>>> spmStatus = SPM
>>> spmLver = 8
>>>
>>> [root@virt01-int ~]# vdsClient -s 0 getAllTasks
>>>
>>> [root@virt01-int ~]#
>>>
>>> thanks for your time,
>>>
>>> JP
>>>
>>>
>>>
>>> 2016-12-20 12:55 GMT-03:00 Elad Ben Aharon <ebena...@redhat.com>:
>>>
>>> It's OK, but you need to make sure you're checking it on the host which
>>> has the SPM role. So, first check on the host that it is the current SPM
>>> with the following:
>>>
>>> vdsClient -s 0 getSpmStatus `vdsClient -s 0 getConnectedStoragePoolsList`
>>>
>>> Look for the host that has " spmStatus = SPM"
>>>
>>> And after you find the SPM, check for the running tasks as you did
>>> before.
>>>
>>>
>>>
>>>
>>>
>>> On Tue, Dec 20, 2016 at 5:37 PM, Juan Pablo <pablo.localh...@gmail.com>
>>> wrote:
>>>
>>> Hi,
>>>
>>>  thanks for your reply, I did check with vdsClient -s 0 getAllTasks ,
>>> returned nothing. is this still the correct way to check?
>>>
>>> regards,
>>>
>>> JP
>>>
>>>
>>>
>>>
>>>
>>> 2016-12-20 12:32 GMT-03:00 Elad Ben Aharon <ebena...@redhat.com>:
>>>
>>> Hi,
>>>
>>>
>>>
>>> Did you check for running tasks in the SPM host?
>>>
>>>
>>>
>>> On Tue, Dec 20, 2016 at 5:04 PM, Juan Pablo <pablo.localh...@gmail.com>
>>> wrote:
>>>
>>> Hi,
>>>
>>> first of all , thanks to all the Ovirt/Rhev team for the outstanding
>>> work!
>>>
>>>
>>> we are having a small issue with Ovirt 4.0.5 after testing a full end of
>>> year infrastructure shutdown, everything came back correctly except that we
>>> get a 'Deactivating Storage Domain' under the tasks tab.
>>>
>>> another dc/cluster running 3.6.7 reported no error with same maintenance
>>> procedure.. maybe we did something wrong?
>>>
>>> would you please be so kind to point me on the right direction to fix it?
>>> I looked
>>>
>>> vdsClient -s 0 getAllTasks , but returns nothing...
>>>
>>> thanks for your time guys and merry christmas and happy new year if we
>>> dont talk again soon!
>>>
>>> JP
>>>
>>>
>>>
>>> ___
>>> 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] "Deactivating Storage Domain" error

2016-12-23 Thread Juan Pablo
So, what do you guys suggest? isn't there a hint or a way to fix this issue?

thanks for your help,
JP

2016-12-20 13:35 GMT-03:00 Juan Pablo <pablo.localh...@gmail.com>:

> Andrea, thanks for your reply, I already tried that , but unfortunately, a
> restart of the engine VM did not solve the error.
>
> best regards,
> JP
>
> 2016-12-20 13:32 GMT-03:00 Andrea Ghelardi <a.ghela...@iontrading.com>:
>
>> I remember facing a similar issue during decommissioning of my Ovirt 3
>> environment.
>>
>> Several tasks showed on GUI (and storage operations unavailable) but no
>> tasks on command line.
>>
>> Eventually restarting the engine VM cleaned up the situation and made the
>> storage avail again.
>>
>>
>>
>> Cheers
>>
>> AG
>>
>>
>>
>> *From:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On
>> Behalf Of *Elad Ben Aharon
>> *Sent:* Tuesday, December 20, 2016 5:24 PM
>> *To:* Juan Pablo <pablo.localh...@gmail.com>
>> *Cc:* users <Users@ovirt.org>
>> *Subject:* Re: [ovirt-users] "Deactivating Storage Domain" error
>>
>>
>>
>> Do you have a storage domain in the DC in status 'locked'?
>>
>>
>>
>> On Tue, Dec 20, 2016 at 6:09 PM, Juan Pablo <pablo.localh...@gmail.com>
>> wrote:
>>
>> Elad, I did that and running the commands on the SPM  returned :
>>
>> [root@virt01-int ~]# vdsClient -s 0 getAllTasks
>>
>> [root@virt01-int ~]# vdsClient -s 0 getSpmStatus `vdsClient -s 0
>> getConnectedStoragePoolsList`
>> spmId = 1
>> spmStatus = SPM
>> spmLver = 8
>>
>> [root@virt01-int ~]# vdsClient -s 0 getAllTasks
>>
>> [root@virt01-int ~]#
>>
>> thanks for your time,
>>
>> JP
>>
>>
>>
>> 2016-12-20 12:55 GMT-03:00 Elad Ben Aharon <ebena...@redhat.com>:
>>
>> It's OK, but you need to make sure you're checking it on the host which
>> has the SPM role. So, first check on the host that it is the current SPM
>> with the following:
>>
>> vdsClient -s 0 getSpmStatus `vdsClient -s 0 getConnectedStoragePoolsList`
>>
>> Look for the host that has " spmStatus = SPM"
>>
>> And after you find the SPM, check for the running tasks as you did before.
>>
>>
>>
>>
>>
>> On Tue, Dec 20, 2016 at 5:37 PM, Juan Pablo <pablo.localh...@gmail.com>
>> wrote:
>>
>> Hi,
>>
>>  thanks for your reply, I did check with vdsClient -s 0 getAllTasks ,
>> returned nothing. is this still the correct way to check?
>>
>> regards,
>>
>> JP
>>
>>
>>
>>
>>
>> 2016-12-20 12:32 GMT-03:00 Elad Ben Aharon <ebena...@redhat.com>:
>>
>> Hi,
>>
>>
>>
>> Did you check for running tasks in the SPM host?
>>
>>
>>
>> On Tue, Dec 20, 2016 at 5:04 PM, Juan Pablo <pablo.localh...@gmail.com>
>> wrote:
>>
>> Hi,
>>
>> first of all , thanks to all the Ovirt/Rhev team for the outstanding
>> work!
>>
>>
>> we are having a small issue with Ovirt 4.0.5 after testing a full end of
>> year infrastructure shutdown, everything came back correctly except that we
>> get a 'Deactivating Storage Domain' under the tasks tab.
>>
>> another dc/cluster running 3.6.7 reported no error with same maintenance
>> procedure.. maybe we did something wrong?
>>
>> would you please be so kind to point me on the right direction to fix it?
>> I looked
>>
>> vdsClient -s 0 getAllTasks , but returns nothing...
>>
>> thanks for your time guys and merry christmas and happy new year if we
>> dont talk again soon!
>>
>> JP
>>
>>
>>
>> ___
>> 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] "Deactivating Storage Domain" error

2016-12-20 Thread Andrea Ghelardi
I remember facing a similar issue during decommissioning of my Ovirt 3 
environment.
Several tasks showed on GUI (and storage operations unavailable) but no tasks 
on command line.
Eventually restarting the engine VM cleaned up the situation and made the 
storage avail again.

Cheers
AG

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Elad Ben Aharon
Sent: Tuesday, December 20, 2016 5:24 PM
To: Juan Pablo <pablo.localh...@gmail.com>
Cc: users <Users@ovirt.org>
Subject: Re: [ovirt-users] "Deactivating Storage Domain" error

Do you have a storage domain in the DC in status 'locked'?

On Tue, Dec 20, 2016 at 6:09 PM, Juan Pablo 
<pablo.localh...@gmail.com<mailto:pablo.localh...@gmail.com>> wrote:
Elad, I did that and running the commands on the SPM  returned :

[root@virt01-int ~]# vdsClient -s 0 getAllTasks

[root@virt01-int ~]# vdsClient -s 0 getSpmStatus `vdsClient -s 0 
getConnectedStoragePoolsList`
spmId = 1
spmStatus = SPM
spmLver = 8

[root@virt01-int ~]# vdsClient -s 0 getAllTasks

[root@virt01-int ~]#

thanks for your time,
JP

2016-12-20 12:55 GMT-03:00 Elad Ben Aharon 
<ebena...@redhat.com<mailto:ebena...@redhat.com>>:
It's OK, but you need to make sure you're checking it on the host which has the 
SPM role. So, first check on the host that it is the current SPM with the 
following:

vdsClient -s 0 getSpmStatus `vdsClient -s 0 getConnectedStoragePoolsList`
Look for the host that has " spmStatus = SPM"
And after you find the SPM, check for the running tasks as you did before.


On Tue, Dec 20, 2016 at 5:37 PM, Juan Pablo 
<pablo.localh...@gmail.com<mailto:pablo.localh...@gmail.com>> wrote:
Hi,
 thanks for your reply, I did check with vdsClient -s 0 getAllTasks , returned 
nothing. is this still the correct way to check?
regards,
JP


2016-12-20 12:32 GMT-03:00 Elad Ben Aharon 
<ebena...@redhat.com<mailto:ebena...@redhat.com>>:
Hi,

Did you check for running tasks in the SPM host?


On Tue, Dec 20, 2016 at 5:04 PM, Juan Pablo 
<pablo.localh...@gmail.com<mailto:pablo.localh...@gmail.com>> wrote:
Hi,
first of all , thanks to all the Ovirt/Rhev team for the outstanding work!

we are having a small issue with Ovirt 4.0.5 after testing a full end of year 
infrastructure shutdown, everything came back correctly except that we get a 
'Deactivating Storage Domain' under the tasks tab.
another dc/cluster running 3.6.7 reported no error with same maintenance 
procedure.. maybe we did something wrong?
would you please be so kind to point me on the right direction to fix it? I 
looked

vdsClient -s 0 getAllTasks , but returns nothing...
thanks for your time guys and merry christmas and happy new year if we dont 
talk again soon!
JP

___
Users mailing list
Users@ovirt.org<mailto: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] "Deactivating Storage Domain" error

2016-12-20 Thread Juan Pablo
Andrea, thanks for your reply, I already tried that , but unfortunately, a
restart of the engine VM did not solve the error.

best regards,
JP

2016-12-20 13:32 GMT-03:00 Andrea Ghelardi <a.ghela...@iontrading.com>:

> I remember facing a similar issue during decommissioning of my Ovirt 3
> environment.
>
> Several tasks showed on GUI (and storage operations unavailable) but no
> tasks on command line.
>
> Eventually restarting the engine VM cleaned up the situation and made the
> storage avail again.
>
>
>
> Cheers
>
> AG
>
>
>
> *From:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On
> Behalf Of *Elad Ben Aharon
> *Sent:* Tuesday, December 20, 2016 5:24 PM
> *To:* Juan Pablo <pablo.localh...@gmail.com>
> *Cc:* users <Users@ovirt.org>
> *Subject:* Re: [ovirt-users] "Deactivating Storage Domain" error
>
>
>
> Do you have a storage domain in the DC in status 'locked'?
>
>
>
> On Tue, Dec 20, 2016 at 6:09 PM, Juan Pablo <pablo.localh...@gmail.com>
> wrote:
>
> Elad, I did that and running the commands on the SPM  returned :
>
> [root@virt01-int ~]# vdsClient -s 0 getAllTasks
>
> [root@virt01-int ~]# vdsClient -s 0 getSpmStatus `vdsClient -s 0
> getConnectedStoragePoolsList`
> spmId = 1
> spmStatus = SPM
> spmLver = 8
>
> [root@virt01-int ~]# vdsClient -s 0 getAllTasks
>
> [root@virt01-int ~]#
>
> thanks for your time,
>
> JP
>
>
>
> 2016-12-20 12:55 GMT-03:00 Elad Ben Aharon <ebena...@redhat.com>:
>
> It's OK, but you need to make sure you're checking it on the host which
> has the SPM role. So, first check on the host that it is the current SPM
> with the following:
>
> vdsClient -s 0 getSpmStatus `vdsClient -s 0 getConnectedStoragePoolsList`
>
> Look for the host that has " spmStatus = SPM"
>
> And after you find the SPM, check for the running tasks as you did before.
>
>
>
>
>
> On Tue, Dec 20, 2016 at 5:37 PM, Juan Pablo <pablo.localh...@gmail.com>
> wrote:
>
> Hi,
>
>  thanks for your reply, I did check with vdsClient -s 0 getAllTasks ,
> returned nothing. is this still the correct way to check?
>
> regards,
>
> JP
>
>
>
>
>
> 2016-12-20 12:32 GMT-03:00 Elad Ben Aharon <ebena...@redhat.com>:
>
> Hi,
>
>
>
> Did you check for running tasks in the SPM host?
>
>
>
> On Tue, Dec 20, 2016 at 5:04 PM, Juan Pablo <pablo.localh...@gmail.com>
> wrote:
>
> Hi,
>
> first of all , thanks to all the Ovirt/Rhev team for the outstanding work!
>
>
> we are having a small issue with Ovirt 4.0.5 after testing a full end of
> year infrastructure shutdown, everything came back correctly except that we
> get a 'Deactivating Storage Domain' under the tasks tab.
>
> another dc/cluster running 3.6.7 reported no error with same maintenance
> procedure.. maybe we did something wrong?
>
> would you please be so kind to point me on the right direction to fix it?
> I looked
>
> vdsClient -s 0 getAllTasks , but returns nothing...
>
> thanks for your time guys and merry christmas and happy new year if we
> dont talk again soon!
>
> JP
>
>
>
> ___
> 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] "Deactivating Storage Domain" error

2016-12-20 Thread Juan Pablo
I don't, attaching screenshot:
[image: Imágenes integradas 1]
also, output from getstoragedomaininfo

[root@virt01-int ~]# vdsClient -s 0 getStorageDomainsList
e6a85203-32e0-4200-b3d7-83f140203294
6b031086-1b42-4066-a7a0-c481ef16e15e
31910316-4978-4101-ba47-adb8362e3de1
04ceb9ff-88c5-4a91-877b-0a4f10703e3c

[root@virt01-int ~]# vdsClient -s 0 getStorageDomainStats
e6a85203-32e0-4200-b3d7-83f140203294
disktotal = 3757693730816 (3.0TB)
diskfree  = 1264330997760 (1.0TB)

[root@virt01-int ~]# vdsClient -s 0 getStorageDomainInfo
e6a85203-32e0-4200-b3d7-83f140203294
uuid = e6a85203-32e0-4200-b3d7-83f140203294
vguuid = fDclFZ-KLel-t36P-VAFm-hyle-RxcU-uOc7gj
state = OK
version = 3
role = Master
type = ISCSI
class = Data
pool = ['58405b2d-0094-0380-0260-00a5']
name = nas01

[root@virt01-int ~]# vdsClient -s 0 getStorageDomainInfo
6b031086-1b42-4066-a7a0-c481ef16e15e
uuid = 6b031086-1b42-4066-a7a0-c481ef16e15e
version = 3
role = Regular
remotePath = 10.40.255.153:/mnt/pool00nas01/HEstorage
type = NFS
class = Data
pool = ['58405b2d-0094-0380-0260-00a5']
name = hosted_storage

[root@virt01-int ~]# vdsClient -s 0 getStorageDomainInfo
31910316-4978-4101-ba47-adb8362e3de1
uuid = 31910316-4978-4101-ba47-adb8362e3de1
version = 0
role = Regular
remotePath = 10.40.255.153:/mnt/pool00nas01/isos
type = NFS
class = Iso
pool = ['58405b2d-0094-0380-0260-00a5']
name = isos

[root@virt01-int ~]# vdsClient -s 0 getStorageDomainInfo
04ceb9ff-88c5-4a91-877b-0a4f10703e3c
uuid = 04ceb9ff-88c5-4a91-877b-0a4f10703e3c
version = 0
role = Regular
remotePath = 10.40.255.250:/mnt/pool02nas00/backups
type = NFS
class = Backup
pool = ['58405b2d-0094-0380-0260-00a5']
name = backups

thanks again,
JP


2016-12-20 13:24 GMT-03:00 Elad Ben Aharon :

> Do you have a storage domain in the DC in status 'locked'?
>
> On Tue, Dec 20, 2016 at 6:09 PM, Juan Pablo 
> wrote:
>
>> Elad, I did that and running the commands on the SPM  returned :
>>
>> [root@virt01-int ~]# vdsClient -s 0 getAllTasks
>>
>> [root@virt01-int ~]# vdsClient -s 0 getSpmStatus `vdsClient -s 0
>> getConnectedStoragePoolsList`
>> spmId = 1
>> spmStatus = SPM
>> spmLver = 8
>>
>> [root@virt01-int ~]# vdsClient -s 0 getAllTasks
>>
>> [root@virt01-int ~]#
>>
>>
>> thanks for your time,
>> JP
>>
>> 2016-12-20 12:55 GMT-03:00 Elad Ben Aharon :
>>
>>> It's OK, but you need to make sure you're checking it on the host which
>>> has the SPM role. So, first check on the host that it is the current SPM
>>> with the following:
>>>
>>> vdsClient -s 0 getSpmStatus `vdsClient -s 0 getConnectedStoragePoolsList`
>>>
>>> Look for the host that has " spmStatus = SPM"
>>>
>>> And after you find the SPM, check for the running tasks as you did
>>> before.
>>>
>>>
>>> On Tue, Dec 20, 2016 at 5:37 PM, Juan Pablo 
>>> wrote:
>>>
 Hi,
  thanks for your reply, I did check with vdsClient -s 0 getAllTasks ,
 returned nothing. is this still the correct way to check?

 regards,
 JP



 2016-12-20 12:32 GMT-03:00 Elad Ben Aharon :

> Hi,
>
> Did you check for running tasks in the SPM host?
>
>
>
> On Tue, Dec 20, 2016 at 5:04 PM, Juan Pablo  > wrote:
>
>> Hi,
>> first of all , thanks to all the Ovirt/Rhev team for the outstanding
>> work!
>>
>> we are having a small issue with Ovirt 4.0.5 after testing a full end
>> of year infrastructure shutdown, everything came back correctly except 
>> that
>> we get a 'Deactivating Storage Domain' under the tasks tab.
>> another dc/cluster running 3.6.7 reported no error with same
>> maintenance procedure.. maybe we did something wrong?
>>
>> would you please be so kind to point me on the right direction to fix
>> it? I looked
>>
>> vdsClient -s 0 getAllTasks , but returns nothing...
>>
>> thanks for your time guys and merry christmas and happy new year if
>> we dont talk again soon!
>> JP
>>
>> ___
>> 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] "Deactivating Storage Domain" error

2016-12-20 Thread Elad Ben Aharon
Do you have a storage domain in the DC in status 'locked'?

On Tue, Dec 20, 2016 at 6:09 PM, Juan Pablo 
wrote:

> Elad, I did that and running the commands on the SPM  returned :
>
> [root@virt01-int ~]# vdsClient -s 0 getAllTasks
>
> [root@virt01-int ~]# vdsClient -s 0 getSpmStatus `vdsClient -s 0
> getConnectedStoragePoolsList`
> spmId = 1
> spmStatus = SPM
> spmLver = 8
>
> [root@virt01-int ~]# vdsClient -s 0 getAllTasks
>
> [root@virt01-int ~]#
>
>
> thanks for your time,
> JP
>
> 2016-12-20 12:55 GMT-03:00 Elad Ben Aharon :
>
>> It's OK, but you need to make sure you're checking it on the host which
>> has the SPM role. So, first check on the host that it is the current SPM
>> with the following:
>>
>> vdsClient -s 0 getSpmStatus `vdsClient -s 0 getConnectedStoragePoolsList`
>>
>> Look for the host that has " spmStatus = SPM"
>>
>> And after you find the SPM, check for the running tasks as you did before.
>>
>>
>> On Tue, Dec 20, 2016 at 5:37 PM, Juan Pablo 
>> wrote:
>>
>>> Hi,
>>>  thanks for your reply, I did check with vdsClient -s 0 getAllTasks ,
>>> returned nothing. is this still the correct way to check?
>>>
>>> regards,
>>> JP
>>>
>>>
>>>
>>> 2016-12-20 12:32 GMT-03:00 Elad Ben Aharon :
>>>
 Hi,

 Did you check for running tasks in the SPM host?



 On Tue, Dec 20, 2016 at 5:04 PM, Juan Pablo 
 wrote:

> Hi,
> first of all , thanks to all the Ovirt/Rhev team for the outstanding
> work!
>
> we are having a small issue with Ovirt 4.0.5 after testing a full end
> of year infrastructure shutdown, everything came back correctly except 
> that
> we get a 'Deactivating Storage Domain' under the tasks tab.
> another dc/cluster running 3.6.7 reported no error with same
> maintenance procedure.. maybe we did something wrong?
>
> would you please be so kind to point me on the right direction to fix
> it? I looked
>
> vdsClient -s 0 getAllTasks , but returns nothing...
>
> thanks for your time guys and merry christmas and happy new year if we
> dont talk again soon!
> JP
>
> ___
> 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] "Deactivating Storage Domain" error

2016-12-20 Thread Juan Pablo
Elad, I did that and running the commands on the SPM  returned :

[root@virt01-int ~]# vdsClient -s 0 getAllTasks

[root@virt01-int ~]# vdsClient -s 0 getSpmStatus `vdsClient -s 0
getConnectedStoragePoolsList`
spmId = 1
spmStatus = SPM
spmLver = 8

[root@virt01-int ~]# vdsClient -s 0 getAllTasks

[root@virt01-int ~]#


thanks for your time,
JP

2016-12-20 12:55 GMT-03:00 Elad Ben Aharon :

> It's OK, but you need to make sure you're checking it on the host which
> has the SPM role. So, first check on the host that it is the current SPM
> with the following:
>
> vdsClient -s 0 getSpmStatus `vdsClient -s 0 getConnectedStoragePoolsList`
>
> Look for the host that has " spmStatus = SPM"
>
> And after you find the SPM, check for the running tasks as you did before.
>
>
> On Tue, Dec 20, 2016 at 5:37 PM, Juan Pablo 
> wrote:
>
>> Hi,
>>  thanks for your reply, I did check with vdsClient -s 0 getAllTasks ,
>> returned nothing. is this still the correct way to check?
>>
>> regards,
>> JP
>>
>>
>>
>> 2016-12-20 12:32 GMT-03:00 Elad Ben Aharon :
>>
>>> Hi,
>>>
>>> Did you check for running tasks in the SPM host?
>>>
>>>
>>>
>>> On Tue, Dec 20, 2016 at 5:04 PM, Juan Pablo 
>>> wrote:
>>>
 Hi,
 first of all , thanks to all the Ovirt/Rhev team for the outstanding
 work!

 we are having a small issue with Ovirt 4.0.5 after testing a full end
 of year infrastructure shutdown, everything came back correctly except that
 we get a 'Deactivating Storage Domain' under the tasks tab.
 another dc/cluster running 3.6.7 reported no error with same
 maintenance procedure.. maybe we did something wrong?

 would you please be so kind to point me on the right direction to fix
 it? I looked

 vdsClient -s 0 getAllTasks , but returns nothing...

 thanks for your time guys and merry christmas and happy new year if we
 dont talk again soon!
 JP

 ___
 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] "Deactivating Storage Domain" error

2016-12-20 Thread Elad Ben Aharon
It's OK, but you need to make sure you're checking it on the host which has
the SPM role. So, first check on the host that it is the current SPM with
the following:

vdsClient -s 0 getSpmStatus `vdsClient -s 0 getConnectedStoragePoolsList`

Look for the host that has " spmStatus = SPM"

And after you find the SPM, check for the running tasks as you did before.


On Tue, Dec 20, 2016 at 5:37 PM, Juan Pablo 
wrote:

> Hi,
>  thanks for your reply, I did check with vdsClient -s 0 getAllTasks ,
> returned nothing. is this still the correct way to check?
>
> regards,
> JP
>
>
>
> 2016-12-20 12:32 GMT-03:00 Elad Ben Aharon :
>
>> Hi,
>>
>> Did you check for running tasks in the SPM host?
>>
>>
>>
>> On Tue, Dec 20, 2016 at 5:04 PM, Juan Pablo 
>> wrote:
>>
>>> Hi,
>>> first of all , thanks to all the Ovirt/Rhev team for the outstanding
>>> work!
>>>
>>> we are having a small issue with Ovirt 4.0.5 after testing a full end of
>>> year infrastructure shutdown, everything came back correctly except that we
>>> get a 'Deactivating Storage Domain' under the tasks tab.
>>> another dc/cluster running 3.6.7 reported no error with same maintenance
>>> procedure.. maybe we did something wrong?
>>>
>>> would you please be so kind to point me on the right direction to fix
>>> it? I looked
>>>
>>> vdsClient -s 0 getAllTasks , but returns nothing...
>>>
>>> thanks for your time guys and merry christmas and happy new year if we
>>> dont talk again soon!
>>> JP
>>>
>>> ___
>>> 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] "Deactivating Storage Domain" error

2016-12-20 Thread Juan Pablo
Hi,
 thanks for your reply, I did check with vdsClient -s 0 getAllTasks ,
returned nothing. is this still the correct way to check?

regards,
JP



2016-12-20 12:32 GMT-03:00 Elad Ben Aharon :

> Hi,
>
> Did you check for running tasks in the SPM host?
>
>
>
> On Tue, Dec 20, 2016 at 5:04 PM, Juan Pablo 
> wrote:
>
>> Hi,
>> first of all , thanks to all the Ovirt/Rhev team for the outstanding
>> work!
>>
>> we are having a small issue with Ovirt 4.0.5 after testing a full end of
>> year infrastructure shutdown, everything came back correctly except that we
>> get a 'Deactivating Storage Domain' under the tasks tab.
>> another dc/cluster running 3.6.7 reported no error with same maintenance
>> procedure.. maybe we did something wrong?
>>
>> would you please be so kind to point me on the right direction to fix it?
>> I looked
>>
>> vdsClient -s 0 getAllTasks , but returns nothing...
>>
>> thanks for your time guys and merry christmas and happy new year if we
>> dont talk again soon!
>> JP
>>
>> ___
>> 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] "Deactivating Storage Domain" error

2016-12-20 Thread Elad Ben Aharon
Hi,

Did you check for running tasks in the SPM host?



On Tue, Dec 20, 2016 at 5:04 PM, Juan Pablo 
wrote:

> Hi,
> first of all , thanks to all the Ovirt/Rhev team for the outstanding work!
>
> we are having a small issue with Ovirt 4.0.5 after testing a full end of
> year infrastructure shutdown, everything came back correctly except that we
> get a 'Deactivating Storage Domain' under the tasks tab.
> another dc/cluster running 3.6.7 reported no error with same maintenance
> procedure.. maybe we did something wrong?
>
> would you please be so kind to point me on the right direction to fix it?
> I looked
>
> vdsClient -s 0 getAllTasks , but returns nothing...
>
> thanks for your time guys and merry christmas and happy new year if we
> dont talk again soon!
> JP
>
> ___
> 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