Comment 0 for bug 1353011

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

it was brought to me the following situation:

""""""

* Environment
Ubuntu 14.04 LTS
Pacemaker 1.1.10+git20130802-1ubuntu2

* Issue
I cannot use "crm configure load update".
It cause an error as below.

# crm configure load update settings.crm
ERROR: elements cib-bootstrap-options already exist

My pacemaker settings.
--------------------------------------------
property no-quorum-policy="ignore" \
stonith-enabled="true" \
startup-fencing="false" \
crmd-transition-delay="2s"

rsc_defaults resource-stickiness="INFINITY" \
migration-threshold="1"

group grpStonith1 \
prmStonith1-2

group grpStonith2 \
prmStonith2-2

fencing_topology \
A1MB101: prmStonith1-2 \
A1MB102: prmStonith2-2

primitive prmStonith1-2 stonith:external/ssh \
params \
pcmk_reboot_timeout="300s" \
hostlist="A1MB101" \
op start interval="0s" timeout="60s" on-fail="restart" \
op monitor interval="10s" timeout="60s" on-fail="restart" \
op stop interval="0s" timeout="60s" on-fail="ignore"

primitive prmStonith2-2 stonith:external/ssh \
params \
pcmk_reboot_timeout="300s" \
hostlist="A1MB102" \
op start interval="0s" timeout="60s" on-fail="restart" \
op monitor interval="10s" timeout="60s" on-fail="restart" \
op stop interval="0s" timeout="60s" on-fail="ignore"

location rsc_location-grpStonith1 grpStonith1 \
rule -INFINITY: #uname eq A1MB101
location rsc_location-grpStonith2 grpStonith2 \
rule -INFINITY: #uname eq A1MB102
--------------------------------------------

* Request
1. It may be a bug. Can you fix it?

I found this thread.
http://www.gossamer-threads.com/lists/linuxha/dev/87790

""""""

I was able to reproduce the following error:

root@trustycluster01:~# crm configure load xml replace ./cluster.xml
ERROR: elements 739246090,739246088,739246089,739246087,cib-bootstrap-options already exist

Exporting and trying to re-import my personal cluster configuration.

And based on the public discussion (when this was reported):
http://www.gossamer-threads.com/lists/linuxha/dev/87790

I could see developer "fixed" this behavior on Aug 8 2013. After digging a little on crm configure load
I could find that this error came from a file on the package crmsh and on crmsh upstream tree I found this:

<email address hidden>:/bugs/00070402/sources/upstream/crmsh$ git log --since 2013-08-06 --until 2013-08-12 --pretty=format:'%ad %an | %h ||| %s' --date=local --date-order --graph | cat
* Thu Aug 8 09:55:23 2013 Dejan Muhamedagic | b146349 ||| Medium: cibconf: repair configure load update

So I'm assuming this will fix the issue... Opening the public bug for the fix.