GithubHelp home page GithubHelp logo

user_xattr about ceph-container HOT 12 CLOSED

ceph avatar ceph commented on August 15, 2024
user_xattr

from ceph-container.

Comments (12)

Ulexus avatar Ulexus commented on August 15, 2024

Perhaps I'm blind (I haven't actually run the demo), but I don't see anything in there which requires extended attributes.

from ceph-container.

leseb avatar leseb commented on August 15, 2024

I'm not getting this one either...
@lorieri do you mean that the partition where Ceph will run need user_xattr and thus we should put this as a recommendation?
I believe then that this is not only valid for the demo but also the daemon and osd images.

from ceph-container.

lorieri avatar lorieri commented on August 15, 2024

When I run the Demo following the instructions at docker hub it fails and shows a user_xattr error, re-mounting the partition make it works.

from ceph-container.

leseb avatar leseb commented on August 15, 2024

Hum never faced that problem before perhaps my fs has user_xattr enabled by default, can't tell.
Feel free to update the README :)

Thanks for reporting this @lorieri

from ceph-container.

lorieri avatar lorieri commented on August 15, 2024

I'm afraid the remount could be dangerous, I'm not sure how to say it, but let me try :)

from ceph-container.

Ulexus avatar Ulexus commented on August 15, 2024

I don't know why extended attributes would be required. I can say for certain that none of my live Ceph systems have filesystems mounted with the user_xattr flag.

What storage backend are you using for Docker? Perhaps that is the issue? Do you know which component is requiring the extended attributes?

from ceph-container.

lorieri avatar lorieri commented on August 15, 2024

Component: OSD

$ docker info
Containers: 159
Images: 1267
Storage Driver: devicemapper
...
 Pool Blocksize: 65.54 kB
 Backing Filesystem: extfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
...
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.95-RHEL6 (2015-06-17)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 2.6.32-504.el6.x86_64
Operating System: <unknown>
CPUs: 8
Total Memory: 23.47 GiB
...

from ceph-container.

lorieri avatar lorieri commented on August 15, 2024

#150

from ceph-container.

butonic avatar butonic commented on August 15, 2024

hm ... according to http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ea6633369458992241599c9d9ebadffaeddec164 user_xattr is enabled by default since 2011.

The problem is rather an issue with AUFS: moby/moby#6980 The only workaround seems to be to fall back to devicemapper, which is recommended anyway, see 2.7 Do not use the aufs storage driver (Scored)

At least here the tip did not help ...

from ceph-container.

butonic avatar butonic commented on August 15, 2024

better recommendations seem to be moby/moby#1070 (comment)

from ceph-container.

Ulexus avatar Ulexus commented on August 15, 2024

@butonic : Agreed, for many reasons. No one should be using the AUFS backend anymore, if at all possible. @lorieri , if that's the case for you, try another filesystem/backend.

from ceph-container.

lorieri avatar lorieri commented on August 15, 2024

merged :)

from ceph-container.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.