Don't run updatedb on storage locations

Bug #1520226 reported by Peter Sabaini
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ceph OSD Charm
Fix Released
High
Chris MacNaughton
OpenStack Ceph Charm (Retired)
Fix Released
High
Chris MacNaughton
OpenStack Swift Storage Charm
Fix Released
High
Chris MacNaughton
ceph (Juju Charms Collection)
Invalid
High
Chris MacNaughton
ceph-osd (Juju Charms Collection)
Invalid
High
Chris MacNaughton
swift-storage (Juju Charms Collection)
Invalid
High
Chris MacNaughton

Bug Description

We've seen updatedb visiting block-devices used and mounted by swift-storage, causing a considerable I/O load for those devices. The swift-charm should configure updatedb PRUNE_PATHS to exclude those block-devices from scanning.

Changed in ceph (Juju Charms Collection):
status: New → Triaged
Changed in ceph-osd (Juju Charms Collection):
status: New → Triaged
Changed in swift-storage (Juju Charms Collection):
status: New → Triaged
Changed in ceph (Juju Charms Collection):
importance: Undecided → Wishlist
Changed in ceph-osd (Juju Charms Collection):
importance: Undecided → Wishlist
Changed in swift-storage (Juju Charms Collection):
importance: Undecided → Wishlist
Revision history for this message
Chris Holcombe (xfactor973) wrote :

Agreed. Would you like to make the change? As each hard drive is run through osdize it should be added to the updatedb.conf file.

James Page (james-page)
Changed in ceph (Juju Charms Collection):
importance: Wishlist → Medium
Changed in ceph-osd (Juju Charms Collection):
importance: Wishlist → Medium
Changed in swift-storage (Juju Charms Collection):
importance: Wishlist → Medium
Changed in ceph (Juju Charms Collection):
milestone: none → 17.01
Changed in ceph-osd (Juju Charms Collection):
milestone: none → 17.01
Changed in swift-storage (Juju Charms Collection):
milestone: none → 17.01
Revision history for this message
James Page (james-page) wrote :

Bumping importance of this bug.

Changed in ceph (Juju Charms Collection):
importance: Medium → High
Changed in ceph-osd (Juju Charms Collection):
importance: Medium → High
Changed in swift-storage (Juju Charms Collection):
importance: Medium → High
Changed in ceph (Juju Charms Collection):
assignee: nobody → Chris MacNaughton (chris.macnaughton)
status: Triaged → In Progress
Changed in ceph-osd (Juju Charms Collection):
assignee: nobody → Chris MacNaughton (chris.macnaughton)
status: Triaged → In Progress
Changed in swift-storage (Juju Charms Collection):
assignee: nobody → Chris MacNaughton (chris.macnaughton)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-osd (master)

Reviewed: https://review.openstack.org/419497
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-osd/commit/?id=7b38a56cf573cf7a443d8a4dbe2622fa51aeae9a
Submitter: Jenkins
Branch: master

commit 7b38a56cf573cf7a443d8a4dbe2622fa51aeae9a
Author: Chris MacNaughton <email address hidden>
Date: Thu Jan 12 16:54:48 2017 +0200

    Remove /var/lib/ceph from updatedb

    This stops updatedb from indexing the storage locations

    Change-Id: Idd77f0fc087a06af874d2865bfec8c319a0b15dd
    Closes-bug: 1520226

Changed in ceph-osd (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page)
Changed in ceph-osd (Juju Charms Collection):
status: Fix Committed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph-osd (master)

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

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

Reviewed: https://review.openstack.org/425172
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-osd/commit/?id=618fb25a8c488963c5b588b2ba0ac927b880ccdc
Submitter: Jenkins
Branch: master

commit 618fb25a8c488963c5b588b2ba0ac927b880ccdc
Author: Chris MacNaughton <email address hidden>
Date: Wed Jan 25 08:33:06 2017 -0500

    Remove /var/lib/ceph from updatedb

    This stops updatedb from indexing the storage locations

    Closes-bug: 1520226

    Change-Id: I3370af6c31689392b915f402e53a328f061ef4b0

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

Reviewed: https://review.openstack.org/420705
Committed: https://git.openstack.org/cgit/openstack/charm-swift-storage/commit/?id=47a4ac6e482c4c24d4a58e05d6a5ab3ac73b95e1
Submitter: Jenkins
Branch: master

commit 47a4ac6e482c4c24d4a58e05d6a5ab3ac73b95e1
Author: Chris MacNaughton <email address hidden>
Date: Mon Jan 16 14:00:07 2017 +0100

    Remove /srv/node from updatedb

    This stops updatedb from indexing the storage locations

    Change-Id: I6ca6b8667fb06d3b52cedd151531fc0033cf2526
    Closes-bug: 1520226

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

Reviewed: https://review.openstack.org/419495
Committed: https://git.openstack.org/cgit/openstack/charm-ceph/commit/?id=4aecaa7159287957ecd13f15514deeb51b249403
Submitter: Jenkins
Branch: master

commit 4aecaa7159287957ecd13f15514deeb51b249403
Author: Chris MacNaughton <email address hidden>
Date: Thu Jan 12 16:53:28 2017 +0200

    Remove /var/lib/ceph from updatedb

    This stops updatedb from indexing the storage locations

    Change-Id: I98caae42a16c31d0e9942150449f8937ab721291
    Closes-bug: 1520226

James Page (james-page)
Changed in charm-ceph:
assignee: nobody → Chris MacNaughton (chris.macnaughton)
importance: Undecided → High
status: New → Fix Committed
Changed in ceph (Juju Charms Collection):
status: Fix Committed → Invalid
Changed in charm-ceph-osd:
assignee: nobody → Chris MacNaughton (chris.macnaughton)
importance: Undecided → High
status: New → Fix Committed
Changed in ceph-osd (Juju Charms Collection):
status: Fix Committed → Invalid
James Page (james-page)
Changed in charm-swift-storage:
assignee: nobody → Chris MacNaughton (chris.macnaughton)
importance: Undecided → High
status: New → Fix Committed
Changed in swift-storage (Juju Charms Collection):
status: Fix Committed → Invalid
James Page (james-page)
Changed in charm-ceph:
milestone: none → 17.02
Changed in charm-ceph-osd:
milestone: none → 17.02
Changed in charm-swift-storage:
milestone: none → 17.02
James Page (james-page)
Changed in charm-ceph:
status: Fix Committed → Fix Released
Changed in charm-ceph-osd:
status: Fix Committed → Fix Released
Changed in charm-swift-storage:
status: Fix Committed → Fix Released
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.