Bug 916622
| Summary: | Default object-server.conf doesn't contain a object-expirer config section | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Derek Higgins <derekh> | ||||||
| Component: | openstack-swift | Assignee: | Pete Zaitcev <zaitcev> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Martina Kollarova <mkollaro> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 2.1 | CC: | derekh, ncredi, zaitcev | ||||||
| Target Milestone: | snapshot5 | Keywords: | Triaged | ||||||
| Target Release: | 2.1 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | openstack-swift-1.7.4-11.el6ost | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-04-04 18:00:33 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Derek Higgins
2013-02-28 14:05:09 UTC
Created attachment 704293 [details]
Candidate 1
How about this - let the start to introspect. Note that this patch does not add /etc/swift/object-expirer.conf. Should we?
(In reply to comment #2) > Created attachment 704293 [details] > Candidate 1 > > How about this - let the start to introspect. Note that this patch does not > add /etc/swift/object-expirer.conf. Should we? Yup, I think we should, would adding the section to the proxy config file and using it simply be enough? or create a new expirer config file. wouldn't including either of these in the package remove the need to introsect ? Adding a section [object-expirer] to the proxy-server.conf is sufficient, but it still requires almost exactly the same patch as Candidate 1, because the name of the config is different from "object-server.conf" that the common function swift_action() insists on using in such case. Created attachment 705288 [details]
Candidate 2
ok, how about now?
Created attachment 706212 [details]
Candidate 3
Not sure if you guys appreciate this peacemeal approach, but this seems to
work in my testing. This includes verifying that expirer works by itself.
Comment on attachment 706212 [details]
Candidate 3
looks good to me
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. http://rhn.redhat.com/errata/RHBA-2013-0706.html |