2013.07.22. 12:16 keltezéssel, Lars Marowsky-Bree írta:
On 2013-07-22T12:09:22, "\"Tomcsányi, Domonkos\"" <tomcsan...@modit.hu> wrote:
crm(live)configure# colocation by_color inf: HTTPS_SERVICE_GROUP
OPENVPN_SERVICE_GROUP node-attribute=color
ERROR: 4: constraint by_color references a resource node-attribute=color
which doesn't exist
Which crmsh version are you using?
This feature was added in crmsh ~1.2.0 end of August 2012.
crm(live)configure# colocation foo-484 inf: dummy3 dummy4 node-attribute=memory
crm(live)configure# show xml changed
<?xml version="1.0" ?>
<cib num_updates="235" dc-uuid="hex-1" update-origin="hex-1" crm_feature_set="3.0.7" validate-with="pacemaker-1.2"
update-client="crmd" epoch="1440" admin_epoch="0" update-user="hacluster" cib-last-written="Thu Jul 11 09:48:00 2013"
have-quorum="1">
<configuration>
<crm_config/>
<nodes/>
<resources/>
<constraints>
<rsc_colocation id="foo-484" score="INFINITY" rsc="dummy3" with-rsc="dummy4"
node-attribute="memory"/>
</constraints>
</configuration>
</cib>
Regards,
Lars
You were right, the version in the Ubuntu repository is outdated, so I
decided to install it from a PPA-repo. Now I have the latest version of
everything, but naturally I already have an error:
ERROR: running cibadmin -Ql: Could not establish cib_rw connection:
Connection refused (111)
Signon to CIB failed: Transport endpoint is not connected
Init failed, could not perform requested operations
ERROR: No CIB!
I checked, and there is no /var/run/crm despite the fact that corosync
is running:
root@vpn1:~# service corosync status
* corosync is running
I have no IPtables up, no SElinux, absolutely nothing. I don't know if
this is a configuration issue, because the offical Ubuntu version was
running just fine on the same machine (I removed it, then did 'apt-get
autoremove' before installing the newer version from the PPA).
I am quite confused now.
Thank you,
Domonkos
_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org