Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1165904 - object-expirer.conf could file should contain some meaningful explanation for each key in it
object-expirer.conf could file should contain some meaningful explanation for...
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: gluster-swift (Show other bugs)
3.0
x86_64 Unspecified
high Severity high
: ---
: RHGS 3.0.3
Assigned To: Prashanth Pai
SATHEESARAN
: ZStream
Depends On:
Blocks: 1162694
  Show dependency treegraph
 
Reported: 2014-11-19 21:03 EST by SATHEESARAN
Modified: 2015-05-13 13:41 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
The Object Expiration feature is now supported in Object Storage. This feature allows you to schedule deletion of objects that are stored in the Red Hat Storage volume. You can use the Object expiration feature to specify a lifetime for objects in the volume. When the lifetime of an object expires, it automatically stops serving that object and shortly thereafter removes the object from the Red Hat Storage volume.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-01-15 08:47:55 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0038 normal SHIPPED_LIVE Red Hat Storage 3.0 enhancement and bug fix update #3 2015-01-15 13:35:28 EST

  None (edit)
Description SATHEESARAN 2014-11-19 21:03:58 EST
Description of problem:
-----------------------
This configuration file, /etc/swift/object-expirer.conf doesn't explains about few of its keys. There should be little explanation or hint about that key, so that user can understand and later customize it, when required

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHS 3.0.3 
openstack-swift-{proxy,account,container,object}-1.13.1-2.el6ost.noarch.rpm 
swiftonfile-1.13.1-0.el6rhs

Steps to Reproduce:
--------------------
1. Contents of /etc/swift/

Actual results:
---------------
Few of the keys (interval, auto_create_account_prefix,expiring_objects_account_name) in the file /etc/swift/object-expirer.conf are not explained

Expected results:
-----------------
keys (interval, auto_create_account_prefix,expiring_objects_account_name) in the file /etc/swift/object-expirer.conf should be hinted about what it does

Additional info:
Comment 1 SATHEESARAN 2014-11-19 21:05:43 EST
Also the "TODO" label and its contents, should be removed from the configuration file as it looks little ugly.

The contents of /etc/swift/object-expirer.conf,

[root@rhss-swift1 ~]# cat /etc/swift/object-expirer.conf
#TODO: Add documentation to explain various options
#For now, refer: https://github.com/openstack/swift/blob/master/etc/object-expirer.conf-sample

[DEFAULT]

[object-expirer]
user = root
log_facility = LOG_LOCAL2
log_level = DEBUG
# The following parameters are used by object-expirer and needs to be same
# across all conf files!
auto_create_account_prefix = gs
expiring_objects_account_name = expiring

interval = 30

[pipeline:main]
pipeline = catch_errors cache proxy-server

[app:proxy-server]
use = egg:gluster_swift#proxy

[filter:cache]
use = egg:swift#memcache

[filter:catch_errors]
use = egg:swift#catch_errors
Comment 2 Prashanth Pai 2014-11-20 01:39:12 EST
Upstream patch here for reference: https://review.openstack.org/135861
Comment 3 SATHEESARAN 2014-12-09 06:03:32 EST
Verified with glusterfs-3.6.0.36-1.el6rhs.
The /etc/swift/object-expirer.conf has meaningful explanation for the users to customize.

Thanks Prashanth for adding the required changes.
Marking this bug as VERIFIED
Comment 4 Divya 2015-01-08 06:18:00 EST
Prashanth,

Please review the edited doc text and sign-off.
Comment 5 Prashanth Pai 2015-01-08 06:34:40 EST
This bug does NOT need a doc text. I don't want it to be mentioned anywhere in the doc either. Object expiration is a new feature for this release. The doc text and bug would only confuse the user/admin/customer.

If you were looking for the RFE/FEAT bug tracker for object expiration feature, this is not that one.
Comment 7 errata-xmlrpc 2015-01-15 08:47:55 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0038.html

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