← Back to team overview

openstack team mailing list archive

openstack Object storage on rhel6.0

 

Hi All,

I configured Openstack Object Storage on rhel6.0.

1) i have 3 Object server which has ip 10.30.91.81,82,83
2) i have proxy server which has ip 10.30.91.80
2) account/container server have only one system i e 10.30.91.84
3) i confiugured 5 zones on each object, account and container
4) i am able to start proxy-server
5) now i am in swift account admin to test

http://docs.openstack.org/diablo/openstack-object-storage/admin/content/verify-swift-installation.html
i attached proxy-server.conf file.

6) on a proxy node, given command as above given in link "openssl req -new
-x509 -nodes -out cert.crt -keyout cert.key" under cd /etc/swift.
7) im not sure after above command, do we need to do any other steps to
configure openssl on systems
8) installed swauth rpm on proxy-server.

i am not sure what needs to be done.

if some one can help me, it is really good as i am much needed very
urgently. let me know if i can call to you also. i am from bangalore.


Note:  All nodes are VM in esx server.

Thanks & Regards
Sudhakar Maiya.P
[DEFAULT]
cert_file = /etc/swift/cert.crt
key_file = /etc/swift/cert.key
bind_port = 8080
bind_ip = 10.30.91.80
workers = 8
user = swift

[pipeline:main]
pipeline = healthcheck cache swauth proxy-server

[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true

[filter:swauth]
use = egg:swauth#swauth
set log_name = swauth
super_admin_key = swauthkey
default_swift_cluster = local#https://10.30.91.80:8080/v1

[filter:healthcheck]
use = egg:swift#healthcheck

[filter:cache]
use = egg:swift#memcache
memcache_servers = 10.30.91.80:11211
Feb 22 21:42:23 ostack-proxyserver proxy-server 10.30.91.80 10.30.91.80 23/Feb/2012/03/42/23 POST /v1/v2/.prep HTTP/1.0 401 - - - - - - - - 0.0012
Feb 22 21:42:28 ostack-proxyserver proxy-server ERROR with Account server 10.30.91.84:6012/sdb10 re: Trying to PUT /AUTH_.auth: Connection refused
Feb 22 21:42:28 ostack-proxyserver proxy-server ERROR with Account server 10.30.91.84:6032/sdb12 re: Trying to PUT /AUTH_.auth: Connection refused
Feb 22 21:42:28 ostack-proxyserver proxy-server ERROR with Account server 10.30.91.84:6042/sdb13 re: Trying to PUT /AUTH_.auth: Connection refused
Feb 22 21:42:28 ostack-proxyserver proxy-server ERROR with Account server 10.30.91.84:6022/sdb11 re: Trying to PUT /AUTH_.auth: Connection refused
Feb 22 21:42:28 ostack-proxyserver proxy-server ERROR with Account server 10.30.91.84:6052/sdb14 re: Trying to PUT /AUTH_.auth: Connection refused
Feb 22 21:42:28 ostack-proxyserver proxy-server Account PUT returning 503 for (503, 503, 503)
Feb 22 21:42:28 ostack-proxyserver proxy-server - - 23/Feb/2012/03/42/28 PUT /v1/AUTH_.auth HTTP/1.0 503 - Swauth - - - - - - 0.0082
Feb 22 21:42:28 ostack-proxyserver proxy-server STDOUT: EXCEPTION IN handle: Traceback (most recent call last):#012  File "/usr/lib/python2.6/site-packages/swauth/middleware.py", line 415, in handle#012    return self.handle_request(req)(env, start_response)#012  File "/usr/lib/python2.6/site-packages/swauth/middleware.py", line 482, in handle_request#012    req.response = handler(req)#012  File "/usr/lib/python2.6/site-packages/swauth/middleware.py", line 510, in handle_prep#012    (path, resp.status))#012Exception: Could not create the main auth account: /v1/AUTH_.auth 503 Internal Server Error#012: {'SCRIPT_NAME': '/auth/v2', 'webob.adhoc_attrs': {'start_time': 1329968548.6795239, 'bytes_transferred': '-', 'client_disconnect': False}, 'REQUEST_METHOD': 'POST', 'PATH_INFO': '/.prep', 'SERVER_PROTOCOL': 'HTTP/1.0', 'eventlet.posthooks': [(<bound method Swauth.posthooklogger of <swauth.middleware.Swauth object at 0x1b93a10>>, (<Request at 0x20be590 POST http://10.30.91.80:8080/auth/v2/.prep>,), {})], 'SERVER_NAME': '10.30.91.80', 'REMOTE_ADDR': '10.30.91.80', 'eventlet.input': <eventlet.wsgi.Input object at 0x1e83890>, 'HTTP_X_AUTH_ADMIN_KEY': 'swauthkey', 'wsgi.url_scheme': 'http', 'SERVER_PORT': '8080', 'HTTP_X_AUTH_ADMIN_USER': '.super_admin', 'HTTP_X_CF_TRANS_ID': 'tx1079a0b2-5656-45cc-b618-46792e308e6b', 'wsgi.input': <eventlet.wsgi.Input object at 0x1e83890>, 'HTTP_HOST': '10.30.91.80:8080', 'swift.cache': <swift.common.memcached.MemcacheRing object at 0x20bcf10>, 'wsgi.multithread': True, 'wsgi.version': (1, 0), 'GATEWAY_INTERFACE': 'CGI/1.1', 'wsgi.run_once': False, 'wsgi.errors': <swift.common.utils.LoggerFileObject object at 0x1b777d0>, 'wsgi.multiprocess': False, 'CONTENT_TYPE': None, 'HTTP_ACCEPT_ENCODING': 'identity'}