Issues adding a custom fencing agent

Heho, i currently try to get an intelmodular server working with fencing, following: http://lists.ovirt.org/pipermail/devel/2014-February/006525.html and http://www.ovirt.org/Custom_Fencing BaseInfo: Scientific Linux 6.6 (engine/hosts) Ovirt 3.5 I added an agent with: engine-config -s CustomVdsFenceType="intelmodular" /etc/init.d/ovirt-engine restart The issue is, that the added agent always results in: 2015-02-05 19:31:08,963 ERROR [org.ovirt.engine.core.bll.FenceExecutor] (ajp--127.0.0.1-8702-1) Failed to run Power Management command on Host , no running proxy Host was found. and: Test Failed, There is no other host in the data center that can be used to test the power management settings. Picking any other agent, results in the execution of the binary on one of the cluster hosts. (which, of course fails). Replacing one of theses default-fences with a bash-script echoing $@ to a file prints nothing, additional programs (id, env) however do print sth. to the given file. Any ideas on how to continue this, to ideally get fence_intelmodular working? With best Regards, Tobias

----- Original Message -----
From: "Tobias Fiebig" <mail@wybt.net> To: users@ovirt.org Sent: Thursday, February 5, 2015 8:43:26 PM Subject: [ovirt-users] Issues adding a custom fencing agent
Heho, i currently try to get an intelmodular server working with fencing, following: http://lists.ovirt.org/pipermail/devel/2014-February/006525.html and http://www.ovirt.org/Custom_Fencing
BaseInfo: Scientific Linux 6.6 (engine/hosts) Ovirt 3.5
I added an agent with:
engine-config -s CustomVdsFenceType="intelmodular" /etc/init.d/ovirt-engine restart
The issue is, that the added agent always results in:
2015-02-05 19:31:08,963 ERROR [org.ovirt.engine.core.bll.FenceExecutor] (ajp--127.0.0.1-8702-1) Failed to run Power Management command on Host , no running proxy Host was found.
Hi How many hosts do you have in the cluster/dc ?
and: Test Failed, There is no other host in the data center that can be used to test the power management settings.
Picking any other agent, results in the execution of the binary on one of the cluster hosts. (which, of course fails). Replacing one of theses default-fences with a bash-script echoing $@ to a file prints nothing, additional programs (id, env) however do print sth. to the given file.
Any ideas on how to continue this, to ideally get fence_intelmodular working?
With best Regards, Tobias
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Heho, Currently there is four active hosts in the cluster. With the pre-existing fence-configurations (i.e. Picking apc_snmp) i can always see that it is at least executed on one of the nodes. My self-created one does not even lead so far. With best regards, Tobias
On 09 Feb 2015, at 11:28, Eli Mesika <emesika@redhat.com> wrote:
----- Original Message -----
From: "Tobias Fiebig" <mail@wybt.net> To: users@ovirt.org Sent: Thursday, February 5, 2015 8:43:26 PM Subject: [ovirt-users] Issues adding a custom fencing agent
Heho, i currently try to get an intelmodular server working with fencing, following: http://lists.ovirt.org/pipermail/devel/2014-February/006525.html and http://www.ovirt.org/Custom_Fencing
BaseInfo: Scientific Linux 6.6 (engine/hosts) Ovirt 3.5
I added an agent with:
engine-config -s CustomVdsFenceType="intelmodular" /etc/init.d/ovirt-engine restart
The issue is, that the added agent always results in:
2015-02-05 19:31:08,963 ERROR [org.ovirt.engine.core.bll.FenceExecutor] (ajp--127.0.0.1-8702-1) Failed to run Power Management command on Host , no running proxy Host was found.
Hi
How many hosts do you have in the cluster/dc ?
and: Test Failed, There is no other host in the data center that can be used to test the power management settings.
Picking any other agent, results in the execution of the binary on one of the cluster hosts. (which, of course fails). Replacing one of theses default-fences with a bash-script echoing $@ to a file prints nothing, additional programs (id, env) however do print sth. to the given file.
Any ideas on how to continue this, to ideally get fence_intelmodular working?
With best Regards, Tobias
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Heho, Currently there is four active hosts in the cluster. With the pre-existing fence-configurations (i.e. Picking apc_snmp) i can always see that it is at least executed on one of the nodes. My self-created one does not even lead so far. With best regards, Tobias
On 09 Feb 2015, at 11:28, Eli Mesika <emesika@redhat.com> wrote:
----- Original Message -----
From: "Tobias Fiebig" <mail@wybt.net> To: users@ovirt.org Sent: Thursday, February 5, 2015 8:43:26 PM Subject: [ovirt-users] Issues adding a custom fencing agent
Heho, i currently try to get an intelmodular server working with fencing, following: http://lists.ovirt.org/pipermail/devel/2014-February/006525.html and http://www.ovirt.org/Custom_Fencing
BaseInfo: Scientific Linux 6.6 (engine/hosts) Ovirt 3.5
I added an agent with:
engine-config -s CustomVdsFenceType="intelmodular" /etc/init.d/ovirt-engine restart
The issue is, that the added agent always results in:
2015-02-05 19:31:08,963 ERROR [org.ovirt.engine.core.bll.FenceExecutor] (ajp--127.0.0.1-8702-1) Failed to run Power Management command on Host , no running proxy Host was found.
Hi
How many hosts do you have in the cluster/dc ?
and: Test Failed, There is no other host in the data center that can be used to test the power management settings.
Picking any other agent, results in the execution of the binary on one of the cluster hosts. (which, of course fails). Replacing one of theses default-fences with a bash-script echoing $@ to a file prints nothing, additional programs (id, env) however do print sth. to the given file.
Any ideas on how to continue this, to ideally get fence_intelmodular working?
With best Regards, Tobias
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Heho, i could establish that this only happens when CustomVdsFenceOptionMapping is not set. So probably a bug. With best Regards, Tobias On Mon, 2015-02-09 at 17:24 +0100, Tobias Fiebig wrote:
Heho, Currently there is four active hosts in the cluster. With the pre-existing fence-configurations (i.e. Picking apc_snmp) i can always see that it is at least executed on one of the nodes. My self-created one does not even lead so far.
With best regards, Tobias
On 09 Feb 2015, at 11:28, Eli Mesika <emesika@redhat.com> wrote:
----- Original Message -----
From: "Tobias Fiebig" <mail@wybt.net> To: users@ovirt.org Sent: Thursday, February 5, 2015 8:43:26 PM Subject: [ovirt-users] Issues adding a custom fencing agent
Heho, i currently try to get an intelmodular server working with fencing, following: http://lists.ovirt.org/pipermail/devel/2014-February/006525.html and http://www.ovirt.org/Custom_Fencing
BaseInfo: Scientific Linux 6.6 (engine/hosts) Ovirt 3.5
I added an agent with:
engine-config -s CustomVdsFenceType="intelmodular" /etc/init.d/ovirt-engine restart
The issue is, that the added agent always results in:
2015-02-05 19:31:08,963 ERROR [org.ovirt.engine.core.bll.FenceExecutor] (ajp--127.0.0.1-8702-1) Failed to run Power Management command on Host , no running proxy Host was found.
Hi
How many hosts do you have in the cluster/dc ?
and: Test Failed, There is no other host in the data center that can be used to test the power management settings.
Picking any other agent, results in the execution of the binary on one of the cluster hosts. (which, of course fails). Replacing one of theses default-fences with a bash-script echoing $@ to a file prints nothing, additional programs (id, env) however do print sth. to the given file.
Any ideas on how to continue this, to ideally get fence_intelmodular working?
With best Regards, Tobias
_______________________________________________ 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

Heho, solved (more or less) with: https://bugzilla.redhat.com/show_bug.cgi?id=1190843 and https://bugzilla.redhat.com/show_bug.cgi?id=1190845 With best Regards, Tobias

----- Original Message -----
From: "Tobias Fiebig" <mail@wybt.net> To: users@ovirt.org Sent: Monday, February 9, 2015 8:18:11 PM Subject: Re: [ovirt-users] Issues adding a custom fencing agent
Heho, solved (more or less) with:
https://bugzilla.redhat.com/show_bug.cgi?id=1190843
and
Assigned both BZ to me, will handle ... Thanks for finding that
With best Regards, Tobias
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Heho,
Assigned both BZ to me, will handle ... Thanks for finding that Np. Btw... is there some further documentation on the fencing scripts? I basically ended up reading the python scripts to figure out how they work, and that the supplied commands do no really equal to the options expected via stdin.
If that is missing i can spend some time on compiling some doc-snippets for that, which could be placed on the ovirt page. With best Regards, Tobias

----- Original Message -----
From: "Tobias Fiebig" <mail@wybt.net> To: "Eli Mesika" <emesika@redhat.com> Cc: users@ovirt.org Sent: Wednesday, February 11, 2015 2:17:02 PM Subject: Re: [ovirt-users] Issues adding a custom fencing agent
Heho,
Assigned both BZ to me, will handle ... Thanks for finding that Np. Btw... is there some further documentation on the fencing scripts? I basically ended up reading the python scripts to figure out how they work, and that the supplied commands do no really equal to the options expected via stdin.
Yes, please take a look on those: https://fedorahosted.org/cluster/wiki/FenceArch https://fedorahosted.org/cluster/wiki/FenceArguments
If that is missing i can spend some time on compiling some doc-snippets for that, which could be placed on the ovirt page.
With best Regards, Tobias
participants (3)
-
Eli Mesika
-
Tobias Fiebig
-
Tobias Fiebig