]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
5 years agobump version to 5.4-1
Thomas Lamprecht [Thu, 4 Apr 2019 14:11:50 +0000 (16:11 +0200)]
bump version to 5.4-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: ct: fix displaying nic firewall if explicitly 0
Thomas Lamprecht [Thu, 4 Apr 2019 14:11:28 +0000 (16:11 +0200)]
ui: ct: fix displaying nic firewall if explicitly 0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: restore: add tooltip for unique checkbox and declare static
Thomas Lamprecht [Thu, 4 Apr 2019 10:37:17 +0000 (12:37 +0200)]
ui: restore: add tooltip for unique checkbox and declare static

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agofix: #1218 Expose unique MAC address generation on restore of VMs and CTs in UI
Christian Ebner [Wed, 3 Apr 2019 11:35:30 +0000 (13:35 +0200)]
fix: #1218 Expose unique MAC address generation on restore of VMs and CTs in UI

Adds a checkbox to the restore window, allowing the user to avoid MAC address
collisions when restoring a VM/CT to a different vmid.
When restoring to the same vmid the checkbox is not visible.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agoui: followup trailing comma fix
Thomas Lamprecht [Thu, 4 Apr 2019 09:54:19 +0000 (11:54 +0200)]
ui: followup trailing comma fix

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: tfa: fix secret validator
Thomas Lamprecht [Thu, 4 Apr 2019 09:09:49 +0000 (11:09 +0200)]
ui: tfa: fix secret validator

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: user view: improxe "has TFA" check
Thomas Lamprecht [Thu, 4 Apr 2019 09:25:23 +0000 (11:25 +0200)]
ui: user view: improxe "has TFA" check

detect also our old variant for TFA, so all users where the keys
values is non-empty have TFA

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: user edit: move TFA key IDs field to advanced section
Thomas Lamprecht [Thu, 4 Apr 2019 09:15:46 +0000 (11:15 +0200)]
ui: user edit: move TFA key IDs field to advanced section

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoLoginWindow: make static
Thomas Lamprecht [Thu, 4 Apr 2019 08:18:52 +0000 (10:18 +0200)]
LoginWindow: make static

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: tfa: move qrcode creation to controller
Thomas Lamprecht [Thu, 4 Apr 2019 08:07:25 +0000 (10:07 +0200)]
ui: tfa: move qrcode creation to controller

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: tfa: make lint happy, declare globals
Thomas Lamprecht [Thu, 4 Apr 2019 07:31:27 +0000 (09:31 +0200)]
ui: tfa: make lint happy, declare globals

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: tfa: also do not allow to delete TFA if not set
Thomas Lamprecht [Thu, 4 Apr 2019 07:17:54 +0000 (09:17 +0200)]
ui: tfa: also do not allow to delete TFA if not set

better UX

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: tfa: pregenerate secret if user has not setup TFA yet
Thomas Lamprecht [Thu, 4 Apr 2019 07:09:38 +0000 (09:09 +0200)]
ui: tfa: pregenerate secret if user has not setup TFA yet

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: userview: show TFA column
Thomas Lamprecht [Thu, 4 Apr 2019 06:49:54 +0000 (08:49 +0200)]
ui: userview: show TFA column

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: tfa: hide digit/duration fields as some auth apps are broken
Thomas Lamprecht [Thu, 4 Apr 2019 06:35:26 +0000 (08:35 +0200)]
ui: tfa: hide digit/duration fields as some auth apps are broken

Google Authenticator, for example, just ignores it and thus one
cannot use they produced verification codes...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: tfa: follow up cleanups
Thomas Lamprecht [Thu, 4 Apr 2019 06:34:50 +0000 (08:34 +0200)]
ui: tfa: follow up cleanups

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: tfa: s/Code/Verification Code/
Thomas Lamprecht [Wed, 3 Apr 2019 13:26:19 +0000 (15:26 +0200)]
ui: tfa: s/Code/Verification Code/

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: tfa: ExtJS debug complains about - in references
Thomas Lamprecht [Wed, 3 Apr 2019 13:18:07 +0000 (15:18 +0200)]
ui: tfa: ExtJS debug complains about - in references

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: tfa: make jsliunt a bit more happy
Thomas Lamprecht [Wed, 3 Apr 2019 13:17:27 +0000 (15:17 +0200)]
ui: tfa: make jsliunt a bit more happy

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: tfa: move randomize button right of secret field
Thomas Lamprecht [Wed, 3 Apr 2019 13:16:24 +0000 (15:16 +0200)]
ui: tfa: move randomize button right of secret field

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: include qrcode and u2f libs also if debug is on
Thomas Lamprecht [Wed, 3 Apr 2019 12:36:11 +0000 (14:36 +0200)]
ui: include qrcode and u2f libs also if debug is on

because it's really not ideal if enabling debug breaks things...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: TFA: hide accout name
Thomas Lamprecht [Wed, 3 Apr 2019 12:08:34 +0000 (14:08 +0200)]
ui: TFA: hide accout name

It's best to let this to the users real account name, it just
clutters the interface, an there's no real value in it.

One can already use the "issuer" field to add personalized info.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agod/control: bump version dependency to proxmox-widget-toolkit
Thomas Lamprecht [Wed, 3 Apr 2019 12:04:41 +0000 (14:04 +0200)]
d/control: bump version dependency to proxmox-widget-toolkit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agod/control: bump version dependency to libpve-access-control
Thomas Lamprecht [Wed, 3 Apr 2019 12:04:35 +0000 (14:04 +0200)]
d/control: bump version dependency to libpve-access-control

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: support u2f authentication and configuration
Wolfgang Bumiller [Tue, 2 Apr 2019 10:22:08 +0000 (12:22 +0200)]
ui: support u2f authentication and configuration

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoui: always show otp field
Wolfgang Bumiller [Tue, 2 Apr 2019 10:22:07 +0000 (12:22 +0200)]
ui: always show otp field

But make it optional.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoui: add qrcode.min.js
Wolfgang Bumiller [Tue, 2 Apr 2019 10:22:06 +0000 (12:22 +0200)]
ui: add qrcode.min.js

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agoadd u2f-api.js
Wolfgang Bumiller [Tue, 2 Apr 2019 10:22:05 +0000 (12:22 +0200)]
add u2f-api.js

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agostore u2f challenges in the rpc environment
Wolfgang Bumiller [Tue, 2 Apr 2019 10:22:04 +0000 (12:22 +0200)]
store u2f challenges in the rpc environment

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
5 years agofixup whitespaces
Thomas Lamprecht [Wed, 3 Apr 2019 10:56:28 +0000 (12:56 +0200)]
fixup whitespaces

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoAdd Ceph, iscsi and more disk and zfs information to pvereport
Friedrich Ramberger [Wed, 3 Apr 2019 08:25:06 +0000 (08:25 +0000)]
Add Ceph, iscsi and more disk and zfs information to pvereport

Following items added to pvereport:

* more details about disks
* iscsi information
* more zfs information
* ceph information (only when ceph.conf exists)

When running from command line now report progress is shown at the console (STDERR)

5 years agofix: #1145 enable CT/VM firewall by default on creation via WebUI
Christian Ebner [Wed, 3 Apr 2019 07:26:32 +0000 (09:26 +0200)]
fix: #1145 enable CT/VM firewall by default on creation via WebUI

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agofollow up: newline at end of file
Thomas Lamprecht [Tue, 2 Apr 2019 10:53:32 +0000 (12:53 +0200)]
follow up: newline at end of file

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoadapt ceph log for new logview
Dominik Csapak [Tue, 2 Apr 2019 10:16:50 +0000 (12:16 +0200)]
adapt ceph log for new logview

since there is no 'doAttemptLoad' anymore, we use the
failCallback to overwrite the behaviour

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agoAllow to set the firewall log rate limit and burst from the UI
Christian Ebner [Mon, 1 Apr 2019 12:45:11 +0000 (14:45 +0200)]
Allow to set the firewall log rate limit and burst from the UI

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agoui: ceph installer: set initial tab depending on current state
Tim Marx [Mon, 1 Apr 2019 11:31:24 +0000 (13:31 +0200)]
ui: ceph installer: set initial tab depending on current state

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agoui: ct/vm: add tooltip to hibernate and stop button
Thomas Lamprecht [Sat, 30 Mar 2019 14:21:12 +0000 (15:21 +0100)]
ui: ct/vm: add tooltip to hibernate and stop button

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agogui: show Resume button if suspended
Dominik Csapak [Fri, 29 Mar 2019 09:44:36 +0000 (10:44 +0100)]
gui: show Resume button if suspended

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agogui: add Hibernate/Pause to CmdMenu/Shutdown Menu
Dominik Csapak [Fri, 29 Mar 2019 09:44:35 +0000 (10:44 +0100)]
gui: add Hibernate/Pause to CmdMenu/Shutdown Menu

and have it in order of impact on the guest
(pause, hibernate, poweroff, stop)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agogui: CmdMenu: rename suspend to paus
Dominik Csapak [Fri, 29 Mar 2019 09:44:34 +0000 (10:44 +0100)]
gui: CmdMenu: rename suspend to paus

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agogui: CmdMenu: hide the start and suspend button conditionally
Dominik Csapak [Fri, 29 Mar 2019 09:44:33 +0000 (10:44 +0100)]
gui: CmdMenu: hide the start and suspend button conditionally

only to disable them wastes space for no reason and might confuse users

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agofixup trailing whitespaces
Thomas Lamprecht [Fri, 29 Mar 2019 12:12:11 +0000 (13:12 +0100)]
fixup trailing whitespaces

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: ceph install: remove advanced option pg_bits
Tim Marx [Fri, 29 Mar 2019 11:42:44 +0000 (12:42 +0100)]
ui: ceph install: remove advanced option pg_bits

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agoui: ceph: differentiate between install & configure only
Tim Marx [Fri, 29 Mar 2019 11:42:43 +0000 (12:42 +0100)]
ui: ceph: differentiate between install & configure only

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agofollowup: remove unnecessary references
Thomas Lamprecht [Thu, 28 Mar 2019 16:53:28 +0000 (17:53 +0100)]
followup: remove unnecessary references

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agofix schema error: do not submit efidisk checkbox value
Thomas Lamprecht [Thu, 28 Mar 2019 16:51:47 +0000 (17:51 +0100)]
fix schema error: do not submit efidisk checkbox value

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agogui: qemu/HardwareView: add machine to HardwareView
Dominik Csapak [Thu, 28 Mar 2019 15:25:11 +0000 (16:25 +0100)]
gui: qemu/HardwareView: add machine to HardwareView

so the user can edit this via the gui

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agogui: qemu/HardwareView: move scsihw and bios to HardwareView
Dominik Csapak [Thu, 28 Mar 2019 15:25:10 +0000 (16:25 +0100)]
gui: qemu/HardwareView: move scsihw and bios to HardwareView

it is guest hardware and not really an option, and we have it now
in the wizard, so it makes sense to have it here

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agogui: qemu/HardwareView: remove Keyboard setting
Dominik Csapak [Thu, 28 Mar 2019 15:25:09 +0000 (16:25 +0100)]
gui: qemu/HardwareView: remove Keyboard setting

this is deprecated and should not be necessary anymore, since
qemu and novnc can handle this better if no keyboard layout is set

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agogui: qemu/HardwareView: add space between groups
Dominik Csapak [Thu, 28 Mar 2019 15:25:08 +0000 (16:25 +0100)]
gui: qemu/HardwareView: add space between groups

so that we can add items between them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agogui: add system panel to the vm creation wizard
Dominik Csapak [Thu, 28 Mar 2019 15:25:07 +0000 (16:25 +0100)]
gui: add system panel to the vm creation wizard

for this we have to adapt the scsiController logic slightly, so that
the ostype change sets the viewmodel, which in turn changes the
bound fields (one one the system tab, and the displayfield on the hd tab)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agogui: add qemu/SystemEdit
Dominik Csapak [Thu, 28 Mar 2019 15:25:06 +0000 (16:25 +0100)]
gui: add qemu/SystemEdit

contains the inputpanel for the coming system tab in the vm creation
wizard, where the user can configure the vm system hardware like
the scsi controller, display, etc.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agogui: DiskStorageSelector: implement disabling
Dominik Csapak [Thu, 28 Mar 2019 15:25:05 +0000 (16:25 +0100)]
gui: DiskStorageSelector: implement disabling

this patch implements disabling for the DiskStorageSelector, which
resets the storage and triggers a validity change

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agogui: qemu/HardwareView: prepare Hardwareview for font-awesome icons
Dominik Csapak [Thu, 28 Mar 2019 15:25:04 +0000 (16:25 +0100)]
gui: qemu/HardwareView: prepare Hardwareview for font-awesome icons

we want to be able to use fontawesome icons directly instead of having
to use extracted png in css classes

this patch makes it possible to use 'iconCls' with the font-awesome icon name

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agoceph install/config: add hint for additional monitors
Thomas Lamprecht [Thu, 28 Mar 2019 16:00:32 +0000 (17:00 +0100)]
ceph install/config: add hint for additional monitors

this info was already here in the heading once, add it as pve-hint
styled display field at the bottom.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoceph install/config: remove node displayfield
Thomas Lamprecht [Thu, 28 Mar 2019 15:59:00 +0000 (16:59 +0100)]
ceph install/config: remove node displayfield

does not brings real value here, one sees the selected node also
through the blur, and it shouldn't matter at this point, the cluster
config is for all nodes (using ceph) and the monitor has its own node
selector anyway, so do not cloud user interface to much.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agofixup: ceph: do not scream at user with html headings
Thomas Lamprecht [Thu, 28 Mar 2019 15:56:52 +0000 (16:56 +0100)]
fixup: ceph: do not scream at user with html headings

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: ceph installer: mask configuration if not needed & add monitor
Tim Marx [Thu, 28 Mar 2019 11:16:04 +0000 (12:16 +0100)]
ui: ceph installer: mask configuration if not needed & add monitor

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agofixup: remove allowBlank and ensure interworking of size is correct
Thomas Lamprecht [Thu, 28 Mar 2019 15:16:03 +0000 (16:16 +0100)]
fixup: remove allowBlank and ensure interworking of size is correct

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: ceph installer: make replicas & minreplicas fields dependent
Tim Marx [Thu, 28 Mar 2019 11:16:03 +0000 (12:16 +0100)]
ui: ceph installer: make replicas & minreplicas fields dependent

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agoui: ceph installer: adapt wording of further instructions
Tim Marx [Thu, 28 Mar 2019 11:16:05 +0000 (12:16 +0100)]
ui: ceph installer: adapt wording of further instructions

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agoapi: ceph: ensure calls get proxied to correct node
Tim Marx [Thu, 28 Mar 2019 11:16:06 +0000 (12:16 +0100)]
api: ceph: ensure calls get proxied to correct node

 If calls aren't proxied to the selected node, which seems legit in
 some cases, this will cause some misleading errors while ceph is
 not installed on that node. Therefor the calls should now always get
 proxied.

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agoadd 'pvs' to pvereport
Oguz Bektas [Thu, 28 Mar 2019 13:02:20 +0000 (14:02 +0100)]
add 'pvs' to pvereport

get information about physical volumes

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
5 years agopveceph install: be a bit more verbose
Thomas Lamprecht [Thu, 28 Mar 2019 12:23:42 +0000 (13:23 +0100)]
pveceph install: be a bit more verbose

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoadd tooltips to the tree
Dominik Csapak [Tue, 26 Mar 2019 07:11:25 +0000 (08:11 +0100)]
add tooltips to the tree

to give the user better feedback about the various icons (play, pause,
warning, error, etc) add a tooltip to the tree elements which
contain that information

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agouse localhost instead of 127.0.0.1 to listen with spiceterm
Dominik Csapak [Mon, 25 Mar 2019 11:53:43 +0000 (12:53 +0100)]
use localhost instead of 127.0.0.1 to listen with spiceterm

that is the name we use to connect from spiceproxy and can be either
ipv4 or ipv6

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agoapi/ceph: allow default value for service start/stop
Thomas Lamprecht [Mon, 25 Mar 2019 12:33:05 +0000 (13:33 +0100)]
api/ceph: allow default value for service start/stop

it's a bit strange that one cannot pass the default value explicitly,
helpfull when calling this API path through the CLI envrionment,
which currently cannot have optional fixed-positioned default values

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoallow deletion of mac prefix
Dominik Csapak [Fri, 22 Mar 2019 12:49:52 +0000 (13:49 +0100)]
allow deletion of mac prefix

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agogui: show lock in status bar of vms/cts
Dominik Csapak [Thu, 21 Mar 2019 09:55:20 +0000 (10:55 +0100)]
gui: show lock in status bar of vms/cts

also add 'tbarSpacing' parameter to ConfigPanel, that controls
the spacing after the title

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agoui: ceph install: do not translate replicas
Thomas Lamprecht [Wed, 20 Mar 2019 09:42:22 +0000 (10:42 +0100)]
ui: ceph install: do not translate replicas

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agofollowup: move to advanced column
Thomas Lamprecht [Wed, 20 Mar 2019 08:58:02 +0000 (09:58 +0100)]
followup: move to advanced column

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agofix: # 2123 Logging of user defined firewall rules
Christian Ebner [Tue, 19 Mar 2019 16:16:22 +0000 (17:16 +0100)]
fix: # 2123 Logging of user defined firewall rules

This patch relies on the corresponding patch to pve-firewall, adding the user
defined log levels for firewall rules.

By this, the user can select a per-rule log level for self defined rules. These
are independent of the global log level, which is defined in the firewall options.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agoapi/apt: remove unused variable
Thomas Lamprecht [Tue, 19 Mar 2019 09:47:36 +0000 (10:47 +0100)]
api/apt: remove unused variable

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agod/control: bump libpve-access-control version dependency
Thomas Lamprecht [Mon, 18 Mar 2019 11:25:26 +0000 (12:25 +0100)]
d/control: bump libpve-access-control version dependency

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agopvestatd: rotate auth keys if necessary
Fabian Grünbichler [Wed, 13 Mar 2019 14:01:34 +0000 (15:01 +0100)]
pvestatd: rotate auth keys if necessary

as a fallback to ensure rotation even if no logins happen on a given
cluster.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
5 years agocheck for ceph inited at status api
Tim Marx [Fri, 15 Mar 2019 09:52:02 +0000 (10:52 +0100)]
check for ceph inited at status api

As this is now the default behavior in all other ceph api endpoints,
I adapted the status api correspondingly.

We also pass our ceph configuration file directly when connecting to
RADOS, so a /etc/ceph/ceph.conf isn't necessarily required to
indicate a fully setup and enabled PVE-ceph environment.

Signed-off-by: Tim Marx <t.marx@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agofix #2132: gui: set vcpu default maxValue to 1
Dominik Csapak [Fri, 15 Mar 2019 09:59:10 +0000 (10:59 +0100)]
fix #2132: gui: set vcpu default maxValue to 1

else one can set it to higher values if the vm has one socket with one core

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agopvereport: ensure IPv6 and IPv4 route info is included
Thomas Lamprecht [Wed, 13 Mar 2019 13:59:35 +0000 (14:59 +0100)]
pvereport: ensure IPv6 and IPv4 route info is included

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reported-by: Mira Limbeck <m.limbeck@proxmox.com>
5 years agopvereport: add cluster resources node information
Thomas Lamprecht [Fri, 8 Mar 2019 09:20:56 +0000 (10:20 +0100)]
pvereport: add cluster resources node information

gives a good overview over the cluster, which nodes are online,
memory/cpu load, uptime...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agopvereport: add ip route information
Thomas Lamprecht [Fri, 8 Mar 2019 09:19:42 +0000 (10:19 +0100)]
pvereport: add ip route information

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoadd host firewall config to pvereport
Tim Marx [Wed, 13 Mar 2019 12:15:02 +0000 (13:15 +0100)]
add host firewall config to pvereport

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years ago1145 Warn if datacenter firewall is disabled
Christian Ebner [Wed, 13 Mar 2019 08:57:31 +0000 (09:57 +0100)]
1145 Warn if datacenter firewall is disabled

This warns the user that the datacenter firewall is disabled when editing the
host or the VM/CT firewall status.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
5 years agobump version to 5.3-12
Thomas Lamprecht [Tue, 12 Mar 2019 11:38:04 +0000 (12:38 +0100)]
bump version to 5.3-12

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoui: ceph install: fixup configuration network fields
Thomas Lamprecht [Tue, 12 Mar 2019 10:45:27 +0000 (11:45 +0100)]
ui: ceph install: fixup configuration network fields

It's not only 'IPv4/CIDR' but 'IP/CIDR', IPv6 works too so generalize
this.
Also make the cluster network emptytext a bit more expressive.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoadapt ceph installer texts
Tim Marx [Tue, 12 Mar 2019 08:53:21 +0000 (09:53 +0100)]
adapt ceph installer texts

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agoui: ceph install: fixup gettext string
Thomas Lamprecht [Tue, 12 Mar 2019 08:53:07 +0000 (09:53 +0100)]
ui: ceph install: fixup gettext string

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoRemove typo from vzdump.conf
Herman van Rink [Mon, 11 Mar 2019 10:20:59 +0000 (11:20 +0100)]
Remove typo from vzdump.conf

5 years agoadded basic ability to install ceph via gui
Tim Marx [Wed, 6 Mar 2019 11:29:40 +0000 (12:29 +0100)]
added basic ability to install ceph via gui

Signed-off-by: Tim Marx <t.marx@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agoadd cmd parameter & rework query string creation
Tim Marx [Wed, 6 Mar 2019 11:29:39 +0000 (12:29 +0100)]
add cmd parameter & rework query string creation

Signed-off-by: Tim Marx <t.marx@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agoadded new parameter to pass a command to the newly opened terminal
Tim Marx [Wed, 6 Mar 2019 11:29:38 +0000 (12:29 +0100)]
added new parameter to pass a command to the newly opened terminal

Ext.urlEncode is deprecated, use Ext.Object.toQueryString instead

Signed-off-by: Tim Marx <t.marx@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agofix #2122: use correct format in help text of timefield
Dominik Csapak [Wed, 6 Mar 2019 08:59:23 +0000 (09:59 +0100)]
fix #2122: use correct format in help text of timefield

this is shown on mouseover and read by textreaders

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agoadd subscription panel on dc summary
Dominik Csapak [Fri, 1 Mar 2019 13:27:49 +0000 (14:27 +0100)]
add subscription panel on dc summary

So that the users have a good and fast feedback about ther
support and subscripttion status, especially if they have
mistakenly different levels of susbscriptions in their cluster.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
5 years agoadd pveceph install to shell api
Tim Marx [Wed, 27 Feb 2019 14:01:20 +0000 (15:01 +0100)]
add pveceph install to shell api

Signed-off-by: Tim Marx <t.marx@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agofollowup: fix whitespace error
Thomas Lamprecht [Thu, 28 Feb 2019 12:05:46 +0000 (13:05 +0100)]
followup: fix whitespace error

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agodeprecate old upgrade property
Tim Marx [Wed, 27 Feb 2019 14:01:19 +0000 (15:01 +0100)]
deprecate old upgrade property

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agoapi/nodes: fix variable name style: s/cmdMapper/shell_cmd_map/
Thomas Lamprecht [Thu, 28 Feb 2019 12:04:10 +0000 (13:04 +0100)]
api/nodes: fix variable name style: s/cmdMapper/shell_cmd_map/

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agounified the classification of the passed command for all shell apis
Tim Marx [Wed, 27 Feb 2019 14:01:16 +0000 (15:01 +0100)]
unified the classification of the passed command for all shell apis

As discussed on the pve-devel list [0] I extracted the identical chunks from each
shell api into one function as basis for future changes.

[0] https://pve.proxmox.com/pipermail/pve-devel/2019-January/035387.html

Signed-off-by: Tim Marx <t.marx@proxmox.com>
5 years agotrailing whitespace fix in Nodes
Thomas Lamprecht [Wed, 27 Feb 2019 12:39:32 +0000 (13:39 +0100)]
trailing whitespace fix in Nodes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoremove read_proxy_conf from PVE::API2Tools
Stoiko Ivanov [Fri, 22 Feb 2019 18:52:05 +0000 (19:52 +0100)]
remove read_proxy_conf from PVE::API2Tools

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
5 years agopveproxy, spiceproxy: new read_proxy_conf location
Stoiko Ivanov [Fri, 22 Feb 2019 18:52:04 +0000 (19:52 +0100)]
pveproxy, spiceproxy: new read_proxy_conf location

read_proxy_conf was moved to the new PVE::ApiServer::Utils so that it
can be reused by other apiservers (e.g., PMG one). Use that one, so
that we can remove it here later

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>