Bug 976857

Summary: swift needs user_xattr
Product: Red Hat OpenStack Reporter: Attila Darazs <adarazs>
Component: doc-Installation_and_Configuration_GuideAssignee: Summer Long <slong>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: high Docs Contact:
Priority: high    
Version: 3.0CC: adarazs, hateya, sgordon, slong
Target Milestone: ---Keywords: Documentation
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build: CSProcessor Builder Version 1.10 Build Name: 15807, Installation and Configuration Guide-3-1 Build Date: 12-06-2013 09:31:52 Topic ID: 16783-459400 [Latest]
Last Closed: 2013-07-24 19:14:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1011085    

Description Attila Darazs 2013-06-21 16:31:40 UTC
Title: Configuring the Object Storage Service Storage Nodes

Describe the issue:
In the 1. and 2. step it is written that we should use ext4 or xfs filesystems, but it is not written, that swift's object server will make error messages in /var/log/messages if the filesystem is not mounted with extened attributes, like this:

Jun 21 18:02:49 localhost object-server ERROR __call__ error with PUT /1/198/AUTH_0462cfe859364e2e92a1f78309576d02/c1/data1.file : #012Traceback (most recent call last):#012  File "/usr/lib/python2.6/site-packages/swift/obj/server.py", l
ine 928, in __call__#012    res = method(req)#012  File "/usr/lib/python2.6/site-packages/swift/common/utils.py", line 1558, in wrapped#012    return func(*a, **kw)#012  File "/usr/lib/python2.6/site-packages/swift/common/utils.py", line 520, in _timing_stats#012    resp = func(ctrl, *args, **kwargs)#012  File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 705, in PUT#012    file.put(fd, metadata)#012  File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__#012    self.gen.throw(type, value, traceback)#012  File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 284, in mkstemp#012    yield fd#012  File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 705, in PUT#012    file.put(fd, metadata)#012  File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 309, in put#012    write_metadata(fd, metadata)#012  File "/usr/lib/python2.6/site-packages/swift/obj/server.py", line 90, in write_metadata#012    setxattr(fd, '%s%s' % (METADATA_KEY, key or ''), metastr[:254])#012IOError: [Errno 95] Operation not supported (txn: txf14f4569d5d24609871a8c0f513dd733)

Suggestions for improvement:
Add a note to mount the filesystem with user_xattr option.

Comment 4 Summer Long 2013-07-01 22:19:44 UTC
Ok, is ready for QA after the next doc release.