← Back to team overview

openstack team mailing list archive

Re: Object Storage Swift on rhel6.0

 

attached the log file.

i stop all firewall services.

please let me know what can be done

regards
Sudhakar

On Thu, Feb 23, 2012 at 2:08 PM, Adrian Smith <adrian@xxxxxxxx> wrote:

> Your config file looks fine Sudhakar (included below, sent offline).
>
> Have you checked your syslog (/var/log/syslog) for errors?
>
> [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
>
>
> On 23 February 2012 04:39, Sudhakar Maiya <smaiya@xxxxxxxxx> wrote:
> > please check and let me know what needs to be done
> >
> >
> > On Wed, Feb 22, 2012 at 7:31 PM, Adrian Smith <adrian_f_smith@xxxxxxxx>
> > wrote:
> >>
> >> Is there anything of interest in your logs? This will either be
> >> /var/log/syslog or /var/log/swift/?. Depends how you configured it in
> >> /etc/swift/proxy-server.conf.
> >>
> >> On 22 February 2012 13:47, Sudhakar Maiya <smaiya@xxxxxxxxx> wrote:
> >> > when i tried with below command
> >> >
> >> >  swauth-add-user -K swauthkey -A http://10.30.91.80:8080/auth/ -a
> system
> >> > root testpass
> >> >
> >> > error
> >> >
> >> > Account creation failed: 500 Server Error
> >> > User creation failed: 500 Server Error
> >> >
> >> > Regards
> >> > Sudhakar
> >> >
> >> > On Wed, Feb 22, 2012 at 4:07 PM, Adrian Smith <
> adrian_f_smith@xxxxxxxx>
> >> > wrote:
> >> >>
> >> >> Could be a problem with the URL (/swauth rather than /auth). Try
> this,
> >> >>
> >> >> swauth-add-user -K swauthkey -A http://10.30.91.80:8080/auth/ -a
> >> >> system root testpass
> >> >>
> >> >>
> >> >> On 22 February 2012 10:16, Sudhakar Maiya <smaiya@xxxxxxxxx> wrote:
> >> >> > Hi,
> >> >> >
> >> >> > after successfull configuration of openstack object storage.. i
> tried
> >> >> > to
> >> >> > test the installation
> >> >> >
> >> >> > swauth-add-user -K swauthkey -A http://10.30.91.80:8080/swauth/ -a
> >> >> > system
> >> >> > root testpass
> >> >> >
> >> >> > error on /var/log/meesage
> >> >> >
> >> >> > Feb 21 22:06:18 ostack-proxyserver proxy-server ERROR with Account
> >> >> > server
> >> >> > 10.30.91.84:6042/sdb13 re: Trying to get account info for /v2:
> >> >> > Connection
> >> >> > refused (client_ip: 10.30.91.80)
> >> >> > Feb 21 22:06:18 ostack-proxyserver proxy-server ERROR with Account
> >> >> > server
> >> >> > 10.30.91.84:6052/sdb14 re: Trying to get account info for /v2:
> >> >> > Connection
> >> >> > refused (client_ip: 10.30.91.80)
> >> >> > Feb 21 22:06:18 ostack-proxyserver proxy-server ERROR with Account
> >> >> > server
> >> >> > 10.30.91.84:6022/sdb11 re: Trying to get account info for /v2:
> >> >> > Connection
> >> >> > refused (client_ip: 10.30.91.80)
> >> >> > Feb 21 22:06:18 ostack-proxyserver proxy-server ERROR with Account
> >> >> > server
> >> >> > 10.30.91.84:6032/sdb12 re: Trying to get account info for /v2:
> >> >> > Connection
> >> >> > refused (client_ip: 10.30.91.80)
> >> >> > Feb 21 22:06:18 ostack-proxyserver proxy-server 10.30.91.80
> >> >> > 10.30.91.80
> >> >> > 22/Feb/2012/04/06/18 PUT /swauth/v2/system/root HTTP/1.0 401 - - -
> -
> >> >> > - -
> >> >> > - -
> >> >> > 0.0151
> >> >> >
> >> >> > can any one help me on this
> >> >> >
> >> >> >
> >> >> > regards
> >> >> > Sudhakar
> >> >> >
> >> >> > On Tue, Feb 21, 2012 at 7:20 PM, Jasper Capel
> >> >> > <Jasper.Capel@xxxxxxxxxxxxx>
> >> >> > wrote:
> >> >> >>
> >> >> >> Change "use = egg:swift#swauth" to "use = egg:swauth#swauth".
> >> >> >>
> >> >> >> Cheers,
> >> >> >> Jasper
> >> >> >>
> >> >> >>
> >> >> >> On Feb 21, 2012, at 2:25 PM, Sudhakar Maiya wrote:
> >> >> >>
> >> >> >> yes i have installed rpm
> >> >> >>
> >> >> >> On Tue, Feb 21, 2012 at 6:53 PM, Chmouel Boudjnah
> >> >> >> <chmouel@xxxxxxxxxxx>
> >> >> >> wrote:
> >> >> >>>
> >> >> >>> Hi,
> >> >> >>>
> >> >> >>> On Tue, Feb 21, 2012 at 12:48 PM, Sudhakar Maiya <
> smaiya@xxxxxxxxx>
> >> >> >>> wrote:
> >> >> >>> > LookupError: Entry point 'swauth' not found in egg 'swift'
> (dir:
> >> >> >>> > /usr/lib/python2.6/site-packages; protocols:
> >> >> >>> > paste.filter_factory,
> >> >> >>> > paste.filter_app_factory; entry_points: )
> >> >> >>>
> >> >> >>> did you install Pete's swauth rpm?
> >> >> >>>
> >> >> >>> http://people.redhat.com/zaitcev/tmp/
> >> >> >>>
> >> >> >>> Cheers,
> >> >> >>> Chmouel.
> >> >> >>
> >> >> >>
> >> >> >> _______________________________________________
> >> >> >> Mailing list: https://launchpad.net/~openstack
> >> >> >> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> >> >> >> Unsubscribe : https://launchpad.net/~openstack
> >> >> >> More help   : https://help.launchpad.net/ListHelp
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >> > _______________________________________________
> >> >> > Mailing list: https://launchpad.net/~openstack
> >> >> > Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> >> >> > Unsubscribe : https://launchpad.net/~openstack
> >> >> > More help   : https://help.launchpad.net/ListHelp
> >> >> >
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Mailing list: https://launchpad.net/~openstack
> >> > Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> >> > Unsubscribe : https://launchpad.net/~openstack
> >> > More help   : https://help.launchpad.net/ListHelp
> >> >
> >
> >
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openstack
> > Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~openstack
> > More help   : https://help.launchpad.net/ListHelp
> >
>
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'}

Follow ups

References