<div class="gmail_quote">On Mon, Dec 12, 2011 at 4:38 PM, Andreas Kurz <span dir="ltr">&lt;<a href="mailto:andreas@hastexo.com">andreas@hastexo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 12/12/2011 03:37 AM, Larry Brigman wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Dec 11, 2011 at 5:01 PM, Tim Serong &lt;<a href="mailto:tserong@suse.com">tserong@suse.com</a><br>
</div><div class="im">&gt; &lt;mailto:<a href="mailto:tserong@suse.com">tserong@suse.com</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     On 12/10/2011 10:35 AM, Larry Brigman wrote:<br>
&gt;<br>
&gt;         On Fri, Dec 9, 2011 at 3:19 PM, Andreas Kurz<br>
&gt;         &lt;<a href="mailto:andreas@hastexo.com">andreas@hastexo.com</a> &lt;mailto:<a href="mailto:andreas@hastexo.com">andreas@hastexo.com</a>&gt;<br>
</div><div class="im">&gt;         &lt;mailto:<a href="mailto:andreas@hastexo.com">andreas@hastexo.com</a> &lt;mailto:<a href="mailto:andreas@hastexo.com">andreas@hastexo.com</a>&gt;&gt;&gt; wrote:<br>
&gt;<br>
&gt;            Hello Larry,<br>
&gt;<br>
&gt;            On 12/09/2011 11:15 PM, Larry Brigman wrote:<br>
&gt;             &gt; I have installed pacemaker 1.1.5 and configure ACLs based<br>
&gt;         on the<br>
&gt;            info from<br>
</div>&gt;             &gt; <a href="http://www.clusterlabs.org/__doc/acls.html" target="_blank">http://www.clusterlabs.org/__doc/acls.html</a><br>
<div><div class="h5">&gt;         &lt;<a href="http://www.clusterlabs.org/doc/acls.html" target="_blank">http://www.clusterlabs.org/doc/acls.html</a>&gt;<br>
&gt;             &gt;<br>
&gt;             &gt; It looks like the user still does not have read access.<br>
&gt;             &gt;<br>
&gt;             &gt; Here is the acl section of config<br>
&gt;             &gt; &lt;acls&gt;<br>
&gt;             &gt; &lt;acl_role id=&quot;monitor&quot;&gt;<br>
&gt;             &gt; &lt;read id=&quot;monitor-read&quot; xpath=&quot;/cib&quot;/&gt;<br>
&gt;             &gt; &lt;/acl_role&gt;<br>
&gt;             &gt; &lt;acl_user id=&quot;nvs&quot;&gt;<br>
&gt;             &gt; &lt;role_ref id=&quot;monitor&quot;/&gt;<br>
&gt;             &gt; &lt;/acl_user&gt;<br>
&gt;             &gt; &lt;acl_user id=&quot;acm&quot;&gt;<br>
&gt;             &gt; &lt;role_ref id=&quot;monitor&quot;/&gt;<br>
&gt;             &gt; &lt;/acl_user&gt;<br>
&gt;             &gt; &lt;/acls&gt;<br>
&gt;             &gt;<br>
&gt;             &gt; Here is what the user is getting:<br>
&gt;             &gt; [nvs@sweng0057 ~]$ crm node show<br>
&gt;             &gt; Signon to CIB failed: connection failed<br>
&gt;             &gt; Init failed, could not perform requested operations<br>
&gt;             &gt; ERROR: cannot parse xml: no element found: line 1, column 0<br>
&gt;             &gt; [nvs@sweng0057 ~]$ crm status<br>
&gt;             &gt;<br>
&gt;             &gt; Connection to cluster failed: connection failed<br>
&gt;             &gt;<br>
&gt;             &gt;<br>
&gt;             &gt; Any ideas as to why this wouldn&#39;t work and what to fix?<br>
&gt;<br>
&gt;            If you really followed exactly the guide ... did you check<br>
&gt;         user nvs<br>
&gt;            already is in group &quot;haclient&quot;?<br>
&gt;<br>
&gt;         Thought of that.<br>
&gt;<br>
&gt;         Adding the user to the haclient group removes any restrictions<br>
&gt;         as I was<br>
&gt;         able to<br>
&gt;         write to the config without error.<br>
&gt;<br>
&gt;<br>
&gt;     Did you set &quot;crm configure property enable-acl=true&quot;?  Without this,<br>
&gt;     all users in the haclient group have full access.<br>
&gt;<br>
&gt;<br>
&gt; That was the second setting I added or changed.  The first was the<br>
&gt; schema to pacemaker-1.1.<br>
&gt; Exactly like the acl page.  I verified that both the schema and acl were<br>
&gt; configured in with a dump of the xml.<br>
<br>
</div></div>Your pacemaker build has acls enabled? ... &quot;cibadmin -!&quot; or &quot;crm_report<br>
--features&quot; should list the builtin features.<br>
<div class="im HOEnZb"><br></div></blockquote></div><br>[root@sweng0057 ~]# cibadmin -!<br>Pacemaker 1.1.5-1.1.sme (Build: 01e86afaaa6d4a8c4836f68df80ababd6ca3902f):  docbook-manpages ncurses cs-quorum corosync<br><br>Not enabled....<br>
<br>That explains it.  The configure script doesn&#39;t enable acls by default so it&#39;s not built with<br>them.<br><br>I&#39;ll make another pass when I rebuild my rpm package.<br><br><br><br>