[Pacemaker] clone

Michael Schwartzkopff misch at clusterbau.com
Wed Oct 6 10:53:34 EDT 2010


On Wednesday 06 October 2010 16:45:19 Cédric Castanet wrote:
> Do you think the folowing cib-bootstrap-options error is linked to my
> probleme ?
> 
> root at node1:~# crm configure verify
> WARNING: MonSite: default timeout 20s for start is smaller than the
> advised 40s
> WARNING: MonSite: default timeout 20s for stop is smaller than the
> advised 60s
> ERROR: cib-bootstrap-options: attribute last-lrm-refresh does not exist
> 
> Le 06/10/2010 11:55, Cédric Castanet a écrit :
> > , *Michael Schwartzkopff* a écrit :
> >> Try to configure the resource-stickiness within the resource and not
> >> within the clone.
> > 
> > Sorry not answering directly to the thread, but i've done a mistake in
> > the mailing list configuration. hope this is ok now.
> > 
> > I tried but it doesn't change anything:
> > 
> > 
> > root at node2:~# crm resource stop  SecIP
> > root at node2:~# crm configure delete SecIP
> > 
> > root at node2:~# crm configure primitive SecIP ocf:heartbeat:IPaddr2
> > params ip="192.168.2.20" cidr_netmask="24" clusterip_hash="sourceip"
> > resource-stickiness="0" op monitor interval="30s"
> > ERROR: SecIP: parameter resource-stickiness does not exist
> > Do you still want to commit? n
> > 
> > root at node2:~# crm configure primitive SecIP ocf:heartbeat:IPaddr2
> > params ip="192.168.2.20" cidr_netmask="24" clusterip_hash="sourceip"
> > op monitor interval="30s" meta resource-stickiness="0"
> > 
> > root at node2:~# crm configure clone CloneSecIP SecIP meta
> > globally-unique=”true” clone-max=”2” clone-node-max="2" Traceback
> > 
> > (most recent call last):
> >   File "/usr/sbin/crm", line 41, in <module>
> >   
> >     crm.main.run()
> >   
> >   File "/usr/lib/python2.6/dist-packages/crm/main.py", line 246, in run
> >   
> >     if parse_line(levels,shlex.split(' '.join(args))):
> >   File "/usr/lib/python2.6/dist-packages/crm/main.py", line 144, in
> > 
> > parse_line
> > 
> >     rv = d() # execute the command
> >   
> >   File "/usr/lib/python2.6/dist-packages/crm/main.py", line 143, in
> > 
> > <lambda>
> > 
> >     d = lambda: cmd[0](*args)
> >   
> >   File "/usr/lib/python2.6/dist-packages/crm/ui.py", line 1436, in
> > 
> > conf_clone
> > 
> >     return self.__conf_object(cmd,*args)
> >   
> >   File "/usr/lib/python2.6/dist-packages/crm/ui.py", line 1415, in
> > 
> > __conf_object
> > 
> >     return f()
> >   
> >   File "/usr/lib/python2.6/dist-packages/crm/ui.py", line 1414, in
> > 
> > <lambda>
> > 
> >     f = lambda: cib_factory.create_object(cmd,*args)
> >   
> >   File "/usr/lib/python2.6/dist-packages/crm/cibconfig.py", line 1954,
> > 
> > in create_object
> > 
> >     return self.create_from_cli(CliParser().parse(list(args))) != None
> >   
> >   File "/usr/lib/python2.6/dist-packages/crm/cibconfig.py", line 2019,
> > 
> > in create_from_cli
> > 
> >     return self.add_element(obj, node)
> >   
> >   File "/usr/lib/python2.6/dist-packages/crm/cibconfig.py", line 2153,
> > 
> > in add_element
> > 
> >     if not obj.cli_use_validate():
> >   File "/usr/lib/python2.6/dist-packages/crm/cibconfig.py", line 802,
> > 
> > in cli_use_validate
> > 
> >     cli_text = self.repr_cli(format = -1)
> >   
> >   File "/usr/lib/python2.6/dist-packages/crm/cibconfig.py", line 694,
> > 
> > in repr_cli
> > 
> >     return self.cli_format(l,format)
> >   
> >   File "/usr/lib/python2.6/dist-packages/crm/cibconfig.py", line 718,
> > 
> > in cli_format
> > 
> >     s = cli_format(l,format)
> >   
> >   File "/usr/lib/python2.6/dist-packages/crm/cliformat.py", line 31,
> > 
> > in cli_format
> > 
> >     return ' '.join(pl)
> > 
> > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
> > 22: ordinal not in range(128)
> > 
> > 
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemake
> > r

Well, any ERROR is bad. Try to get rid of the error and check again. What 
version of pacemaker do you use?

-- 
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101006/fd381a53/attachment-0003.sig>


More information about the Pacemaker mailing list