Comment 1 for bug 1338594

Revision history for this message
Vladimir Kuklin (vkuklin) wrote : Re: crm commit is done asynchrounously

it looks like, we need to apply this patch for crmsh:

diff -Naur a/modules/cibconfig.py b/modules/cibconfig.py 1
   --- a/modules/cibconfig.py» 2013-02-12 16:14:02.000000000 +0400 2
   +++ b/modules/cibconfig.py» 2014-07-07 18:39:29.592779754 +0400 3
   @@ -2092,7 +2092,7 @@ 4
   return False 5
   if self.new_schema and not self.commit_schema(): 6
   return False 7
   - cibadmin_opts = force and "-R --force" or "-R" 8
   + cibadmin_opts = force and "-s -R --force" or "-R -s" 9
   rc = pipe_string("%s %s" % (cib_piped,cibadmin_opts), conf_node.toxml()) 10
   if rc != 0: 11
   update_err("cib",cibadmin_opts,conf_node.toprettyxml(), rc)