in very rare cases processes created by puppet return
before waiting for the child process to finish. this
leads to the issue when pacemaker provider
starts working with shadow xml copies before they are even created.
this fix refactors how provider starts child process using system function instead of fork&exec pair
testing showed that the issue goes away after this leaving all the other functions untouched
Reviewed: https:/ /review. openstack. org/174284 /git.openstack. org/cgit/ stackforge/ fuel-library/ commit/ ?id=0d78e4d9957 46dd44048cc2829 22c5fb94906e71
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0d78e4d995746dd 44048cc282922c5 fb94906e71
Author: Sergey Vasilenko <email address hidden>
Date: Thu Apr 16 13:06:07 2015 +0300
refactor how provider starts child process
in very rare cases processes created by puppet return
before waiting for the child process to finish. this
leads to the issue when pacemaker provider
starts working with shadow xml copies before they are even created.
this fix refactors how provider starts child process using system function instead of fork&exec pair
testing showed that the issue goes away after this leaving all the other functions untouched
Change-Id: I0c48d974f915e1 a3c848beddd9c84 21ce00180b6
Closes-bug: #1444915