8 Commits

Author SHA1 Message Date
Wolfgang Bumiller
5f34e76b9b ceph: make config parser less greedy
Options such as:
  osd mount options xfs = -i size=2048 -n size=16k
were parsed as:
  key: 'osd mount options xfs = -i size=2048 -n size'
  value: '16k'

This is due to the greedy .* in the beginning. Making it
non-greedy fixes this.

Fixes #851
2016-01-22 11:24:25 +01:00
Wolfgang Bumiller
04e4b1348c CephTools: improve abs_path error handling
verify_blockdev_path didn't check the result of abs_path
causing commands like `pveceph createosd bad/path` to error
with a meaningless "Use of uninitialized value" message.
2015-09-25 09:56:04 +02:00
Thomas Lamprecht
5a9283545c fix typo in CephTools: epmty to empty
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-09-09 07:50:07 +02:00
Dietmar Maurer
b469339bcc write_ceph_config: also write mds sections 2015-02-19 06:30:23 +01:00
Dietmar Maurer
77f32709c5 write_ceph_config: also write client section 2015-02-18 05:50:38 +01:00
Dietmar Maurer
cca4072ef3 ceph: use setsid for service commands 2014-01-24 10:41:04 +01:00
Dietmar Maurer
01777b3103 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
33c1150fc1 split out ceph code into PVE::CephTools 2014-01-22 09:33:15 +01:00