ceph | distributed object , block , and file storage platform | Storage library
kandi X-RAY | ceph Summary
kandi X-RAY | ceph Summary
Please see for current info.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ceph
ceph Key Features
ceph Examples and Code Snippets
Community Discussions
Trending Discussions on ceph
QUESTION
I have a json output
...ANSWER
Answered 2022-Feb-06 at 20:52Would this do what you want?
QUESTION
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:09Managed 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 :)
QUESTION
Ceph cluster shows following weird behavior with ceph df
output:
ANSWER
Answered 2022-Jan-20 at 03:22When you add the erasure coded pool, i.e. erasurepool_data
at 154, you get 255+154 = 399.
QUESTION
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- Add the following option under section
[global]
inceph.conf
:
QUESTION
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:09you might need to provide ReadWriteMany
option
Reference link: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
QUESTION
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:19To 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:
- Depending on product a form might be made available, eg at Google blog. This could happen with new products as an example.
- Have access to an Account Manager at Google. Meaning you are currently working with Google.
- Contact sales.
- 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.
QUESTION
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:04The 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
QUESTION
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:44I 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.
QUESTION
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:57The error you provided says what is wrong:
QUESTION
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:52You 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
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ceph
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page