3714 Commits

Author SHA1 Message Date
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
Thomas Lamprecht
57820c4d9d ui/Parser: printPropertyString: simplify and always put defaultKey values first
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-02 16:20:12 +02:00
Thomas Lamprecht
0075b55aa6 ui/Parser: parsePropertyString: log errors to console
allows to catch bugs faster as we get a call trace and may see this
error even when our caller doesn't handle an undefined return value
from this method.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-08-02 16:20:12 +02:00
Stoiko Ivanov
0f60044255 ui/Parser: add generic functions property_strings
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-08-02 16:01:12 +02:00
Dominik Csapak
5cae151d8f add Directory list/create gui
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-02 12:42:17 +02:00
Dominik Csapak
7f794dcb22 add LVMThin list/create gui
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-02 12:42:04 +02:00
Dominik Csapak
6c4c85d018 add LVM List/Create Gui
only let the user change the name of the vg

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-02 12:41:52 +02:00
Dominik Csapak
676b5a9e9f move DiskSelector to its own file, for generic use
also set the default diskType to undefined and
change the api endpoint to /nodes/NODE/disks/list

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-08-02 12:40:45 +02:00
Thomas Lamprecht
2380c1f0f4 ui: storage: combine RBD external and hyperconverged add dialog
Combine both dialogues. This reduces storage choices from the
Storage -> Add menu, and thus improves usability.

We make the whole dialog also more intelligent by querying the
monitors, so that we can show them for the hyper converged case
keeping a similar interface for both cases. Further we can use this
to decide if a hyperconverged setup is possible at all.
While this information would also be available through the fact if
the pool selector has entries I wanted to show them anyway and could
make logic a bit easier using it.
2018-07-31 14:04:57 +02:00
Dominik Csapak
93c13afeb6 fix doubleclick on vm with spice console
allowSpice needs to be a real boolean, because of a
'=== true' check to open a spice console if allowed, so make it one here

this fixes the issue that a doubleclick on a tree item only opened
the novnc console even if spice is the default and the vm is spice
enabled

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-07-30 11:53:33 +02:00
Dietmar Maurer
8d88e66a2b bump version to 5.2-7 2018-07-27 11:47:38 +02:00
Thomas Lamprecht
eb65703b55 pveproxy: add link to extjs for api-viewer
allows us to remove the external loading of extjs from the cloudflare
cdn in pve-docs easier with having the external hosted version in
mind.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-07-27 11:09:21 +02:00
Dietmar Maurer
f48573317a correctly install PVE/CLI/pvesh.pm 2018-07-27 07:46:35 +02:00
Dietmar Maurer
233dbe039f pvesh: add standard_output_properties to set/create/delete
Most of those API calls return simple strings, so it does not really matter.
Nethertheless, some calls return complex data structures and we want to set
output format for them.
2018-07-27 07:34:49 +02:00
Dietmar Maurer
bd0e50532b pvesh cleanup: use a handler class - PVE/CLI/pvesh.pm 2018-07-26 15:20:15 +02:00
Dietmar Maurer
cd16ae07f5 pvenode: remove useless call to query_terminal_options 2018-07-26 13:12:58 +02:00
Dietmar Maurer
e1f897ea84 pvenode: use print_api_result to print acme account information 2018-07-26 13:09:08 +02:00
Dietmar Maurer
e3ca07b93f pvenode: use print_api_result to print certificate information 2018-07-26 13:09:08 +02:00
Dietmar Maurer
0feb0c5673 pvenode: fixup output formatting 2018-07-26 13:09:08 +02:00
Dietmar Maurer
b35fe93178 pvesh: implement 'ls' command 2018-07-26 13:09:08 +02:00
Dietmar Maurer
9bb8ce6be0 pvesh: do not use CLIHandler $option parameter, simplify code 2018-07-26 13:09:08 +02:00
Thomas Lamprecht
6df496780b ui: permissions: allow to select root path '/' directly
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-07-25 10:18:12 +02:00
Dominik Csapak
f92c0b1e30 set resize to 'off' for the novnc popup
this makes it easier to handle the resize parameter in novnc code

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-07-23 11:19:40 +02:00