[pve-devel] [PATCH manager 1/5] add health detail to ceph status api call

2017-07-20 Thread Dominik Csapak
with ceph 12.1.1 luminous, ceph has reorganized its json interface of the ceph status and ceph health call so to get everything we need, we have to also get the ceph health detail information into our status call Signed-off-by: Dominik Csapak --- PVE/API2/Ceph.pm | 4 +++- 1 file changed, 3 ins

[pve-devel] [PATCH manager 4/5] adapt ceph status detail to luminous and make it more robust

2017-07-20 Thread Dominik Csapak
they restructured the json interface (e.g. they removed the timechecks from ceph status) so we have to generate those differently also make the whole thing more robust to changes, as in do not bail out if one thing is missing, but check the needed data only when we need it and omit that part Sig

[pve-devel] [PATCH manager 5/5] adapt the health message list to luminous

2017-07-20 Thread Dominik Csapak
they restructured the json structure, so we have to adapt to it. additionally, we now have a 'detail' property for the messages which we show on a click of the 'info' button in the new actioncolumn Signed-off-by: Dominik Csapak --- www/manager6/ceph/Status.js | 49 +++

[pve-devel] [PATCH manager 2/5] adapt render_ceph_health for luminous

2017-07-20 Thread Dominik Csapak
it is using 'status' instead of 'overall_health' now also only give the health object now Signed-off-by: Dominik Csapak --- www/manager6/Utils.js | 8 www/manager6/ceph/Status.js | 2 +- www/manager6/dc/Health.js | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --

[pve-devel] [PATCH manager 3/5] rename 'monitors' to 'states' in pg list

2017-07-20 Thread Dominik Csapak
Signed-off-by: Dominik Csapak --- www/manager6/ceph/StatusDetail.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/manager6/ceph/StatusDetail.js b/www/manager6/ceph/StatusDetail.js index f807674e..b29938c0 100644 --- a/www/manager6/ceph/StatusDetail.js +++ b/www/ma

[pve-devel] [PATCH manager 0/5] ceph luminous adaptions

2017-07-20 Thread Dominik Csapak
this series adapts the gui to the luminous json api changes since they moved some stuff around and removed some things this should only be applied to master, since we only support luminous on pve 5, for pve 4 i will send a different patch in the future which makes it clear that only the gui is not

Re: [pve-devel] Request for improvement of Network handling regarding LXC

2017-07-20 Thread Tom Weber
Am Donnerstag, den 20.07.2017, 15:00 +0200 schrieb Wolfgang Bumiller: > On Thu, Jul 20, 2017 at 01:22:58PM +0200, Tom Weber wrote: > > > > Hi there, > > > > i'm currently evaluating the PVE environment as a replacement for > > my > > custom KVM+LXC+DRBD setup I'm running so far. > > > > Playing

Re: [pve-devel] Request for improvement of Network handling regarding LXC

2017-07-20 Thread Wolfgang Bumiller
On Thu, Jul 20, 2017 at 01:22:58PM +0200, Tom Weber wrote: > Hi there, > > i'm currently evaluating the PVE environment as a replacement for my > custom KVM+LXC+DRBD setup I'm running so far. > > Playing with (privileged) containers I figured that IP configuration is > always done from inside the

[pve-devel] [PATCH manager 2/3] FileStore: make editable to allow filtering

2017-07-20 Thread Thomas Lamprecht
Making this COmboGrid based component editable allows implicit filtering the backing store. This is quite helpfull on file selection, as for example the ISO file selector from the create wizard is. Clear the filter (and its displayed value) on store reselection, as there it becomes void - at least

[pve-devel] [PATCH manager 1/3] FileSelector: adapt combogrid total and column width

2017-07-20 Thread Thomas Lamprecht
By default the "Size" column ellipsed a lot entries, which is just annoying. Adapt it so that all sizes can be viewed comfortably. Further increase the total width of this combogrid, a lot less could be seen there since theme change from the 4.X era. Use an new empirical found out good working va

[pve-devel] [PATCH manager 3/3] ComboGrid: open picker on input field focus

2017-07-20 Thread Thomas Lamprecht
ComboBoxes provided by UI frameworks normally show their selection possibilities once focused, change the behavior of COmboGrid that it does this too. To avoid a glitch, where clicking the "picker trigger" (the down arrow which normally toggles the selection picker) would first focus the element -

Re: [pve-devel] Request for improvement of Network handling regarding LXC

2017-07-20 Thread Tom Weber
Am Donnerstag, den 20.07.2017, 13:31 +0200 schrieb Michael Rasmussen: > On Thu, 20 Jul 2017 13:22:58 +0200 > Tom Weber wrote: > > > > > + if (defined($d->{ip}) and ($d->{ip} ne "dhcp")) { > > + $raw .= "lxc.network.ipv4 = $d->{ip}\n"; > > + $raw .= "lxc.network.ipv4.gateway

Re: [pve-devel] Request for improvement of Network handling regarding LXC

2017-07-20 Thread Michael Rasmussen
On Thu, 20 Jul 2017 13:22:58 +0200 Tom Weber wrote: > + if (defined($d->{ip}) and ($d->{ip} ne "dhcp")) { > + $raw .= "lxc.network.ipv4 = $d->{ip}\n"; > + $raw .= "lxc.network.ipv4.gateway = $d->{gw}\n" if > defined($d->{gw}); > + $raw .= "lxc.network.flag

[pve-devel] Request for improvement of Network handling regarding LXC

2017-07-20 Thread Tom Weber
Hi there, i'm currently evaluating the PVE environment as a replacement for my custom KVM+LXC+DRBD setup I'm running so far. Playing with (privileged) containers I figured that IP configuration is always done from inside the container. My usual setup is setting the (static) IP of the container f