2217 Commits

Author SHA1 Message Date
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
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
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
Dominik Csapak
6b4c027941 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
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
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
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 #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>
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
Dominik Csapak
49d8d1c682 fix popup behaviour in firefox with touchscreens on desktop
when the popup blocker is active, nw is undefined and nw.focus() throws an
error and the touchend event is not finished, causing extjs to retry the
touchevent and click handler, which tries to open a popup which gets blocked
here, and so on

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-21 11:58:14 +01:00
Thomas Lamprecht
2a4245a822 ui: qemu/cddrive: increase width for better ux
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-02-21 11:14:16 +01:00
Oguz Bektas
7da2acfee3 add symbol for suspended guests
use the same symbol as 'paused' guests to avoid confusion.

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2019-02-19 14:12:06 +01:00
Dominik Csapak
a857ed265e jslint fixes
type confusion: value is int and string
let is not recognized by our jslint version yet, so
use var for now

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-19 12:08:23 +01:00
Dominik Csapak
204b40a2a8 BulkAction.js: fixup indentation
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-19 12:08:23 +01:00
Oguz Bektas
b622db6d1b add lxc restart warning to bulk migration screen
only show warning in migration window and when a running lxc container
is chosen

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Co-Authored by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-19 11:53:15 +01:00
Oguz Bektas
e091b3e503 unprivileged:true by default in restore window
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2019-02-19 11:52:22 +01:00
Oguz Bektas
695824c9c7 unprivileged:true by default in ct creation
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2019-02-19 11:52:16 +01:00
Oguz Bektas
27a700291e fix #2096: enable resume in context menu for guest triggered sleep
We act correctly for an outside triggered suspend, but if the guest
suspends itself from inside (e.g., systemctl suspend,
`echo "standby" > /sys/power/state` or windows sleep) it has another
state (suspended vs. paused), so handled that also

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2019-02-19 11:46:17 +01:00
Dominik Csapak
49233a2a3a gui: show Storage Content with Datastore.AllocateSpace/Audit
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-06 11:35:13 +01:00
Thomas Lamprecht
a1c9740124 fixup: s/Filter: /Search/ which is already translated
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-02-01 09:28:29 +01:00
Christian Ebner
850441644a Fix #1831: Add filter to CT template/appliances download window
This adds the posibility to filter CT template/appliances by package as well as
description in the CT template/appliances download window.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-02-01 09:03:00 +01:00
Dominik Csapak
ac869a6b26 show hookscript in gui
only viewing, no editing
and show it only when it is set

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-01-31 11:05:55 +01:00
Dominik Csapak
16ce97290d add snippets content type to the gui
we only show that a storage can store snippets, but for now
we do not allow to set or upload them via the gui

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-01-31 11:05:55 +01:00
Christian Ebner
d979f93ed5 Add context menu to global search entries
This add a context menu to the entries of the global search field instead of
showing the browsers default one.
This allows to search and easily manage nodes, VMs and CTs similar to the
behaviour in the resource tree.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-01-29 14:04:10 +01:00
Dominik Csapak
7a34e7c372 gui: add virtio-gpu and none to combobox
since 'virtio' is alredy used in that file for a number,
we have to add jslint confusion

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-01-28 17:32:32 +01:00
Christian Ebner
96ccf33e6d Add context menu entry for WoL calls to nodes in GUI
This adds a context menu entry to the cluster nodes which triggers the wake on
LAN API call for the selected node.
The entry is disabled if the node is already running or the user has no
Sys.PowerMgmt capabilities.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-01-25 14:22:26 +01:00
Dominik Csapak
6b82734a72 refactor format_content_types
much shorter and more generic

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-01-21 19:52:35 +01:00
Dominik Csapak
7051bf10ea fix #2058: show correct pool for external ceph clusters
instead of having two inputfields and displayfields (where only one gets the
correct value), have two inputfileds but one displayfield when we need it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-01-19 15:56:26 +01:00
Dominik Csapak
0c4db2fb47 fix #2017: add help button to storage input panels
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-12-07 14:09:14 +01:00
Thomas Lamprecht
69aa353e34 ui: storage/cephfs: fix maxfiles default enable
Most other storage types do not have backup in their default content
selection when creating a new storage, so there it make sense to
initially have maxfiles disabled. But with CephFS we have default
_only_ backup as content type, so let it enabled here - as else one
must change something in the content selector to enable the field.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-12-07 14:03:06 +01:00
Alwin Antreich
fa415a2438 Fix #2019: CephFS storage misses Max Backups
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
2018-12-07 14:03:06 +01:00
Thomas Lamprecht
18115e9323 ui: fixup jslint warnings
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-12-07 14:03:06 +01:00
Wolfgang Bumiller
b1a7fa8a10 ui: lxc/features: add fuse
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
2018-12-06 15:42:28 +01:00
Wolfgang Bumiller
9fb7b347e0 ui: lxc/features: disable nfs and cifs for unprivileged
While we can allow them via the apparmor profile, they still
won't be usable as the kernel doesn't have FS_USERNS_MOUNT
set on those.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
2018-12-06 15:42:13 +01:00
Dominik Csapak
e606d3227e do not send 'undefined' as romfile
when adding a pcidevice, we added 'romfile=undefined' by accident

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-12-05 14:25:24 +01:00
Thomas Lamprecht
253c3e4f12 ui: CephFS: fix onlineHelp buttons
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-30 18:43:00 +01:00
Thomas Lamprecht
a3e7ff34b6 ceph: update all pg_num defaults to 128
As the last patch missed a few places. see pg calc or also:
http://docs.ceph.com/docs/luminous/rados/operations/placement-groups/

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-29 12:36:25 +01:00
Thomas Lamprecht
0f706ed86c ui: cluster: require ring0_addr if joinee's ring and node addr differ
Pass the ring addresses from the node we use to join a cluster with
the encoded cluster info. Use it to determine if the nodes public
address (i.e., the onei t's node name resolves to) differs from it'S
ring0 address, if that's the case and the cluster was created with
PVE tooling then we know that it's highly probable that the ring0 is
on another network than the public net, so require the ring0_addrss
field in this case. If we have a false positive, it's not to bad
here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-28 12:39:40 +01:00