[pve-devel] OpenAPI converter (similar to JSONSchema generator)

2020-12-16 Thread Erik Hollensbe
The specification is here and has similar semantics and goals to jsonschema, just really good codegen support: https://swagger.io/specification/ What I am proposing is a module that sits alongside the JSONSchema package and generates an openapi.json/swagger.json on http request, so that the client

[pve-devel] [PATCH docs] qm: add guest agent section

2020-12-16 Thread Aaron Lauterer
Signed-off-by: Aaron Lauterer --- Additionally to the previous series [0] which changes the phrasing, it would be nice to have a dedicated Qemu Guest Agent section in the docs. This is a first draft. If there is something missing or could be phrased / structured in a better way, let me know :)

[pve-devel] [PATCH manager] gui: add help button to qm guest agent window

2020-12-16 Thread Aaron Lauterer
Signed-off-by: Aaron Lauterer --- www/manager6/qemu/Options.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/manager6/qemu/Options.js b/www/manager6/qemu/Options.js index 1f07d81a..3467a952 100644 --- a/www/manager6/qemu/Options.js +++ b/www/manager6/qemu/Options.js @@ -280,6 +280,7 @@

Re: [pve-devel] [PATCH storage] fix: check connection for nfs v4 only server

2020-12-16 Thread Alwin Antreich
On Wed, Dec 16, 2020 at 12:59:04PM +0100, Alwin Antreich wrote: > the check_connection is done by querying the exports of the nfs server > in question. With nfs v4 those exports aren't listed anymore since nfs > v4 employs a pseudo-filesystem starting from root (/). > > rpcinfo allows to query the

[pve-devel] [PATCH storage] fix: check connection for nfs v4 only server

2020-12-16 Thread Alwin Antreich
the check_connection is done by querying the exports of the nfs server in question. With nfs v4 those exports aren't listed anymore since nfs v4 employs a pseudo-filesystem starting from root (/). rpcinfo allows to query the existence of an nfs v4 service. Signed-off-by: Alwin Antreich --- Note:

[pve-devel] [PATCH manager] ceph: extend error for wrong config-file link

2020-12-16 Thread Stoiko Ivanov
Since I had to look up the cause of the error-message in our source explaining why exactly ceph-operations fail, because /etc/ceph/ceph.conf exists. reported via our community forum: https://forum.proxmox.com/threads/osd-ersetzen-neu-erstellen.80793/ quickly tested on a virtual ceph cluster Sign

Re: [pve-devel] [PATCH manager] ui: improve description of guest-fstrim checkbox

2020-12-16 Thread Aaron Lauterer
On 12/16/20 8:20 AM, Thomas Lamprecht wrote: On 15.12.20 16:22, Aaron Lauterer wrote: The phrasing left some room to speculation when this would actually be run, e.g. after cloning a full VM? Adding/Expanding a QGA pve-docs section with that info in detail and adding a onlineHelp button her

[pve-devel] [PATCH qemu-server] tests: allow running migration tests in parallel

2020-12-16 Thread Fabian Ebner
It's not easily possible to use separate JSON files for the test configuration, because part of it is generated with perl code. While this could be encoded too, it seems cleaner to use the "run a single test by specifing the name" functionality while adding a way for make to obtain a list of the te