[Pacemaker] enable to run crm line command

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Nov 2 10:45:50 UTC 2009


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 .[
> *root at 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

And which version of python?

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 at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker





More information about the Pacemaker mailing list