3973 Commits

Author SHA1 Message Date
Dominik Csapak
365df2437b 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
796be2884f 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
cf7ed2b571 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
4446b5caab 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
82afbfaee8 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
d79b57f2c8 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
e652ef9a67 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
7716c62a3d 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
ad36ea7dd2 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
91f234d574 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
d264c0cff5 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
5e1c441c18 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
6b892dd0ec 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
762bea6d93 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
d6370b38ad 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
e7f407aa08 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
c239084b6a 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
b3f1c7e9a5 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
f4a9b51332 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
4090c97885 allow deletion of mac prefix
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-03-22 14:01:40 +01:00
Dominik Csapak
6285bbf70b 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
d6a504878b 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
0cf38b0587 followup: move to advanced column
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-20 09:58:02 +01:00
Christian Ebner
aa56e96eac 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
fda04dd4e1 api/apt: remove unused variable
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-19 14:48:21 +01:00
Thomas Lamprecht
71648801e5 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
3dea51c956 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
7a45cb6b1c 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
6b4c027941 fix : 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
94f375baf5 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
4894ae0869 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
7daeeff92f pvereport: add ip route information
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-03-13 13:49:55 +01:00
Tim Marx
c6879391f4 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
73c64dc513 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
5fbbbaf6b7 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
3e3873557b 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
32014dfe39 adapt ceph installer texts
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-03-12 10:21:30 +01:00
Thomas Lamprecht
b232ec631c 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
dc2326dfeb Remove typo from vzdump.conf 2019-03-11 14:11:53 +01:00
Tim Marx
e7a896827e 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
4ec2e5cf9b 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
Tim Marx
798f377656 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>
2019-03-08 12:29:49 +01:00
Dominik Csapak
43f1b31f22 fix : 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>
2019-03-06 10:24:25 +01:00
Dominik Csapak
35efe4f1ca 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>
2019-03-05 14:25:33 +01:00
Tim Marx
0948b8a474 add pveceph install to shell api
Signed-off-by: Tim Marx <t.marx@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-02-28 13:21:21 +01:00
Thomas Lamprecht
e663e7fdeb followup: fix whitespace error
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-02-28 13:05:46 +01:00
Tim Marx
d42ae6eca3 deprecate old upgrade property
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2019-02-28 13:04:23 +01:00
Thomas Lamprecht
aac24dfb4c api/nodes: fix variable name style: s/cmdMapper/shell_cmd_map/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-02-28 13:04:10 +01:00
Tim Marx
660eca0fce 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>
2019-02-28 11:32:18 +01:00
Thomas Lamprecht
dd96201865 trailing whitespace fix in Nodes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-02-27 13:39:32 +01:00