swift error logs and error: [Errno 111] ECONNREFUSED
Hello ,I was wondering if any one could help me with this problem .I have installed a multimode installation based on the steps provided by http://
every time I run
swift -A https://<proxy_
i get
[Errno 111] ECONNREFUSED
and when I run
swift -A https://<proxy_
File "/usr/bin/swift", line 949, in run
self.func(item, *self.args, **self.kwargs)
File "/usr/bin/swift", line 1639, in _object_job
headers = conn.head_
File "/usr/bin/swift", line 861, in head_object
return self._retry(None, head_object, container, obj)
File "/usr/bin/swift", line 792, in _retry
rv = func(self.url, self.token, *args, **kwargs)
File "/usr/bin/swift", line 573, in head_object
conn.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.send(msg)
File "/usr/lib/
self.connect()
File "/usr/lib/
self.timeout, self.source_
File "/usr/lib/
raise error, msg
error: [Errno 111] ECONNREFUSED
I also can not find the log files for swift.
I also don't know where the log files are.
my proxy-server.conf file is as follows
[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
bind_port = 8080
workers = 8
user = swift
log_facility = LOG_LOCAL1
[pipeline:main]
pipeline = healthcheck cache tempauth proxy-server
[app:proxy-server]
use = egg:swift#proxy
allow_account_
[filter:tempauth]
use = egg:swift#tempauth
user_system_root = testpass .admin https://<proxy_
[filter:
use = egg:swift#
[filter:cache]
use = egg:swift#memcache
memcache_servers = <proxy_ip>:11211
I also get this when I enter the code below
curl -k -v -H 'X-Auth-Token: AUTH_**
* About to connect() to <proxy_ip> port 8080 (#0)
* Trying 1 connected
* Connected to <proxy_ip> ( <proxy_ip>) port 8080 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using AES256-SHA
* Server certificate:
* subject: C=SA; ST=gautang; L=johannesburg; O=**; OU=cns; CN=christopher; emailAddress=<my email>
* start date: 2011-09-23 07:41:45 GMT
* expire date: 2011-10-23 07:41:45 GMT
* common name: christopher (does not match ' <proxy_ip>')
* issuer: C=SA; ST=gautang; L=johannesburg; O=**; OU=cns; CN=christopher; emailAddress=<>my email
* SSL certificate verify result: self signed certificate (18), continuing anyway.
> GET /v1/AUTH_system HTTP/1.1
> User-Agent: curl/7.21.3 (x86_64-
> Host: <proxy_ip>:8080
> Accept: */*
> X-Auth-Token: AUTH_**
>
< HTTP/1.1 401 Unauthorized
< Content-Length: 358
< Content-Type: text/html; charset=UTF-8
< Date: Wed, 28 Sep 2011 09:27:06 GMT
<
<html>
<head>
<title>401 Unauthorized<
</head>
<body>
<h1>401 Unauthorized</h1>
This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.<br /><br />
</body>
* Connection #0 to host <proxy_ip> left intact
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Christophe Le Guern
- Solved:
- Last query:
- Last reply: