Andrew Beekhof wrote:
> Assuming s/crmadmin/cibadmin/ , then yes.
> Or -U if you're just modifying existing attributes or adding new  
> ones.  (Saves you repeating everything).
 
> In 2.0.3/CVS you can also pipe the XML to cibadmin on stdin

I installed this version this morning but am unable to update the cib
with cibadmin.

What am I doing wrong?

Example:

# cibadmin -Q | grep transition_idle_timeout
             <nvpair id="transition_idle_timeout" 
name="transition_idle_timeout" value="120s"/>
# cibadmin -Q | sed '/transition_idle_timeout/s/value="120s"/value="200s"/'| 
cibadmin -U -p 
Call cib_update failed (-25): The update was empty
<null>
# 

Related logs (the start only):

Jan 24 15:44:26 <host> cib: [10167]: info: 
mask(callbacks.c:cib_common_callback): Processing cib_update operation from 
10909/cib_rw
Jan 24 15:44:26 <host> cib: [10167]: ERROR: 
mask(messages.c:cib_process_change): Cannot perform modification with no data
Jan 24 15:44:26 <host> cib: [10167]: WARN: mask(notify.c:do_cib_notify): 
Operation cib_update (on section=cib) FAILED: (-25) The update was empty

I noticed also that the "suppress_cib_writes" option has been dropped
since 2.0.2

-- 
[EMAIL PROTECTED], Tel: (33) 04 92 38 79 11, Bur: C112
INRIA Sophia, 2004, rte des Lucioles, B.P.93 - 06902 Sophia Antipolis Cedex
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to