Hi, On Mon, Nov 02, 2009 at 01:53:13PM +0100, ROUAMBA Halidou wrote: > Marie von > Ebner-Eschenbach<http://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html> > - "Even a stopped clock is right twice a day." > > 2009/11/2 Dejan Muhamedagic <deja...@fastmail.fm> > > > Hi, > > > > On Sun, Oct 25, 2009 at 01:07:40PM +0100, ROUAMBA Halidou wrote: > > > Hello > > > > > > I just install the last version of pacemaker and i used hearbeat as > > cluster > > > stacks. > > > The installation has been made on RHEL AS4.6. > > > i didn't have any error during the rpm installation. > > > The /etc/ha.d/ha.cf et /etc/ha.d/authkeys have been correctly > > configured. > > > The problem occured when i tried to use crm line command to configure the > > > CIB file for resource management. > > > so this is the outpout of the crm .[ > > > *r...@omconi2 ~]# crm > > > File "/usr/sbin/crm", line 4576 > > > for obj in processing_sort_cli(self.obj_list)) > > > ^ > > > SyntaxError: invalid syntax* > > > > Can't recall seeing this one. > > > > Which version of pacemaker do you run: > > > > /usr/lib/heartbeat/crmd version > > > [*r...@omconi1 packages]# /usr/lib/heartbeat/crmd version* > *CRM Version: 1.0.5 (462f1569a43740667daf7b0f6b521742e9eb8fa7)* > > > > And which version of python? > >> > >> *[r...@omconi1 packages]# python -V* > > > > *Python 2.3.4*
Don't know, perhaps that is too old. Can you try to replace the existing lines: return '\n'.join(obj.repr_cli() \ for obj in processing_sort_cli(self.obj_list)) with return '\n'.join([obj.repr_cli() \ for obj in processing_sort_cli(self.obj_list)]) Thanks, Dejan > > > Version of redhat ? > > > *[r...@omconi1 packages]# cat /etc/redhat-release* > > *Red Hat Enterprise Linux AS release 4 (Nahant Update 6)* > > *[r...@omconi1 packages]# uname -r* > > *2.6.9-67.0.7.ELsmp* > > > > > The rpm have been downloading from this url > http://download.opensuse.org/repositories/server:/ha-clustering/RHEL_4/i386/ > > > > Thanks, > > > > Dejan > > > > > The same error.occurs on both nodes > > > > > > I see that crm is writed in python language, i'm a newbie in python > > > > > > if any has faced this problem and could help me, > > > I thank him very much. > > > > > > thanks for taking a look at my problem > > > > > > Best regards. > > > > > > Pablo Picasso< > > http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html> > > > - "Computers are useless. They can only give you answers." > > > > > _______________________________________________ > > > Pacemaker mailing list > > > Pacemaker@oss.clusterlabs.org > > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > > > > > _______________________________________________ > > Pacemaker mailing list > > Pacemaker@oss.clusterlabs.org > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > > _______________________________________________ > Pacemaker mailing list > Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker _______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker