{"id":27243451,"url":"https://github.com/dalee/ceph-playground","last_synced_at":"2026-04-24T22:37:22.182Z","repository":{"id":67450037,"uuid":"72650696","full_name":"Dalee/ceph-playground","owner":"Dalee","description":"Vagrant vm for Ceph (http://ceph.com/) testing / development playground","archived":false,"fork":false,"pushed_at":"2017-08-28T11:12:18.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-14T15:05:41.382Z","etag":null,"topics":["ceph","playground","s3","vagrant"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dalee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-11-02T14:58:36.000Z","updated_at":"2016-11-04T08:06:55.000Z","dependencies_parsed_at":"2023-06-11T06:30:39.102Z","dependency_job_id":null,"html_url":"https://github.com/Dalee/ceph-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dalee/ceph-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fceph-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fceph-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fceph-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fceph-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dalee","download_url":"https://codeload.github.com/Dalee/ceph-playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalee%2Fceph-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32243684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ceph","playground","s3","vagrant"],"created_at":"2025-04-10T20:36:56.117Z","updated_at":"2026-04-24T22:37:22.164Z","avatar_url":"https://github.com/Dalee.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ceph Test Stand\n\nGoal is to make Vagrant machine running properly configured Ceph with set of preinstalled\nsoftware (like s3cmd).\n\nSuitable for developing / testing purposes\n\n## Known issues\n\n * `vagrant provision` destroys buckets.\n\n * Sometimes, ansible can fail with message:\n```\n==\u003e default: TASK [Dalee.install-ceph : ceph - check user already created] ******************\n==\u003e default: fatal: [localhost]: FAILED! =\u003e {\"changed\": true, \"cmd\": \"radosgw-admin user info --uid=s3user\", \"delta\": \"0:00:07.158828\", \"end\": \"2016-08-23 18:41:58.676083\", \"failed\": true, \"failed_when_result\": true, \"rc\": 22, \"start\": \"2016-08-23 18:41:51.517255\", \"stderr\": \"2016-08-23 18:41:52.571112 7f6fe32e97c0  0 couldn't find old data placement pools config, setting up new ones for the zone\\n2016-08-23 18:41:52.576800 7f6fe32e97c0 -1 error storing region info: (17) File exists\\n2016-08-23 18:41:52.576817 7f6fe32e97c0  0 create_default() returned -EEXIST,\nwe raced with another region creation\\ncould not fetch user info: no user info saved\", \"stdout\": \"\", \"stdout_lines\": [], \"warnings\": []}\n```\n\nSolution: run `vagrant provision` again.\n\n * Sometimes, ansible get stuck on task:\n```\n==\u003e default: TASK [Dalee.install-ceph : ceph - check user already created] ******************\n```\n\nSolution: inside of vagrant vm run:\n```\nps uax | grep radosgw-admin\nsudo kill \u003cpid-of-radosgw\u003e\n```\n\nAnd run `vagrant provision` again.\n\n * Ceph assumes that IP address of any running machine is never changed. Using vagrant with \n `dhcp` network adapter, IP address may change.\n \nSolution: run `vagrant provision` again, and if it doesn't help \nrun inside of Vagrant vm: `sudo rm -rf /var/lib/ceph`, and run `vagrant provision` again.\n\n\n## Check cluster health\n\n```\nvagrant@ceph [/home/web/ceph] \u003e ceph -s\n    cluster 52ffcc3b-2723-4c86-a394-13f0b26f89c5\n     health HEALTH_OK\n     monmap e1: 1 mons at {ceph=172.28.128.3:6789/0}\n            election epoch 2, quorum 0 ceph\n     osdmap e18: 1 osds: 1 up, 1 in\n      pgmap v20: 128 pgs, 9 pools, 2174 bytes data, 54 objects\n            2231 MB used, 35003 MB / 39251 MB avail\n                 128 active+clean\n  client io 12217 B/s rd, 1437 B/s wr, 32 op/s\n```\n\nIf health not in `HEALTH_OK` state, check Known issues.\n\n## Run\n\n```bash\nvagrant up\nvagrant ssh\nmake vagrant\n```\n\nAnd check `http://ceph.local/files` and `http://ceph.local/htdocs`.\n\n\n## What included?\n\nUser with credentials below will be created:\n```\nuid: s3user\naccess_key: tohF1taivo2ohlaec3eelud9ahWahs9c\nsecret_key: Shaesh8dee2ohei5aeMeeFaaPai4oh5U\n```\n\nAnd two buckets: `htdocs` and `files`:\n```\nvagrant@ceph [/home/web/ceph] \u003e s3cmd ls\n2016-08-23 15:59  s3://files\n2016-08-23 15:59  s3://htdocs\n```\n\n## Sample s3cmd file operations\n\n```\nvagrant@ceph [/home/web/ceph] \u003e s3cmd put ./README.md s3://files/test-put/README.md\n./README.md -\u003e s3://files/test-put/README.md  [1 of 1]\n 3291 of 3291   100% in    0s   345.91 kB/s  done\n\nvagrant@ceph [/home/web/ceph] \u003e s3cmd ls s3://files/test-put/\n2016-08-24 07:28      3291   s3://files/test-put/README.md\n\nvagrant@ceph [/home/web/ceph] \u003e s3cmd get s3://files/test-put/README.md ~/readme.md\ns3://files/test-put/README.md -\u003e /home/vagrant/readme.md  [1 of 1]\n 3754 of 3754   100% in    0s    19.41 kB/s  done\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalee%2Fceph-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalee%2Fceph-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalee%2Fceph-playground/lists"}