User:Bhartshorne/swift upgrade notes 2012-08
From Wikitech
< User:Bhartshorne(Difference between revisions)
Bhartshorne (Talk | contribs) |
Bhartshorne (Talk | contribs) |
||
| Line 39: | Line 39: | ||
[filter:proxy-logging] | [filter:proxy-logging] | ||
use = egg:swift#proxy_logging | use = egg:swift#proxy_logging | ||
| + | |||
| + | change rewrite.py | ||
| + | * remove the ObjectController class | ||
| + | * adjust call(): | ||
| + | app_iter = self._app_call(env) #01 | ||
| + | status = self._get_status_int() | ||
| + | headers = self._response_headers | ||
Revision as of 18:49, 8 August 2012
swift upgrade notes from 1.4.3 to 1.5.0-3
packages (bast1001:~ben/swift_packages_1.5.0.tgz):
- python-ss-statsd_1.7-4ss7_all.deb (requires python-argparse)
- python-swauth_1.0.5~dev-1_all.deb
- python-swift_1.5.0-3_all.deb
- swift_1.5.0-3_all.deb
- swift-account_1.5.0-3_all.deb
- swift-container_1.5.0-3_all.deb
- swift-doc_1.5.0-3_all.deb
- swift-object_1.5.0-3_all.deb
- swift-proxy_1.5.0-3_all.deb
How these are broken up:
- all hosts:
- python-ss-statsd_1.7-4ss7_all.deb
- python-swift_1.5.0-3_all.deb
- swift_1.5.0-3_all.deb
- swift-doc_1.5.0-3_all.deb
- proxy:
- swift-proxy_1.5.0-3_all.deb
- python-swauth_1.0.5~dev-1_all.deb
- storage:
- swift-account_1.5.0-3_all.deb
- swift-container_1.5.0-3_all.deb
- swift-object_1.5.0-3_all.deb
config changes needed
- statsd configs
- db preallocation to false
- proxy logging
- swift recon (optional)
config changes for the proxy server
- proxy logging
- change /etc/proxy-server.conf
pipeline = rewrite healthcheck cache swauth proxy-logging proxy-server ... [filter:proxy-logging] use = egg:swift#proxy_logging
change rewrite.py
- remove the ObjectController class
- adjust call():
app_iter = self._app_call(env) #01 status = self._get_status_int() headers = self._response_headers