Install and configure the storage nodes in Installation Guide

Bug #1569878 reported by Xin He
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Undecided
Bathri Ajay Raj

Bug Description

at the place of the command "chown -R root:swift /var/cache/swift", we need also execute the command "chmod -R 775 /var/cache/swift", as when we make dir (as root user) with command "mkdir -p /var/cache/swift", the access permission of dir /var/cache/swift will be 755(as rwxr-xr-x), which means "swift" user can not write file in this dir. so the exception like below will occur in the log /var/log/messages."[Errno 13] Permission denied: '/var/cache/swift/object.recon'"
---------------------------
Apr 13 20:36:27 kvm-sz-004-003 object-auditor: Exception dumping recon cache: #012Traceback (most recent call last):#012 File "/usr/lib/python2.7/site-packages/swift/common/utils.py", line 2597, in dump_recon_cache#012 with lock_file(cache_file, lock_timeout, unlink=False) as cf:#012 File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__#012 return self.gen.next()#012 File "/usr/lib/python2.7/site-packages/swift/common/utils.py", line 1877, in lock_file#012 fd = os.open(filename, flags)#012OSError: [Errno 13] Permission denied: '/var/cache/swift/object.recon'
----------------------------
if we execute the command "chmod -R 775 /var/cache/swift", this kind of exception will not occur.

-----------------------------------
Release: 0.1 on 2016-04-13 06:51
SHA: 97286840e4879e0e0ec745b9c813d396f218f032
Source: http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/install-guide/source/swift-storage-install.rst
URL: http://docs.openstack.org/liberty/install-guide-rdo/swift-storage-install.html

Changed in openstack-manuals:
assignee: nobody → Bathri Ajay Raj (bathri-s)
status: New → Confirmed
Changed in openstack-manuals:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/305644

Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: none → mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/305644
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=2bc1322ba4ffa63ba377f5b68b850d3299d8809b
Submitter: Jenkins
Branch: master

commit 2bc1322ba4ffa63ba377f5b68b850d3299d8809b
Author: bathri.s <email address hidden>
Date: Thu Apr 14 12:39:31 2016 +0530

    [install-guide] fixed directory read-write permissions

    Change-Id: I805758f781247621e561689f76f7a9d5e49fc70c
    Closes-Bug: #1569878

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.