sometimes (rare) puppet module for Pacemaker can't create resource

Bug #1444915 reported by Sergey Vasilenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Sergey Vasilenko

Bug Description

sometimes (rare) puppet module for Pacemaker can't create resource
due puppet has strange feature while creating and waiting chield process

Tags: ha pacemaker
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/174284

Changed in fuel:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/174284
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=0d78e4d995746dd44048cc282922c5fb94906e71
Submitter: Jenkins
Branch: master

commit 0d78e4d995746dd44048cc282922c5fb94906e71
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: I0c48d974f915e1a3c848beddd9c8421ce00180b6
    Closes-bug: #1444915

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.