Bug 1387129 - swift object replicator and auditor is too aggressive
Summary: swift object replicator and auditor is too aggressive
Keywords:
Status: CLOSED DUPLICATE of bug 1381721
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-20 07:55 UTC by Attila Fazekas
Modified: 2016-11-02 13:54 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-02 13:37:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Attila Fazekas 2016-10-20 07:55:00 UTC
Description of problem:

When swift has almost zero data and zero real user, but consumes significant amount of the I/O and CPU capacity.


Version-Release number of selected component (if applicable):
openstack-swift-plugin-swift3-1.11.1-0.20160929001717.e7a2b88.el7ost.noarch
puppet-swift-9.4.0-1.el7ost.noarch
python-swiftclient-3.1.0-0.20160920234445.cbd71a8.el7ost.noarch
openstack-swift-account-2.10.1-0.20160929005314.3349016.el7ost.noarch
python-swift-2.10.1-0.20160929005314.3349016.el7ost.noarch
openstack-swift-container-2.10.1-0.20160929005314.3349016.el7ost.noarch
openstack-swift-proxy-2.10.1-0.20160929005314.3349016.el7ost.noarch
openstack-swift-object-2.10.1-0.20160929005314.3349016.el7ost.noarch
openstack-tripleo-heat-templates-5.0.0-0.20161003064637.d636e3a.1.1.el7ost.noarch
openstack-tripleo-0.0.1-0.20160916135259.4de13b3.el7ost.noarch
python-tripleoclient-5.2.0-1.el7ost.noarch
openstack-tripleo-puppet-elements-5.0.0-0.20160929220627.200d011.el7ost.noarch
puppet-tripleo-5.2.0-1.el7ost.noarch
openstack-tripleo-common-5.2.1-0.20160930181658.40ad7e5.el7ost.noarch
openstack-tripleo-image-elements-5.0.0-0.20161002235922.14e1f41.el7ost.noarch
openstack-tripleo-ui-1.0.3-0.20160930145215.f7297c3.el7ost.noarch


Please tune the defaults to use less than 200 IOPS  and less than 1 cpu core per node in avg, when it is idle (no real user).

Comment 1 Christian Schwede (cschwede) 2016-11-02 13:37:46 UTC
This is basically the same as described in https://bugzilla.redhat.com/show_bug.cgi?id=1381721.

As a fix for that, we did the following changes that are included in latest builds:

Set concurrency to 1 for auditor/replicator/updater
- https://review.openstack.org/#/c/383724/

Throttle update_auditor_status calls
- https://review.openstack.org/#/c/383707/

Closing this bug as duplicate therefore.

*** This bug has been marked as a duplicate of bug 1381721 ***


Note You need to log in before you can comment on or make changes to this bug.