[Openstack] Swift stat Account HEAD failed

Therese Persson therese.persson at ericsson.com
Thu Oct 24 14:13:23 UTC 2013


Hello,

I have encountered a problem regarding Swift in my one node installation of OpenStack on Ubuntu 12.04.
When I try to run the command "swift stat" I get the following error:

Account HEAD failed: http://XXX.XXX.XXX.XXX:8888/v1/AUTH_519c6e2d263049adba404441f18aab60 400 Bad Request

And in /var/log/syslog :

Oct 24 15:45:37 kds-openstack-01 account-server 10.10.10.51 - - [24/Oct/2013:13:45:37 +0000] "HEAD /cciss/c0d2p1/182082/AUTH_519c6e2d263049adba404441f18aab60" 400 72 "tx6dd78c64bf6b4ceca3a568c04628fad3" "-" "-" 0.0002 ""
Oct 24 15:45:40 kds-openstack-01 object-replicator Starting object replication pass.
Oct 24 15:45:40 kds-openstack-01 object-replicator Nothing replicated for 0.00279688835144 seconds.
Oct 24 15:45:40 kds-openstack-01 object-replicator Object replication complete. (0.00 minutes)
Oct 24 15:45:41 kds-openstack-01 object-auditor Begin object audit "forever" mode (ALL)
Oct 24 15:45:41 kds-openstack-01 object-auditor Object audit (ALL) "forever" mode completed: 0.00s. Total quarantined: 0, Total errors: 0, Total files/sec: 0.00 , Total bytes/sec: 0.00, Auditing time: 0.00, Rate: 0.00
Oct 24 15:45:42 kds-openstack-01 object-auditor Begin object audit "forever" mode (ZBF)
Oct 24 15:45:42 kds-openstack-01 object-auditor Object audit (ZBF) "forever" mode completed: 0.00s. Total quarantined: 0, Total errors: 0, Total files/sec: 0.00 , Total bytes/sec: 0.00, Auditing time: 0.00, Rate: 0.00
Oct 24 15:45:42 kds-openstack-01 container-replicator Beginning replication run
Oct 24 15:45:42 kds-openstack-01 container-replicator Replication run OVER
Oct 24 15:45:42 kds-openstack-01 container-replicator Attempted to replicate 0 dbs in 0.00285 seconds (0.00000/s)
Oct 24 15:45:42 kds-openstack-01 container-replicator Removed 0 dbs
Oct 24 15:45:42 kds-openstack-01 container-replicator 0 successes, 0 failures
Oct 24 15:45:42 kds-openstack-01 container-replicator no_change:0 ts_repl:0 diff:0 rsync:0 diff_capped:0 hashmatch:0 empty:0
Oct 24 15:45:51 kds-openstack-01 object-updater Begin object update sweep
Oct 24 15:45:51 kds-openstack-01 object-updater Skipping cciss as it is not mounted
Oct 24 15:45:51 kds-openstack-01 object-updater Skipping sdc1 as it is not mounted
Oct 24 15:45:51 kds-openstack-01 object-updater Object update sweep completed: 0.00s
Oct 24 15:45:56 kds-openstack-01 account-replicator Beginning replication run
Oct 24 15:45:56 kds-openstack-01 account-replicator Replication run OVER
Oct 24 15:45:56 kds-openstack-01 account-replicator Attempted to replicate 0 dbs in 0.00288 seconds (0.00000/s)
Oct 24 15:45:56 kds-openstack-01 account-replicator Removed 0 dbs
Oct 24 15:45:56 kds-openstack-01 account-replicator 0 successes, 0 failures
Oct 24 15:45:56 kds-openstack-01 account-replicator no_change:0 ts_repl:0 diff:0 rsync:0 diff_capped:0 hashmatch:0 empty:0
Oct 24 15:46:10 kds-openstack-01 object-replicator Starting object replication pass.
Oct 24 15:46:10 kds-openstack-01 object-replicator Nothing replicated for 0.00280404090881 seconds.
Oct 24 15:46:10 kds-openstack-01 object-replicator Object replication complete. (0.00 minutes)
Oct 24 15:46:11 kds-openstack-01 object-auditor Begin object audit "forever" mode (ALL)
Oct 24 15:46:11 kds-openstack-01 object-auditor Object audit (ALL) "forever" mode completed: 0.00s. Total quarantined: 0, Total errors: 0, Total files/sec: 0.00 , Total bytes/sec: 0.00, Auditing time: 0.00, Rate: 0.00
Oct 24 15:46:12 kds-openstack-01 object-auditor Begin object audit "forever" mode (ZBF)
Oct 24 15:46:12 kds-openstack-01 object-auditor Object audit (ZBF) "forever" mode completed: 0.00s. Total quarantined: 0, Total errors: 0, Total files/sec: 0.00 , Total bytes/sec: 0.00, Auditing time: 0.00, Rate: 0.00


When I try to run the command "swift list" I get:

Account GET failed: http://XXX.XXX.XXX.XXX:8888/v1/AUTH_519c6e2d263049adba404441f18aab60?format=json 400 Bad Request  [first 60 chars of response] Invalid path: /cciss/c0d2p1/182082/AUTH_519c6e2d263049adba40


This is my /etc/swift/proxy-server.conf file:

[DEFAULT]
bind_port = 8888
user = swift

[pipeline:main]
pipeline = healthcheck cache authtoken keystoneauth proxy-server

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

[filter:keystoneauth]
use = egg:swift#keystoneauth
operator_roles = Member,admin,swiftoperator

[filter:authtoken]
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory

# Delaying the auth decision is required to support token-less
# usage for anonymous referrers ('.r:*').
delay_auth_decision = true

# cache directory for signing certificate
signing_dir = /home/swift/keystone-signing

# auth_* settings refer to the Keystone server
auth_protocol = http
auth_host = 10.10.10.51
auth_port = 35357

# the same admin_token as provided in keystone.conf
admin_token = ADMIN

# the service tenant and swift userid and password created in Keystone
admin_tenant_name = service
admin_user = swift
admin_password = swiftpass

[filter:cache]
use = egg:swift#memcache

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

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


This is my /etc/swift/swift.conf file:

[swift-hash]
# random unique string that can never change (DO NOT LOSE)
swift_hash_path_suffix = fLIbertYgibbitZ


My /etc/fstab file:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/cciss/c0d0p1 during installation
UUID=0525cb6d-4fda-42f4-af0d-11395891a004 /               ext4    errors=remount-ro 0       1
# swap was on /dev/cciss/c0d0p5 during installation
UUID=950a33b7-495b-4117-8bb5-194949776748 none            swap    sw              0       0
/dev/cciss/c0d2p1 /srv/node/cciss/c0d2p1                  xfs noatime,nodiratime,nobarrier,logbufs=8 0 0



I would appreciate if anyone could help me troubleshot this problem or come up with a solution.

Just ask if you need any more information e.g. other conf files or logs.

Best regards,

Therese Persson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131024/fe58f83c/attachment.html>


More information about the Openstack mailing list