ceph missing lockfile-progs

Bug #1629104 reported by Kevin Metz
22
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Landscape Server
Fix Released
High
Adam Collard
ceph (Juju Charms Collection)
Fix Released
High
Adam Collard

Bug Description

When deploying nagios the following error occurs

Nagios attempts to get a ceph status through nrpe, the resulting error is sent to /dev/null but /usr/local/bin/collect_ceph_status.sh calls lockfile-create as part of the script. lockfile create is part of lockfile-progs, which is not installed

nagios reports:
/var/lib/nagios/cat-ceph-status.txt: does not exist

Tags: landscape
Changed in landscape:
milestone: none → 16.11
Changed in ceph (Juju Charms Collection):
status: New → Confirmed
tags: added: landscape
description: updated
summary: - ceph missing lockfile-prog
+ ceph missing lockfile-progs
Changed in ceph (Juju Charms Collection):
assignee: nobody → Adam Collard (adam-collard)
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph (master)

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

Changed in ceph (Juju Charms Collection):
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph (master)

Reviewed: https://review.openstack.org/404237
Committed: https://git.openstack.org/cgit/openstack/charm-ceph/commit/?id=5d635ae39480a8714d11c248c8ba373d087c878c
Submitter: Jenkins
Branch: master

commit 5d635ae39480a8714d11c248c8ba373d087c878c
Author: Adam Collard <email address hidden>
Date: Tue Nov 29 14:24:51 2016 +0000

    Install lockfile-progs when related to nagios

    The nrpe ceph status script relies on lockfile-create, but
    lockfile-progs (package containing lockfile-create) was missing from
    the install. Install it when related to nagios, and on upgrade-charm
    when related to nagios.

    Change-Id: I0addf9993d486a4d305dd554237efe554d4608d4
    Closes-Bug: #1629104

Changed in ceph (Juju Charms Collection):
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph (stable/16.10)

Fix proposed to branch: stable/16.10
Review: https://review.openstack.org/404346

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph (stable/16.10)

Reviewed: https://review.openstack.org/404346
Committed: https://git.openstack.org/cgit/openstack/charm-ceph/commit/?id=932d073b58f50992fb245df8aede97f64d245878
Submitter: Jenkins
Branch: stable/16.10

commit 932d073b58f50992fb245df8aede97f64d245878
Author: Adam Collard <email address hidden>
Date: Tue Nov 29 14:24:51 2016 +0000

    Install lockfile-progs when related to nagios

    The nrpe ceph status script relies on lockfile-create, but
    lockfile-progs (package containing lockfile-create) was missing from
    the install. Install it when related to nagios, and on upgrade-charm
    when related to nagios.

    Change-Id: I0addf9993d486a4d305dd554237efe554d4608d4
    Closes-Bug: #1629104
    (cherry picked from commit 5d635ae39480a8714d11c248c8ba373d087c878c)

Changed in landscape:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Adam Collard (adam-collard)
James Page (james-page)
Changed in ceph (Juju Charms Collection):
status: Fix Committed → Fix Released
milestone: none → 17.01
Changed in landscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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