[Openstack] [OpenStack] swift mitaka version is not working.

Nalee Jang nalee999 at gmail.com
Wed Jul 13 01:41:57 UTC 2016


Hello everyone.

I am NaleeJang from OpenStack Korea User Group.

Nowadays, I have installed OpenStack Swift Mitaka manually referring to
OpenStack official ubuntu manual. but swift is not working. swift is
erupting below error messages. I don't understand this situation. I think
swift configuration is correct. because I have checked my swift
configuration many times. so I checked storage devices. but there was only
objects directory.

Please help me. What configuration do I check?



== current log if swift command execute

root at controller:~# swift stat

Account HEAD failed:
http://192.168.56.101:8080/v1/AUTHf23c0ab37da742c4a047a64226681a93 401
Unauthorized

== proxy-server logs ==

root at controller:/var/log# tail -f proxyserver.log

Jul  9 17:23:39 controller account-server: - - 09/Jul/2016/08/23/39 HEAD
/v1/AUTH5951307446914a7981b3faedf6471c72 HTTP/1.0 204 - Swift - - - -
tx40bfe658a3d345e486c6d-005780b48b - 0.0104 RL - 1468052619.720752001
1468052619.731138945 -

Jul  9 17:23:39 controller account-server: STDERR:
WARNING:account-server:Identity response: {"error": {"message": "The
request you have made requires authentication.", "code": 401, "title":
"Unauthorized"}} (txn: tx40bfe658a3d345e486c6d-005780b48b)

Jul  9 17:23:39 controller account-server: STDERR:
WARNING:account-server:Identity response: {"error": {"message": "The
request you have made requires authentication.", "code": 401, "title":
"Unauthorized"}} (txn: tx40bfe658a3d345e486c6d-005780b48b)

Jul  9 17:23:39 controller account-server: STDERR:
CRITICAL:account-server:Unable to validate token: Identity server rejected
authorization necessary to fetch token data (txn:
tx40bfe658a3d345e486c6d-005780b48b)

Jul  9 17:23:40 controller account-server: STDERR:
WARNING:account-server:Identity response: {"error": {"message": "The
request you have made requires authentication.", "code": 401, "title":
"Unauthorized"}} (txn: txb5f10f093080497d9e99e-005780b48c)

Jul  9 17:23:40 controller account-server: STDERR:
WARNING:account-server:Identity response: {"error": {"message": "The
request you have made requires authentication.", "code": 401, "title":
"Unauthorized"}} (txn: txb5f10f093080497d9e99e-005780b48c)

Jul  9 17:23:40 controller account-server: STDERR:
CRITICAL:account-server:Unable to validate token: Identity server rejected
authorization necessary to fetch token data (txn:
txb5f10f093080497d9e99e-005780b48c)

Jul  9 17:23:42 controller account-server: STDERR:
WARNING:account-server:Identity response: {"error": {"message": "The
request you have made requires authentication.", "code": 401, "title":
"Unauthorized"}} (txn: tx646501f394c640caa45b6-005780b48e)

Jul  9 17:23:42 controller account-server: STDERR:
WARNING:account-server:Identity response: {"error": {"message": "The
request you have made requires authentication.", "code": 401, "title":
"Unauthorized"}} (txn: tx646501f394c640caa45b6-005780b48e)

Jul  9 17:23:42 controller account-server: STDERR:
CRITICAL:account-server:Unable to validate token: Identity server rejected
authorization necessary to fetch token data (txn:
tx646501f394c640caa45b6-005780b48e)

Jul  9 17:23:46 controller account-server: - - 09/Jul/2016/08/23/46 HEAD
/v1/AUTH5951307446914a7981b3faedf6471c72 HTTP/1.0 204 - Swift - - - -
tx237059e8ccce443e8d173-005780b492 - 0.0102 RL - 1468052626.813312054
1468052626.823492050 -

Jul  9 17:23:46 controller account-server: STDERR:
WARNING:account-server:Identity response: {"error": {"message": "The
request you have made requires authentication.", "code": 401, "title":
"Unauthorized"}} (txn: tx237059e8ccce443e8d173-005780b492)

Jul  9 17:23:46 controller account-server: STDERR:
WARNING:account-server:Identity response: {"error": {"message": "The
request you have made requires authentication.", "code": 401, "title":
"Unauthorized"}} (txn: tx237059e8ccce443e8d173-005780b492)
Jul  9 17:23:46 controller account-server: STDERR:
CRITICAL:account-server:Unable to validate token: Identity server rejected
authorization necessary to fetch token data (txn:
tx237059e8ccce443e8d173-005780b492)


== common storage server logs ==

root at storage:/var/log# tail -f syslog

Jul  9 17:25:17 storage dhclient[1127]: DHCPREQUEST of 192.168.0.42 on
enp0s3 to 192.168.0.1 port 67 (xid=0x31fe5b7a)

Jul  9 17:25:21 storage account-replicator: Beginning replication run

Jul  9 17:25:21 storage account-replicator: Replication run OVER

Jul  9 17:25:21 storage account-replicator: Attempted to replicate 0 dbs in
0.00154 seconds (0.00000/s)

Jul  9 17:25:21 storage account-replicator: Removed 0 dbs

Jul  9 17:25:21 storage account-replicator: 0 successes, 0 failures

Jul  9 17:25:21 storage account-replicator: no_change:0 ts_repl:0 diff:0
rsync:0 diff_capped:0 hashmatch:0 empty:0

Jul  9 17:25:27 storage dhclient[1127]: DHCPREQUEST of 192.168.0.42 on
enp0s3 to 192.168.0.1 port 67 (xid=0x31fe5b7a)

Jul  9 17:25:35 storage container-replicator: Beginning replication run

Jul  9 17:25:35 storage container-replicator: Replication run OVER

Jul  9 17:25:35 storage container-replicator: Attempted to replicate 0 dbs
in 0.00207 seconds (0.00000/s)

Jul  9 17:25:35 storage container-replicator: Removed 0 dbs

Jul  9 17:25:35 storage container-replicator: 0 successes, 0 failures

Jul  9 17:25:35 storage container-replicator: no_change:0 ts_repl:0 diff:0
rsync:0 diff_capped:0 hashmatch:0 empty:0

Jul  9 17:25:37 storage object-replicator: Starting object replication pass.

Jul  9 17:25:37 storage object-replicator: Nothing replicated for
0.000726938247681 seconds.

Jul  9 17:25:37 storage object-replicator: Object replication complete.
(0.00 minutes)

Jul  9 17:25:37 storage dhclient[1127]: DHCPREQUEST of 192.168.0.42 on
enp0s3 to 192.168.0.1 port 67 (xid=0x31fe5b7a)

Jul  9 17:25:44 storage object-auditor: Begin object audit "forever" mode
(ZBF)

Jul  9 17:25:44 storage object-auditor: Begin object audit "forever" mode
(ALL)

Jul  9 17:25:44 storage 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

Jul  9 17:25:44 storage 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

Jul  9 17:25:48 storage dhclient[1127]: DHCPREQUEST of 192.168.0.42 on
enp0s3 to 192.168.0.1 port 67 (xid=0x31fe5b7a)

Jul  9 17:25:51 storage account-replicator: Beginning replication run

Jul  9 17:25:51 storage account-replicator: Replication run OVER

Jul  9 17:25:51 storage account-replicator: Attempted to replicate 0 dbs in
0.00070 seconds (0.00000/s)

Jul  9 17:25:51 storage account-replicator: Removed 0 dbs

Jul  9 17:25:51 storage account-replicator: 0 successes, 0 failures

Jul  9 17:25:51 storage account-replicator: no_change:0 ts_repl:0 diff:0
rsync:0 diff_capped:0 hashmatch:0 empty:0

Jul  9 17:25:59 storage dhclient[1127]: DHCPREQUEST of 192.168.0.42 on
enp0s3 to 192.168.0.1 port 67 (xid=0x31fe5b7a)

Jul  9 17:26:05 storage container-replicator: Beginning replication run

Jul  9 17:26:05 storage container-replicator: Replication run OVER

Jul  9 17:26:05 storage container-replicator: Attempted to replicate 0 dbs
in 0.00059 seconds (0.00000/s)

Jul  9 17:26:05 storage container-replicator: Removed 0 dbs

Jul  9 17:26:05 storage container-replicator: 0 successes, 0 failures
Jul  9 17:26:05 storage container-replicator: no_change:0 ts_repl:0 diff:0
rsync:0 diff_capped:0 hashmatch:0 empty:0


== storage server logs if swift command execute ==

root at storage:/var/log# tail -f syslog

Jul  9 17:23:51 storage account-replicator: Replication run OVER

Jul  9 17:23:51 storage account-replicator: Attempted to replicate 0 dbs in
0.00060 seconds (0.00000/s)

Jul  9 17:23:51 storage account-replicator: Removed 0 dbs

Jul  9 17:23:51 storage account-replicator: 0 successes, 0 failures

Jul  9 17:23:51 storage account-replicator: no_change:0 ts_repl:0 diff:0
rsync:0 diff_capped:0 hashmatch:0 empty:0

Jul  9 17:23:57 storage account-server: 192.168.56.101 - -
[09/Jul/2016:08:23:57 +0000] "HEAD
/sdc/426/AUTH5951307446914a7981b3faedf6471c72" 404 - "HEAD
http://192.168.56.101:8080/v1/AUTH5951307446914a7981b3faedf6471c72"
"tx662da01bfa5f4777b6629-005780b49a" "proxy-server 2040" 0.0002 "-" 1472 -

Jul  9 17:23:57 storage account-server: 192.168.56.101 - -
[09/Jul/2016:08:23:57 +0000] "HEAD
/sdd/426/AUTH5951307446914a7981b3faedf6471c72" 404 - "HEAD
http://192.168.56.101:8080/v1/AUTH5951307446914a7981b3faedf6471c72"
"tx662da01bfa5f4777b6629-005780b49a" "proxy-server 2040" 0.0002 "-" 1472 -

Jul  9 17:23:57 storage account-server: 192.168.56.101 - -
[09/Jul/2016:08:23:57 +0000] "HEAD
/sde/426/AUTH5951307446914a7981b3faedf6471c72" 404 - "HEAD
http://192.168.56.101:8080/v1/AUTH5951307446914a7981b3faedf6471c72"
"tx662da01bfa5f4777b6629-005780b49a" "proxy-server 2040" 0.0003 "-" 1473 -
Jul  9 17:24:05 storage container-replicator: Beginning replication run


== checking storage device ==

root at storage:~# ll /srv/node/sdc

total 4

drwxr-xr-x 3 swift swift   21 Jul  9 16:03 *.*/

drwxr-xr-x 6 swift swift 4096 Jul  9 16:02 *..*/

drwxr-xr-x 2 swift swift    6 Jul  9 17:30 *objects*/
root at storage:~#

-- 
==================================================
 - Community : *Openstack Korea Community*
 - Name          : Nalee Jang (장현정)
 - Company    : ASD Korea Cloudike System Engineer.
 - Contact       : +82-10-3454-4260 / nalee999 at gmail.com
 - Blog            : http://naleejang.tistory.com
 - HomePage  : http://www.openstack.or.kr
 - Facebook   : https://www.facebook.com/groups/openstack.kr/
==================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160713/a66c4313/attachment.html>


More information about the Openstack mailing list