On 11/5/19 6:33 PM, Thomas Lamprecht wrote:
On 11/5/19 1:51 PM, Dominik Csapak wrote:
add a helper to cache the ceph performance data inside pmxcfs
with broadcast_node_kv, and also a helper to read it out
merge the data from all nodes that sent performance data
the '$perf_cache' variable actua
This change allows sending statistics to graphite over TCP.
So far only UDP is possible, which is not available in some environments, like
behind a loadbalancer.
Configuration example:
~ $ cat /etc/pve/status.cfg
graphite:
server 10.20.30.40
port 2003
path proxmox
proto tcp
On 11/5/19 1:42 PM, Tim Marx wrote:
> Signed-off-by: Tim Marx
> ---
> PVE/API2/Storage/Content.pm | 1 +
> 1 file changed, 1 insertion(+)
>
applied both patches, thanks!
___
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-
On 11/5/19 1:51 PM, Dominik Csapak wrote:
> add a helper to cache the ceph performance data inside pmxcfs
> with broadcast_node_kv, and also a helper to read it out
>
> merge the data from all nodes that sent performance data
>
> the '$perf_cache' variable actually serves two purposes,
> the writ
sorry, the git send-email is awful ;/
I hope the patch and documentation patch is now to your satisfaction as it
includes a timeout for tcp as well and therefore should not cause any
trouble.
We use deployed it on our cluster and so far it seems to work fine. However
we do not have a test environm
This change allows sending statistics to graphite over TCP.
So far only UDP is possible, which is not available in some environments, like
behind a loadbalancer.
Configuration example:
~ $ cat /etc/pve/status.cfg
graphite:
server 10.20.30.40
port 2003
path proxmox
proto tcp
Signed-off-by: Martin Verges
---
pve-external-metric-server.adoc | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/pve-external-metric-server.adoc b/pve-external-metric-server.adoc
index c9e1107..1497a44 100644
--- a/pve-external-metric-server.adoc
+++ b/pve-external-
This change allows sending statistics to graphite over TCP.
So far only UDP is possible, which is not available in some environments, like
behind a loadbalancer.
Configuration example:
~ $ cat /etc/pve/status.cfg
graphite:
server 10.20.30.40
port 2003
path proxmox
proto tcp
On 11/5/19 1:58 PM, Wolfgang Bumiller wrote:
> This should deduplicate some code in our hooks and add support for
> `lxc.hook.version`. That way users can use newer hook versions without
> breaking the PVE hooks in the process.
>
> Patches 2 & 4 are best viewed with -w. I'm attaching -w of 2 below
Signed-off-by: Wolfgang Bumiller
---
src/lxc-pve-autodev-hook | 93
1 file changed, 27 insertions(+), 66 deletions(-)
diff --git a/src/lxc-pve-autodev-hook b/src/lxc-pve-autodev-hook
index 4913870..3c45949 100755
--- a/src/lxc-pve-autodev-hook
+++ b/src/l
This should deduplicate some code in our hooks and add support for
`lxc.hook.version`. That way users can use newer hook versions without
breaking the PVE hooks in the process.
Patches 2 & 4 are best viewed with -w. I'm attaching -w of 2 below, 4
isn't that tragic.
Wolfgang Bumiller (5):
add PV
We now get rid of all the PVE::CLIHandler baggage which
reduces the code a lot. It is also not compatible with the
new lxc.hook.version=1 method of hooks!
The new helper is specific to lxc hooks and supports both
current `lxc.hook.version`s.
Signed-off-by: Wolfgang Bumiller
---
src/lxc-pve-auto
Will contain lxc/container specific tools which should also
be accessible within our lxc hook scripts.
Signed-off-by: Wolfgang Bumiller
---
src/PVE/LXC/Makefile | 7 +++-
src/PVE/LXC/Tools.pm | 82
2 files changed, 88 insertions(+), 1 deletion(-)
cr
We currently don't depend on a particular version, although
in the future we may want to enforce a minimum (at which
point we'll need more than just a whitelist entry for this,
but right now this will do...)
Signed-off-by: Wolfgang Bumiller
---
src/PVE/LXC/Config.pm | 1 +
1 file changed, 1 inse
Signed-off-by: Wolfgang Bumiller
---
src/PVE/LXC/Tools.pm | 51
1 file changed, 51 insertions(+)
diff --git a/src/PVE/LXC/Tools.pm b/src/PVE/LXC/Tools.pm
index 18a1a22..bebd7d8 100644
--- a/src/PVE/LXC/Tools.pm
+++ b/src/PVE/LXC/Tools.pm
@@ -79,4 +79,
this calls the api once when opening the dashboard, and fills the charts
with that cached data, then it continues like previously with its
interval
Signed-off-by: Dominik Csapak
---
www/manager6/ceph/Status.js | 18 ++
1 file changed, 18 insertions(+)
diff --git a/www/manager6/c
add a helper to cache the ceph performance data inside pmxcfs
with broadcast_node_kv, and also a helper to read it out
merge the data from all nodes that sent performance data
the '$perf_cache' variable actually serves two purposes,
the writer (will be pvestatd) uses it to broadcast only its valu
Signed-off-by: Dominik Csapak
---
altough the rados call have a default timeout of 5 seconds,
i am not sure if this is too much of a load
we could only run that call e.g. every 3rd pvestatd loop, to minimize
the load. combined with the merging of the data on the reader side,
i guess we would have
this gets the cached ceph performance data back from pmxcfs
Signed-off-by: Dominik Csapak
---
PVE/API2/Cluster/Ceph.pm | 24
1 file changed, 24 insertions(+)
diff --git a/PVE/API2/Cluster/Ceph.pm b/PVE/API2/Cluster/Ceph.pm
index fa79d077..31373ef2 100644
--- a/PVE/API2/
with this patch, we are able to directly fill the charts on the ceph
dashboard with cached performance data, instead of always showing empty
ones each time we load the dashboard
Dominik Csapak (4):
ceph: add perf data cache helpers
ceph: cache perf data in pvestatd
ceph: add 'iostat' api cal
For the thin wrapper around acme.sh DNS plugins, the required functions are
copied.
The project acme.sh can be found here.
https://github.com/Neilpang/acme.sh
---
src/proxmox-acme/proxmox-acme | 806 ++
1 file changed, 806 insertions(+)
create mode 100644 src/prox
These patches are just the acme.sh thin wrapper part for the reuse of the
dnsapi.
In this version I use curl instead of wget.
Curl is already part of PMG, and PVE has libcurl packages dependency.
This script has additionl an additional on
- coreutils (an we ignore)
- sed (must be install
---
src/proxmox-acme/proxmox-acme | 78 +++
1 file changed, 78 insertions(+)
diff --git a/src/proxmox-acme/proxmox-acme b/src/proxmox-acme/proxmox-acme
index 662c39a..6da9436 100644
--- a/src/proxmox-acme/proxmox-acme
+++ b/src/proxmox-acme/proxmox-acme
@@ -1,5 +1,
This Code is not required in the Proxmox environment.
We know in our environment what we have as a tool-change.
Fix Code what does not work because variable or functions are missing.
---
src/proxmox-acme/proxmox-acme | 476 +-
1 file changed, 120 insertions(+), 356
Signed-off-by: Tim Marx
---
PVE/API2/Storage/Content.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/API2/Storage/Content.pm b/PVE/API2/Storage/Content.pm
index 76c3b67..9f6ea10 100644
--- a/PVE/API2/Storage/Content.pm
+++ b/PVE/API2/Storage/Content.pm
@@ -101,6 +101,7 @@ __PACKAGE__->
Signed-off-by: Tim Marx
---
PVE/API2/Storage/Content.pm | 56 ++---
1 file changed, 28 insertions(+), 28 deletions(-)
diff --git a/PVE/API2/Storage/Content.pm b/PVE/API2/Storage/Content.pm
index 9731720..76c3b67 100644
--- a/PVE/API2/Storage/Content.pm
+++ b/PVE/A
On 11/5/19 1:21 PM, Thomas Lamprecht wrote:
On 11/5/19 1:04 PM, Alexandre DERUMIER wrote:
Hi,
be carefull of timeouts, because it could hang pvestatd.
(That's why it was implemented in udp for graphite && influxdb)
That's true, as almost always there's a reason why seemingly simple
things ar
On 11/5/19 1:04 PM, Alexandre DERUMIER wrote:
> Hi,
>
> be carefull of timeouts, because it could hang pvestatd.
> (That's why it was implemented in udp for graphite && influxdb)
>
That's true, as almost always there's a reason why seemingly simple
things are not already done.. So we need to be
Hi,
be carefull of timeouts, because it could hang pvestatd.
(That's why it was implemented in udp for graphite && influxdb)
- Mail original -
De: "Martin Verges"
À: "pve-devel"
Envoyé: Lundi 4 Novembre 2019 16:48:04
Objet: [pve-devel] [PATCH manager] add graphite tcp support
This chan
Allows to mount VFAT devices even if the currently running kernel was
removed before any VFAT, or other FS using the default Native
Language Support module was mounted during the current uptime.
This then could break updating the ESP partitions, which are mounted
with VFAT in a postrm triggered st
On 11/4/19 2:52 PM, Alwin Antreich wrote:
Signed-off-by: Alwin Antreich
---
pveceph.adoc | 54
1 file changed, 54 insertions(+)
diff --git a/pveceph.adoc b/pveceph.adoc
index 087c4d0..127e3bb 100644
--- a/pveceph.adoc
+++ b/pveceph.adoc
In general wouldn't it be better to change the headlines to active
voice? Create Monitors instead of Creating Monitors?
More suggestions inline.
On 11/4/19 2:52 PM, Alwin Antreich wrote:
Put the previous added sections into subsection for a better outline of
the TOC.
With the rearrangement of
On 11/4/19 2:52 PM, Alwin Antreich wrote:
> Replace remaining old style single commands with current subcommands
>
> Signed-off-by: Alwin Antreich
> ---
> pveceph.adoc | 12 ++--
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
applied, thanks!
__
Hi,
thanks for the patch :)
looks good for the most part, but afaics you did not
sign our CLA yet, please see our Developer Documentation[0] for that.
also it would be nice to extend our documentation for this
in the pve-docs git repository[1], in the file
'pve-external-metric-server.adoc'[2], b
On 11/4/19 2:52 PM, Alwin Antreich wrote:
Signed-off-by: Alwin Antreich
---
pveceph.adoc | 21 +++
images/screenshot/gui-ceph-pools-destroy.png | Bin 0 -> 141532 bytes
2 files changed, 21 insertions(+)
create mode 100644 images/screensho
On 11/4/19 2:52 PM, Alwin Antreich wrote:
Signed-off-by: Alwin Antreich
---
pveceph.adoc | 20 ++
.../screenshot/gui-ceph-manager-destroy.png | Bin 0 -> 153596 bytes
2 files changed, 20 insertions(+)
create mode 100644 images/screensh
On 11/5/19 10:40 AM, Aaron Lauterer wrote:
To remove an OSD via the GUI first select the {PVE} node in the tree
view. Select the **Ceph -> OSD** panel and select the OSD to destroy.
Next click the **OUT** button. Once the OSD's status changed from `in`
to `out` click the **STOP** button. A
On 11/4/19 2:52 PM, Alwin Antreich wrote:
Signed-off-by: Alwin Antreich
---
pveceph.adoc | 19 ++
.../screenshot/gui-ceph-monitor-destroy.png | Bin 0 -> 154084 bytes
2 files changed, 19 insertions(+)
create mode 100644 images/screensh
Some suggestions inline.
On 11/4/19 2:52 PM, Alwin Antreich wrote:
Signed-off-by: Alwin Antreich
---
pveceph.adoc | 31 +
images/screenshot/gui-ceph-osd-destroy.png | Bin 0 -> 146184 bytes
2 files changed, 31 insertions(+)
create mode 10
Nicely written.
I have some suggestions inline:
* splitting long sentences
* adding more info as to what is valid for the size in
special_small_blocks (taken from the zfs man page)
* rewrote the last paragraph a bit
On 10/22/19 12:33 PM, Fabian Ebner wrote:
> Signed-off-by: Fabian Ebner
> ---
40 matches
Mail list logo