Commit Graph

16 Commits

Author SHA1 Message Date
Thomas Lamprecht
b82649cc52 ceph: add MDS create/delete/list API
Allow to create, list and destroy and Ceph Metadata Server (MDS) over
the API and the CLI `pveceph` tool.

Besides setting up the local systemd service template and the MDS
data directory we also add a reference to the MDS in the ceph.conf
We note the backing host (node) from the respective MDS and set up a
'mds standby for name' = 'pve' so that the PVE created ones are a
single group. If we decide to add integration for rank/path specific
MDS (possible useful for CephFS with quite a bit of load) then this
may help as a starting point.

On create, check early if a reference already exists in ceph.conf and
abort in that case. If we only see existing data directories later
on we abort but do not remove them, they could well be from an older
manual create - where it's possible dangerous to just remove it. Let
the user handle it themself in that case.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Co-authored-by: Alwin Antreich <a.antreich@proxmox.com>
2018-11-23 13:33:12 +01:00
Alwin Antreich
180d612bfa Add %-used and min_size to "pveceph lspools" command
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2017-10-31 08:21:32 +01:00
Dominik Csapak
ca68ac3efd pveceph: add createmgr/destroymgr commands
this patch adds the create-/destroymgr commands to the api and pveceph,
so that advanced users can split monitor and manager daemons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-07-26 14:45:07 +02:00
Wolfgang Bumiller
9cf3e44912 ceph: end ceph.list with a newline 2017-07-20 09:32:28 +02:00
Fabian Grünbichler
caf3785549 pveceph: use luminous by default 2017-03-21 13:50:28 +01:00
Dietmar Maurer
7e017024a7 add setup_environment hooks to CLIHandler classes
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2017-01-12 13:07:00 +01:00
Dietmar Maurer
33dc998183 remove obsolete inline documentation 2017-01-11 10:54:47 +01:00
Fabian Grünbichler
ab1213cc50 replace SysV init script with our own service
for more information see http://tracker.ceph.com/issues/18305 .

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2016-12-22 11:53:52 +01:00
Wolfgang Link
f9305cc0a1 add jewel 2016-12-22 11:48:12 +01:00
Dietmar Maurer
7aa0353ea6 revert commit ccc7ad4b47
ceph 'infernalis' and 'jewel' still not work 100%, so
disable that until it runs really stable.
2016-06-10 15:31:19 +02:00
Dietmar Maurer
17325396e3 pveceph install: run apt-get interactive
It is sometime necessary to answer questions.
2016-06-09 10:01:58 +02:00
Wolfgang Link
ccc7ad4b47 Extend the Ceph featuring version Infernalis and Hammer. 2016-06-09 07:28:16 +02:00
Alexandre Derumier
10fa179f75 pveceph install : use release repository
and increase git release key retrieval.
(ceph.com git seem to be quite slow currently)

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-10-28 09:23:47 +01:00
Dietmar Maurer
ad21a2ff91 change default ceph download url to download.ceph.com 2015-09-19 14:06:44 +02:00
Dietmar Maurer
e5d2847f99 allow usage of ceph development repository
This is a temporary workaround for testing. We plan to switch to
official repository as soon as it gets available.
2015-09-08 12:13:42 +02:00
Dietmar Maurer
3e8560ac0d convert pveceph into a PVE::CLI class 2015-09-08 11:25:00 +02:00