[pve-devel] [RFC container 0/1] Removes need for two RBD storage entries

Alwin Antreich a.antreich at proxmox.com
Wed Jul 25 18:18:38 CEST 2018


This is one of the ideas, how to remove the need for two RBD storage entries to
get LXC and KVM (through librbd) run on the same RBD pool. Now needed if the
ceph cluster is not under PVE control (eg. hosted ceph service).

See the discussion for reference.
https://pve.proxmox.com/pipermail/pve-devel/2018-July/032895.html

In this variant I add an extra parameter to the storage entry to not
accidentally override the krbd setting in the storage.cfg. But it could be
well changed to use krbd parameter.

Ideas and suggestions are welcome. :)

Alwin Antreich (2):
  LXC need krbd regardless of storage entry

 src/PVE/API2/LXC.pm | 10 +++++-----
 src/PVE/LXC.pm      | 20 ++++++++++++++------
 2 files changed, 19 insertions(+), 11 deletions(-)

  Add check to overrule krbd setting on RBD storage

 PVE/Storage/RBDPlugin.pm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

-- 
2.11.0




More information about the pve-devel mailing list