Commit Graph

3915 Commits

Author SHA1 Message Date
Dominik Csapak
a33f612bcf gui: CmdMenu: rename suspend to paus
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-30 14:36:31 +01:00
Dominik Csapak
995a8ea2c6 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>
2019-03-30 14:36:31 +01:00
Thomas Lamprecht
7412755d27 fixup trailing whitespaces
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-29 13:12:11 +01:00
Tim Marx
bf996912e2 ui: ceph install: remove advanced option pg_bits
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-29 13:07:36 +01:00
Tim Marx
f992ef807e ui: ceph: differentiate between install & configure only
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-29 13:07:36 +01:00
Thomas Lamprecht
11515a43dd followup: remove unnecessary references
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 17:53:30 +01:00
Thomas Lamprecht
c24fdb62b9 fix schema error: do not submit efidisk checkbox value
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 17:51:47 +01:00
Dominik Csapak
aae2273c61 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>
2019-03-28 17:04:06 +01:00
Dominik Csapak
439d78210a 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>
2019-03-28 17:04:06 +01:00
Dominik Csapak
755f4e5469 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>
2019-03-28 17:04:06 +01:00
Dominik Csapak
8d554444e6 gui: qemu/HardwareView: add space between groups
so that we can add items between them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-28 17:04:06 +01:00
Dominik Csapak
471d03aa6b 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>
2019-03-28 17:04:06 +01:00
Dominik Csapak
a1ee14a296 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>
2019-03-28 17:04:06 +01:00
Dominik Csapak
5d660cf56b 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>
2019-03-28 17:04:06 +01:00
Dominik Csapak
6a040799f4 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>
2019-03-28 17:04:06 +01:00
Thomas Lamprecht
71798b4b02 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>
2019-03-28 17:00:34 +01:00
Thomas Lamprecht
e072b27906 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>
2019-03-28 16:59:04 +01:00
Thomas Lamprecht
218c9be50b fixup: ceph: do not scream at user with html headings
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 16:57:45 +01:00
Tim Marx
8ba2d6692f ui: ceph installer: mask configuration if not needed & add monitor
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-28 16:21:51 +01:00
Thomas Lamprecht
8134b6b766 fixup: remove allowBlank and ensure interworking of size is correct
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 16:17:39 +01:00
Tim Marx
836d66f704 ui: ceph installer: make replicas & minreplicas fields dependent
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-28 16:17:36 +01:00
Tim Marx
443cb6d78c ui: ceph installer: adapt wording of further instructions
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-28 14:18:14 +01:00
Tim Marx
410f2cb0c6 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>
2019-03-28 14:16:49 +01:00
Oguz Bektas
5c1c3a536c add 'pvs' to pvereport
get information about physical volumes

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2019-03-28 14:12:22 +01:00
Thomas Lamprecht
55ab726e61 pveceph install: be a bit more verbose
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-28 13:24:12 +01:00
Dominik Csapak
dca23c54a9 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>
2019-03-26 08:50:19 +01:00
Dominik Csapak
c8e4fedd09 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>
2019-03-26 07:18:42 +01:00
Thomas Lamprecht
8572111635 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>
2019-03-25 13:33:07 +01:00
Dominik Csapak
3f2cccbc73 allow deletion of mac prefix
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-22 14:01:40 +01:00
Dominik Csapak
375d291810 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>
2019-03-21 18:39:27 +01:00
Thomas Lamprecht
0b985d6f23 ui: ceph install: do not translate replicas
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-20 10:42:22 +01:00
Thomas Lamprecht
6db91b0fdc followup: move to advanced column
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-20 09:58:02 +01:00
Christian Ebner
3c37fe48a9 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>
2019-03-20 08:55:28 +01:00
Thomas Lamprecht
e9c2c2180f api/apt: remove unused variable
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-19 14:48:21 +01:00
Thomas Lamprecht
3868bc7056 d/control: bump libpve-access-control version dependency
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-18 12:25:26 +01:00
Fabian Grünbichler
5ea29d1398 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>
2019-03-18 12:23:53 +01:00
Tim Marx
0cfc685654 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>
2019-03-15 14:05:02 +01:00
Dominik Csapak
de63d77a3f 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>
2019-03-15 13:50:07 +01:00
Thomas Lamprecht
6539859680 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>
2019-03-13 14:59:41 +01:00
Thomas Lamprecht
f46065685b 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>
2019-03-13 13:49:55 +01:00
Thomas Lamprecht
44a3f31639 pvereport: add ip route information
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-13 13:49:55 +01:00
Tim Marx
b5f7824ff4 add host firewall config to pvereport
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-13 13:47:30 +01:00
Christian Ebner
75122e54d8 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>
2019-03-13 10:03:32 +01:00
Thomas Lamprecht
6d68c86fba bump version to 5.3-12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-12 12:38:04 +01:00
Thomas Lamprecht
2248c6c828 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>
2019-03-12 11:45:35 +01:00
Tim Marx
fc360d8554 adapt ceph installer texts
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-12 10:21:30 +01:00
Thomas Lamprecht
a7e8b87bdb ui: ceph install: fixup gettext string
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-12 09:53:07 +01:00
Herman van Rink
0e55feeeb6 Remove typo from vzdump.conf 2019-03-11 14:11:53 +01:00
Tim Marx
4616a55b37 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>
2019-03-08 12:33:31 +01:00
Tim Marx
b945c7c1be add cmd parameter & rework query string creation
Signed-off-by: Tim Marx <t.marx@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-08 12:30:11 +01:00