3736 Commits

Author SHA1 Message Date
Dietmar Maurer
a69749a6a1 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
789267e947 follow up: cleanup long line
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-24 13:24:11 +02:00
David Limbeck
e6971145e4 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
f1872815c0 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
26ddc88d33 fixup: Makefile: s/tests/test/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-23 12:49:10 +02:00
Dominik Csapak
eda3b1c292 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
946a2dadd2 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
829fe4acc2 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
203b6f3565 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
71bef866ab 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
2ad78c9793 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
3518b4e272 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
dc953890f8 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
39aaac60ae 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
dedd72eb82 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
1d69c8cc07 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
6f892b405e 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
e809b84323 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
60d16bef1d 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
3b5be14b09 use 'die' instead of 'raise_param_exc'
Because there is not 'config' parameter.
2018-10-08 13:32:03 +02:00
Alexandre Derumier
70a2f87ed7 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
ee326469bc 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
09c094d09e 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
c740b319ad 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
f8d90d904d 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
4b30e8f914 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
fb3877c526 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
c0e0619555 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
e8352a8f16 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
46307893b6 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
d8a5041c89 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
4234f21609 cpumodelselector : add EPYC
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-09-04 11:36:36 +02:00
Wolfgang Link
2d0c3426a4 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
c9bc43c072 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
Dominik Csapak
9b67af2f45 gui: allow whitespace in mp paths
we do all necessary checks in the backend, and there we allow
whitespace in mp paths, so there is no need to restrict it in
the gui to non-whitespace characters

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-22 11:15:53 +02:00
Thomas Lamprecht
fdf3991277 bump version to 5.2-8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-20 15:12:23 +02:00
David Limbeck
c8c6aa4da3 fix #1872 Move button stays on the screen after closing 2018-08-20 14:42:27 +02:00
Dominik Csapak
7c56a09d53 fixe return values in /cluster/resources
openvz is deprecated but can still be a return value
maxcpu can be a real number (e.g., for CT if cpulimit is 1.5 and
cores is not set), and may not be an integer

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-20 11:31:53 +02:00
Dominik Csapak
412fe1b645 fix #1393: use language from datacenter.cfg for gui
if we do not have a language cookie, try to read
the language from the datacenter.cfg and fall back to 'en'

also set it into the 'Proxmox' object, so that the gui can show it
in the LoginWindow

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-17 11:01:44 +02:00
Dominik Csapak
b86982fe1d gui: zfs over iscsi: only allow inputs that are relevant
some options are only relevant for some iscsi providers
so only allow thos who are relevant to the selected provider
and rename LIO target portal group to 'Target portal group'
since it is only active when lio is chosen

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-13 09:01:23 +02:00
Dominik Csapak
fed70a663a fix #1828: check if targetnode exists before starting mass migration
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-13 09:00:54 +02:00
Dominik Csapak
6a1c6997af fix #1837: reorganize ha panel
since the whole panel was scrollable instead of the individual ones,
selecting a ha service triggered the 'jump to focus' which made it
hard (if not impossible) to reach the edit/remove buttons for it

this patch reorganizes the panels in such a way that the status
panel is fixed height, and the content of the resource panel is
scrollable (always showing the edit/remove buttons)

to avoid not seeing the resources when one has a large number of
nodes, we make the individual panels collapsible

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-09 07:36:37 +02:00
Dominik Csapak
0408e3f353 add 'single' type for zfs creation
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-08 12:03:04 +02:00
Dominik Csapak
fc33101191 add ZFS list/detail/create gui
list shows zpools only, with detail the user can see
the status of the indiviual vdevs/mirrors

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-08 08:14:06 +02:00
Dominik Csapak
118f3f8855 fix onlineHelp links for diskmanagement
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-08 08:12:14 +02:00
Dietmar Maurer
b3e9e374e4 pveam update: add empty properties definition
To avoid warnings about undef value in RESTHandler.
2018-08-07 11:31:20 +02:00
Thomas Lamprecht
dc27a0294b ui: storage: do not allow empty TPG if LIO is selected
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-02 18:25:56 +02:00
Thomas Lamprecht
12aaf0d267 ui: storage: add enable/hide logic for LIO TPG field
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-02 18:21:50 +02:00
Udo Rader
27edbed532 ui: storage: Linux LIO/targetcli support
adding LIO option and dedicated "LIO target portal group" input field to the
"Add: ZFS via iSCSI" dialog

Signed-Off-By: Udo Rader <udo.rader@bestsolution.at>
2018-08-02 18:21:37 +02:00
Stoiko Ivanov
3f33951bb0 ui/qemu: Extend Qemu Guest agent
Change to agent now being a property_string, and including  fstrim_cloned_disks.

Co-Authored-By: Thomas Lamprecht <t.lamprecht@proxmox.com>
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-08-02 16:20:12 +02:00