[Pacemaker] Possible bug: Strange behaviour of cibadmin -D
Michael Schwartzkopff
misch at multinet.de
Mon Nov 30 21:47:35 UTC 2009
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.
3) Now I want to write my attribute again:
# attrd_updater -n "#health-smart" -U "red" -d "1s"
# cibamin -Q | grep health
- >nothing. This is NOT ok.
Somehow the CIB does not accept any #health-smart attributed any more.
4) Strange, but OK. I try to delete my whole CIB to be able to start again:
# cibadmin -E --force
# cibadmin -Q | grep health
<nvpair id="status-..." name="#health-smart" value="red"/>
Here Is my attribute again! After an erasure if the CIB. How could this be?
If this a bug? Should I file it? Or I am just too stupid to use the command
line?
Greetings,
--
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