ceph | distributed object , block , and file storage platform | Storage library

 by   ceph C++ Version: v18.1.0 License: Non-SPDX

kandi X-RAY | ceph Summary

kandi X-RAY | ceph Summary

ceph is a C++ library typically used in Storage applications. ceph has no bugs and it has medium support. However ceph has 10 vulnerabilities and it has a Non-SPDX License. You can download it from GitHub.

Please see for current info.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              ceph has a medium active ecosystem.
              It has 12014 star(s) with 5421 fork(s). There are 640 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              ceph has no issues reported. There are 814 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of ceph is v18.1.0

            kandi-Quality Quality

              ceph has no bugs reported.

            kandi-Security Security

              ceph has 10 vulnerability issues reported (1 critical, 4 high, 5 medium, 0 low).

            kandi-License License

              ceph has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              ceph releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ceph
            Get all kandi verified functions for this library.

            ceph Key Features

            No Key Features are available at this moment for ceph.

            ceph Examples and Code Snippets

            No Code Snippets are available at this moment for ceph.

            Community Discussions

            QUESTION

            parsing jq returns null
            Asked 2022-Feb-07 at 12:51

            I have a json output

            ...

            ANSWER

            Answered 2022-Feb-06 at 20:52

            Would this do what you want?

            Source https://stackoverflow.com/questions/71011349

            QUESTION

            Ceph/Rados AWS S3 API Bucket Policy via CURL
            Asked 2022-Feb-02 at 09:09

            I am currently struggling with a problem I am having with rest calls to an AWS s3 API hosted by a rados/ceph gateway.

            For reasons I wont go into, I can't use an SDK that is provided to talk to it, which would solve all of my woes - I'm recreating some of the more simple jobs I need via CURL - which in the most part work, I can make buckets, delete them, add objects, create roles but my newest problem is bucket policies, both GET for them and PUT. I receive a 403 every time and I cannot figure out why.

            What I have attempted to do is use another box with an SDK that talks to the API (boto3) and the AWS s3API calls to do the same thing and they work perfectly fine with the users Access and Secret key, so I do not think its an account thing.

            Using the logs from the SDK jobs, I have attempted to recreate everything that is being sent, headers, payload etc...

            Now I can only think that as a 403 maybe its the Auth4 strategy but .... this strategy works for every other job I need to do.

            Code:

            ...

            ANSWER

            Answered 2022-Feb-02 at 09:09

            Managed to solve my own issue. Noticed in the ceph logs (not sure how I missed it first time round) that the signature from my client didnt match how the ceph radosgw was signing the same signature.

            Took it back to task on the canonicalRequest and for some reason if i take out all the line breaks (\n), it calculates.... But all of my other jobs like updating roles, adding buckets etc... fail as they need the line breaks. Not sure why, some Ceph weirdry?

            I did packet captures and stripped the SSL to see what both requests from a working SDK and my curl were sending and it was identical...

            Oh well, working :)

            Source https://stackoverflow.com/questions/70891761

            QUESTION

            ceph df max available miscalculation
            Asked 2022-Jan-20 at 10:36

            Ceph cluster shows following weird behavior with ceph df output:

            ...

            ANSWER

            Answered 2022-Jan-20 at 03:22

            When you add the erasure coded pool, i.e. erasurepool_data at 154, you get 255+154 = 399.

            Source https://stackoverflow.com/questions/70694436

            QUESTION

            Resizing Pool to 1 has been disabled by default on Ceph Pacific stable 6.0
            Asked 2022-Jan-09 at 18:46

            I implemented Ceph Pacific Stable 6.0 with Ceph-Ansible on Ubuntu 20.04 LTS but when I want to change size of my pool from 3 to 1 with following command:

            ...

            ANSWER

            Answered 2022-Jan-09 at 18:46
            1. Add the following option under section [global] in ceph.conf:

            Source https://stackoverflow.com/questions/70478818

            QUESTION

            How to share a cephfs volume between pods in different k8s namespaces
            Asked 2021-Dec-21 at 05:51

            I'm trying to share a cephfs volumes between namespaces within k8s cluster. I'm using ceph-csi with cephfs.

            Followed https://github.com/ceph/ceph-csi/blob/devel/docs/static-pvc.md#cephfs-static-pvc to create static pv+pvc in both namespaces. Works if I don't launch both pods on same node.

            If both pods on same node, Second pod get stuck with error:

            ...

            ANSWER

            Answered 2021-Dec-18 at 10:09

            QUESTION

            Unable to use 'gcloud alpha' command to create GKE with local SSDs using NVMe interface
            Asked 2021-Dec-08 at 14:51

            I am trying to create a GKE with a preconfigured local SSD configuration - namely I'd like for the devices to use the NVMe interface and do not format/mount the devices.

            The gcloud alpha container clusters create command, as documented here, has a command line option called --local-ssd-volumes which supports these options.

            A example is provided:

            ...

            ANSWER

            Answered 2021-Aug-02 at 13:19

            To answer your questions, product is still in alpha and you might need to be whitelisted/invited. Check notes section at the bottom.

            In beta I did not see the other options for local disk apart from the count, so I do not believe it will work with gcloud beta at this point.

            Possible ways to get invited. Note this answer is more for the general community and does not guarantee success:

            1. Depending on product a form might be made available, eg at Google blog. This could happen with new products as an example.
            2. Have access to an Account Manager at Google. Meaning you are currently working with Google.
            3. Contact sales.
            4. Post in Google Discussion as those are monitored by Googlers but does not guarantee success of invite. Perhaps if you explain your business needs you might see some traction.

            Source https://stackoverflow.com/questions/68621635

            QUESTION

            bluestore_mic_alloc_size not getting picked up by ceph daemons
            Asked 2021-Nov-16 at 21:04

            I am applying this bluestore_min_alloc_size to 4096, no matter how I apply the setting, it not getting picked up by daemons, I have tried to restart all daemons pod also after applying the setting but no effect.

            ...

            ANSWER

            Answered 2021-Nov-16 at 21:04

            The catch is option blustore_min_alloc_size cant be set aftet osd is created, you need to create config before creating the cluster.

            kubectl create namespace rook-ceph

            save below as ceph-conf.yaml

            Source https://stackoverflow.com/questions/69880422

            QUESTION

            storage class in aks can't chown a directory
            Asked 2021-Oct-28 at 11:49

            i hope you're doing okay

            im trying to build a cdap image that i havein gitlab in aks using argocd

            the build works in my local kubernetes cluster with rook-ceph storage class but with managed premium storage class in aks it seems that something is wrong in permissions

            here is my storage class :

            ...

            ANSWER

            Answered 2021-Oct-24 at 11:44

            I make a bit of research, and it led me to this github issue: https://github.com/Azure/aks-engine/issues/1494

            SMB mount options(including dir permission) could not be changed, it's by SMB proto design, while for disk(ext4, xfs) dir permission could be changed after mount close this issue, let me know if you have any question.

            From what I see, there are no options chown after mounting it.

            BUT

            I also find a workaround that might apply to your issue: https://docs.openshift.com/container-platform/3.11/install_config/persistent_storage/persistent_storage_azure_file.html

            It's Workaround for using MySQL with Azure File for Openshift, but I think it could work with your case.

            Source https://stackoverflow.com/questions/69678103

            QUESTION

            MountVolume.SetUp failed for volume "deployer-conf" : object "pgo"/"pgo-deployer-cm" not registered
            Asked 2021-Aug-13 at 12:57

            Trying to install Crunchydata postgres-operator. My pgo-deploy pod is failing with error. I have setup default nfs storage running the following commands, # kubectl create -f rbac.yaml the content is,

            ...

            ANSWER

            Answered 2021-Aug-13 at 12:57

            The error you provided says what is wrong:

            Source https://stackoverflow.com/questions/68752116

            QUESTION

            How to set ceph dout level?
            Asked 2021-Jul-15 at 07:52

            I am learning bluestore of ceph. I am trying to use the ceph_object_store to test bluestore. But I see lots of unrelated log output. But I can't see any output related to the benchmark. I found the benchmark uses dout(0) to print log. So how could I close the unrelated log output and set the benchmark to print?

            Those unrelated log output likes:

            2021-07-13T08:17:51.821+0000 7f9b76d5f2c0 1 bluestore(/var/lib/ceph/osd/ceph-admin) _upgrade_super from 4, latest 4 2021-07-13T08:17:51.821+0000 7f9b76d5f2c0 1 bluestore(/var/lib/ceph/osd/ceph-admin) _upgrade_super done 2021-07-13T08:17:51.825+0000 7f9b6cddd700 0 Writing 10 MB in blocks of 4 KB 2021-07-13T08:17:51.885+0000 7f9b76d5f2c0 0 Wrote 10 MB in 64958us, at a rate of 157640 KB/s and 39410 iops 2021-07-13T08:17:51.889+0000 7f9b76d5f2c0 1 bluestore(/var/lib/ceph/osd/ceph-admin) umount 2021-07-13T08:17:51.897+0000 7f9b6d5de700 0 bluestore(/var/lib/ceph/osd/ceph-admin) allocation stats probe 1: cnt: 2560 frags: 2560 size: 10485760 2021-07-13T08:17:51.897+0000 7f9b6d5de700 0 bluestore(/var/lib/ceph/osd/ceph-admin) probe -1: 0, 0, 0 2021-07-13T08:17:51.897+0000 7f9b6d5de700 0 bluestore(/var/lib/ceph/osd/ceph-admin) probe -3: 0, 0, 0 2021-07-13T08:17:51.897+0000 7f9b6d5de700 0 bluestore(/var/lib/ceph/osd/ceph-admin) probe -5: 0, 0, 0 2021-07-13T08:17:51.897+0000 7f9b6d5de700 0 bluestore(/var/lib/ceph/osd/ceph-admin) probe -9: 0, 0, 0 2021-07-13T08:17:51.897+0000 7f9b6d5de700 0 bluestore(/var/lib/ceph/osd/ceph-admin) probe -17: 0, 0, 0 2021-07-13T08:17:51.897+0000 7f9b6d5de700 0 bluestore(/var/lib/ceph/osd/ceph-admin) ------------ 2021-07-13T08:17:51.897+0000 7f9b76d5f2c0 4 rocksdb: [db/db_impl/db_impl.cc:446] Shutdown: canceling all background work 2021-07-13T08:17:51.897+0000 7f9b76d5f2c0 4 rocksdb: [db/db_impl/db_impl.cc:625] Shutdown complete 2021-07-13T08:17:51.897+0000 7f9b76d5f2c0 1 bluefs umount 2021-07-13T08:17:51.897+0000 7f9b76d5f2c0 1 bdev(0x55d2cc098800 /var/lib/ceph/osd/ceph-admin/block) close 2021-07-13T08:17:52.173+0000 7f9b76d5f2c0 1 freelist shutdown 2021-07-13T08:17:52.173+0000 7f9b76d5f2c0 1 bdev(0x55d2cc098400 /var/lib/ceph/osd/ceph-admin/block) close

            ...

            ANSWER

            Answered 2021-Jul-15 at 07:52

            You can set the Ceph subsystem log levels to 0 and just set the log level on the needed subsystem. The full list and how to set is documented here: https://docs.ceph.com/en/latest/rados/troubleshooting/log-and-debug/#ceph-subsystems

            Source https://stackoverflow.com/questions/68358938

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install ceph

            The list of Debian or RPM packages dependencies can be installed with:.

            Support

            Most of Ceph is dual licensed under the LGPL version 2.1 or 3.0. Some miscellaneous code is under a BSD-style license or is public domain. The documentation is licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0). There are a handful of headers included here that are licensed under the GPL. Please see the file COPYING for a full inventory of licenses by file. Code contributions must include a valid "Signed-off-by" acknowledging the license for the modified or contributed file. Please see the file SubmittingPatches.rst for details on what that means and on how to generate and submit patches. We do not require assignment of copyright to contribute code; code is contributed under the terms of the applicable license.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/ceph/ceph.git

          • CLI

            gh repo clone ceph/ceph

          • sshUrl

            git@github.com:ceph/ceph.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Storage Libraries

            localForage

            by localForage

            seaweedfs

            by chrislusf

            Cloudreve

            by cloudreve

            store.js

            by marcuswestin

            go-ipfs

            by ipfs

            Try Top Libraries by ceph

            ceph-ansible

            by cephPython

            ceph-container

            by cephShell

            ceph-csi

            by cephGo

            go-ceph

            by cephGo

            ceph-deploy

            by cephPython