[Pacemaker] CRM help

Dejan Muhamedagic dejanmm at fastmail.fm
Fri Oct 30 14:37:25 UTC 2009


Hi again,

You can make a quick change yourself, providing that you run a very
recent version of crm. Lookup a line which says:

if len(args < 3):

and replace it with:

if len(args) < 3:

Thanks,

Dejan


On Fri, 30 Oct 2009 15:20 +0100, "Dejan Muhamedagic"
<dejanmm at fastmail.fm> wrote:
> Hi,
> 
> On Fri, 30 Oct 2009 11:08 +0100, "Lars Marowsky-Bree" <lmb at suse.de>
> wrote:
> > On 2009-10-29T12:34:22, Eliot Gable <egable at broadvox.com> wrote:
> > 
> > > Yes, files are there. See my first post. Ran ocf-tester on mysql RA and get this:
> > > 
> > > /usr/lib/ocf/resource.d/heartbeat/mysql passed all tests
> > > 
> > > But, after modifying the crm Python code to uncomment one of the error messages, I see this:
> > > 
> > > crm(live)configure#  primitive mysql ocf:heartbeat:mysql
> > > ERROR: could not parse meta-data for (ocf,mysql,heartbeat)
> > > ERROR: ocf:heartbeat:mysql: no such resource agent
> > > 
> > > Why would CRM not be able to parse the meta-data while the ocf-tester script seems to like the RA and it's meta-data just fine?
> 
> I think that's the problem I introduced last week with the meta-data
> processing. I'll fix that.
> 
> Thanks,
> 
> Dejan
> 
> > What are the details on your install? Packages, sources, distro ...?
> > 
> > Have you tried using the interactive mode step-by-step, including tab
> > completion, to build up your script and see what's going on?
> > 
> > 
> > Regards,
> >     Lars
> > 
> > -- 
> > Architect Storage/HA, OPS Engineering, Novell, Inc.
> > SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
> > "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
> > 
> > 
> > _______________________________________________
> > Pacemaker mailing list
> > Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> -- 
> http://www.fastmail.fm - IMAP accessible web-mail
> 
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker

-- 
http://www.fastmail.fm - mmm... Fastmail...





More information about the Pacemaker mailing list