[Linux-HA] target-role does not exist with crm_resource

Michael Schwartzkopff misch at multinet.de
Thu Jul 9 05:29:46 MDT 2009


Am Donnerstag, 9. Juli 2009 12:38:23 schrieb Dejan Muhamedagic:
> Hi,
>
> On Wed, Jul 08, 2009 at 01:50:53PM +0200, Steinhauer Juergen wrote:
> > Hi guys!
> >
> > I've experienced for several times, that I'm not able to query the
> > resource status with crm_resource:
> >
> > crm_resource -r app -g target-role --meta
> > Error performing operation: The object/attribute does not exist
> >
> > But the meta-attribute is there...
> >
> > <primitive class="ocf" id="app" provider="me" type="myapp">
> >   <meta_attributes id="app-meta_attributes">
> >     <nvpair id="app-meta_attributes-target-role" name="target-role"
> > value="started"/>
> >     <nvpair id="app-meta_attributes-migration-threshold"
> > name="migration-threshold" value="1"/>
> >   </meta_attributes>
> > </primitive>
> >
> > It worked with pacemaker 0.6 (without the "--meta") and works sometimes
> > with pacemaker 1.0.3.
> >
> > Am I doing something wrong? Is this way to query the app's status not
> > supported anymore?
>
> I can't reproduce this with 1.0.4. Which version do you run? Can
> you also post the whole CIB?
>
> Thanks,
>
> Dejan

Strange enough, the problem disappeared here.

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch at multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42



More information about the Linux-HA mailing list