GithubHelp home page GithubHelp logo

KV store problems about ceph-container HOT 8 CLOSED

ceph avatar ceph commented on June 13, 2024
KV store problems

from ceph-container.

Comments (8)

leseb avatar leseb commented on June 13, 2024

Could you elaborate a bit on the first point? What's not usable?
Are you sure that ceph networks are not stored? https://github.com/ceph/ceph-docker/blob/master/examples/confd/populate.sh#L36-L37

from ceph-container.

Ulexus avatar Ulexus commented on June 13, 2024

Thanks @leseb ; I see the population script, but so far as I can tell, it is not called anywhere in the container. That's left up to the user to execute. That's fine, and you can populate it manually, as well.

I just think the default execution should have at least a bare-bones, functional config.

from ceph-container.

leseb avatar leseb commented on June 13, 2024

@Ulexus oh yes, last time I tried I did:

  • bootstrap ceph/demo container
  • make sure etcd is reachable
  • run a 'bash' container and execute populate.sh
  • run ceph/daemon mon/osd/mds/rgw

from ceph-container.

Ulexus avatar Ulexus commented on June 13, 2024

Yep; that's what I'm talking about it being "rough". We just need to figure out how to make it clean and easy, with acceptable, workable defaults.

from ceph-container.

klausenbusk avatar klausenbusk commented on June 13, 2024

Yep; that's what I'm talking about it being "rough". We just need to figure out how to make it clean and easy, with acceptable, workable defaults.

Couldn't we create a etcd key "populated", and if not exists run populate.sh?

from ceph-container.

JrCs avatar JrCs commented on June 13, 2024

Hi all dev,
is it possible to add some key/values in the kvstore to populate new entries in ceph.conf (generated from confd) ?
I explain: i want to add a client config like this in the generated ceph.conf:

[client.radosgw.myinstance]
  rgw dns name = s3.mydomain.com

I don't thing it's possible currently with the current confd template.
We need to find a way to create toml section and key/values under section that is an "image" of the kv store.

EDIT: perhaps we can use inline tables but i don't known if the parser used by ceph to read toml file can work with tem.

from ceph-container.

leseb avatar leseb commented on June 13, 2024

Correct we do not support adding new sections dynamically since they are hardcoded.
Perhaps we can work with include if they exist...

from ceph-container.

stale avatar stale commented on June 13, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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.