<div dir="ltr">Do you know where fence_ec2 is officially revision controlled?  Is there an "official" release maintained anywhere?  I've found a number of different versions online, but I haven't been able to find any that claim to be the repository for debugging and development.<div><br></div><div>Thanks for any guidance you can give.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 8, 2016 at 8:33 AM, Marek marx Grác <span dir="ltr"><<a href="mailto:mgrac@redhat.com" target="_blank">mgrac@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
fence_ec2 is not part of official upstream (<a href="https://github.com/ClusterLabs/fence-agents/" rel="noreferrer" target="_blank">https://github.com/ClusterLabs/fence-agents/</a>) yet. There are various issues that blocks it, see archive if you are interested. <br>
<br>
Anyway thanks for patch and I hope people will find it there.<br>
<br>
m,<br>
<div><div class="h5"><br>
<br>
<br>
<br>
<br>
On 5 February 2016 at 16:11:02, Steve Marshall (<a href="mailto:steve.marshall@weather.com">steve.marshall@weather.com</a>) wrote:<br>
> I've found two bugs in the fence_ec2 script found in this RPM:<br>
> fence_ec2-0.1-0.10.1.x86_64.rpm<br>
><br>
> I believe this is the latest and greatest, but I may be wrong. I'm not<br>
> sure where to post these fixes, so I'm starting here. If there is a better<br>
> place to post, please let me know.<br>
><br>
> The errors are:<br>
> 1. The tag attribute does not default to "Name", as specified in the<br>
> documentation<br>
> 2. The script does not accept attribute settings from stdin<br>
><br>
> #1 is not critical, since tag=Name can be specified explicitly when setting<br>
> up a stonith resource. However, #2 is very important, since stonith_admin<br>
> (and I think most of pacemaker) passes arguments to fencing scripts via<br>
> stdin. Without this fix, fence_ec2 will not work properly via pacemaker,<br>
> that is:<br>
><br>
> This command works....<br>
> fence_ec2 --action=metadata<br>
><br>
> ...but this alternate version of same command does not:<br>
> echo "action=metadata" | fence_ec2<br>
><br>
> The fixes are relatively trivial. The version of fence_ec2 from the RPM is<br>
> attached as fence_ec2.old. My modified version is attached as<br>
> fence_ec2.new. I've also attached the RPM that was the source for<br>
> fence_ec2.old.<br>
</div></div>> _______________________________________________<br>
> Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
> <a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
><br>
> Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
> Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
> Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
><br>
<br>
</blockquote></div><br></div>