Commit Graph

51 Commits

Author SHA1 Message Date
Dominik Csapak
76dc2ad016 fix #1043: prevent ceph destroypool when in use
also introduces a force parameter to this call
if force is true, the call destroys the ceph pool
even when it is use

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-30 13:47:36 +02:00
Wolfgang Bumiller
98901f1d88 ceph: brackets around ipv6 2016-05-17 16:05:21 +02:00
Fabian Grünbichler
3cba09d570 docs: typo, newlines 2016-04-15 16:36:03 +02:00
Wolfgang Bumiller
4aed5e3e3a Fix #936: ceph: support multiple roots in osd tree
The OSD tree in our GUI otherwise only shows the "first"
root it finds in the crush map.
2016-04-13 08:40:49 +02:00
Thomas Lamprecht
90c75580b6 add permissions to allow non root ceph configuration
Do not only allow root@pam to admin ceph server as some user do not
want to allow root logins and users with the Sys.Modify permission
should be able to modify ceph related stuff.

We use basically the following permissions:
 Sys.Modify:
    for any delete, add, modify action (POST, PUT, DELETE)
 Sys.Audit and Datastore.Audit:
    for any status/information view action (GET)
 Sys.Log:
    for viewing the Ceph log (was already implemented)

We have two exceptions creating and destroying osds. Those may only
be done by 'root@pam' for security reasons.

Also show users with any of those capabilities the ceph tab in the
web GUI.

Addresses bug#818
2016-02-12 08:22:16 +01:00
Alexandre Derumier
fc78c972ef ceph.conf : remove auth_supported
It's not used since ceph 0.50,
replaced by the 3 others auth config options

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2016-01-22 11:24:15 +01:00
Wolfgang Link
6f9ea1c199 fix output percent_used in rbd pools
This fix is essential of cause json field changes in the ceph api.
They change the field size in pool to max_avail
and the field total_size in stats to total_max_avail
2015-09-09 06:41:54 +02:00
Wolfgang Bumiller
957a59b308 Ceph: fix old interfaces access in find_node_ip
Fixes #681
2015-08-12 09:43:03 +02:00
Wolfgang Bumiller
905c2f5176 PVE::API2::Ceph: network_interfaces update + ipv6 2015-06-26 08:53:09 +02:00
Dietmar Maurer
1f3e956a53 fix mon_command syntax for 'auth get' 2014-05-22 06:43:09 +02:00
Dietmar Maurer
5374d54f21 ceph: fix percent_used 2014-01-23 17:29:14 +01:00
Dietmar Maurer
cc81005afd ceph: view osd commit/apply latency 2014-01-23 10:08:02 +01:00
Dietmar Maurer
941c019548 ceph: display osd usage 2014-01-23 09:38:29 +01:00
Dietmar Maurer
d54f1126b7 ceph: display pool usage information 2014-01-23 08:28:26 +01:00
Dietmar Maurer
7d4fc5ef92 ceph: add API and buttons for osd in/out
And move OSD API into separate package PVE::API2::CephOSD
2014-01-22 12:44:52 +01:00
Dietmar Maurer
a34866f031 split out ceph code into PVE::CephTools 2014-01-22 09:33:15 +01:00
Dietmar Maurer
2f80464060 use longer rados timeouts when inside worker tasks 2014-01-22 08:05:40 +01:00
Dietmar Maurer
f26b46dbcb ceph: re-open rados connection inside worker process 2014-01-21 12:11:25 +01:00
Dietmar Maurer
2aafa9ea6d ceph: untaint values for createosd 2014-01-21 11:21:46 +01:00
Dietmar Maurer
6e3c2f4764 ceph: use format 'plain' for call which do no return data 2014-01-21 07:44:41 +01:00
Dietmar Maurer
36fd0190c5 code cleanup 2014-01-20 08:55:35 +01:00
Dietmar Maurer
970236b3ec use PVE::RADOS perl bindings 2014-01-17 09:45:22 +01:00
Dietmar Maurer
a7a7fb00ac ceph: improve disk usage detection 2014-01-10 12:04:26 +01:00
Dietmar Maurer
0e5816e4d2 ceph: allow to specify separate journal disks 2014-01-10 09:04:48 +01:00
Dietmar Maurer
946662f65b ceph: allow to specify crush ruleset on pool creation 2014-01-03 11:40:53 +01:00
Dietmar Maurer
d6261e3122 ceph: only use 64 PGs by default (same default as ceph default pools) 2014-01-03 11:03:05 +01:00
Dietmar Maurer
190df9a105 ceph: try to unmount OSD after removal 2014-01-03 10:58:08 +01:00
Dietmar Maurer
8b336060cb ceph: return decompiled crush map in text format.
This is easier to read.
2014-01-03 10:46:59 +01:00
Dietmar Maurer
ace49d5357 avoid slash characters in task ids
Our REST API cannot handle that.
2013-12-31 12:47:40 +01:00
Dietmar Maurer
43d85563a7 pveceph: allow to specify fs-type 2013-12-31 08:12:20 +01:00
Dietmar Maurer
740895591f pveceph: allow to set min_size for pools 2013-12-31 08:04:26 +01:00
Dietmar Maurer
cee8e2b661 fix osd remove 2013-12-30 13:50:01 +01:00
Dietmar Maurer
f7e342ea2a ceph: allow to specify network 2013-12-21 10:18:17 +01:00
Dietmar Maurer
c56a583f4e use new --connect-timeout for ceph commands 2013-11-22 09:17:42 +01:00
Dietmar Maurer
52d7be4197 fix osd keyring, use tasks 2013-11-22 08:41:37 +01:00
Dietmar Maurer
88a6e29ad1 set correct keyring location for osd 2013-11-21 09:11:42 +01:00
Dietmar Maurer
0b1efc01d5 fix mds permissions in client.admin key 2013-11-21 07:34:30 +01:00
Dietmar Maurer
a08988dc48 allow to call ceph init multiple times 2013-11-20 11:28:23 +01:00
Dietmar Maurer
eac465a574 generate and save ceph fsid
add dependency on libuuid-perl
2013-11-20 10:48:22 +01:00
Dietmar Maurer
f3224487a3 avoid useles symlinks to ceph keyrings 2013-11-20 10:28:41 +01:00
Dietmar Maurer
c7881bf602 add ceph pool GUI 2013-11-20 07:53:43 +01:00
Dietmar Maurer
b0537f7be9 add API for ceph pools 2013-11-19 13:25:36 +01:00
Dietmar Maurer
dd7e2a94f2 add OSD tree 2013-11-19 12:13:53 +01:00
Dietmar Maurer
13f4d7623d allow to create OSD on unused disks 2013-11-15 12:24:14 +01:00
Dietmar Maurer
e9ea467759 isert section when writing ceph.conf 2013-11-15 08:15:39 +01:00
Dietmar Maurer
570278fab0 add ceph log view 2013-11-15 08:02:35 +01:00
Dietmar Maurer
39e1ad7086 improve ceph API paths 2013-11-14 11:06:49 +01:00
Dietmar Maurer
68e0c4bd41 add monitor GUI 2013-11-14 10:15:36 +01:00
Dietmar Maurer
2f692121ce display crush map 2013-11-13 12:16:20 +01:00
Dietmar Maurer
9662c1952a start ceph management GUI 2013-11-13 11:01:24 +01:00