← Back to team overview

openstack team mailing list archive

Re: Object Storage Swift on rhel6.0

 

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
>


Follow ups

References