Created
March 24, 2014 09:24
-
-
Save HugoKuo/9737034 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===== ERROR Msgs ===== | |
Mar 24 01:54:28 localhost container-sync: ERROR Syncing /srv/node/d5/containers/253/414/3f469a092b89f7421aa7740e166ca414/3f469a092b89f7421aa7740e166ca414.db {'name': 'obj2', 'deleted': 0, 'created_at': '1395650480.62009', 'etag': '1f18348f32c9a4694f16426798937ae2', 'content_type': 'application/octet-stream', 'ROWID': 1, 'size': 5}: | |
Traceback (most recent call last): | |
File "/usr/lib/pymodules/python2.7/swift/container/sync.py", line 421, in container_sync_row | |
proxy=self.select_http_proxy()) | |
File "/usr/lib/pymodules/python2.7/swift/common/internal_client.py", line 778, in put_object | |
client.retry_request('PUT', **kwargs) | |
File "/usr/lib/pymodules/python2.7/swift/common/internal_client.py", line 750, in retry_request | |
return self.base_request(method, **kwargs) | |
File "/usr/lib/pymodules/python2.7/swift/common/internal_client.py", line 735, in base_request | |
urllib2.urlopen(req) | |
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen | |
return _opener.open(url, data, timeout) | |
File "/usr/lib/python2.7/urllib2.py", line 400, in open | |
response = self._open(req, data) | |
File "/usr/lib/python2.7/urllib2.py", line 418, in _open | |
'_open', req) | |
File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain | |
result = func(*args) | |
File "/usr/lib/python2.7/urllib2.py", line 1215, in https_open | |
return self.do_open(httplib.HTTPSConnection, req) | |
File "/usr/lib/python2.7/urllib2.py", line 1180, in do_open | |
r = h.getresponse(buffering=True) | |
File "/usr/lib/python2.7/httplib.py", line 1030, in getresponse | |
response.begin() | |
File "/usr/lib/python2.7/httplib.py", line 407, in begin | |
version, status, reason = self._read_status() | |
File "/usr/lib/python2.7/httplib.py", line 371, in _read_status | |
raise BadStatusLine(line)#012BadStatusLine: '' | |
===== container-sync-realms.conf ===== | |
[DEFAULT] | |
# The number of seconds between checking the modified time of this config file | |
# for changes and therefore reloading it. | |
mtime_check_interval = 300 | |
[realm1] | |
key = realm1key | |
key2 = realm1key2 | |
cluster_name1 = https://192.168.56.10/v1/ | |
cluster_name2 = https://host2/v1/ | |
===== Containers stat ===== | |
Account: AUTH_e2 | |
Container: c1 | |
Objects: 4 | |
Bytes: 20 | |
Read ACL: | |
Write ACL: | |
Sync To: //realm1/name1/AUTH_e2/c2 | |
Sync Key: keykey | |
Accept-Ranges: bytes | |
X-Timestamp: 1395650390.02811 | |
X-Trans-Id: tx76a1c2fec80f424d8a465-00532ff9a0 | |
Content-Type: text/plain; charset=utf-8 | |
Account: AUTH_e2 | |
Container: c2 | |
Objects: 3 | |
Bytes: 15 | |
Read ACL: | |
Write ACL: | |
Sync To: | |
Sync Key: keykey | |
Accept-Ranges: bytes | |
X-Timestamp: 1395650391.57976 | |
X-Trans-Id: tx16feb118ad294f0e8d4f0-00532ff9a1 | |
Content-Type: text/plain; charset=utf-8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
===== Proxy server configuration =====
swiftstack@swiftstack-paco:/var/log/swift$ cat /etc/swift/proxy-server.conf | head -n 40
[DEFAULT]
bind_ip = 127.0.0.1
bind_port = 8080
backlog = 4096
workers = 1
log_udp_host = 127.0.0.1
log_statsd_host = 127.0.0.1
log_statsd_port = 8125
client_timeout = 60
expose_info = True
[pipeline:main]
pipeline = catch_errors healthcheck proxy-logging cache bulk ratelimit formpost tempurl swc slo swiftstack_auth proxy-logging proxy-server
pipeline = catch_errors healthcheck proxy-logging cache container_sync bulk ratelimit formpost tempurl swc slo swiftstack_auth proxy-logging proxy-server
pipeline = catch_errors healthcheck proxy-logging cache container_sync swiftstack_auth proxy-logging proxy-server
pipeline = catch_errors healthcheck proxy-logging cache swiftstack_auth proxy-logging proxy-server