]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
4 years agofix #2314: remove GZIP env var
Stefan Reiter [Wed, 7 Aug 2019 12:12:10 +0000 (14:12 +0200)]
fix #2314: remove GZIP env var

...and replace instead with command line argument.
Avoids a deprecation warning.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
4 years agogui: ceph wizard: fix typo
Dominik Csapak [Thu, 25 Jul 2019 14:47:22 +0000 (16:47 +0200)]
gui: ceph wizard: fix typo

s/Coniguration/Configuration/

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoFix #582: Add default delay for backups
Dominic Jäger [Mon, 15 Jul 2019 10:28:18 +0000 (12:28 +0200)]
Fix #582: Add default delay for backups

A default of 5 seems like a reasonable delay for removing backups from
the GUI.

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
4 years agoui login: followup: add some hints to the 595 login error message
Thomas Lamprecht [Wed, 24 Jul 2019 16:32:56 +0000 (18:32 +0200)]
ui login: followup: add some hints to the 595 login error message

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: login: do not show connection failure as login failure
Oguz Bektas [Wed, 24 Jul 2019 15:46:20 +0000 (17:46 +0200)]
ui: login: do not show connection failure as login failure

In case pvedaemon, pveproxy is not running or we get somehow else a
595 response (connection failure), we want to tell this to the user,
since "Login failed" doesn't help.

Handle all connection failures, leave the rest the same. We could go
into more detail (CONNECT_FAILURE, CLIENT_INVALID, LOAD_FAILURE and
SERVER_INVALID), but i didn't see any reason to make all these
distinctions now.

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
4 years agoui: vm/Hardware: do not depent mapping of cdrom, cloudinit, .. on the CSS class
Thomas Lamprecht [Wed, 24 Jul 2019 16:05:59 +0000 (18:05 +0200)]
ui: vm/Hardware: do not depent mapping of cdrom, cloudinit, .. on the CSS class

This was pretty brittle to begin with, on should not attach logic to
CSS class names or the like, if possible.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: vm/Hardware: convert more icons from bitmap to font awesome
Thomas Lamprecht [Wed, 24 Jul 2019 08:48:15 +0000 (10:48 +0200)]
ui: vm/Hardware: convert more icons from bitmap to font awesome

since commit 03558174ef4f15f542a61584013a195481188e7f we can use the
Font Awesome icons without them being shown in the remove dialog, so
convert more to them - they are vectors and look a bit better.

Also ensure that all icons are rendered as fixed width, with fa-fw

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years ago(re)bump version to 6.0-5
Thomas Lamprecht [Tue, 23 Jul 2019 17:18:54 +0000 (19:18 +0200)]
(re)bump version to 6.0-5

The other commit was pushed out by slight mistake but not shipped,
so re-bumped the date, but with same version (commid hash is shipped
anyway)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: vm/HW: use more font awesome icons and fix color
Thomas Lamprecht [Tue, 23 Jul 2019 17:18:15 +0000 (19:18 +0200)]
ui: vm/HW: use more font awesome icons and fix color

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopveAudioInputPanel: comment out onlineHelp doc reference for now
Thomas Lamprecht [Tue, 23 Jul 2019 17:03:50 +0000 (19:03 +0200)]
pveAudioInputPanel: comment out onlineHelp doc reference for now

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoAdd audio device to HardwareView
Aaron Lauterer [Fri, 19 Jul 2019 13:32:21 +0000 (15:32 +0200)]
Add audio device to HardwareView

Adds the following:

* Menu entry to create a new audio device
  only clickable if:
    * permissions are there
    * no audio device exists
* listing in the hardwarew view

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
4 years agoAdd edit dialog for audio device
Aaron Lauterer [Fri, 19 Jul 2019 13:32:20 +0000 (15:32 +0200)]
Add edit dialog for audio device

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
4 years agobump version to 6.0-5
Thomas Lamprecht [Tue, 23 Jul 2019 15:35:09 +0000 (17:35 +0200)]
bump version to 6.0-5

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoInclude Windows Server 2019 in OS-Type list
Stefan Reiter [Tue, 23 Jul 2019 11:41:30 +0000 (13:41 +0200)]
Include Windows Server 2019 in OS-Type list

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
4 years agoAdd hv-tlbflush and hv-evmcs as optional flags
Stefan Reiter [Tue, 23 Jul 2019 11:41:29 +0000 (13:41 +0200)]
Add hv-tlbflush and hv-evmcs as optional flags

since they have both been removed as automatic hyper-v flags.

hv-evmcs description intentionally does not contain a mention of Windows, since
it works for Linux guests as well.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
4 years agoceph: add perl flag GET and PUT call
Thomas Lamprecht [Tue, 23 Jul 2019 14:33:58 +0000 (16:33 +0200)]
ceph: add perl flag GET and PUT call

use PUT for setting or unsetting, as POST/DELETE (like the old node
specific API used) makes no sense. One does not creates or deletes
the flag, they are always here. One just updates their value

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoceph: move flag API endpoints to node-agnostic /cluster/ceph path
Thomas Lamprecht [Tue, 23 Jul 2019 14:28:44 +0000 (16:28 +0200)]
ceph: move flag API endpoints to node-agnostic /cluster/ceph path

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoceph: move possible_flags to Ceph::Tools for intra-module reuse
Thomas Lamprecht [Tue, 23 Jul 2019 13:47:37 +0000 (15:47 +0200)]
ceph: move possible_flags to Ceph::Tools for intra-module reuse

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoapi/cluster: move ceph calls into sub- directory/module
Thomas Lamprecht [Tue, 23 Jul 2019 13:28:18 +0000 (15:28 +0200)]
api/cluster: move ceph calls into sub- directory/module

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agocluster api: group and sort module use
Thomas Lamprecht [Tue, 23 Jul 2019 13:24:58 +0000 (15:24 +0200)]
cluster api: group and sort module use

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoremove unused ext-pve.css
Thomas Lamprecht [Tue, 23 Jul 2019 12:27:52 +0000 (14:27 +0200)]
remove unused ext-pve.css

not used since commit 5783c7f4ddbeeddb7038f40c94908b0f3a6b5fa7 from
2016...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoceph flags: rename flags2 to flag before public release
Thomas Lamprecht [Tue, 23 Jul 2019 11:59:44 +0000 (13:59 +0200)]
ceph flags: rename flags2 to flag before public release

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: ceph/osd: add a real fix for the window-not-centered issue
Thomas Lamprecht [Tue, 23 Jul 2019 11:47:36 +0000 (13:47 +0200)]
ui: ceph/osd: add a real fix for the window-not-centered issue

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: ceph/flags: ensure window is vertically centered with a hack
Thomas Lamprecht [Tue, 23 Jul 2019 11:00:51 +0000 (13:00 +0200)]
ui: ceph/flags: ensure window is vertically centered with a hack

and some small changes of col width and missing semicolon

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: ceph/flags: commit changes into flag store to avoid having dirty rows
Thomas Lamprecht [Tue, 23 Jul 2019 11:00:02 +0000 (13:00 +0200)]
ui: ceph/flags: commit changes into flag store to avoid having dirty rows

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: ceph/flags: rename 'Set Flags' to 'Manage Global Flags'
Thomas Lamprecht [Tue, 23 Jul 2019 10:58:15 +0000 (12:58 +0200)]
ui: ceph/flags: rename 'Set Flags' to 'Manage Global Flags'

as one can also unset, not only set them, further the scope should be
made a bit more clear, "Cluster could have worked too"

Additionally specify that we mean the "OSD Flags" in the window
title (it's a bit to long for the button)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoapi/ceph: followup: refactor out getting the current set flags
Thomas Lamprecht [Tue, 23 Jul 2019 10:54:11 +0000 (12:54 +0200)]
api/ceph: followup: refactor out getting the current set flags

Add a new private helper which just does that for us, to avoid having
the same, or multiple implementations doing the same thing.

Allow to pass the $rados for sharing the same connection but also
just create it else for convenience

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agogui: ceph: convert 'set noout' button to 'set flags'
Dominik Csapak [Tue, 23 Jul 2019 07:52:29 +0000 (09:52 +0200)]
gui: ceph: convert 'set noout' button to 'set flags'

by using the new CephSetFlags EditWindow

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agogui: ceph: add a ceph flag EditWindow
Dominik Csapak [Tue, 23 Jul 2019 07:52:28 +0000 (09:52 +0200)]
gui: ceph: add a ceph flag EditWindow

this simply shows a grid with the available flags of the backend,
with a checkbox indicating the status

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoceph: set/unset flag: remove unused variable
Dominik Csapak [Tue, 23 Jul 2019 07:52:27 +0000 (09:52 +0200)]
ceph: set/unset flag: remove unused variable

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoceph: add PUT 'flags' api call
Dominik Csapak [Tue, 23 Jul 2019 07:52:26 +0000 (09:52 +0200)]
ceph: add PUT 'flags' api call

this api call can set multiple flags at once, but does this in a
worker since this can take quiet some time

also we only set/unset flags that are not already set/unset (respectively)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoceph: add GET 'flags2'
Dominik Csapak [Tue, 23 Jul 2019 07:52:25 +0000 (09:52 +0200)]
ceph: add GET 'flags2'

we want a GET api call where we return all available flags with
description, but the GET 'flags' api call already returns a string
and not an array, so we cannot use that

instead, we add a new api call that returns that feature and
with e.g. pve 7 we can remove the 'flags' api call and
rename 'flags2' to 'flags'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years ago5to6: cleanup cert check and make more general
Thomas Lamprecht [Tue, 23 Jul 2019 07:46:54 +0000 (09:46 +0200)]
5to6: cleanup cert check and make more general

If we need to add other types or increases the min size this makes it
easier as it's just a schematic definition.

Also just do a pass/fail on each cert, so drop the last "summary
pass".

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopve5to6: cert: check certificates key size
Alwin Antreich [Mon, 22 Jul 2019 15:11:40 +0000 (17:11 +0200)]
pve5to6: cert: check certificates key size

Debian Buster raised the default security level (1 -> 2) for TLS
connections.

This moves from the 80 bit security level to the 112 bit security level
and will require 2048 bit or larger RSA and DHE keys, 224 bit or larger
ECC keys, and SHA-2.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
4 years agopvenode: add public key size & type to cert info
Alwin Antreich [Mon, 22 Jul 2019 15:11:39 +0000 (17:11 +0200)]
pvenode: add public key size & type to cert info

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
4 years agogui: cert: add public key type & size to certs view
Alwin Antreich [Mon, 22 Jul 2019 15:11:37 +0000 (17:11 +0200)]
gui: cert: add public key type & size to certs view

by default the fields are hidden

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
4 years agofix #2265: enable discard for virtio-blk
Stefan Reiter [Wed, 10 Jul 2019 10:29:09 +0000 (12:29 +0200)]
fix #2265: enable discard for virtio-blk

QEMU 4.0 supports this. Guest needs to have at least Kernel 5.0 for it
to be used.

SSD emulation is still not supported AFAICT, so no change here.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
4 years agoceph: add flag hash
Dominik Csapak [Mon, 22 Jul 2019 14:08:47 +0000 (16:08 +0200)]
ceph: add flag hash

this is used to generate the paramters for the set/unset api call
and will be used for the parameters of the upcoming 'set multiple flags' call

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoceph tools: factor out frequent keyring and config init check
Thomas Lamprecht [Tue, 23 Jul 2019 05:48:45 +0000 (07:48 +0200)]
ceph tools: factor out frequent keyring and config init check

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: ceph: update text for outdated versions a bit
Thomas Lamprecht [Mon, 22 Jul 2019 14:38:15 +0000 (16:38 +0200)]
ui: ceph: update text for outdated versions a bit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoapi/osd: opinionated code cleanup of list
Thomas Lamprecht [Mon, 22 Jul 2019 14:25:05 +0000 (16:25 +0200)]
api/osd: opinionated code cleanup of list

among others: reduce use of sub-hash as index for another hash

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agogui: ceph dashboard: improve version hints
Dominik Csapak [Fri, 19 Jul 2019 08:17:03 +0000 (10:17 +0200)]
gui: ceph dashboard: improve version hints

show the difference between a service where the host has outdated
packages, and where only the service runs an outdated version and only
needs to restart

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agogui: ceph osd: improve version hints
Dominik Csapak [Fri, 19 Jul 2019 08:17:02 +0000 (10:17 +0200)]
gui: ceph osd: improve version hints

we now traverse the whole tree for the versions and save not only
the maxversion but if we have mixed versions at all

the traversal contains code to inject the host versions into the treenodes

this way we can omit any icon in case everything is on the same level
and if not we:

* show a check at update hosts and services
* show a 'restart' symbol for osds that only need a restart
* show an 'upgrade' symbol (fa-upload) for osds/hosts that need
  a package upgrade

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agogui: ceph: add HEALTH_UPGRADE state
Dominik Csapak [Fri, 19 Jul 2019 08:17:01 +0000 (10:17 +0200)]
gui: ceph: add HEALTH_UPGRADE state

to have 2 different states for
* packages are outdated
* packages are up to date but the service runs with the old version

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoceph: osd list: add hostversions to the host nodes
Dominik Csapak [Fri, 19 Jul 2019 08:17:00 +0000 (10:17 +0200)]
ceph: osd list: add hostversions to the host nodes

we want to improve the version hints in the osd tree gui and need
the version at the host nodes

we could (and want to) workaround it in the gui to have that
info for both versions of the api call

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agopveam update: also print success
Thomas Lamprecht [Fri, 19 Jul 2019 17:34:04 +0000 (19:34 +0200)]
pveam update: also print success

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoupdate shipped aplinfo index
Thomas Lamprecht [Fri, 19 Jul 2019 17:32:49 +0000 (19:32 +0200)]
update shipped aplinfo index

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoaplinfo: make apltest a bit more flexible
Thomas Lamprecht [Fri, 19 Jul 2019 17:31:57 +0000 (19:31 +0200)]
aplinfo: make apltest a bit more flexible

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoaplinfo: update from aplinfo-pve-6.dat
Thomas Lamprecht [Fri, 19 Jul 2019 15:55:50 +0000 (17:55 +0200)]
aplinfo: update from aplinfo-pve-6.dat

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoaplinfo: remove 4.x and older key, add 6.x key
Thomas Lamprecht [Fri, 19 Jul 2019 15:55:16 +0000 (17:55 +0200)]
aplinfo: remove 4.x and older key, add 6.x key

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoaplinfo: use aplinfo signed with 6.x release key
Thomas Lamprecht [Fri, 19 Jul 2019 17:16:25 +0000 (19:16 +0200)]
aplinfo: use aplinfo signed with 6.x release key

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoaplinfo: re-work and allow different filenames per apl source
Thomas Lamprecht [Fri, 19 Jul 2019 17:15:45 +0000 (19:15 +0200)]
aplinfo: re-work and allow different filenames per apl source

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoaplinfo: code cleanup
Thomas Lamprecht [Fri, 19 Jul 2019 16:21:22 +0000 (18:21 +0200)]
aplinfo: code cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agofix #2292: ceph osd create: use size parameter for db/wal
Thomas Lamprecht [Fri, 19 Jul 2019 09:05:46 +0000 (11:05 +0200)]
fix #2292: ceph osd create: use size parameter for db/wal

commit 970f96fdbb20d96127ae2d738344f2c5c61b18fc did not account for
getting the correct size parameter from the api call, so we ignored
it always resulting in uses not be able to set an explicit db/wal
size

Originally-fixed-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: qemu/HWView: cloudinit: use the font-awesome provided cloud symbol
Thomas Lamprecht [Wed, 17 Jul 2019 11:28:20 +0000 (13:28 +0200)]
ui: qemu/HWView: cloudinit: use the font-awesome provided cloud symbol

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: qemu/HWView: small code cleanup for remove dialog
Thomas Lamprecht [Wed, 17 Jul 2019 11:27:35 +0000 (13:27 +0200)]
ui: qemu/HWView: small code cleanup for remove dialog

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: qemu/HWView: only render icon when in grid
Thomas Lamprecht [Wed, 17 Jul 2019 11:26:59 +0000 (13:26 +0200)]
ui: qemu/HWView: only render icon when in grid

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agogui: fix debug-mode error
Dominik Csapak [Mon, 15 Jul 2019 12:03:45 +0000 (14:03 +0200)]
gui: fix debug-mode error

setData on an 'empty' store does not work in extjs debug mode
setting store to '{}' here does create a store on component creation
so the store is not 'empty'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoceph destroymon: actually die on errors
Fabian Grünbichler [Tue, 16 Jul 2019 13:51:04 +0000 (15:51 +0200)]
ceph destroymon: actually die on errors

instead of silently ignoring them. since we are in a task worker here
this is especially important - otherwise the task status/result is also
wrong!

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
4 years agoceph init: actually die on errors
Fabian Grünbichler [Tue, 16 Jul 2019 13:51:03 +0000 (15:51 +0200)]
ceph init: actually die on errors

instead of silently ignoring them

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
4 years agoui: window/migrate: use space separator between type and VMID
Thomas Lamprecht [Mon, 15 Jul 2019 18:14:37 +0000 (20:14 +0200)]
ui: window/migrate: use space separator between type and VMID

Like previous to commit 9706707d2f87edf123a12951865b667b4b2ce881
which broke this, we have some assumptions in our gui-test/screenshot
automation which lays assumptions on certain window titles, so try to
keep them stable.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 6.0-4
Thomas Lamprecht [Mon, 15 Jul 2019 16:48:57 +0000 (18:48 +0200)]
bump version to 6.0-4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopve5to6: check for ceph-volume osds
Dominik Csapak [Mon, 15 Jul 2019 08:20:27 +0000 (10:20 +0200)]
pve5to6: check for ceph-volume osds

do not warn in case there exist nautilus osds
since the upgrade has to be done by the time a user should add new
osds, it does not make sense to warn in that case

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agogui: ceph installer: fix typo
Tim Marx [Mon, 15 Jul 2019 09:06:13 +0000 (11:06 +0200)]
gui: ceph installer: fix typo

Signed-off-by: Tim Marx <t.marx@proxmox.com>
4 years agofollowup code cleanup
Thomas Lamprecht [Mon, 15 Jul 2019 08:56:01 +0000 (10:56 +0200)]
followup code cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoceph: mon list: show only as running when monitor is quorate
Dominik Csapak [Mon, 15 Jul 2019 08:20:28 +0000 (10:20 +0200)]
ceph: mon list: show only as running when monitor is quorate

nautilus puts non running monitors also in the monmap, so only show
as running when it has quorum

this is also not 100% correct, but the only 'correct' alternative is
to try and get/parse the systemd status of the units and broadcast it
to the pmxcfs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoui: cephfs: also add new tooltip like pool create
Thomas Lamprecht [Mon, 15 Jul 2019 05:47:31 +0000 (07:47 +0200)]
ui: cephfs: also add new tooltip like pool create

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: dc/Cluster: rename ring columns to link
Thomas Lamprecht [Mon, 15 Jul 2019 05:43:04 +0000 (07:43 +0200)]
ui: dc/Cluster: rename ring columns to link

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agofollowup coide cleanup
Thomas Lamprecht [Fri, 12 Jul 2019 12:07:25 +0000 (14:07 +0200)]
followup coide cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: improve console fallback logic if default is not available
Dominik Csapak [Fri, 12 Jul 2019 11:33:07 +0000 (13:33 +0200)]
ui: improve console fallback logic if default is not available

instead of instantly defaulting to novnc when the chosen
default is not available, try the other (better variant)
before falling back to novnc

e.g. having no default set is equivalent to having it set
to xtermjs, and having a vm with spice then previously
defaulted to novnc, now to spice (the reverse is also true)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoui: fix wrong defaultConsole fallback in tree
Dominik Csapak [Fri, 12 Jul 2019 11:33:06 +0000 (13:33 +0200)]
ui: fix wrong defaultConsole fallback in tree

having spice does not mean it can also have xtermjs, and
we get the information in the status call already
so give the correct parameters to openDefaultConsoleWindow

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agobump version to 6.0-3
Thomas Lamprecht [Fri, 12 Jul 2019 10:31:04 +0000 (12:31 +0200)]
bump version to 6.0-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agofilter unusable lxc mountoptions for rootfs
Oguz Bektas [Thu, 11 Jul 2019 13:08:30 +0000 (15:08 +0200)]
filter unusable lxc mountoptions for rootfs

disable nodev and noexec per thomas' suggestion[0].

[0]: https://pve.proxmox.com/pipermail/pve-devel/2019-July/037994.html

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
4 years agoRevert "add beta text with link to bugtracker"
Thomas Lamprecht [Thu, 11 Jul 2019 19:59:05 +0000 (21:59 +0200)]
Revert "add beta text with link to bugtracker"

This reverts commit 1e12b3179148b67ec6f94654c963f33a1a300bb0.

4 years agoui: node/disks: retune column width and hide vendor by defauöt
Thomas Lamprecht [Thu, 11 Jul 2019 19:37:10 +0000 (21:37 +0200)]
ui: node/disks: retune column width and hide vendor by defauöt

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: node/disks: reuse Utils.format_boolean for GPT column
Thomas Lamprecht [Thu, 11 Jul 2019 19:33:37 +0000 (21:33 +0200)]
ui: node/disks: reuse Utils.format_boolean for GPT column

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopveam: add mail to sections
Thomas Lamprecht [Thu, 11 Jul 2019 19:22:55 +0000 (21:22 +0200)]
pveam: add mail to sections

it includes the PMG

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 6.0-2
Thomas Lamprecht [Thu, 11 Jul 2019 18:42:02 +0000 (20:42 +0200)]
bump version to 6.0-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: dc/cluster: enforce second link if in join info
Thomas Lamprecht [Thu, 11 Jul 2019 18:41:09 +0000 (20:41 +0200)]
ui: dc/cluster: enforce second link if in join info

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: dc/cluster: join: s/ring/link/
Thomas Lamprecht [Thu, 11 Jul 2019 18:40:51 +0000 (20:40 +0200)]
ui: dc/cluster: join: s/ring/link/

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: dc/cluster: allow to create cluster with second link
Thomas Lamprecht [Thu, 11 Jul 2019 18:16:20 +0000 (20:16 +0200)]
ui: dc/cluster: allow to create cluster with second link

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: dc/cluster: add onlineHelp reference to create call
Thomas Lamprecht [Thu, 11 Jul 2019 18:12:00 +0000 (20:12 +0200)]
ui: dc/cluster: add onlineHelp reference to create call

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agogui: ceph configdb: fix store load
Dominik Csapak [Thu, 11 Jul 2019 12:52:38 +0000 (14:52 +0200)]
gui: ceph configdb: fix store load

instead of using API2Request, use the proper grid store load

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoui: ceph/pool: enable add_storages by default and add tooltip
Thomas Lamprecht [Thu, 11 Jul 2019 12:55:26 +0000 (14:55 +0200)]
ui: ceph/pool: enable add_storages by default and add tooltip

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: ceph/service list: re-do column widths with flex
Thomas Lamprecht [Thu, 11 Jul 2019 12:47:01 +0000 (14:47 +0200)]
ui: ceph/service list: re-do column widths with flex

this way we see thew full status of a MDS, and for our minimal
resolution of 720p and targeted resolution of 1080p it works good.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: ceph/pool: rework status grid a bit
Thomas Lamprecht [Thu, 11 Jul 2019 12:10:54 +0000 (14:10 +0200)]
ui: ceph/pool: rework status grid a bit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: remove notify calls on viewmodel
Thomas Lamprecht [Thu, 11 Jul 2019 10:50:03 +0000 (12:50 +0200)]
ui: remove notify calls on viewmodel

They should not be required and result in exceptions thrown if this
component is used in combination with ExtJS debug sources

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: ceph/osd: merge apply + commit latency columns
Thomas Lamprecht [Thu, 11 Jul 2019 09:16:22 +0000 (11:16 +0200)]
ui: ceph/osd: merge apply + commit latency columns

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: ceph/osd: split out used% and total avail column
Thomas Lamprecht [Thu, 11 Jul 2019 09:15:45 +0000 (11:15 +0200)]
ui: ceph/osd: split out used% and total avail column

as "used -> total" is just confusing

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: ceph/osd: hide Type column by default
Thomas Lamprecht [Thu, 11 Jul 2019 08:48:13 +0000 (10:48 +0200)]
ui: ceph/osd: hide Type column by default

this column shows what type the current row is (host, osd, root),
nowadays that's quite visible through the tree view + icons, so just
hide it by default to make this interface a bit less noisier.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: ceph/osd: only show at max 5 digits after decimal point for weight
Thomas Lamprecht [Thu, 11 Jul 2019 08:37:53 +0000 (10:37 +0200)]
ui: ceph/osd: only show at max 5 digits after decimal point for weight

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: ceph/osd: rename Action to More
Thomas Lamprecht [Thu, 11 Jul 2019 07:40:09 +0000 (09:40 +0200)]
ui: ceph/osd: rename Action to More

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: ceph OSD: tweak default column width a bit
Thomas Lamprecht [Wed, 10 Jul 2019 20:44:17 +0000 (22:44 +0200)]
ui: ceph OSD: tweak default column width a bit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoui: ceph/osd: reintroduce Used column
Thomas Lamprecht [Thu, 11 Jul 2019 07:45:26 +0000 (09:45 +0200)]
ui: ceph/osd: reintroduce Used column

previous commit 76235ae132c69898048c1f7579e7da40adbd7a6e accidentally
removed this column during refactoring, let's reintroduce it again.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agogui: ceph osd: rewrite osd panel and add scrub button
Dominik Csapak [Wed, 10 Jul 2019 13:13:52 +0000 (15:13 +0200)]
gui: ceph osd: rewrite osd panel and add scrub button

this rewrite of the osd panel converts it to a static declaration of
the layout with a controller/viewmodel logic

while doing this, add icons to buttons, and add a scrub/deep scrub entry

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoapi/ceph: code cleanup
Thomas Lamprecht [Thu, 11 Jul 2019 12:14:27 +0000 (14:14 +0200)]
api/ceph: code cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoapi/ceph: add osd scrub api call
Dominik Csapak [Wed, 10 Jul 2019 13:13:51 +0000 (15:13 +0200)]
api/ceph: add osd scrub api call

can be called to (deep) scrub a specific osd

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agokeyring: use ckeyring_path variable in chown cmd
Alwin Antreich [Wed, 10 Jul 2019 13:35:09 +0000 (15:35 +0200)]
keyring: use ckeyring_path variable in chown cmd

A fixed path for the ceph.client.admin.keyring was used in the chown
command. This patch uses the ckeyring_path variable instead, to minimize
changes should the path change.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
4 years agoFix: typo in ckeyring_path
Alwin Antreich [Wed, 10 Jul 2019 13:35:08 +0000 (15:35 +0200)]
Fix: typo in ckeyring_path

pveceph init failed, as the copy used a wrong path with typo as
target and then the chown tried to operate on the correct keyring
path, which was then non-existing.

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
4 years agoui: dc/options: minor followup cleanups
Thomas Lamprecht [Wed, 10 Jul 2019 12:58:19 +0000 (14:58 +0200)]
ui: dc/options: minor followup cleanups

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>