[library] crm commit is done using replace instead if patch
Bug #1338594 reported by
Vladimir Kuklin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Critical
|
Vladimir Kuklin |
Bug Description
This leads to race conditions and e.g. broken deployment when some of resources are not specified.
summary: |
- crm commit is done asynchrounously + crm commit is done using replace instead if patch |
summary: |
- crm commit is done using replace instead if patch + [library] crm commit is done using replace instead if patch |
To post a comment you must log in.
it looks like, we need to apply this patch for crmsh:
diff -Naur a/modules/ cibconfig. py b/modules/ cibconfig. py 1 cibconfig. py» 2013-02-12 16:14:02.000000000 +0400 2 cibconfig. py» 2014-07-07 18:39:29.592779754 +0400 3 schema( ): 6 cibadmin_ opts), conf_node.toxml()) 10 err("cib" ,cibadmin_ opts,conf_ node.toprettyxm l(), rc)
--- a/modules/
+++ b/modules/
@@ -2092,7 +2092,7 @@ 4
return False 5
if self.new_schema and not self.commit_
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,
if rc != 0: 11
update_