5076 Commits

Author SHA1 Message Date
Dominik Csapak
7e2bd6a98a ui: use pmxDiskList from widget-toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-16 11:43:05 +02:00
Dominik Csapak
cfec9fb991 ui: use pmxDiskSelector from widget-toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-16 11:43:05 +02:00
Alexandre Derumier
6e8e96925b sdn: browser: fix Permissions.Modify
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-15 15:35:30 +02:00
Alexandre Derumier
7b0ab1b482 api : cluster resources: add sdn audit permission
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-15 15:35:30 +02:00
Thomas Lamprecht
6f28b7f295 small nit follouwp: use $var->[0] to acccess array ref element
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-08 15:57:34 +02:00
Aaron Lauterer
400ef82478 vzdump: test: add first tests to the guest include logic
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2020-06-08 15:54:42 +02:00
Aaron Lauterer
242567f2df vzdump: make guest include logic testable
As a first step to make the whole guest include logic more testable the
part from the API endpoint has been moved to its own method with as
little changes as possible.

Everything concerning `all` and `exclude` logic is still in the
PVE::VZDump->exec_backup() method.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
2020-06-08 15:54:42 +02:00
Thomas Lamprecht
47702088db vzdump: format size: future proof against huge VM disks
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-08 15:54:35 +02:00
Stoiko Ivanov
89ac152097 add model information to ZFS create window
and improve the layout by adding flex values and increasing the width.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2020-06-06 19:36:46 +02:00
Thomas Lamprecht
dba39947a7 ui: migrate: sort migrations hints by text column
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-06 19:24:27 +02:00
Fabian Ebner
242cbfad36 Allow setting no target storage and make it default
so the current disk locations can be preserved even if
there are multiple local disks. And users don't have to
manually select the current storage if there is only one
local disk.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2020-06-06 18:49:08 +02:00
Fabian Ebner
f0d9a96d76 Don't show empty parentheses when size is not known
The size of VM state files and the size of unused disks not
referenced by any snapshot is not saved in the VM configuration,
so it's not available here either.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2020-06-06 18:49:08 +02:00
Thomas Lamprecht
4b1225a536 drop jslint lines
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-06 18:11:47 +02:00
Thomas Lamprecht
85c0d45acd ui: ceph/status: cleanup legacy version handling
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 19:12:45 +02:00
Thomas Lamprecht
ee1d77543b bump version to 6.2-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 16:42:40 +02:00
Tim Marx
a9849c85b8 ui: migration: add maxHeight to migration window
to prevent indefinite growth in case of e.g. many local disks

Signed-off-by: Tim Marx <t.marx@proxmox.com>
2020-06-03 16:27:38 +02:00
Thomas Lamprecht
2aa774a27e ui: backup grid: use boxLabel type and VMID
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 16:26:25 +02:00
Dominik Csapak
844bd8b586 ui: add checkbox for vmid filter for backupview
instead of hardcoding the text 'type-id-' into the searchbar
to accomodate for the additional size, add an overflowHandler
to the toolbar (for very small display sizes)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-03 16:21:11 +02:00
Thomas Lamprecht
afbccb9639 ui: ceph/pool: allow autoscale on create
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 16:15:55 +02:00
Alwin Antreich
7345d06dea ceph: extend pveceph pool ls
to present more data on pools and a nicer formated output on the command
line.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2020-06-03 16:08:27 +02:00
Alwin Antreich
0c05776da6 ceph: extend the pool view
to add the pg_autoscale_mode since its activated in Ceph Octopus by
default and emmits a waring (ceph status) if a pool has too many PGs.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2020-06-03 16:08:27 +02:00
Thomas Lamprecht
bc325d5644 ceph: avoid fork/exec overhead for every ceph_cluster_status call
detect heuristically if we need to get the full mon and mgr map extra
for Octopus

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 15:30:06 +02:00
Thomas Lamprecht
2bb04a3f90 ui: ceph/StatusDetail: cleanups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 15:25:39 +02:00
Alwin Antreich
9039633648 Make PVE6 compatible with supported ceph versions
Luminous, Nautilus and Octopus. In Octopus the mon_status was dropped.
Also the ceph status was cleaned up and doesn't provide the mgrmap and
monmap.

The rados queries used in the ceph status API endpoints (cluster / node)
were factored out and merged to one place.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2020-06-03 14:23:38 +02:00
Thomas Lamprecht
0030ce7698 ui: followup: use title case
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 14:22:21 +02:00
Alexandre Derumier
410acf83cb sdn: vlan : add mtu field
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-03 14:22:21 +02:00
Alexandre Derumier
54c669c6c2 sdn: add vlan aware option to vnet
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2020-06-03 14:22:21 +02:00
Thomas Lamprecht
f0217063e4 sdn: use new helper methods to update config
and do a breaks on older network package as we do not depend on it
due to it being an optional/experimental feature, so reverse the
depends with the breaks.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 14:22:21 +02:00
Dietmar Maurer
94cdcb0156 PVE/VZDump.pm: use new --quiet option for proxmox-backup-client prune 2020-06-03 11:08:50 +02:00
Dominik Csapak
6533635734 ui: fix HotplugFeatureSelector
we recently changed the setValue behaviour of the inputpanel and editwindow
(we now set all fields with the same names), which leads to wrong
behaviour here

use a different name for the internal checkboxes to avoid this

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-02 16:53:57 +02:00
Dominik Csapak
feda042086 ui: fix missing change from 'pve-' to 'pmx-' models
we forgot to change these

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-02 16:53:53 +02:00
Thomas Lamprecht
8f2d3125a9 ui: dc/summary: sync height of first two panels with others
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-02 12:23:51 +02:00
Thomas Lamprecht
9c2e8603d4 d/control: bump version of proxmox-widget-toolkit dependency
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-02 12:15:56 +02:00
Dominik Csapak
92e5e800a4 css: remove icon colors
they are now in the widget-toolkit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-02 11:47:43 +02:00
Dominik Csapak
7d7b8509bb ui: Replication: use render_duration from widget-toolkit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-06-02 11:47:43 +02:00
Fabian Grünbichler
d43bfc6016 api: improve node index with missing/broken cert
since this API endpoint is used for the node selector in the GUI, which
causes quite widespread breakage.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-06-02 10:28:56 +02:00
Thomas Lamprecht
c59127c32f pveceph: make installing luminous on PVE 6 experimental
It's only available for the upgrade from 5.4 anyway

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-28 15:25:12 +02:00
Thomas Lamprecht
686532a421 pveceph: allow installing octopus as experimental option
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-28 15:25:12 +02:00
Thomas Lamprecht
91cb95c170 bump version to 6.2-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 14:31:07 +02:00
Thomas Lamprecht
317d6d7c95 ui: grammar followup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 14:17:57 +02:00
Thomas Lamprecht
190b3deb8c ui: node/subscription: eslint fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 14:15:00 +02:00
Thomas Lamprecht
08a83db5c7 ui: fix system report window indentation + cleanups
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 14:11:16 +02:00
Thomas Lamprecht
de1171fde7 ui: order remove button later and add separator to sys report
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 14:10:47 +02:00
Thomas Lamprecht
eab4c2e07b subscription delete: followup fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 13:39:13 +02:00
Moayad Almalat
533bcad869 api, ui: allow to remove subscription
Signed-off-by: Moayad Almalat <m.almalat@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-27 13:28:27 +02:00
Thomas Lamprecht
61e3e78425 ui: vm/options: increase localtime edit window width
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-26 19:12:57 +02:00
Fabian Ebner
34085b0507 Fix 2718: GUI: handle localtime option correctly
The backend treats an undefined value and 0 differently. If the option
is undefined, it will still be set for Windows in config_to_command.
Replace the checkbox with a combobox covering all options.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2020-05-26 19:09:21 +02:00
Thomas Lamprecht
577b0fdf24 fix #2574: ui: permission-path selector: push each unique path only once
In clusters a storage was pushed as many times as there are nodes
using it. Ensure we only push a path once, do this with a memory
oriented solution, i.e., build a extra object to remember what we
already pushed. This is preferred over a me.findExact call as it's a
o(n) vs o(n^2) solution compute wise and we make the user wait if
this would need long, so reducing compute time over memory use is
here a good choice - even if we will seldom run into situations where
this actually will make a difference with such small data counts.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-24 02:10:50 +02:00
Thomas Lamprecht
d3fec4792f ui: some eslint fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-24 02:09:40 +02:00
Thomas Lamprecht
0667ffd4f1 ceph: get_local_version: allow optional v prefix for version number
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-22 18:45:07 +02:00