2941 Commits

Author SHA1 Message Date
Dietmar Maurer
0880c088ff pvesr: add pve storage replication tool
Just added code to configure jobs. Replication itself is not
implemented.
2017-05-31 08:23:46 +02:00
Emmanuel Kasper
91a3065726 Fix #1386: track postfix daemon status via postfix@- 2017-05-29 14:52:24 +02:00
Dominik Csapak
a5565e001e optimize 'text' field in resourcestore
instead of doing a lot of string comparisons, we first check
the type with the most objects (vms/cts) via number operation

and in all other cases, we can simply use the type as property index

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-04 09:28:15 +02:00
Dominik Csapak
2614f0f762 add suspend/resume events to updateTree
this makes adding/modifying a large number of items a lot faster

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-04 07:00:16 +02:00
Dominik Csapak
3cf2245487 optimize resourcestore field collection
instead of doing weird if/elsif checks with nonsensical logic

we simply check the 3 properties we want (namely convert,calculate and
defaultValue) and add them to our field definition.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-04 06:59:54 +02:00
Dominik Csapak
0d8fcbabd9 optimize 'running' field
we do not need to check for qemu/lxc/node because the other types
do not have an uptime value

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-04 06:55:22 +02:00
Wolfgang Link
a0a3cd4112 Make a new systemd target.
This will ensure all storages are up before pveproxy is running.
2017-05-03 11:50:53 +02:00
Fabian Grünbichler
ee2278a5c5 ceph: init: rename disable-cephx to disable_cephx
for consistency
2017-05-03 11:37:08 +02:00
Fabian Grünbichler
c976b64aaa ceph: init: add warning to disable-cephx 2017-05-03 10:27:24 +02:00
Alexandre Derumier
d44e688980 ceph: init: add optional disable-cephx option
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2017-05-03 10:27:18 +02:00
Alexandre Derumier
4f017d5854 ceph: init: remove filestore xattr use omap
it's not used anymore since emperor

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2017-05-03 10:26:25 +02:00
Dominik Csapak
144bc69783 fix #1359: change to vm when double clicking in pool member view
like in the resource grid

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-05-03 07:08:46 +02:00
Dietmar Maurer
0d270679f1 bump version to 5.0-10 2017-04-24 07:46:07 +02:00
Dietmar Maurer
6085a0aaca PVE/APLInfo.pm: avoid locale specific time stamps 2017-04-24 07:24:12 +02:00
Dietmar Maurer
416f30393b vzdump: do not generate locale specific time stamps
Avoid perl warning: Wide character in print
2017-04-24 07:17:21 +02:00
Wolfgang Bumiller
c7bdd8723a bump version to 5.0-9 2017-04-20 12:27:34 +02:00
Wolfgang Bumiller
d43b427892 statd: rebalance: don't use CpuSet::max_cpuids
We're already limiting CPUs to lxc/cpuset.effective_cpus,
so let's use the highest cpuid from that set as a maximum to
initialize the container count array.
2017-04-20 12:18:55 +02:00
Dietmar Maurer
2ecfe8ad02 bump version to 5.0-8 2017-04-20 06:25:43 +02:00
Dominik Csapak
20565f0c36 filter templates in bulk start/stop
because we cannot start/stop templates

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-20 06:22:22 +02:00
Dominik Csapak
a75f696f5b add skylake to cpu types
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-20 06:14:22 +02:00
Dominik Csapak
f4cdb23820 set default focus and default button for edit window
this patch sets following defaults for the edit window:

defaultFocus: 'field'

sets the focus on the first field it finds in its child items,
works for most edit windows, so that the cursor stands in a
textfield, or on a checkbox

defaultButton: 'submitbutton'

so that when someone presses enter, we submit the form

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-20 06:11:16 +02:00
Dietmar Maurer
982e08a87c bump version to 5.0-7 2017-04-14 15:20:33 +02:00
Dominik Csapak
cc83c7b862 highlight errors in grids
we gave erroneous entries in grids the class .x-form-invalid-field
but since we changed to the "crisp" theme, this class did not have any
highlighting

so instead we use our own "pve-invalid-row" class
and give it a light red background

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-14 15:18:54 +02:00
Dominik Csapak
5854ecdfca 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
fd5c652095 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
34731a368f 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
6356afca30 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
669657dfc1 bump version to 5.0-6 2017-04-10 16:25:10 +02:00
Dietmar Maurer
538af59a4a ja.po: update japanese translation 2017-04-04 17:42:51 +02:00
Fabian Grünbichler
ee9dc655cf Ceph: allow bigger size and min_size in API 2017-04-03 12:06:55 +02:00
Thomas Lamprecht
78b4631f4b 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
bd7b72a04d 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
Dietmar Maurer
7eb216bb07 messages.pot: update date in copyright 2017-04-01 08:42:28 +02:00
Dominik Csapak
c5dc0be54c fix #1317: check wizard form also on validitychange
with the commit
    f4dffc882a88e77aced47677329e7690f9d7124e
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
e7fe107f75 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
c155b5bc96 bump version to 5.0-5 2017-03-22 10:52:43 +01:00
Fabian Grünbichler
2cd7f523c6 use new repository URL 2017-03-22 08:23:23 +01:00
Fabian Grünbichler
e97c2852d1 bump version to 5.0-4 2017-03-21 13:50:28 +01:00
Dominik Csapak
5c660b6d13 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
a2bcd1b0c0 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
929382968e 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
9554852089 pveceph: use luminous by default 2017-03-21 13:50:28 +01:00
Dietmar Maurer
2aeaed3ea9 bump version to 5.0-3 2017-03-17 12:13:13 +01:00
Dietmar Maurer
9b557647fe 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
248b2d3614 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
627fa10467 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
b750c7cb6a 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
8a3b1473d3 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
fb89510e13 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
25291d6842 ResourceStore: fix typo s/Colum/Columns/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2017-03-16 08:59:41 +01:00