Re: [pve-devel] Ceph OSD latency changes

2017-08-14 Thread Waschbüsch IT-Services GmbH
Solved! > Am 14.08.2017 um 22:34 schrieb Waschbüsch IT-Services GmbH > : > > Be that as it may, the problem I have which lead me to have a look at it is: > in the UI *all* my osds show a latency of 0. > Using the shell, they don't. I was on the right track after all - it seems the output *has*

Re: [pve-devel] Ceph OSD latency changes

2017-08-14 Thread Waschbüsch IT-Services GmbH
> Am 14.08.2017 um 20:39 schrieb Waschbüsch IT-Services GmbH > : > > Hi all, > > In API2/Ceph.pm > > osd latency information are read from the output of $get_osd_usage sub by > running the monitor command 'pg dump'. > I don't know if this used to contain the latency information for each osd,

[pve-devel] Ceph OSD latency changes

2017-08-14 Thread Waschbüsch IT-Services GmbH
Hi all, In API2/Ceph.pm osd latency information are read from the output of $get_osd_usage sub by running the monitor command 'pg dump'. I don't know if this used to contain the latency information for each osd, but it does not in the current (luminous) tree. I guess the information needs to b

[pve-devel] applied: [PATCH] check for ceph-mgr on destroymon

2017-08-14 Thread Fabian Grünbichler
to stable-4 On Mon, Aug 14, 2017 at 02:53:45PM +0200, Alwin Antreich wrote: > Signed-off-by: Alwin Antreich > --- > PVE/API2/Ceph.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm > index 71ea687f..6424f02f 100644 > --- a/PVE/API2/Ce

[pve-devel] [PATCH] check for ceph-mgr on destroymon

2017-08-14 Thread Alwin Antreich
Signed-off-by: Alwin Antreich --- PVE/API2/Ceph.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm index 71ea687f..6424f02f 100644 --- a/PVE/API2/Ceph.pm +++ b/PVE/API2/Ceph.pm @@ -1087,7 +1087,7 @@ __PACKAGE__->register_method ({

[pve-devel] [PATCH docs] fix error in importdisk format

2017-08-14 Thread Dominik Csapak
qm importdisk has only three positional arguments: vmid source-disk target-storage Signed-off-by: Dominik Csapak --- qm.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qm.adoc b/qm.adoc index e8da4e1..54ed193 100644 --- a/qm.adoc +++ b/qm.adoc @@ -712,7 +712,7 @@ Create

[pve-devel] applied: [PATCH manager v2 0/3] pveceph create/destroymgr backport

2017-08-14 Thread Fabian Grünbichler
to stable-4 On Mon, Aug 14, 2017 at 11:06:01AM +0200, Alwin Antreich wrote: > Alwin Antreich (1): > add check if ceph-mgr is installed > > Dominik Csapak (2): > pveceph: create mgr with mon, use nodename for id > pveceph: add createmgr/destroymgr commands > > PVE/API2/Ceph.pm | 197 > +

Re: [pve-devel] [PATCH Storage] Newly created LVM volumes are now created with a number of stripes equal to the number of physical volumes in a volume group.

2017-08-14 Thread Caspar Smit
Hi, Reading this I think there is another scenario that should be thought of: I sometimes use a VG consisting of PV's which are unequal in size. For instance a PV of 1TB and a second PV of 10TB. If you are use striping on this VG (using auto detect number of PV's) the result will be that you can

[pve-devel] [PATCH manager v2 2/3] pveceph: add createmgr/destroymgr commands

2017-08-14 Thread Alwin Antreich
From: Dominik Csapak 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 (cherry picked from commit ad9411c9480aa8f9b5fdbf677e0fb4a1e6997cb7) --- PVE/API2/Ceph.pm | 87 +

[pve-devel] [PATCH manager v2 3/3] add check if ceph-mgr is installed

2017-08-14 Thread Alwin Antreich
in API endpoints createmgr/destroymgr/createmon Signed-off-by: Alwin Antreich --- changes in v2: - add check with noerr to createmon as well PVE/API2/Ceph.pm | 6 +- PVE/CephTools.pm | 12 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/PVE/API2/Ceph.pm b/PVE/AP

[pve-devel] [PATCH manager v2 1/3] pveceph: create mgr with mon, use nodename for id

2017-08-14 Thread Alwin Antreich
From: Dominik Csapak we now want to add a ceph-mgr daemon to every node where a ceph-mon daemon runs, as per ceph documentation recommendation, because in luminous the mgr daemons will not be automatically created/started with a monitor anymore we also give the createmon an optional id parameter

[pve-devel] [PATCH manager v2 0/3] pveceph create/destroymgr backport

2017-08-14 Thread Alwin Antreich
Alwin Antreich (1): add check if ceph-mgr is installed Dominik Csapak (2): pveceph: create mgr with mon, use nodename for id pveceph: add createmgr/destroymgr commands PVE/API2/Ceph.pm | 197 + PVE/CLI/pveceph.pm | 2 + PVE/CephTools.

[pve-devel] [PATCH manager v2] add summary to the ceph warning window

2017-08-14 Thread Dominik Csapak
and format it better Signed-off-by: Dominik Csapak --- changes from v1: * htmlEncode the summary and detail fields, so that does not get interpreted as html left it as since nobody complained, and this is in line with the log window www/manager6/ceph/Status.js | 7 +-- 1 file changed,

Re: [pve-devel] [PATCH pve-manager 1/3] pveceph: create mgr with mon, use nodename for id

2017-08-14 Thread Wolfgang Bumiller
On Mon, Aug 14, 2017 at 09:36:11AM +0200, Alwin Antreich wrote: > From: Dominik Csapak > > we now want to add a ceph-mgr daemon to every node where a ceph-mon > daemon runs, as per ceph documentation recommendation, because in > luminous the mgr daemons will not be automatically created/started >

[pve-devel] [PATCH stable-4 pve-manager 0/3] pveceph create/destroymgr backport

2017-08-14 Thread Alwin Antreich
Alwin Antreich (1): add check if ceph-mgr is installed in create/destroymgr Dominik Csapak (2): pveceph: create mgr with mon, use nodename for id pveceph: add createmgr/destroymgr commands PVE/API2/Ceph.pm | 197 + PVE/CLI/pveceph.pm |

[pve-devel] [PATCH pve-manager 3/3] add check if ceph-mgr is installed in create/destroymgr

2017-08-14 Thread Alwin Antreich
adding manager instances is only needed for upgrading PVE 4 to PVE 5 Signed-off-by: Alwin Antreich --- PVE/API2/Ceph.pm | 4 PVE/CephTools.pm | 12 2 files changed, 16 insertions(+) diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm index 11035e5b..6650f5ce 100644 --- a/PVE/API

[pve-devel] [PATCH pve-manager 1/3] pveceph: create mgr with mon, use nodename for id

2017-08-14 Thread Alwin Antreich
From: Dominik Csapak we now want to add a ceph-mgr daemon to every node where a ceph-mon daemon runs, as per ceph documentation recommendation, because in luminous the mgr daemons will not be automatically created/started with a monitor anymore we also give the createmon an optional id parameter

[pve-devel] [PATCH pve-manager 2/3] pveceph: add createmgr/destroymgr commands

2017-08-14 Thread Alwin Antreich
From: Dominik Csapak 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 (cherry picked from commit ad9411c9480aa8f9b5fdbf677e0fb4a1e6997cb7) Signed-off-by: Alwin Antreich --- PVE/AP