Commit Graph

3735 Commits

Author SHA1 Message Date
Thomas Lamprecht
50d5490f3a ui: node/zfs: fix stretch and scroll in details window
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-12 12:27:17 +01:00
Tim Marx
8cfe208868 node zfs: added panel to window as container for new components
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2018-11-12 12:11:39 +01:00
Tim Marx
e98bcf01c4 node zfs: added new component to display additional zfs details
ZFSStatus component got renamed to ZFSDevices to clarify that it only displays
 the device tree of the status command. The newly added component is now named
 ZFSStatus instead.

Signed-off-by: Tim Marx <t.marx@proxmox.com>
2018-11-12 12:11:39 +01:00
Tim Marx
eb43c6f438 node zfs: added read, write, cksum fields to device tree
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2018-11-12 12:11:39 +01:00
Thomas Lamprecht
740514094a bump version to 5.2-11
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-09 17:00:30 +01:00
David Limbeck
afa1997599 fix #1969: increase max unused disks
Signed-off-by: David Limbeck <d.limbeck@proxmox.com>
2018-11-09 16:51:56 +01:00
Thomas Lamprecht
98b48cbd37 followup: remove unnecessarry new line
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-09 14:47:06 +01:00
Tim Marx
8c8604bae3 node zfs: added check for undefined & new case AVAIL
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2018-11-09 14:46:26 +01:00
Thomas Lamprecht
93bd0d75c3 fixup: lxc/Resources: add missing trailing semicolon
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-09 14:18:47 +01:00
Dominik Csapak
4f3e66d89b gui: let users edit the vga memory
and show the default for each type of virtual gpu

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-11-09 14:02:35 +01:00
David Limbeck
1a2fdf62fa fix mount point/unused disk sorting in Resources.js
use the same sort function as for VMs based on group and order

Signed-off-by: David Limbeck <d.limbeck@proxmox.com>
2018-11-09 14:02:26 +01:00
David Limbeck
cbe0b4b834 fix sorting for unused disks in HardwareView.js
sort everything based on group and order for those with multiple numbered
entries

Signed-off-by: David Limbeck <d.limbeck@proxmox.com>
2018-11-09 14:02:26 +01:00
Nick Chevsky
f9261fde21 Add "SSD emulation" property to IDE, SATA, and SCSI drives
When enabled, the "SSD emulation" feature exposes drives as
solid-state (rather than rotational) by enabling the new `ssd`
qm.conf flag [1] on the drives, which in turn sets QEMU's
`rotation_rate` property [2, 3] on the underlying devices.

This change also moves the "Discard" option out of the advanced
section and promotes it to the top of the dialog box, as proposed
by Thomas Lamprecht [4].

[1] https://git.proxmox.com/?p=qemu-server.git;a=commit;h=6c875f9f315f2dc7a0a3a988622c2efdf089b171
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1498042
[3] https://lists.gnu.org/archive/html/qemu-devel/2017-10/msg00698.html
[4] https://pve.proxmox.com/pipermail/pve-devel/2018-November/034327.html

Signed-off-by: Nick Chevsky <nchevsky@gmail.com>
2018-11-09 09:33:26 +01:00
Thomas Lamprecht
237245957f lxc/Features: not that keyctl is unnecessary for privileged
So that users are (hopefully) less confused why this is disabled for
privileged CTs. If we get more feature settings which only make
sense for unprivileged or privileged but not both we could split
this into sections which respective headings, but for one only I
didn't wanted to do this - so just add a boxLabel conditionally.

Cc: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-09 09:25:00 +01:00
Dominik Csapak
a88fcb7d13 gui: expose lxc features
but constrain editing to root@pam
give a checkbox (for now) for nfs and cifs, but keep all that are manually set

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-11-05 10:37:57 +01:00
Thomas Lamprecht
971e4bb13e vzdump: hook script example: s/openvz/lxc/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-11-05 10:33:34 +01:00
Dietmar Maurer
2d2ed7ab53 fix wrong permissions for subscription info
workaround to keep the subscription popup on login even without 'Sys.Audit'
permissions but remove the subscription details in the GUI for unauthorized
users.
2018-10-30 11:37:00 +01:00
Thomas Lamprecht
3e1d7320d0 follow up: cleanup long line
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-24 13:24:11 +02:00
David Limbeck
1b3caf4f21 add wipe_disk option when destroying ceph disk
this allows the disk to be reused as ceph disk by zeroing the first 200M
of the destroyed disk. disks are iterated separately from partitions to
prevent duplicate wipes.

Signed-off-by: David Limbeck <d.limbeck@proxmox.com>
2018-10-24 11:46:13 +02:00
Thomas Lamprecht
5d4bb1f732 add pve-edk2-firmware to pveversion package list
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-23 13:34:26 +02:00
Thomas Lamprecht
6530ef46f6 fixup: Makefile: s/tests/test/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-23 12:49:10 +02:00
Dominik Csapak
7daa19ff2e dc/user: render user fullnames htmlEncoded
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-22 08:57:42 +02:00
Fabian Grünbichler
7f4d4526f2 build: use pve-doc-generator to verify API
and move API verification to 'check' target, where it belongs.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:17:08 +02:00
Fabian Grünbichler
c436a4baa6 build: use pve-doc-generator for bash-completion
and bump build-depends accordingly

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:17:08 +02:00
Fabian Grünbichler
6d1115f2a8 build: set PERL_DOC_INC_DIRS
this allows correct builds without pve-manager installed, with a clean
fall-back to the old behaviour in case pve-doc-generator is too old.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:17:08 +02:00
Fabian Grünbichler
fb992042c6 build: pull REPOID into top-level Makefile
otherwise it is missing when building in a clean chroot via a generated
source packages.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:17:08 +02:00
Fabian Grünbichler
1b9008bff2 build: cleanup file generation
should happen in the default 'all' target, not in 'install'.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:15:41 +02:00
Tim Marx
3b2e557ff9 close #584: ui qemu: changed remove unused disk to asynchron call
Signed-off-by: Tim Marx <t.marx@proxmox.com>
2018-10-18 13:26:15 +02:00
Thomas Lamprecht
76dbbe3596 d/control: add lintian to build depends
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-17 10:07:23 +02:00
Thomas Lamprecht
6f21b3fa6f d/control: add libapt-pkg-perl also to build depends
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-17 08:00:59 +02:00
Rhonda D'Vine
deec61be05 Completing Build-Depends
These were the missing Build-Depends that were needed in building this
package.

Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>
2018-10-17 07:56:32 +02:00
Rhonda D'Vine
5878f07454 Update default CIPHERS to a more current list
The default CIPHERS allowed for a fair amount of not really considered
secure anymore connections.  This updated cipher list is taken from
mozilla: https://wiki.mozilla.org/Security/Server_Side_TLS

Signed-off-by: Rhonda D'Vine <rhonda@proxmox.com>
2018-10-17 07:56:32 +02:00
Thomas Lamprecht
3a8d2854bb bump version to 5.2-10
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-16 11:57:20 +02:00
Dietmar Maurer
ddc9c56c4d pvesh: fix bug #1942 - add standard options conditional
Do not add/extract standard options if the method itself defined properties
using the same names (like 'quiet').

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2018-10-16 11:41:26 +02:00
Thomas Lamprecht
8a4cdec509 d/control: bump version dependency for libpve-common-perl
to ensure we have the /etc/hosts inotify read/write, needed for it's
gui part, methods available

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-08 14:16:14 +02:00
Dietmar Maurer
930d267849 use 'die' instead of 'raise_param_exc'
Because there is not 'config' parameter.
2018-10-08 13:32:03 +02:00
Alexandre Derumier
cacd7547ad API2 : Network : add network config reload
This add a new api to online reload networking configuration
with ifupdown2.

This work with native ifupdown2 modules, as ifupdown2 have
interface dependency relationships.

Some specific interfaces options can't be reloaded online
(because kernel don't implement it), it this case, we ifdown/ifup
theses interfaces. (mainly vxlan interfaces options)
2018-10-08 13:32:03 +02:00
Dominik Csapak
70793a32a2 gui: dc/Tasks.js fix indentation
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-10-05 11:47:40 +02:00
Dominik Csapak
9d8d96c675 gui: dc/Tasks.js fix trailing whitespace
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-10-05 11:47:40 +02:00
Dominik Csapak
c88170a478 make /etc/hosts editable via gui
with adding the NodeHostsView to the node tabs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-09-14 11:50:33 +02:00
Dominik Csapak
820d0458e7 add /node/{NODE}/hosts API Call
to get and set the content of /etc/hosts

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-09-14 11:47:03 +02:00
Thomas Lamprecht
2e6bf499b4 bump version to 5.2-9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-09-13 11:43:59 +02:00
Thomas Lamprecht
afc845791c ui: form/VMSelector: use SIMPLE mode for guest checkbox model
Switch the default mode 'MULTI' with 'SIMPLE', the same we use in the
dc/Backup guest selector. It allows to remove the 'checkOnly'
setting, which limited selection and deselection of elements on the
checkbox it self, doing nothing when clicking on rows.

Besides the friendlier and more streamlined UX this actually fixes a
bug in Firefox (confirmed in version 62, possible in other versions
too) where select/deselect di not worked when clicking in the white
area of the checkbox, but only when clicking on the surrounding
padding.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-09-11 10:25:02 +02:00
Thomas Lamprecht
6e5711db64 ui: window/BulkAction: remove double '/' in api URL
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-09-11 09:42:46 +02:00
Fabian Grünbichler
85e6b368d1 switch MP selector to integer input
instead of combobox - 256 elements are too much.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-09-11 07:55:28 +02:00
Fabian Grünbichler
483bd394f8 fix #1897: bump max number of mountpoints to 256
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-09-11 07:55:28 +02:00
Thomas Lamprecht
d12a849ffe d/control: update build dependencies
helpful for easier bootstrapping PVE, e.g., on buster.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-09-06 06:37:52 +02:00
Alexandre Derumier
7dc494ab48 cpumodelselector : add EPYC
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-09-04 11:36:36 +02:00
Wolfgang Link
29f633a8b1 pveceph: remove 'btrfs' as fstype for new OSDs
btrfs is deprecated since Luminous and it will no more be tested.

If btrfs is used, you have to add an extra parameter to ceph.conf
to allow ceph-disk to activate btrfs OSD's.
In our default config this is not the case.

From Luminous release note [1]:

"We no longer test the FileStore ceph-osd backend in combination with
btrfs. We recommend against using btrfs. If you are using
btrfs-based OSDs and want to upgrade to luminous you will need to
add the follwing to your ceph.conf:

enable experimental unrecoverable data corrupting features = btrfs
The code is mature and unlikely to change, but we are only
continuing to test the Jewel stable branch against btrfs. We
recommend moving these OSDs to FileStore with XFS or BlueStore."

[1] https://ceph.com/releases/v12-2-0-luminous-released/
2018-08-31 08:15:43 +02:00
David Limbeck
cdf5bec2c9 fix #1884: vm/hardware: ensure correct value on pending changes
e.g., pending deletion of cdrom/dvd drive showed as hard disk in
hardware tab

Signed-off-by: David Limbeck <d.limbeck@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-24 11:24:38 +02:00