[Pacemaker] Possible bug: Strange behaviour of cibadmin -D

Michael Schwartzkopff misch at multinet.de
Tue Dec 1 04:30:50 EST 2009


Am Dienstag, 1. Dezember 2009 10:11:49 schrieb Andrew Beekhof:
> On Mon, Nov 30, 2009 at 10:47 PM, Michael Schwartzkopff
>
> <misch at multinet.de> wrote:
> > Hi,
> >
> > I start with a fresh cluster, no cib.
> >
> > 1) Add a #health attribute and verify that is it i nthe CIB:
> > # attrd_update -n "#health-smart" -U "red" -d "1s"
> > # cibadmin -Q | grep health
> > <nvpair id="status-..." name="#health-smart" value="red"/>
> >
> > 2) So far so good. I delete the attribute. Since this is a virtual
> > machine with limited access I have to do the following:
> > # cibadmin -Q | grep health > health.cib
> > # cibadmin -D -x health.cib
> > # cibadmin -Q | grep health
> > -> nothing, entry gone. So far so good.
>
> Nope.
> Because the value is still in attrd, which is the authoritative source
> for node attributes.
> You need to delete it with attrd_updater too.

Thanks!

-- 
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 Pacemaker mailing list