]> git.proxmox.com Git - pve-manager.git/log
pve-manager.git
5 years agobump version to 4.4-24 stable-4
Thomas Lamprecht [Wed, 30 May 2018 10:02:51 +0000 (12:02 +0200)]
bump version to 4.4-24

5 years agoeol followup: use full spelt date and name
Thomas Lamprecht [Wed, 30 May 2018 10:00:33 +0000 (12:00 +0200)]
eol followup: use full spelt date and name

5 years agobump version to 4.4-23
Thomas Lamprecht [Wed, 30 May 2018 08:59:09 +0000 (10:59 +0200)]
bump version to 4.4-23

5 years agoeol: followup: readd PVE and balance
Thomas Lamprecht [Wed, 30 May 2018 08:57:41 +0000 (10:57 +0200)]
eol: followup: readd PVE and balance

5 years agoadd eol notice
Dominik Csapak [Tue, 29 May 2018 12:16:32 +0000 (14:16 +0200)]
add eol notice

since pve 4.4 goes out of support in june, add a notice at the top with
a link to the faq, where the EOL dates are

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agobump version to 4.4-22
Fabian Grünbichler [Wed, 17 Jan 2018 08:18:17 +0000 (09:18 +0100)]
bump version to 4.4-22

6 years agoadd spec-ctrl cpu flag checkbox
Dominik Csapak [Tue, 16 Jan 2018 13:51:21 +0000 (14:51 +0100)]
add spec-ctrl cpu flag checkbox

also make the mechanism for the flag checkboxes generic

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Tested-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit ba920c35763ca8d8f913592d09c286e076bf6edf)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agobump version to 4.4-21
Fabian Grünbichler [Wed, 10 Jan 2018 12:49:37 +0000 (13:49 +0100)]
bump version to 4.4-21

6 years agoadd PCID checkbox to ProcessorEdit
Dominik Csapak [Wed, 10 Jan 2018 12:27:03 +0000 (13:27 +0100)]
add PCID checkbox to ProcessorEdit

but not in wizard, and default is off
(because we do not know if the cpu supports it)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agobump version to 4.4-20
Wolfgang Bumiller [Wed, 15 Nov 2017 09:41:34 +0000 (10:41 +0100)]
bump version to 4.4-20

(19 was an internal between-merge version)

6 years agomake ssh connection transparent
Dominik Csapak [Fri, 17 Nov 2017 09:22:53 +0000 (10:22 +0100)]
make ssh connection transparent

do not use an escape character for the host shell

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agofix #1539: add missing shellquote for proxied commands of pvesh
Dominik Csapak [Fri, 27 Oct 2017 12:13:48 +0000 (14:13 +0200)]
fix #1539: add missing shellquote for proxied commands of pvesh

if we do not do this, passing arguments with spaces
(e.g., pvesh set YYY --param "one word")
leads to ssh calls like this:
ssh REMOTE pvesh set YYY --param one word

which cannot be parsed correctly

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agofix #1531: match nodename exactly for vmidselector
Dominik Csapak [Mon, 16 Oct 2017 09:08:45 +0000 (11:08 +0200)]
fix #1531: match nodename exactly for vmidselector

else we would get vms for wrong hosts if the nodename is a pre/postfix
of another nodename (e.g. 'abc' and 'abc123')

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agofix start on boot
Fabian Grünbichler [Fri, 24 Mar 2017 07:58:20 +0000 (08:58 +0100)]
fix start on boot

fix the fix for #1024

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
(cherry picked from commit e7fe107f75ee1bb9877b0d6430489661d6c1beea)

6 years agoremove backup locks when starting all VMs on boot
Thomas Lamprecht [Wed, 15 Mar 2017 15:47:42 +0000 (16:47 +0100)]
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>
(cherry picked from commit 248b2d361407d07b6d41138ab2912b6a0e66ae6d)

6 years agoget_filtered_vmlist: save VM conf in own subhash
Thomas Lamprecht [Wed, 15 Mar 2017 15:47:41 +0000 (16:47 +0100)]
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>
(cherry picked from commit 627fa10467a1578c5a3c7d2a292bbe6f14a881ca)

6 years agobump version to 4.4-18
Fabian Grünbichler [Mon, 21 Aug 2017 08:31:56 +0000 (10:31 +0200)]
bump version to 4.4-18

6 years agofix creating the first ceph monitor
Dominik Csapak [Thu, 27 Jul 2017 13:02:41 +0000 (15:02 +0200)]
fix creating the first ceph monitor

we cannot use a rados connection before having at least one monitor,
so we have to move it down

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
(backported from commit 738ce0f235daf46aecedab3e33147d871d3959fa)
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agoadd missing '-' to service name pattern
Dominik Csapak [Wed, 26 Jul 2017 14:46:16 +0000 (16:46 +0200)]
add missing '-' to service name pattern

since ids can contain '-', we have to include them in the pattern
for the service names

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
(cherry picked from commit 38e20dad713db1024eb91fb9a1becd07f9c940df)

6 years agobump version to 4.4-17
Fabian Grünbichler [Mon, 14 Aug 2017 12:56:40 +0000 (14:56 +0200)]
bump version to 4.4-17

6 years agocheck for ceph-mgr on destroymon
Alwin Antreich [Mon, 14 Aug 2017 12:53:45 +0000 (14:53 +0200)]
check for ceph-mgr on destroymon

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
6 years agobump version to 4.4-16
Fabian Grünbichler [Mon, 14 Aug 2017 11:50:48 +0000 (13:50 +0200)]
bump version to 4.4-16

6 years agoRevert "trust StartCom_Certification_Authority_2.crt"
Wolfgang Bumiller [Wed, 19 Jul 2017 07:27:30 +0000 (09:27 +0200)]
Revert "trust StartCom_Certification_Authority_2.crt"

This reverts commit 7637ce6464bc28c3651b5884c3fbf2fac6ed5b66.

Revert "add missing file"

This reverts commit 7599e35af893ad9d8b544a05d5289da4093749e4.

We've switched to Let's Encrypt.

postinst configure: run update-ca-certificates if the
  previous version is <= 5.0-23.

(cherry picked from commit 088597a355c9af240d764aa1262b393e8716e0f0)

backported version check to 4.4-15

6 years agobuild: ensure REPOID has a length of 8
Fabian Grünbichler [Wed, 9 Aug 2017 09:42:32 +0000 (11:42 +0200)]
build: ensure REPOID has a length of 8

because unlike the git-rev-parse man page says, the default
length is actually calculated based on the number of packed
objects in the clone of the repository.

we don't want this to depend on the build environment and
how the repository was cloned there, so fix a length of 8
for now.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
(cherry picked from commit d0ad008702ecea7f5194b797748adc746de2da86)

6 years agouse git rev-parse for repoid
Dominik Csapak [Wed, 14 Jun 2017 10:22:28 +0000 (12:22 +0200)]
use git rev-parse for repoid

instead of getting the repoid from .git/refs/heads/master

using HEAD as commit also means we get the correct commit hash for when
building the package (e.g. when building from stable-4)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
(cherry picked from commit a09735e0b52f57c440c81b5d3b3f3dfea11e5345)

6 years agoadd check if ceph-mgr is installed
Alwin Antreich [Mon, 14 Aug 2017 09:06:04 +0000 (11:06 +0200)]
add check if ceph-mgr is installed

in API endpoints createmgr/destroymgr/createmon

Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
6 years agopveceph: add createmgr/destroymgr commands
Dominik Csapak [Mon, 14 Aug 2017 09:06:03 +0000 (11:06 +0200)]
pveceph: add createmgr/destroymgr commands

this patch adds the create-/destroymgr commands to the api and pveceph,
so that advanced users can split monitor and manager daemons

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
(cherry picked from commit ad9411c9480aa8f9b5fdbf677e0fb4a1e6997cb7)

6 years agopveceph: create mgr with mon, use nodename for id
Dominik Csapak [Mon, 14 Aug 2017 09:06:02 +0000 (11:06 +0200)]
pveceph: create mgr with mon, use nodename for id

we now want to add a ceph-mgr daemon to every node where a ceph-mon
daemon runs, as per ceph documentation recommendation, because in
luminous the mgr daemons will not be automatically created/started
with a monitor anymore

we also give the createmon an optional id parameter, so that one
can set a custom id, and make the creation/removal of the manager
optional but the default

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
(cherry picked from commit f77a087446390840846cd9300ce3dbe7f4bc7fd6)

6 years agobump version to 4.4-15
Dietmar Maurer [Wed, 5 Jul 2017 06:48:28 +0000 (08:48 +0200)]
bump version to 4.4-15

6 years agotrust StartCom_Certification_Authority_2.crt
Dietmar Maurer [Tue, 4 Jul 2017 09:48:52 +0000 (11:48 +0200)]
trust StartCom_Certification_Authority_2.crt

(cherry picked from commit 7637ce6464bc28c3651b5884c3fbf2fac6ed5b66)

and added file StartCom_Certification_Authority_2.crt

(cherry picked from commit 7599e35af893ad9d8b544a05d5289da4093749e4)

6 years agobump version to 4.4-14
Dietmar Maurer [Mon, 19 Jun 2017 05:17:22 +0000 (07:17 +0200)]
bump version to 4.4-14

6 years agoupdate default aplinfo.dat
Dietmar Maurer [Mon, 19 Jun 2017 04:52:52 +0000 (06:52 +0200)]
update default aplinfo.dat

(cherry picked from commit ee26ef44522f4c8a766d597e259a945cc2986ec9)

6 years agofix #1414: use table layout instead of columns
Dominik Csapak [Wed, 14 Jun 2017 07:22:23 +0000 (09:22 +0200)]
fix #1414: use table layout instead of columns

columns with fixed widths do not resize correctly in chrome when
resizing or having a different dpi scaling

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agoDo not internationalize 'Pools' when used in Ceph Context
Emmanuel Kasper [Mon, 29 May 2017 09:55:13 +0000 (11:55 +0200)]
Do not internationalize 'Pools' when used in Ceph Context

This is a Ceph domain term and should not be translated like OSD, ...
Galician had "Virtual Groups" for Pools, which does not apply for
Ceph Context.
Also most languages were using 'Pools' anyway.

6 years agoremove "read-only" option from container root disk
Dominik Csapak [Mon, 29 May 2017 08:50:57 +0000 (10:50 +0200)]
remove "read-only" option from container root disk

with root-only enabled, you cannot start the conainer anymore,
so we remove it there entirely

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix #1317: check wizard form also on validitychange
Dominik Csapak [Fri, 24 Mar 2017 13:19:11 +0000 (14:19 +0100)]
fix #1317: check wizard form also on validitychange

with the commit
    40342aa6c4278497b9ec8c9cce8739f9b29c2e8f
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>
(cherry picked from commit c5dc0be54ca75a11af86e7bbf1590407157c11b1)

7 years agofix #1307: dont use language dependent separator in gui
Dominik Csapak [Mon, 20 Mar 2017 15:17:41 +0000 (16:17 +0100)]
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>
(cherry picked from commit 5c660b6d1302a5fbb3dcf477cf8b5adc9f798530)

7 years agoupdate make upload target
Wolfgang Bumiller [Mon, 13 Mar 2017 13:22:49 +0000 (14:22 +0100)]
update make upload target

7 years agobump version to 4.4-13
Wolfgang Bumiller [Mon, 13 Mar 2017 12:06:09 +0000 (13:06 +0100)]
bump version to 4.4-13

7 years agofix ceph.service for Ceph Jewel >= 10.2.6
Fabian Grünbichler [Thu, 9 Mar 2017 09:34:57 +0000 (10:34 +0100)]
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>
7 years agobuildsys: depend on lsb-base
Wolfgang Bumiller [Tue, 7 Feb 2017 14:39:06 +0000 (15:39 +0100)]
buildsys: depend on lsb-base

7 years agobuildsys: make job safety
Wolfgang Bumiller [Tue, 7 Feb 2017 14:38:33 +0000 (15:38 +0100)]
buildsys: make job safety

7 years agoremove space in service file
Wolfgang Bumiller [Tue, 7 Feb 2017 14:38:54 +0000 (15:38 +0100)]
remove space in service file

7 years agofix diffstore issue with clusterlog
Dominik Csapak [Fri, 10 Mar 2017 09:12:25 +0000 (10:12 +0100)]
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>
7 years agouse validator for GuestIDSelector and optimize labels
Dominik Csapak [Tue, 21 Feb 2017 09:53:15 +0000 (10:53 +0100)]
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>
7 years agoshow nodeselector errors only if a node is selected
Dominik Csapak [Wed, 15 Feb 2017 14:00:24 +0000 (15:00 +0100)]
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>
7 years agocheck earlier if the logview is destroyed
Dominik Csapak [Wed, 15 Feb 2017 13:55:50 +0000 (14:55 +0100)]
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>
7 years agomake the ha node priority field explicitly not a form field
Dominik Csapak [Wed, 15 Feb 2017 13:55:49 +0000 (14:55 +0100)]
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>
7 years agoremove unneeded applyEmptyText
Dominik Csapak [Wed, 15 Feb 2017 13:55:48 +0000 (14:55 +0100)]
remove unneeded applyEmptyText

this was not needed and does not work with extjs 6.2

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agofix #306: add email address field to backup now window
Dominik Csapak [Fri, 17 Feb 2017 14:30:23 +0000 (15:30 +0100)]
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>
7 years agoremove unneeded *Index.pm files
Dominik Csapak [Tue, 7 Mar 2017 10:18:23 +0000 (11:18 +0100)]
remove unneeded *Index.pm files

they are not used anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agouse Template::Toolkit instead of [ExtJs|Touch|NoVnc]Index.pm
Dominik Csapak [Tue, 7 Mar 2017 10:18:22 +0000 (11:18 +0100)]
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>
7 years agoadd the index.html.tpl files for the default ui and touch
Dominik Csapak [Tue, 7 Mar 2017 10:18:21 +0000 (11:18 +0100)]
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>
7 years agospecify basedirs instead of hardcoding them several times
Dominik Csapak [Tue, 7 Mar 2017 10:18:20 +0000 (11:18 +0100)]
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>
7 years agouse login instead of bash
Dominik Csapak [Tue, 28 Feb 2017 11:06:45 +0000 (12:06 +0100)]
use login instead of bash

since bash does not play well with utf8 encoded input,
eg. pressing ALTGR + M on an english intl keyboard layout int novnc
does not enter the mu symbol but makes bash think you pressed alt+5,
we should use login without authorization when logging in as root

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agokeep locale for vncshell and spiceshell
Dominik Csapak [Tue, 28 Feb 2017 11:22:56 +0000 (12:22 +0100)]
keep locale for vncshell and spiceshell

use the new keeplocale parameter from run_command and do not delete the
LANG and LANGUAGE variable for the vncshell

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoZFSEdit.js: correctly set 'nowritecache' on zfs plugin
Dietmar Maurer [Wed, 8 Mar 2017 05:39:26 +0000 (06:39 +0100)]
ZFSEdit.js: correctly set 'nowritecache' on zfs plugin

7 years agofix #1299: sort pools in poolselector by default
Dominik Csapak [Fri, 3 Mar 2017 11:20:32 +0000 (12:20 +0100)]
fix #1299: sort pools in poolselector by default

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoadd css fix for chrome >=56
Dominik Csapak [Fri, 3 Mar 2017 09:17:25 +0000 (10:17 +0100)]
add css fix for chrome >=56

with chrome/chromium version 56, they changed the way how they calculate
height of text in input fields (now it is correct according to the
standard) but extjs up to 6.2.1 has a fix for this in css

this patch reverses the fix in extjs and can be reverted when they
remove the fix upstream

the bug (EXTJS-23628) and the fix are described here:
https://www.sencha.com/forum/showthread.php?335045

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agomigrateall: use get_filtered_vmlist
Thomas Lamprecht [Fri, 24 Feb 2017 09:47:03 +0000 (10:47 +0100)]
migrateall: use get_filtered_vmlist

instead of using get_start_stop_list in a rather hacky way use the
new get_filtered_vmlist method and adapt the loop, as now only one
level is required.

most changes  are just an indent shift left as we lost an unnecessary
loop level

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agorefactor get_start_stop_list
Thomas Lamprecht [Fri, 24 Feb 2017 09:47:02 +0000 (10:47 +0100)]
refactor get_start_stop_list

we used get_start_stop_list for assembling a list of VMIDs for
stopall, startall and migrateall.

While get_start_stop_list did already some filtering we did some
more in the specific startall and stopall calls.
Add a new private helper which does all the filtering and just
assemble the startup order in the get_start_stop_list method.

Move the template and ha managed filtering in the new
get_filtered_vmlist method, this allows us to remove the filtering
from the API calls them self and we do not load the vms config twice
(it was cached, but nonetheless unnecessary)

get_filtered_vmlist is also intended to be used by migrateall in a
next patch

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoDo not translate IT terms which should be used 'as is' in every language
Emmanuel Kasper [Wed, 1 Mar 2017 10:34:07 +0000 (11:34 +0100)]
Do not translate IT terms which should be used 'as is' in every language

for 'Initialize GPT' we use the alternate 'Initialize Disk with GPT' string
which was already existing

7 years agoRename 'create' to 'isCreate' in pveWindowEdit and subclasses
Emmanuel Kasper [Tue, 28 Feb 2017 13:26:49 +0000 (14:26 +0100)]
Rename 'create' to 'isCreate' in pveWindowEdit and subclasses

This fixes around 20 jslint type confusion warnings.
Also reduce the scope and document jslint warnings along the way.
No functional changes.

7 years agoIndentation fix
Emmanuel Kasper [Wed, 8 Feb 2017 14:13:19 +0000 (15:13 +0100)]
Indentation fix

7 years agoInfluxDB plugins: send nodename when updating CT/VM status
Thomas Lamprecht [Thu, 23 Feb 2017 08:32:30 +0000 (09:32 +0100)]
InfluxDB plugins: send nodename when updating CT/VM status

This allows filtering by node in InfluxDB queries, so the statistics
of all virtual guests on a specific nodes can be queried.

While for InfluxDB this is only a tag which does changes where the
data is stored, Graphite - our other status plugin - has no such
mechanics available. If we would add it to the object hierarchy,
e.g.: "qemu.$vmid.$nodename" a migration of a VM would result in two
different datasets.
So avoid breaking setups and omit it for Graphite for now.

Suggested-by: Daniel1108 <danielgallegosanchez@gmail.com>
CC: Daniel1108 <danielgallegosanchez@gmail.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoMake explicit the meaning of an empty storage field
Emmanuel Kasper [Wed, 8 Feb 2017 14:05:09 +0000 (15:05 +0100)]
Make explicit the meaning of an empty storage field

By default when no target storage is selected in the clone panel, the clone
will use the same storage*s* as the source.

This was not obvious to guess that from the panel.

7 years agoAdd a clone button in the VM toolbar
Emmanuel Kasper [Mon, 6 Feb 2017 18:03:27 +0000 (19:03 +0100)]
Add a clone button in the VM toolbar

Up to now the Migrate function had a first class button in the toolbar,
but the Clone function didn't.
With this button the toolbar still fit correctly in a smaller
1280 pixel wide display.

7 years agoMove the snapshot API test to a static function
Emmanuel Kasper [Mon, 6 Feb 2017 18:03:26 +0000 (19:03 +0100)]
Move the snapshot API test to a static function

This will allow code reuse in a following patch.

No functional change.

7 years agoFix handling of failed API call verifyFeature()
Emmanuel Kasper [Mon, 6 Feb 2017 18:03:25 +0000 (19:03 +0100)]
Fix handling of failed API call verifyFeature()

This call can for instance fails when a source VM has references
to non existing storages.

7 years agopveperf: remove outated POD replaced by pve-docs
Thomas Lamprecht [Fri, 10 Feb 2017 19:53:55 +0000 (20:53 +0100)]
pveperf: remove outated POD replaced by pve-docs

Remove the POD content and the overwriting makefile rule
'pveperf.1.pod' so that the rule from pve-doc-generator.mk matches

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 years agoUse ip from iproute2 package instead of net-tools
Emmanuel Kasper [Mon, 6 Feb 2017 14:37:23 +0000 (15:37 +0100)]
Use ip from iproute2 package instead of net-tools

iproute2 is a direct depency from pve-qemu-kvm and should
be always available

use -statistics so we get the RX/TX traffic sum like ifconfig
use -details to get extra info like current vlan_protocol

7 years agoFix #1266: use a renderer when displaying Unix timestamps.
Emmanuel Kasper [Tue, 31 Jan 2017 15:48:50 +0000 (16:48 +0100)]
Fix #1266: use a renderer when displaying Unix timestamps.

The timestamp is displayed read only in a large window, and not sortable,
hence we use the human readable renderer.

7 years agoAdd a new renderer for displaying dates in a human readable way
Emmanuel Kasper [Tue, 31 Jan 2017 15:48:49 +0000 (16:48 +0100)]
Add a new renderer for displaying dates in a human readable way

render_timestamp returns a Date as
"2017-01-31 16:17:33"
which is good for computers and column sorting but unfit
for human consumption

the new renderer added by this patch renders a Date as
"Tuesday 31 January 2017 16:18:08"

Day-month-year order is the most used ordering
in the world and also commonly used in the USA for
official documents.
source:
https://en.wikipedia.org/wiki/Date_and_time_notation_in_the_United_States
https://en.wikipedia.org/wiki/Date_format_by_country

7 years agoPVE/API2/Tasks.pm: corretly return true after loading
Dietmar Maurer [Tue, 31 Jan 2017 07:13:17 +0000 (08:13 +0100)]
PVE/API2/Tasks.pm: corretly return true after loading

7 years agobump version to 4.4-12
Fabian Grünbichler [Fri, 27 Jan 2017 09:56:21 +0000 (10:56 +0100)]
bump version to 4.4-12

7 years agoREST/RPCEnvironment's check_worker is a method now
Wolfgang Bumiller [Thu, 26 Jan 2017 10:13:21 +0000 (11:13 +0100)]
REST/RPCEnvironment's check_worker is a method now

7 years agospiceproxy: import PVE::SafeSyslog
Wolfgang Bumiller [Thu, 26 Jan 2017 11:59:31 +0000 (12:59 +0100)]
spiceproxy: import PVE::SafeSyslog

7 years agobump version to 4.4-11
Dietmar Maurer [Thu, 26 Jan 2017 08:23:19 +0000 (09:23 +0100)]
bump version to 4.4-11

7 years agodepend on libjs-extjs
Dietmar Maurer [Wed, 25 Jan 2017 17:24:51 +0000 (18:24 +0100)]
depend on libjs-extjs

7 years agodelete extjs source files
Dietmar Maurer [Wed, 25 Jan 2017 17:23:07 +0000 (18:23 +0100)]
delete extjs source files

7 years agobump version to 4.4-10
Fabian Grünbichler [Wed, 25 Jan 2017 08:38:49 +0000 (09:38 +0100)]
bump version to 4.4-10

7 years agomove VZDump base Plugin
Fabian Grünbichler [Wed, 25 Jan 2017 08:35:35 +0000 (09:35 +0100)]
move VZDump base Plugin

moved to pve-common-guest

7 years agodo no translate ha states
Dominik Csapak [Mon, 23 Jan 2017 13:32:25 +0000 (14:32 +0100)]
do no translate ha states

because they have a special meaning, do not translate them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
7 years agoUse the enabled/disabled toggler to render grid options
Emmanuel Kasper [Mon, 23 Jan 2017 14:24:33 +0000 (15:24 +0100)]
Use the enabled/disabled toggler to render grid options

Allows getting rid of multiple "Enable foobar" gettext strings in
LXC and Firewall option panels.

7 years agoAdd new renderer function for toggling enabled/disabled options
Emmanuel Kasper [Mon, 23 Jan 2017 14:24:32 +0000 (15:24 +0100)]
Add new renderer function for toggling enabled/disabled options

7 years agoRemove technical terms from content to be translated
Emmanuel Kasper [Wed, 18 Jan 2017 16:03:32 +0000 (17:03 +0100)]
Remove technical terms from content to be translated

7 years agobump version to 4.4-9
Dietmar Maurer [Thu, 19 Jan 2017 08:23:16 +0000 (09:23 +0100)]
bump version to 4.4-9

7 years agouse new PVE::Storage::check_volume_access()
Dietmar Maurer [Wed, 18 Jan 2017 16:30:40 +0000 (17:30 +0100)]
use new PVE::Storage::check_volume_access()

7 years agopvestatd.pm: corretly use new RPCEnvironment
Dietmar Maurer [Wed, 18 Jan 2017 16:28:59 +0000 (17:28 +0100)]
pvestatd.pm: corretly use new RPCEnvironment

Call $rpcenv->active_workers()

7 years agopveproxy: do not expose /pve2/js/ (no longer required)
Dietmar Maurer [Wed, 18 Jan 2017 11:59:21 +0000 (12:59 +0100)]
pveproxy: do not expose /pve2/js/ (no longer required)

7 years agoRemove redundant helper for login window
Emmanuel Kasper [Wed, 18 Jan 2017 08:46:05 +0000 (09:46 +0100)]
Remove redundant helper for login window

the information is already provided by the label, the helper does not add
meaningfull information here.

7 years agoDo not try to translate domain specific terms
Emmanuel Kasper [Wed, 18 Jan 2017 08:46:04 +0000 (09:46 +0100)]
Do not try to translate domain specific terms

No one is translating DHCP in his/her own language.

7 years agoRemove duplicate strings
Emmanuel Kasper [Wed, 18 Jan 2017 08:46:03 +0000 (09:46 +0100)]
Remove duplicate strings

7 years agoremove reference to PVE.ConsoleWorkspace
Dietmar Maurer [Tue, 17 Jan 2017 07:04:45 +0000 (08:04 +0100)]
remove reference to PVE.ConsoleWorkspace

We already removed that code (unused).

7 years agobump version to 4.4-8
Dietmar Maurer [Mon, 16 Jan 2017 17:43:06 +0000 (18:43 +0100)]
bump version to 4.4-8

7 years agoPVE/HTTPServer: do not return cookie_name from auth_handler
Dietmar Maurer [Mon, 16 Jan 2017 09:59:39 +0000 (10:59 +0100)]
PVE/HTTPServer: do not return cookie_name from auth_handler

This is no longer required.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
7 years agoHTTPServer.pm: rewrite rest_handler (simplify code)
Dietmar Maurer [Mon, 16 Jan 2017 09:59:38 +0000 (10:59 +0100)]
HTTPServer.pm: rewrite rest_handler (simplify code)

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
7 years agoremove base_handler_class - directly use PVE::API2 instead
Dietmar Maurer [Mon, 16 Jan 2017 09:59:37 +0000 (10:59 +0100)]
remove base_handler_class - directly use PVE::API2 instead

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
7 years agoHTTPServer.pm: call rpcenv->init_request earlier.
Dietmar Maurer [Mon, 16 Jan 2017 09:59:36 +0000 (10:59 +0100)]
HTTPServer.pm: call rpcenv->init_request earlier.

Because we access file from /etc/pve/ in auth_handler.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
7 years agoHTTPServer.pm: call $rpcenv-init() when necessary.
Dietmar Maurer [Mon, 16 Jan 2017 09:59:35 +0000 (10:59 +0100)]
HTTPServer.pm: call $rpcenv-init() when necessary.

This code was removed from the generic server, so we need
to add it here. cleanup follows ...

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>