Bug 1387129

Summary: swift object replicator and auditor is too aggressive
Product: Red Hat OpenStack Reporter: Attila Fazekas <afazekas>
Component: openstack-tripleoAssignee: James Slagle <jslagle>
Status: CLOSED DUPLICATE QA Contact: Arik Chernetsky <achernet>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: cschwede, mburns, pgrist, rhel-osp-director-maint
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-02 13:37:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***