Commit Graph

286 Commits

Author SHA1 Message Date
Wolfgang Link
8682f6fcb1 Fix backup failure at shutdown.
This fix include a new function of vzdump.
Now you can call vzdump -stop and the backup will be aborted.
Also if the pve-manager init script stop the process, vzdump -stop will called.

Signed-off-by: Wolfgang Link <wolfgang@linksystems.org>
2015-01-20 08:06:59 +01:00
Tobias Doerffel
f9adc7763d Fixed typo in backup API
Signed-off-by: Tobias Doerffel <tobias.doerffel@ed-chemnitz.de>
2014-11-24 06:36:48 +01:00
Stefan Priebe
6ec9de4426 VZDump: send an error email in case of lock failure
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2014-10-23 10:57:22 +02:00
Dan Hunsaker
b71c468669 Add CT suspend/resume support via PVE2 API
Suspend/resume support for VMs has been in the PVE2 API for some time,
but even though vzctl supports suspend/resume (what they call checkpoint/
restore), the API doesn't yet support suspend/resume for CTs.  This patch
adds that support.

Signed-off-by: Dan Hunsaker <danhunsaker@gmail.com>
2014-10-09 09:21:13 +02:00
Stanislav German-Evtushenko
4b15265645 GUI: add new email_from option to datacenter.cfg
Signed-off-by: Stanislav German-Evtushenko <ginermail@gmail.com>
2014-09-04 17:16:02 +02:00
Dietmar Maurer
c608873a5c GUI: add pool view 2014-08-13 08:06:18 +02:00
Dietmar Maurer
8dfca17e2e cleanup novnc console code
And implement novnc console for openvz and shell (needs vncterm update).
2014-06-24 17:35:17 +02:00
Dietmar Maurer
94cc956030 trim subscription key to avoid unexpected errors.
People normally use cut&paste, and that often adds unexpected white space
characters. So we simply remove them for convenience.
2014-06-13 06:32:07 +02:00
Dietmar Maurer
05adc1414d use new PVE::API2::Firewall::CT class 2014-05-26 08:31:44 +02:00
Dietmar Maurer
1f3e956a53 fix mon_command syntax for 'auth get' 2014-05-22 06:43:09 +02:00
Dietmar Maurer
4a07fcedb7 depend on pve-firewall, connect firewall API 2014-05-06 12:43:41 +02:00
Dietmar Maurer
e7c967c0a4 Formatter/HTML: improve output format 2014-05-05 13:00:35 +02:00
Dietmar Maurer
d25dec0fd5 Formatter/HTML: add method description 2014-05-02 11:48:38 +02:00
Dietmar Maurer
7e73c93e55 new html formatter PVE::API2::Formatter::HTML
This one provides a login page and uses bootstrap for html.
2014-05-02 11:36:11 +02:00
Dietmar Maurer
d812f3bb2b include bootstrap html framework 2014-05-02 11:35:16 +02:00
Dietmar Maurer
ed2cd21059 split out formatter code 2014-05-02 11:35:02 +02:00
Dietmar Maurer
b5eda02313 bump version to 3.1-43 (fix network API) 2014-02-16 09:27:41 +01:00
Dietmar Maurer
44d353a7ac API extension: allow to set comments inside network interfaces file 2014-02-12 11:28:53 +01:00
Dietmar Maurer
5374d54f21 ceph: fix percent_used 2014-01-23 17:29:14 +01:00
Dietmar Maurer
cc81005afd ceph: view osd commit/apply latency 2014-01-23 10:08:02 +01:00
Dietmar Maurer
941c019548 ceph: display osd usage 2014-01-23 09:38:29 +01:00
Dietmar Maurer
d54f1126b7 ceph: display pool usage information 2014-01-23 08:28:26 +01:00
Dietmar Maurer
7d4fc5ef92 ceph: add API and buttons for osd in/out
And move OSD API into separate package PVE::API2::CephOSD
2014-01-22 12:44:52 +01:00
Dietmar Maurer
a34866f031 split out ceph code into PVE::CephTools 2014-01-22 09:33:15 +01:00
Dietmar Maurer
2f80464060 use longer rados timeouts when inside worker tasks 2014-01-22 08:05:40 +01:00
Dietmar Maurer
f26b46dbcb ceph: re-open rados connection inside worker process 2014-01-21 12:11:25 +01:00
Dietmar Maurer
2aafa9ea6d ceph: untaint values for createosd 2014-01-21 11:21:46 +01:00
Dietmar Maurer
6e3c2f4764 ceph: use format 'plain' for call which do no return data 2014-01-21 07:44:41 +01:00
Dietmar Maurer
36fd0190c5 code cleanup 2014-01-20 08:55:35 +01:00
Dietmar Maurer
970236b3ec use PVE::RADOS perl bindings 2014-01-17 09:45:22 +01:00
Dietmar Maurer
a7a7fb00ac ceph: improve disk usage detection 2014-01-10 12:04:26 +01:00
Dietmar Maurer
0e5816e4d2 ceph: allow to specify separate journal disks 2014-01-10 09:04:48 +01:00
Dietmar Maurer
946662f65b ceph: allow to specify crush ruleset on pool creation 2014-01-03 11:40:53 +01:00
Dietmar Maurer
d6261e3122 ceph: only use 64 PGs by default (same default as ceph default pools) 2014-01-03 11:03:05 +01:00
Dietmar Maurer
190df9a105 ceph: try to unmount OSD after removal 2014-01-03 10:58:08 +01:00
Dietmar Maurer
8b336060cb ceph: return decompiled crush map in text format.
This is easier to read.
2014-01-03 10:46:59 +01:00
Dietmar Maurer
ace49d5357 avoid slash characters in task ids
Our REST API cannot handle that.
2013-12-31 12:47:40 +01:00
Dietmar Maurer
43d85563a7 pveceph: allow to specify fs-type 2013-12-31 08:12:20 +01:00
Dietmar Maurer
740895591f pveceph: allow to set min_size for pools 2013-12-31 08:04:26 +01:00
Dietmar Maurer
cee8e2b661 fix osd remove 2013-12-30 13:50:01 +01:00
Dietmar Maurer
4c917e974d make it easier to set VLAN tags on OVS ports/bond 2013-12-30 11:06:34 +01:00
Dietmar Maurer
ffffb625e5 add support to change bond_xmit_hash_policy on linux bond devices 2013-12-30 08:21:44 +01:00
Dietmar Maurer
10a9563eb4 use new ovs bond modes (changed in pve-common) 2013-12-30 07:38:13 +01:00
Dietmar Maurer
bdfa249812 check if ovs is installed when creation ovs network components 2013-12-27 09:52:22 +01:00
Dietmar Maurer
d11733f8da add GUI for openvswitch network 2013-12-27 09:45:31 +01:00
Dietmar Maurer
f7e342ea2a ceph: allow to specify network 2013-12-21 10:18:17 +01:00
Dietmar Maurer
9dace87245 Merge remote-tracking branch 'origin/pve-ceph' 2013-12-21 08:03:57 +01:00
Dietmar Maurer
a51ceeb704 fix execute API 2013-12-10 12:05:02 +01:00
Dietmar Maurer
7774df7851 use get_standard_option() for spice options 2013-12-10 10:03:10 +01:00
Dietmar Maurer
b289829f91 factor out common code into run_spiceterm 2013-12-10 09:46:00 +01:00
Dietmar Maurer
f25af3a938 set correct keymap for spiceterm 2013-12-10 08:36:58 +01:00
Dietmar Maurer
427d3fa6d2 implement spice viewer for openvz 2013-12-10 08:00:01 +01:00
Dietmar Maurer
2d802f8c3b include spiceterm 2013-12-10 07:35:57 +01:00
Dietmar Maurer
409935933e fix execute API
- remove command from index (so that pvesh does not list it)
- use POST instead of GET
- correctly check permissions
- return value with status codes and data (allow expections)
2013-12-09 11:08:02 +01:00
Stefan Priebe
87c3e93147 support to execute multiple commands in one request 2013-12-09 08:44:25 +01:00
Dietmar Maurer
c56a583f4e use new --connect-timeout for ceph commands 2013-11-22 09:17:42 +01:00
Dietmar Maurer
52d7be4197 fix osd keyring, use tasks 2013-11-22 08:41:37 +01:00
Dietmar Maurer
88a6e29ad1 set correct keyring location for osd 2013-11-21 09:11:42 +01:00
Dietmar Maurer
0b1efc01d5 fix mds permissions in client.admin key 2013-11-21 07:34:30 +01:00
Dietmar Maurer
a08988dc48 allow to call ceph init multiple times 2013-11-20 11:28:23 +01:00
Dietmar Maurer
eac465a574 generate and save ceph fsid
add dependency on libuuid-perl
2013-11-20 10:48:22 +01:00
Dietmar Maurer
f3224487a3 avoid useles symlinks to ceph keyrings 2013-11-20 10:28:41 +01:00
Dietmar Maurer
c7881bf602 add ceph pool GUI 2013-11-20 07:53:43 +01:00
Dietmar Maurer
b0537f7be9 add API for ceph pools 2013-11-19 13:25:36 +01:00
Dietmar Maurer
dd7e2a94f2 add OSD tree 2013-11-19 12:13:53 +01:00
Dietmar Maurer
13f4d7623d allow to create OSD on unused disks 2013-11-15 12:24:14 +01:00
Dietmar Maurer
e9ea467759 isert section when writing ceph.conf 2013-11-15 08:15:39 +01:00
Dietmar Maurer
570278fab0 add ceph log view 2013-11-15 08:02:35 +01:00
Dietmar Maurer
39e1ad7086 improve ceph API paths 2013-11-14 11:06:49 +01:00
Dietmar Maurer
68e0c4bd41 add monitor GUI 2013-11-14 10:15:36 +01:00
Dietmar Maurer
2f692121ce display crush map 2013-11-13 12:16:20 +01:00
Dietmar Maurer
9662c1952a start ceph management GUI 2013-11-13 11:01:24 +01:00
Dietmar Maurer
38db610ae6 move code to Ceph.pm, create API for ceph 2013-11-13 06:59:07 +01:00
Dietmar Maurer
718427dacb subscription updates: set UserAgent header on proxy connect request 2013-10-29 10:20:38 +01:00
Dietmar Maurer
1f254b22e0 use new PVE::Storage::abs_filesystem_path 2013-10-01 12:45:20 +02:00
Dietmar Maurer
2051816c24 bump version to 3.1-14 - avoid warning in daily cron script 2013-09-24 06:41:54 +02:00
Dietmar Maurer
8fd7134c67 use correct changelog urls for pve repositories.
We always use a changelog file for each package (not source package).
2013-09-09 11:39:24 +02:00
Dietmar Maurer
446b96693a corretly use proxy CONNECT
There is a bug in LWP:UserAgent - it does not use CONNECT for https
proxy calls. So such calls fails with SQUID.
2013-09-09 11:33:25 +02:00
Dietmar Maurer
a25fa6e9bf changelog: proxy API call to correct node
Nodes can have different apt sources, so changelog localtion can also differ.
2013-08-26 10:11:03 +02:00
Dietmar Maurer
26f876ce18 apt: only consider installed packages
Because 'apt-get dist-upgrade' also does not consider the package
selection state (as opposed to apt-get dselect-upgrade).
2013-08-23 10:03:23 +02:00
Dietmar Maurer
702ecae163 try to guess changelog url fro security updates
Work for some packages, but not for all security updates. Seems
Debian security team does not upload changelogs.
2013-08-16 09:22:02 +02:00
Dietmar Maurer
d32d05d648 include glusterfs-client version in 'pveversion -v' 2013-08-14 07:56:33 +02:00
Dietmar Maurer
d97a44689d bug fix: only send updated package list once 2013-08-02 10:41:39 +02:00
Dietmar Maurer
745d942d91 apt: try to send updated packe list only once 2013-08-02 10:03:18 +02:00
Dietmar Maurer
933054047a apt: try to detect new packages
The previos approch did not detect new packages, like new kernels.
2013-08-02 09:21:26 +02:00
Dietmar Maurer
f460dc12b1 impl. a better way to suppress output from apt-get update. 2013-08-02 06:33:36 +02:00
Dietmar Maurer
a137235a4a be more quiet 2013-08-02 06:28:15 +02:00
Dietmar Maurer
2544e8d5c6 run 'apt-get update' in quiet mode when starting from cron 2013-08-02 06:15:20 +02:00
Dietmar Maurer
2ba6d82257 fix changelog url for pve repository
To make it compatible with 'apt-get changelog'
2013-08-01 11:35:48 +02:00
Dietmar Maurer
09c67ebb5b add correct url for proxmox package changelogs 2013-07-29 12:36:05 +02:00
Dietmar Maurer
19ed44c0ef tell apt to use http_proxy settings 2013-07-26 09:26:24 +02:00
Dietmar Maurer
7b02d9ecf3 write auth.conf 2013-07-25 10:29:52 +02:00
Dietmar Maurer
026c392bbb fix bug #437: include pve-libspice-server1 in package list 2013-07-19 06:10:00 +02:00
Dietmar Maurer
ea5eb43003 fix shell quoting for upgrade command 2013-06-24 08:02:32 +02:00
Dietmar Maurer
8794761f5a add/use API for pveversion
We want to be able to diplay that information on the GUI.
2013-06-21 11:44:11 +02:00
Dietmar Maurer
b179a622ba new pveupgrade script
Used to display additional information to the user (reboot required? database
up to date? ...)
2013-06-21 08:21:04 +02:00
Dietmar Maurer
6d39449226 fix bug #408: reset ENV before starting shell 2013-06-20 11:10:01 +02:00
Dietmar Maurer
d721d4dfd2 fix bug #379: allow to overwrite existing CTs if user has VM.Backup permissions
The requirement to have VM.Allocate it non-obvious and confusing
if the VM already exists. If the user can backup, he should also be able
to restore that backup.
2013-06-20 07:18:12 +02:00
Dietmar Maurer
a88002cf76 Allow to send notification mail about new packages. 2013-06-19 13:01:10 +02:00
Dietmar Maurer
3a76893d03 use interactive vnc shell to run system upgrade
System upgrade almost always requires user input.
2013-06-19 11:57:38 +02:00