[Pacemaker] Unable to commit from crm.

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Apr 26 08:37:39 UTC 2010


Hi,

On Sun, Apr 25, 2010 at 09:41:25PM +0200, Marco van Putten wrote:
> Hi,
> 
> I've just installed a fresh version of
> pacemaker/heartbeat/ldirectord on 2 RHEL5 servers with the
> repositories from http://www.clusterlabs.org/rpm/epel-5.
> 
> When I startup heartbeat all is fine. No problems so far.
> But after I do some editing with "crm > configure > edit" when I try
> to do a commit I get this error message:
> 
> crm(live)configure# commit
> Unknown option: `--noprofile'
> Usage: -norc [ -bcdefilmnqstvVxX ] [ argument ... ].
> ERROR: creating tmp shadow __crmshell.2440 failed
> 
> When I edit the file  /var/lib/heartbeat/crm/shadow.__crmshell.2440
> and do a "crm_shadow -C __crmshell.2440 --force" eventually my
> modifications are committed.
> 
> Anyone else had this problem and is there something I can do about this?

Never saw this. The '--noprofile' is a bash option. Looks like
some strange interaction between python and bash. If you set the
"user" option in crm, sudo is used to run all external programs.
Perhaps that is the culprit.

> Has this anything to do with the new version of cluster-glue a
> couple of days ago...?

No, glue shouldn't have anything to do with this.

Thanks,

Dejan

> These are the versions of heartbeat/pacemaker/ldirectord I'm running:
> heartbeat-libs-3.0.3-1.el5
> heartbeat-3.0.3-1.el5
> pacemaker-libs-1.0.8-5.el5
> pacemaker-1.0.8-5.el5
> cluster-glue-libs-1.0.4-1.el5
> cluster-glue-1.0.4-1.el5
> ldirectord-1.0.3-1.el5
> 
> Thanks,
> Marco.
> 
> _______________________________________________
> 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




More information about the Pacemaker mailing list