Commit Graph

2862 Commits

Author SHA1 Message Date
Dominik Csapak
c11ab8cb4a add right-click menu for nodes
to easier reach the bulk actions, create wizards, and shell

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-14 15:18:54 +02:00
Dominik Csapak
05c4b7645d use nodename parameter to preselect the node in the wizard
this will be used for the ndoe right-click-menu

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-14 15:18:54 +02:00
Dominik Csapak
d6dab970ba add a 'convert to template' in the vm action bar
this was only available on right clicking a vm, now it is also available
in the action bar

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-14 15:18:53 +02:00
Dominik Csapak
f2fa05d13d move qemu reset button into shutdown menu
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-14 15:18:53 +02:00
Fabian Grünbichler
5317055abb bump version to 5.0-6 2017-04-10 16:25:10 +02:00
Fabian Grünbichler
8366363738 Ceph: allow bigger size and min_size in API 2017-04-03 12:06:55 +02:00
Thomas Lamprecht
eef1979c7b ceph/pool: allow bigger size and min_size values
Some setups may want to use more replicas as three, while my proposed
maximal 7 replicas is also arbitrary it should cover all normal
usecases (i.e. 5 replicas) and a bit more, just to be sure.
2017-04-03 11:52:48 +02:00
Thomas Lamprecht
f441a266fc ceph/pool: change default replica to 3/2
size/min_size 2/1 is unsafe as it can result in split brains, so we
should not recommend it as default.

If the user really wants it he can still set it explicit.
2017-04-03 11:52:48 +02:00
Dominik Csapak
a1304e1e5e fix #1317: check wizard form also on validitychange
with the commit
    40342aa6c4
we introduced a validator on the guestidselector, but did not
notice that the wizard checks the validity on the field change event,
but the selector gets valid/invalid in an api callback(so a little later)

with this patch, we now validate the field correctly with validate()
and also listen on the validitychange event to catch it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-27 08:33:50 +02:00
Fabian Grünbichler
23b54109a4 fix start on boot
fix the fix for #1024

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-24 09:52:28 +01:00
Fabian Grünbichler
22d7548f0a bump version to 5.0-5 2017-03-22 10:52:43 +01:00
Fabian Grünbichler
3b803ff078 use new repository URL 2017-03-22 08:23:23 +01:00
Fabian Grünbichler
273a96710a bump version to 5.0-4 2017-03-21 13:50:28 +01:00
Dominik Csapak
ccf32efa6a fix #1307: dont use language dependent separator in gui
by default, extjs submits the language dependent decimal separator,
e.g. ',' for german and '.' for english

but we always want '.'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-21 13:50:28 +01:00
Dominik Csapak
6531861e69 add beta text with link to bugtracker
for the 5.0 beta, add a link to the bugtracker

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-21 13:50:28 +01:00
Fabian Grünbichler
cc5bb515ed ceph: create default keys when creating monitor
this used to be a separate service, but got dropped in
Kraken in favour of calling ceph-create-keys manually when
deploying a node.
2017-03-21 13:50:28 +01:00
Fabian Grünbichler
caf3785549 pveceph: use luminous by default 2017-03-21 13:50:28 +01:00
Dietmar Maurer
1918550676 bump version to 5.0-3 2017-03-17 12:13:13 +01:00
Dietmar Maurer
507869563a use 'U' to encode undefined values for RRD graphs
rrdtools 1.5 and newer seems to require this.
2017-03-17 11:27:18 +01:00
Thomas Lamprecht
1c8dc310b3 remove backup locks when starting all VMs on boot
If on bootup one of our VMs is locked by an backup we safely can
assume that this backup job does not run anymore and that the lock
has no reason anymore and just hinders uptime of services.

As at this time we (the node) have quorum so we may safely assume
that we have a consistent view of the cluster and all our VMs really
belong to us. We just need to ensure that we do not run into an
automatic backup jobs, so execute our code with VZDumps lock or
timeout.
Log in the Task and Sys log that we removed the lock, so that an
admin easily sees that there may be need for cleaning leftovers from
an interrupted backup.

Addresses bug #1024

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-03-16 09:04:21 +01:00
Thomas Lamprecht
b2bb6d7749 get_filtered_vmlist: save VM conf in own subhash
small refactoring in get_filtered_vmlist: save a VMs config in its
own subhash to avoid collisions with other data which we want to save
in the vmid list, for now this is only `type` but in the next patch
I want to save also the class

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-03-16 09:04:09 +01:00
Thomas Lamprecht
ae9d10ca2c include also HA VMs if a vm list is explicit specified
Else the user would not had specified them explicit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-03-16 09:02:05 +01:00
Thomas Lamprecht
c9329af1ca VMSelctor: add HA state and allow to filter with it
This allows also to filter after HA states, so one may bulk control
HA managed services more easily or do bulk actions just on unmanaged
VMs

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-03-16 09:01:05 +01:00
Thomas Lamprecht
818dfc5c46 PVEResource store: respect defaulValue of elements
If we explicitly set a fields defaultValue we really want it in the
Model.

Also needed for a further patch

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-03-16 09:00:29 +01:00
Thomas Lamprecht
3a8c89c2f8 ResourceStore: fix typo s/Colum/Columns/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-03-16 08:59:41 +01:00
Fabian Grünbichler
d80458a781 update sources.list to stretch
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-16 07:06:25 +01:00
Fabian Grünbichler
d12c3e8a7c APT: update packages and package names
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-16 07:06:25 +01:00
Dietmar Maurer
7fffbe322d Makefile: use "ssh -X" for upload 2017-03-14 07:59:01 +01:00
Dietmar Maurer
8f5d98e4b7 bump version to 5.0-2 2017-03-14 07:57:15 +01:00
Dietmar Maurer
d837f3acc0 control.in: change description to avoid lintian warning
Avoids warning: description-synopsis-starts-with-article
2017-03-14 07:34:22 +01:00
Dietmar Maurer
0ef9b555f4 depend on libc6 to avoid lintian error missing-dependency-on-libc 2017-03-14 07:29:00 +01:00
Dietmar Maurer
9af88cbb9a pveproxy: do not serve /usr/share/vncterm - no longer required
Note: We removed the java applet
2017-03-14 07:21:09 +01:00
Dietmar Maurer
6170007abf install lintian overrides file 2017-03-14 06:45:29 +01:00
Wolfgang Bumiller
03be1711c7 bump version to 5.0-1 2017-03-13 14:23:52 +01:00
Wolfgang Bumiller
32e103770b bump version to 4.4-13 2017-03-13 14:20:14 +01:00
Fabian Grünbichler
2bde88fb3f fix ceph.service for Ceph Jewel >= 10.2.6
having our ceph.service pulled in by ceph.target does not
work anymore, because "systemctl start ceph.target" hangs
forever on ceph-common upgrades. multi-user.target seems to
work as well, and we are ordered after pve-cluster anyway.

only replace the old ceph.service if it is an exact match.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-03-13 14:20:14 +01:00
Wolfgang Bumiller
ea82d08cfa buildsys: depend on lsb-base 2017-03-13 14:18:21 +01:00
Wolfgang Bumiller
c27e8e4905 buildsys: make job safety 2017-03-13 14:18:21 +01:00
Wolfgang Bumiller
16a264ce0c remove space in service file 2017-03-13 14:18:21 +01:00
Dominik Csapak
0c8d740228 fix diffstore issue with clusterlog
extjs cannot "convert" and id from other fields, so the ids in the
diffstore and the realstore are different and we re-add every element on
every update

to mitigate this, we generate the id (which is "uid:hostname") in the
backend, and simply use it in the frontend

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-10 11:09:46 +01:00
Dominik Csapak
40342aa6c4 use validator for GuestIDSelector and optimize labels
instead of using markInvalid, use a validator, which also marks the
field dirty and marks the form correctly invalid.

also optimize the label/error message assignments

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:55:31 +01:00
Dominik Csapak
7c1150766d show nodeselector errors only if a node is selected
otherwise we get the error:

'Node seems to be offline'

if we do not have a node selected

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:53:58 +01:00
Dominik Csapak
0272ef3caa check earlier if the logview is destroyed
because extjs 6.2 handles destroying of components differently (namely
asynchronous), we have to check earlier if the view is destroyed, else
we get a 'cannot access ~ of undefined' error

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:44:43 +01:00
Dominik Csapak
7471035d71 make the ha node priority field explicitly not a form field
in extjs 6.2 form fields in widgetcolumns get parsed in a form
which is not what we want here, because we have a hidden field, which
gets generated on a change

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:44:23 +01:00
Dominik Csapak
df643fc39f remove unneeded applyEmptyText
this was not needed and does not work with extjs 6.2

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:43:13 +01:00
Dominik Csapak
8b8a4583ba fix #306: add email address field to backup now window
to send the backup log when clicking the backup now button

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:39:53 +01:00
Dominik Csapak
96d654dc13 remove unneeded *Index.pm files
they are not used anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:34:48 +01:00
Dominik Csapak
184825e190 use Template::Toolkit instead of [ExtJs|Touch|NoVnc]Index.pm
this makes it easier to change the html if needed and seperates
it from the perl code

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:34:30 +01:00
Dominik Csapak
0074809382 add the index.html.tpl files for the default ui and touch
they are mostly copied from ExtJSIndex.pm and TouchIndex.pm, and
they are prepared with the Template::Toolkit syntax

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:34:07 +01:00
Dominik Csapak
245e567e62 specify basedirs instead of hardcoding them several times
using a hash with the directories makes it easier to reuse them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-03-09 10:33:19 +01:00