error make swift [closed]

asked 2014-01-23 01:48:14 -0500

rizka gravatar image

updated 2014-01-24 11:22:50 -0500

smaffulli gravatar image

I am using ubuntu 12.04. Now, I make swift in different partision. when I verify my swift with this command

swift -v -V 2.0 -A http://127.0.0.1:5000/v2.0/ -U service:swift -K swift stat
Account HEAD failed: http://10.42.11.15:8080/v1/AUTH_8846b7c834c44d50927dea59ee190671 500 Internal Server Error

what can I do to fix it ?

my proxy-server.conf like this

[DEFAULT]
bind_port = 8080
user = swift
swift_dir = /etc/swift
[pipeline:main]
# Order of execution of modules defined below
pipeline = catch_errors healthcheck cache authtoken keystone proxy-server
[app:proxy-server]
use = egg:swift#proxy
allow_account_management = true
account_autocreate = true
set log_name = swift-proxy
set log_facility = LOG_LOCAL0
set log_level = INFO
[filter:healthcheck]
use = egg:swift#healthcheck
[filter:catch_errors]
use = egg:swift#catch_errors
[filter:cache]
use = egg:swift#memcache
set log_name = cache
[filter:authtoken]
paste.filter_factory = keystone.middleware.auth_token:filter_factory
auth_protocol = http
auth_host = 127.0.0.1
auth_port = 35357
auth_token = admin
service_protocol = http
service_host = 127.0.0.1
service_port = 5000
admin_token = admin
admin_tenant_name = service
admin_user = swift
admin_password = swift
delay_auth_decision = 0
[filter:keystone]
paste.filter_factory = keystone.middleware.swift_auth:filter_factory
operator_roles = admin, swiftoperator
is_admin = true
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-02-16 22:34:00.619463

Comments

how can I check keystone service & authentication running well ? (I am sorry, I still learning)

rizka gravatar imagerizka ( 2014-01-27 01:01:58 -0500 )edit

Hi Rizka, I looks like the problem on your Swift instead Keystone. What's the owner of your Swift disks mount point ? is it set to swift.swift ?

Hugo Kuo gravatar imageHugo Kuo ( 2014-01-27 01:23:21 -0500 )edit

@rizka if you're learning, reading the documentation would be the first suggestion for you. You'll find it on http://docs.openstack.org

smaffulli gravatar imagesmaffulli ( 2014-01-27 17:36:24 -0500 )edit

@smaffulli oke. thank. fix,the problem is my swift disk not mounting. when I mount swift can running

rizka gravatar imagerizka ( 2014-02-04 01:33:17 -0500 )edit