Re: [ovirt-users] PM proxy

2017-01-18 Thread Slava Bendersky
Hello Everyone, 
How to troubleshoot it further ? 

Slava 


From: "volga629" <volga...@skillsearch.ca> 
To: "Martin Perina" <mper...@redhat.com> 
Cc: "users" <users@ovirt.org> 
Sent: Monday, January 16, 2017 2:17:00 PM 
Subject: Re: [ovirt-users] PM proxy 

Hello Everyone, 
All what I see on debug 

2017-01-16 18:15:16,316 DEBUG [org.ovirt.engine.core.bll.pm.FenceProxyLocator] 
(default task-64) [] Evaluating host 'ovirt00.domain.com' 
2017-01-16 18:15:16,362 DEBUG [org.ovirt.engine.core.bll.pm.FenceProxyLocator] 
(default task-64) [] Evaluating host 'ovirt00.domain.com' 
2017-01-16 18:15:16,362 ERROR [org.ovirt.engine.core.bll.pm.FenceProxyLocator] 
(default task-64) [] Can not run fence action on host 'hosted_engine_1', no 
suitable proxy host was found. 


Slava. 



From: "volga629" <volga...@skillsearch.ca> 
To: "Martin Perina" <mper...@redhat.com> 
Cc: "users" <users@ovirt.org> 
Sent: Friday, January 13, 2017 11:52:17 AM 
Subject: Re: [ovirt-users] PM proxy 

Hello Martin, 
Thank you for reply, I will post more detail soon. 

Slava. 


From: "Martin Perina" <mper...@redhat.com> 
To: "Slava Bendersky" <volga...@networklab.ca> 
Cc: "users" <users@ovirt.org> 
Sent: Friday, January 13, 2017 2:17:28 AM 
Subject: Re: [ovirt-users] PM proxy 

Hi Slava, 

do you have at least one another host in the same cluster or DC which doesn't 
have connection issues (in status Up or Maintenance)? 
If so, please turn on debug logging for power management part using following 
command: 

/usr/share/ovirt-engine-wildfly/bin/jboss-cli.sh --controller= [ 
http://127.0.0.1:8706/ | 127.0.0.1:8706 ] --connect --user=admin@internal 

and enter following inside jboss-cli command prompt: 

/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:add 
/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:write-attribute(name=level,value=DEBUG)
 
quit 

Afterwards you will see more details in engine.log why other hosts were 
rejected during fence proxy selection process. 

Btw above debug log changes are not permanent, they will be reverted on 
ovirt-engine restart or using following command: 

/usr/share/ovirt-engine-wildfly/bin/jboss-cli.sh --controller= [ 
http://127.0.0.1:8706/ | 127.0.0.1:8706 ] --connect --user=admin@internal 
'/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:remove' 


Regards 

Martin Perina 


On Thu, Jan 12, 2017 at 4:42 PM, Slava Bendersky < [ 
mailto:volga...@networklab.ca | volga...@networklab.ca ] > wrote: 



Hello Everyone, 
I need help with this error. What possible missing or miss-configured ? 

2017-01-12 05:17:31,444 ERROR [ [ http://org.ovirt.engine.core.bll.pm/ | 
org.ovirt.engine.core.bll.pm ] .FenceProxyLocator] (default task-38) [] Can not 
run fence action on host 'hosted_engine_1', no suitable proxy host was found 

I tried from shell on host and it works fine. 
Right now settings default dc, cluster from PM proxy definition. 
Slava. 

___ 
Users mailing list 
[ mailto:Users@ovirt.org | Users@ovirt.org ] 
[ http://lists.ovirt.org/mailman/listinfo/users | 
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] PM proxy

2017-01-16 Thread Slava Bendersky
Hello Everyone, 
All what I see on debug 

2017-01-16 18:15:16,316 DEBUG [org.ovirt.engine.core.bll.pm.FenceProxyLocator] 
(default task-64) [] Evaluating host 'ovirt00.domain.com' 
2017-01-16 18:15:16,362 DEBUG [org.ovirt.engine.core.bll.pm.FenceProxyLocator] 
(default task-64) [] Evaluating host 'ovirt00.domain.com' 
2017-01-16 18:15:16,362 ERROR [org.ovirt.engine.core.bll.pm.FenceProxyLocator] 
(default task-64) [] Can not run fence action on host 'hosted_engine_1', no 
suitable proxy host was found. 


Slava. 



From: "volga629" <volga...@skillsearch.ca> 
To: "Martin Perina" <mper...@redhat.com> 
Cc: "users" <users@ovirt.org> 
Sent: Friday, January 13, 2017 11:52:17 AM 
Subject: Re: [ovirt-users] PM proxy 

Hello Martin, 
Thank you for reply, I will post more detail soon. 

Slava. 


From: "Martin Perina" <mper...@redhat.com> 
To: "Slava Bendersky" <volga...@networklab.ca> 
Cc: "users" <users@ovirt.org> 
Sent: Friday, January 13, 2017 2:17:28 AM 
Subject: Re: [ovirt-users] PM proxy 

Hi Slava, 

do you have at least one another host in the same cluster or DC which doesn't 
have connection issues (in status Up or Maintenance)? 
If so, please turn on debug logging for power management part using following 
command: 

/usr/share/ovirt-engine-wildfly/bin/jboss-cli.sh --controller= [ 
http://127.0.0.1:8706/ | 127.0.0.1:8706 ] --connect --user=admin@internal 

and enter following inside jboss-cli command prompt: 

/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:add 
/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:write-attribute(name=level,value=DEBUG)
 
quit 

Afterwards you will see more details in engine.log why other hosts were 
rejected during fence proxy selection process. 

Btw above debug log changes are not permanent, they will be reverted on 
ovirt-engine restart or using following command: 

/usr/share/ovirt-engine-wildfly/bin/jboss-cli.sh --controller= [ 
http://127.0.0.1:8706/ | 127.0.0.1:8706 ] --connect --user=admin@internal 
'/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:remove' 


Regards 

Martin Perina 


On Thu, Jan 12, 2017 at 4:42 PM, Slava Bendersky < [ 
mailto:volga...@networklab.ca | volga...@networklab.ca ] > wrote: 



Hello Everyone, 
I need help with this error. What possible missing or miss-configured ? 

2017-01-12 05:17:31,444 ERROR [ [ http://org.ovirt.engine.core.bll.pm/ | 
org.ovirt.engine.core.bll.pm ] .FenceProxyLocator] (default task-38) [] Can not 
run fence action on host 'hosted_engine_1', no suitable proxy host was found 

I tried from shell on host and it works fine. 
Right now settings default dc, cluster from PM proxy definition. 
Slava. 

___ 
Users mailing list 
[ mailto:Users@ovirt.org | Users@ovirt.org ] 
[ http://lists.ovirt.org/mailman/listinfo/users | 
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] PM proxy

2017-01-15 Thread Slava Bendersky
Hello Martin, 
Thank you for reply, I will post more detail soon. 

Slava. 


From: "Martin Perina" <mper...@redhat.com> 
To: "Slava Bendersky" <volga...@networklab.ca> 
Cc: "users" <users@ovirt.org> 
Sent: Friday, January 13, 2017 2:17:28 AM 
Subject: Re: [ovirt-users] PM proxy 

Hi Slava, 

do you have at least one another host in the same cluster or DC which doesn't 
have connection issues (in status Up or Maintenance)? 
If so, please turn on debug logging for power management part using following 
command: 

/usr/share/ovirt-engine-wildfly/bin/jboss-cli.sh --controller= [ 
http://127.0.0.1:8706/ | 127.0.0.1:8706 ] --connect --user=admin@internal 

and enter following inside jboss-cli command prompt: 

/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:add 
/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:write-attribute(name=level,value=DEBUG)
 
quit 

Afterwards you will see more details in engine.log why other hosts were 
rejected during fence proxy selection process. 

Btw above debug log changes are not permanent, they will be reverted on 
ovirt-engine restart or using following command: 

/usr/share/ovirt-engine-wildfly/bin/jboss-cli.sh --controller= [ 
http://127.0.0.1:8706/ | 127.0.0.1:8706 ] --connect --user=admin@internal 
'/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:remove' 


Regards 

Martin Perina 


On Thu, Jan 12, 2017 at 4:42 PM, Slava Bendersky < [ 
mailto:volga...@networklab.ca | volga...@networklab.ca ] > wrote: 



Hello Everyone, 
I need help with this error. What possible missing or miss-configured ? 

2017-01-12 05:17:31,444 ERROR [ [ http://org.ovirt.engine.core.bll.pm/ | 
org.ovirt.engine.core.bll.pm ] .FenceProxyLocator] (default task-38) [] Can not 
run fence action on host 'hosted_engine_1', no suitable proxy host was found 

I tried from shell on host and it works fine. 
Right now settings default dc, cluster from PM proxy definition. 
Slava. 

___ 
Users mailing list 
[ mailto:Users@ovirt.org | Users@ovirt.org ] 
[ http://lists.ovirt.org/mailman/listinfo/users | 
http://lists.ovirt.org/mailman/listinfo/users ] 





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


Re: [ovirt-users] PM proxy

2017-01-14 Thread Martin Perina
On Fri, Jan 13, 2017 at 7:32 PM, Sandro Bonazzola 
wrote:

>
>
> Il 13/Gen/2017 08:17 AM, "Martin Perina"  ha scritto:
>
> Hi Slava,
>
> do you have at least one another host in the same cluster or DC which
> doesn't have connection issues (in status Up or Maintenance)?
> If so, please turn on debug logging for power management part using
> following command:
>
> /usr/share/ovirt-engine-wildfly/bin/jboss-cli.sh --controller=
> 127.0.0.1:8706 --connect --user=admin@internal
>
> and enter following inside jboss-cli command prompt:
>
> /subsystem=logging/logger=org.ovirt.engine.core.bll.pm:add
> /subsystem=logging/logger=org.ovirt.engine.core.bll.pm:write
> -attribute(name=level,value=DEBUG)
> quit
>
> Afterwards you will see more details in engine.log why other hosts were
> rejected during fence proxy selection process.
>
> Btw above debug log changes are not permanent, they will be reverted on
> ovirt-engine restart or using following command:
>
> /usr/share/ovirt-engine-wildfly/bin/jboss-cli.sh --controller=
> 127.0.0.1:8706 --connect --user=admin@internal
> '/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:remove'
>
>
> Regards
>
> Martin Perina
>
>
>
> Martin do you mind creating a wiki page related to debugging and add the
> above procedure?
>

​Sandro we already have a page for that [1], but I agree it's not an easy
to find it.

I have in my head some proposal how to make log level changes easier for
users and I'd like to propose it for 4.2 ...


[1] http://www.ovirt.org/develop/developer-guide/engine/jmx-support/
​


>
>
>
>
> On Thu, Jan 12, 2017 at 4:42 PM, Slava Bendersky 
> wrote:
>
>> Hello Everyone,
>> I need help with this error. What possible missing or miss-configured  ?
>>
>> 2017-01-12 05:17:31,444 ERROR 
>> [org.ovirt.engine.core.bll.pm.FenceProxyLocator]
>> (default task-38) [] Can not run fence action on host 'hosted_engine_1', no
>> suitable proxy host was found
>>
>> I tried from shell on host and it works fine.
>> Right now settings default dc, cluster from PM proxy definition.
>> Slava.
>>
>> ___
>> 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] PM proxy

2017-01-13 Thread Sandro Bonazzola
Il 13/Gen/2017 08:17 AM, "Martin Perina"  ha scritto:

Hi Slava,

do you have at least one another host in the same cluster or DC which
doesn't have connection issues (in status Up or Maintenance)?
If so, please turn on debug logging for power management part using
following command:

/usr/share/ovirt-engine-wildfly/bin/jboss-cli.sh --controller=
127.0.0.1:8706 --connect --user=admin@internal

and enter following inside jboss-cli command prompt:

/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:add
/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:write
-attribute(name=level,value=DEBUG)
quit

Afterwards you will see more details in engine.log why other hosts were
rejected during fence proxy selection process.

Btw above debug log changes are not permanent, they will be reverted on
ovirt-engine restart or using following command:

/usr/share/ovirt-engine-wildfly/bin/jboss-cli.sh --controller=
127.0.0.1:8706 --connect --user=admin@internal '/subsystem=logging/logger=
org.ovirt.engine.core.bll.pm:remove'


Regards

Martin Perina



Martin do you mind creating a wiki page related to debugging and add the
above procedure?




On Thu, Jan 12, 2017 at 4:42 PM, Slava Bendersky 
wrote:

> Hello Everyone,
> I need help with this error. What possible missing or miss-configured  ?
>
> 2017-01-12 05:17:31,444 ERROR [org.ovirt.engine.core.bll.pm.FenceProxyLocator]
> (default task-38) [] Can not run fence action on host 'hosted_engine_1', no
> suitable proxy host was found
>
> I tried from shell on host and it works fine.
> Right now settings default dc, cluster from PM proxy definition.
> Slava.
>
> ___
> 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] PM proxy

2017-01-12 Thread Martin Perina
Hi Slava,

do you have at least one another host in the same cluster or DC which
doesn't have connection issues (in status Up or Maintenance)?
If so, please turn on debug logging for power management part using
following command:

/usr/share/ovirt-engine-wildfly/bin/jboss-cli.sh --controller=
127.0.0.1:8706 --connect --user=admin@internal

and enter following inside jboss-cli command prompt:

/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:add
/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:
write-attribute(name=level,value=DEBUG)
quit

Afterwards you will see more details in engine.log why other hosts were
rejected during fence proxy selection process.

Btw above debug log changes are not permanent, they will be reverted on
ovirt-engine restart or using following command:

/usr/share/ovirt-engine-wildfly/bin/jboss-cli.sh --controller=
127.0.0.1:8706 --connect --user=admin@internal
'/subsystem=logging/logger=org.ovirt.engine.core.bll.pm:remove'


Regards

Martin Perina


On Thu, Jan 12, 2017 at 4:42 PM, Slava Bendersky 
wrote:

> Hello Everyone,
> I need help with this error. What possible missing or miss-configured  ?
>
> 2017-01-12 05:17:31,444 ERROR [org.ovirt.engine.core.bll.pm.FenceProxyLocator]
> (default task-38) [] Can not run fence action on host 'hosted_engine_1', no
> suitable proxy host was found
>
> I tried from shell on host and it works fine.
> Right now settings default dc, cluster from PM proxy definition.
> Slava.
>
> ___
> 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] PM proxy

2017-01-12 Thread Slava Bendersky
Hello Everyone, 
I need help with this error. What possible missing or miss-configured ? 

2017-01-12 05:17:31,444 ERROR [org.ovirt.engine.core.bll.pm.FenceProxyLocator] 
(default task-38) [] Can not run fence action on host 'hosted_engine_1', no 
suitable proxy host was found 

I tried from shell on host and it works fine. 
Right now settings default dc, cluster from PM proxy definition. 
Slava. 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users