Permission denied in swift
I just create account in swift-1.9.1 and return 503 errors, the log in syslog are below:
account-server ERROR __call__ error with PUT /sdh1/585/account : #012Traceback (most recent call last):#012 File "/usr/local/lib/python2.7/dist-packages/swift-1.9.1-py2.7.egg/swift/account/server.py", line 331, in __call__#012 res = method(req)#012 File "/usr/local/lib/python2.7/dist-packages/swift-1.9.1-py2.7.egg/swift/common/utils.py", line 1855, in wrapped#012 return func(a, *kw)#012 File "/usr/local/lib/python2.7/dist-packages/swift-1.9.1-py2.7.egg/swift/common/utils.py", line 680, in _timing_stats#012 resp = func(ctrl, args, *kwargs)#012 File "/usr/local/lib/python2.7/dist-packages/swift-1.9.1-py2.7.egg/swift/account/server.py", line 152, in PUT#012 broker.initialize(timestamp)#012 File "/usr/local/lib/python2.7/dist-packages/swift-1.9.1-py2.7.egg/swift/common/db.py", line 199, in initialize#012 mkdirs(self.db_dir)#012 File "/usr/local/lib/python2.7/dist-packages/swift-1.9.1-py2.7.egg/swift/common/utils.py", line 443, in mkdirs#012 os.makedirs(path)#012 File "/usr/lib/python2.7/os.py", line 150, in makedirs#012 makedirs(head, mode)#012 File "/usr/lib/python2.7/os.py", line 150, in makedirs#012 makedirs(head, mode)#012 File "/usr/lib/python2.7/os.py", line 150, in makedirs#012 makedirs(head, mode)#012 File "/usr/lib/python2.7/os.py", line 157, in makedirs#012 mkdir(name, mode)#012OSError: [Errno 13] Permission denied: '/srv/node/sdh1/accounts' (txn: tx21c43fc34e2d460b8da80-0051e6d213)
My environment is one proxy node and three storage nodes, I knew it is a Permission problem, but i don't know where the errors happened ,because i review the permissions setup docs for muli-nodes http://swift.openstack.org/howto_installmultinode.html#configure-the-storage-nodes (http://swift.openstack.org/howto_inst...) carefully, it really a strange error, could anyone help me ? thanks in advance!!!!