Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-02-04 Thread renayama19661014
Hi Andrew, I updated libxml2, and the problem was solved. Update of libxml2 is necessary. Thanks, Hideo Yamauchi. --- renayama19661...@ybb.ne.jp wrote: > Hi Andrew, > > > > After all is it a problem of libxml2? > > > Is it necessary to update libxml2? > > > > It seems so. > > If I understoo

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-02-04 Thread renayama19661014
Hi Andrew, > > After all is it a problem of libxml2? > > Is it necessary to update libxml2? > > It seems so. > If I understood hj correctly, that was the only part he replaced in > order for it to function correctly. Thank you for comment. I update libxml2, too and confirm it. Best Regards, Hi

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-02-03 Thread Andrew Beekhof
On Thu, Feb 4, 2010 at 8:20 AM, wrote: > Hi Andrew, > > This problem occurred in our environment. > >  * RHEL5.4(x86) on Esxi 2node >  * corosync 1.1.2 >  * Pacemaker-1-0-6f67420618b0.tar.gz > > It sometimes occurs when I carry out test.sh in long time. > > [r...@srv01 ~]# ./test.sh > (snip) > sc

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-02-03 Thread renayama19661014
Hi Andrew, This problem occurred in our environment. * RHEL5.4(x86) on Esxi 2node * corosync 1.1.2 * Pacemaker-1-0-6f67420618b0.tar.gz It sometimes occurs when I carry out test.sh in long time. [r...@srv01 ~]# ./test.sh (snip) scope=status name=master-vmrd-res: value=132 Multiple attribute

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-02-02 Thread Andrew Beekhof
On Mon, Feb 1, 2010 at 5:50 AM, hj lee wrote: > Sorry, my typo. I meant openais-0.80.5 in > http://download.opensuse.org/repositories/server:/ha-clustering/CentOS_5/i386/ > I had so many problems with this openais-0.80.5. After upgrading > corosync-1.1.2, most issues are gone. FYI, http://www.clu

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-31 Thread hj lee
On Fri, Jan 29, 2010 at 1:46 AM, Andrew Beekhof wrote: > On Tue, Jan 19, 2010 at 5:57 PM, hj lee wrote: > > > > > > On Tue, Jan 19, 2010 at 9:08 AM, Andrew Beekhof > wrote: > >> > >> I ran your script, all I get is: > >> > >> [r...@pcmk-4 ~]# ./test.sh 0 > >> scope=status name=master-vmrd-res:

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-29 Thread Andrew Beekhof
On Tue, Jan 19, 2010 at 5:57 PM, hj lee wrote: > > > On Tue, Jan 19, 2010 at 9:08 AM, Andrew Beekhof wrote: >> >> I ran your script, all I get is: >> >> [r...@pcmk-4 ~]# ./test.sh 0 >> scope=status  name=master-vmrd-res:0 value=(null) >> Error performing operation: The object/attribute does not e

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-19 Thread hj lee
On Tue, Jan 19, 2010 at 9:08 AM, Andrew Beekhof wrote: > I ran your script, all I get is: > > [r...@pcmk-4 ~]# ./test.sh 0 > scope=status name=master-vmrd-res:0 value=(null) > Error performing operation: The object/attribute does not exist > scope=status name=master-vmrd-res:0 value=1 > scope=s

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-19 Thread Andrew Beekhof
I ran your script, all I get is: [r...@pcmk-4 ~]# ./test.sh 0 scope=status name=master-vmrd-res:0 value=(null) Error performing operation: The object/attribute does not exist scope=status name=master-vmrd-res:0 value=1 scope=status name=master-vmrd-res:0 value=2 scope=status name=master-vmrd-r

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-19 Thread Andrew Beekhof
On Tue, Jan 12, 2010 at 10:15 PM, hj lee wrote: > > Is cib code a thread-safe? Probably not. But there are no threads in the Pacemaker code so it doesn't really matter. ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-12 Thread hj lee
On Tue, Jan 12, 2010 at 2:15 PM, hj lee wrote: > > >> 2010-01-12 00:19:47.879800 copper1-cib: [4764]: debug: cib_process_xpath: >> Processing cib_query op for //cib/status//node_sta...@id=' >> copper1.dr.peach.com']//nvpa...@name='master-vmrd-res:0'] >> (/cib/status/node_state[1]/transient_attrib

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-12 Thread hj lee
On Tue, Jan 12, 2010 at 1:37 PM, hj lee wrote: > > > It happened again, I attched cib files and log messages of both nodes. The > problem happened last night, but cib file was captured this morning. As you > can see below log expert, the attrd receives 2 entries for cib_query, > crm_attribute fa

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-12 Thread Andrew Beekhof
On Mon, Jan 11, 2010 at 11:32 PM, hj lee wrote: > I rebooted the system a few days ago. If it happens again, will post it. But > can you guess any how cib query returns multiple entries? Not based on the information so far. Sorry. ___ Pacemaker mailing

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-11 Thread hj lee
On Mon, Jan 11, 2010 at 2:45 AM, Andrew Beekhof wrote: > > >> > >> When I checked the cib, it has only one entry for each host. > >> > >> [r...@silverthorne2 tmp]# cibadmin -Ql | grep master-vmrd > >>>> id="status-copper2-master-vmrd-res:0" value="5"/> > >>>> id="status-co

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-11 Thread Andrew Beekhof
On Thu, Jan 7, 2010 at 10:44 PM, hj lee wrote: > > > On Thu, Jan 7, 2010 at 12:49 PM, hj lee wrote: >> >> >> On Thu, Jan 7, 2010 at 5:24 AM, Andrew Beekhof wrote: >>> >>> On Wed, Jan 6, 2010 at 3:09 AM, hj lee wrote: >>> > Hi, >>> > >>> > I have a very simple master/slave in two node cluster. T

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-07 Thread hj lee
On Thu, Jan 7, 2010 at 12:49 PM, hj lee wrote: > > > On Thu, Jan 7, 2010 at 5:24 AM, Andrew Beekhof wrote: > >> On Wed, Jan 6, 2010 at 3:09 AM, hj lee wrote: >> > Hi, >> > >> > I have a very simple master/slave in two node cluster. The crm_attribute >> > failed to master score because find_nvpa

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-07 Thread hj lee
On Thu, Jan 7, 2010 at 5:24 AM, Andrew Beekhof wrote: > On Wed, Jan 6, 2010 at 3:09 AM, hj lee wrote: > > Hi, > > > > I have a very simple master/slave in two node cluster. The crm_attribute > > failed to master score because find_nvpair_attr() found multiple matches. > > But I think that's not

Re: [Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-07 Thread Andrew Beekhof
On Wed, Jan 6, 2010 at 3:09 AM, hj lee wrote: > Hi, > > I have a very simple master/slave in two node cluster. The crm_attribute > failed to master score because find_nvpair_attr() found multiple matches. > But I think that's not possible, there should be always one entry for master > score for ea

[Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-05 Thread hj lee
Hi, I have a very simple master/slave in two node cluster. The crm_attribute failed to master score because find_nvpair_attr() found multiple matches. But I think that's not possible, there should be always one entry for master score for each node. I just had one failure today. The log is below. I