Enhance mongod pid find for multiple distros

Bug #1570866 reported by Pete MacKinnon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Undecided
Pete MacKinnon
Mitaka
Fix Committed
Undecided
Unassigned

Bug Description

The current code for detecting the pid of the mongod (or mongos) process fails on Centos7 with the vendor service init scripts. This logic can be refactored to be more portable between Ubuntu and Centos7.

Changed in trove:
assignee: nobody → Pete MacKinnon (pmackinn)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

Changed in trove:
status: New → In Progress
Amrith Kumar (amrith)
Changed in trove:
milestone: none → newton-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/313601

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/306430
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=b9a06d968f191f8511ac4ba25506c3c1ccc85cdc
Submitter: Jenkins
Branch: master

commit b9a06d968f191f8511ac4ba25506c3c1ccc85cdc
Author: Peter MacKinnon <email address hidden>
Date: Fri Apr 15 09:29:02 2016 -0400

    Enhance mongod pid find for multiple distros

    Modify the FIND_PID system code use of ps to more specifically
    target the actual mongod or mongos process for different distros.

    Change-Id: Idbbaf8802396ff7c4f6c536b8c0e9a8169163c94
    Closes-Bug: #1570866

Changed in trove:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (stable/mitaka)

Reviewed: https://review.openstack.org/313601
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=7520ac332cd9c6babc3e3c691e5ccdecd081d404
Submitter: Jenkins
Branch: stable/mitaka

commit 7520ac332cd9c6babc3e3c691e5ccdecd081d404
Author: Peter MacKinnon <email address hidden>
Date: Fri Apr 15 09:29:02 2016 -0400

    Enhance mongod pid find for multiple distros

    Modify the FIND_PID system code use of ps to more specifically
    target the actual mongod or mongos process for different distros.

    Change-Id: Idbbaf8802396ff7c4f6c536b8c0e9a8169163c94
    Closes-Bug: #1570866
    (cherry picked from commit b9a06d968f191f8511ac4ba25506c3c1ccc85cdc)

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/trove 5.0.1

This issue was fixed in the openstack/trove 5.0.1 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/trove 6.0.0.0b2

This issue was fixed in the openstack/trove 6.0.0.0b2 development milestone.

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.