Wolfgang Link
3279b1d2d4
Set correct permission for ceph user.
...
We have to set the correct permission,
because ceph greater than infernalis use ceph as daemon user.
2016-12-22 11:51:19 +01:00
Dominik Csapak
a46ad02adb
add ceph flags api calls
...
we add a get/post/delete api call for ceph flags
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-30 17:08:38 +01:00
Dominik Csapak
85c17d9673
also return the ceph flags in osd api call
...
we want to set/get the flags in the ceph/osd tab, so we have to
return it there
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-11-30 17:07:14 +01:00
Dietmar Maurer
ac04fb558b
plug new ClusterConfig API at /cluster/config
2016-11-29 12:08:39 +01:00
Dietmar Maurer
b67dc872ac
code cleanup: avoid use of PVE::HA::Env (not necessary)
2016-10-28 09:32:35 +02:00
Dominik Csapak
c6e94f4224
add hastate to /cluster/resources api call
...
this adds a hastate field to all vms/ct which have ha enabled
we will use this for showing the error state in the tree (in the webgui)
and for the cluster dashboard (to count the error state guests)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-28 09:22:37 +02:00
Fabian Grünbichler
f0bbc08419
restrict vzdump cron options
...
modeled after the VZDump API path, but since we are
restricted to Sys.Modify users already, we only need to
restrict these three options.
2016-10-17 10:36:06 +02:00
Dietmar Maurer
4ea55500a4
pveversion: add smartmontools
2016-10-14 08:59:24 +02:00
Dietmar Maurer
42e237c3c5
pveversion: add pve-docs package
2016-10-14 08:57:51 +02:00
Fabian Grünbichler
6d0507a87a
vzdump: move restricted API parameters check
...
for better visibility and earlier error detection
2016-10-12 17:30:45 +02:00
Fabian Grünbichler
eb2d6fd390
vzdump: document restricted API parameters
2016-10-12 17:30:26 +02:00
Dominik Csapak
107e872ac7
use correct info on disks in destroyosd and skip smart
...
instead of using
'/dev/${real_dev}'
we use the devpath property directly
also we skip the smart check in the cleanup
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-06 08:27:46 +02:00
Dominik Csapak
929376d778
fix #1099 : get correct info on disks in createosd
...
instead of getting all disks, only get the info
from the one we get as parameter
and use the 'devname' value for the
ceph commands instead of the parameter itself
(this fixes the cciss!cXdY cciss/cXdY mismatch)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-06 08:26:32 +02:00
Dominik Csapak
5fd5c30db7
do not get smart data for ceph disk list
...
on the ceph disks call, we do not need the smart
data, so set the nosmart flag
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-10-06 08:20:42 +02:00
Thomas Lamprecht
8f46103543
Makefile: fix distclean target
...
As some Makefiles in sub directories do not implement the distclean
target, namely:
PVE/Service/Makefile
PVE/CLI/Makefile
This target is broken.
As all other implementations just redirect to the 'clean' target I
do not implement the missing ones but rather remove all such
targets. Keep it just in the top level directory, for consistence
sake with other pve repos, and redirect it there directly to the
clean target.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-09-28 08:21:48 +02:00
Emmanuel Kasper
13a399c456
do not test for the cgmanager package in pveversion fix #1117
...
the package has been removed from the list of lxcfs dependencies
since 0.12-pve1
2016-09-21 16:16:52 +02:00
Dietmar Maurer
3947d0a069
startall: remove timeout, wait forever
2016-09-09 10:31:21 +02:00
Dominik Csapak
7f4924bd9b
use the Diskmanage subs for ceph instead
...
the subs are now in PVE::Diskmanage, so use them
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-07 11:45:09 +02:00
Dominik Csapak
e781363f19
add disk api entry point
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-07 11:16:55 +02:00
Dominik Csapak
6f242111c3
fix #621 : allow template download to glusterfs
...
removes the check for dir or nfs storage,
because a few lines below we check for
the content type vztmpl
which should only be allowed when we have a
location where we put templates, thus we should
be able to download them there
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-09-05 06:54:40 +02:00
Fabian Grünbichler
95f99e8c5e
aplinfo: use explicit defined checks
...
a checksum of '0' can never be correct, but this makes the code clearer
2016-08-24 13:08:45 +02:00
Fabian Grünbichler
79be6db38a
aplinfo: use fh for both digests
...
for consistency, because Digest::MD5 cannot handle filenames directly..
2016-08-24 13:08:22 +02:00
Fabian Grünbichler
62180d0f1d
update descriptions, error messages
2016-08-24 10:18:27 +02:00
Fabian Grünbichler
3b81e495cd
aplinfo: improve checksum handling
...
instead of calling md5sums, use perl's Digest::MD5.
also support SHA512 via perl's Digest::SHA, to enable a
transition away from MD5.
2016-08-24 10:09:12 +02:00
Fabian Grünbichler
c351eda952
aplinfo: replace system() with run_command/rename
2016-08-24 09:48:15 +02:00
Dominik Csapak
86506300af
add novnc-pve to pveversion -v
...
it was missing
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-08-12 10:43:25 +02:00
Wolfgang Bumiller
c37f23f53b
fix undefined value warning in resources api call
...
With the new calculation $pe->{maxcpu} was used before being
initialized to zero. Moving the initialization up.
Additionally setting $pe->{cpu} to $entry->{cpu} if maxcpu
is not set seems pointless as with its factor (maxcpu)
initialized to zero it is cancelled out anyway.
2016-07-07 08:15:15 +02:00
Dominik Csapak
ffe31eeacd
fix #1030 : calculate correct cpu usage of pools
...
we only added the % of the vms in a pool
which lead to wrong results
e.g. having a pool with 3 vms with 4 cores each and a
cpu usage of 50% each (2 cores at 100%)
lead to :
vm1 50%
vm2 50%
vm3 50%
pool 150%
instead we new calculate the percentage for the whole pool
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-07-01 11:10:37 +02:00
Dominik Csapak
76dc2ad016
fix #1043 : prevent ceph destroypool when in use
...
also introduces a force parameter to this call
if force is true, the call destroys the ceph pool
even when it is use
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-06-30 13:47:36 +02:00
Wolfgang Bumiller
ef456bd0b0
Remove IPv4 netmask check
2016-06-06 14:50:25 +02:00
Wolfgang Bumiller
403761c43e
Fix #1015 : vzdump: send email on early errors
...
VZDump->new() dies when a tmpdir or dumpdir is configured
but does not exist. At this point the error is not being
reported via email.
This also moves the instantiation of VZDump into the worker
since new() can now call sendmail() on error.
Additionally rather than only showing a single error if both
tmpdir and dumpdir don't exist, both are included in the
message.
2016-06-06 13:38:35 +02:00
Fabian Grünbichler
7619e4dd31
add vzdump/extractconfig API path
2016-06-03 12:11:14 +02:00
Wolfgang Bumiller
98901f1d88
ceph: brackets around ipv6
2016-05-17 16:05:21 +02:00
Wolfgang Link
ee22d1cb38
Add ceph in optional packages
...
It is usefull to see which ceph version are installed on the PVE host.
2016-05-10 10:25:19 +02:00
Fabian Grünbichler
3cba09d570
docs: typo, newlines
2016-04-15 16:36:03 +02:00
Fabian Grünbichler
e2a2525e60
VZDump: mark 'size' as deprecated, warn if set
...
this parameter should be removed in a future release, just
warn and change description for now to avoid breakage.
2016-04-14 10:39:45 +02:00
Wolfgang Bumiller
4aed5e3e3a
Fix #936 : ceph: support multiple roots in osd tree
...
The OSD tree in our GUI otherwise only shows the "first"
root it finds in the crush map.
2016-04-13 08:40:49 +02:00
Caspar Smit
d6c493923a
Fixed a small typo
...
Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-31 10:56:49 +02:00
Caspar Smit
92c11ee1ca
Allow migrate-all button on HA enabled VMs
...
Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-31 10:56:22 +02:00
Caspar Smit
6677f6402e
Skip templates when using the start all VMs button
...
Refactored and now using PVE::QemuConfig and PVE::LXC::Config
Moved the next if.. statements into the corresponding branches
Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-31 10:51:11 +02:00
Caspar Smit
17e3b3b27f
Allow non-root to use start/stop/migrate all buttons
...
Signed-off-by: Caspar Smit <casparsmit@supernas.eu>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-03-31 10:50:34 +02:00
Fabian Grünbichler
bbcfdc08cc
use PVE::Storage::config(), not cfs_read_file()
2016-03-30 10:35:58 +02:00
Fabian Grünbichler
7141ae254a
Use methods from PVE::QemuConfig
...
use config_file and load_config from PVE::QemuConfig
2016-03-08 11:53:33 +01:00
Fabian Grünbichler
e93408d600
LXC refactoring
...
call load_config in PVE::LXC::Config instead of PVE::LXC
2016-03-03 10:44:02 +01:00
Thomas Lamprecht
01b753b6b1
syslog: allow since/until parameters
...
allow the since/until parameters which journalctl understands
We use a really simple regex to check a valit date (time) stamp.
This can be done as this API call gets mainly used by the GUI where
we have full controll over what we send and additional journalctl
has already a good timestamp parser which can handle that.
2016-03-02 06:24:55 +01:00
Dietmar Maurer
05b252dc5c
PVE::API2::Nodes::Nodeinfo: import raise_param_exc
2016-03-01 09:22:39 +01:00
Wolfgang Link
82282acf4f
add pveam download
...
With this function you can download templates from the repositories.
2016-02-26 11:37:11 +01:00
Dietmar Maurer
f494187fb6
do not use Net::SSL
...
seems IO::Socket::SSL can now connect to proxy
2016-02-26 11:29:00 +01:00
Thomas Lamprecht
90c75580b6
add permissions to allow non root ceph configuration
...
Do not only allow root@pam to admin ceph server as some user do not
want to allow root logins and users with the Sys.Modify permission
should be able to modify ceph related stuff.
We use basically the following permissions:
Sys.Modify:
for any delete, add, modify action (POST, PUT, DELETE)
Sys.Audit and Datastore.Audit:
for any status/information view action (GET)
Sys.Log:
for viewing the Ceph log (was already implemented)
We have two exceptions creating and destroying osds. Those may only
be done by 'root@pam' for security reasons.
Also show users with any of those capabilities the ceph tab in the
web GUI.
Addresses bug#818
2016-02-12 08:22:16 +01:00
Thomas Lamprecht
89ceb8026a
use max_workers from datacenter.cfg for stopall/migrateall
...
If set limit the maximal worker count to the new datacenter.cfg
setting 'max_workers'.
For stopall we prefer this over the cpu count if it's set.
For migrateall we prefer the parameter but allow now to ommit
the parameter and then we use the new setting if set.
if both are not set we throw an error.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-02-11 11:13:55 +01:00
Thomas Lamprecht
10a9a736ed
fix PVE::HA use clause so HA resources get registered
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-01-27 17:11:21 +01:00
Wolfgang Bumiller
675946f221
fix #871 : netstat: include veth devices
...
Include container's veth devices in /nodes/{node}/netstat
2016-01-25 10:59:48 +01:00
Wolfgang Bumiller
28b699bc7b
fix bug #821 : add systemd-timesyncd to service list.
2016-01-22 11:24:21 +01:00
Dietmar Maurer
37bec89547
improve log messages at sytem shutdown
2016-01-22 11:24:17 +01:00
Alexandre Derumier
fc78c972ef
ceph.conf : remove auth_supported
...
It's not used since ceph 0.50,
replaced by the 3 others auth config options
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2016-01-22 11:24:15 +01:00
Thomas Lamprecht
efedd8c36f
make startall wait up to 60 seconds for quorum
...
Previously we waited 10 seconds, in PVE 4 system sometimes need more
time to initialize all services so the didn't execute the startall
command even if a few seconds later cfs quorum was etablished.
This is a background process started from the pve-manager init
script, thus waiting doesn't interferes with other processes, so
wait long enough.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-11-10 07:48:20 +01:00
Emmanuel Kasper
6bbdf981d1
Use protected mode to be able to execute root system commands
...
Signed-off-by: Emmanuel Kasper <e.kasper@proxmox.com>
2015-11-06 10:06:11 +01:00
Dietmar Maurer
cdb5a20942
report: change return type to string
2015-11-03 18:14:51 +01:00
Emmanuel Kasper
34ada77a13
Add REST endpoint for /report call
2015-11-03 18:10:44 +01:00
Thomas Lamprecht
3625a09137
Fix check if vm is ha managed in get_start_stop_list
...
The check used was completely wrong and so the startall and stopall
API calls touched HA managed service, which they shouldn't.
Using the vm_is_ha_managed call from the HA stack fixes that.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-10-20 09:50:00 +02:00
Thomas Lamprecht
04b2004b36
fix lxc config key in get_start_stop_list sub
...
When adding the new LXC config format we forgot to adapt the
get_start_stop_list and do s/pve.startup/onboot/
This fixes that qemu VMs were started always before LXC CTs,
irregardless of the defined order.
This also let's us simplify the surrounding code and reduce code
reuse.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-10-20 09:46:16 +02:00
Wolfgang Bumiller
7a9486a7e1
DNS ui/api: ipv6 support
2015-10-05 12:33:42 +02:00
Alexandre Derumier
3f0d1a4bfd
NetworkEdit : add support for vlan interfaces.
...
Edit only for now, create will come soon in another patch
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-09-25 07:06:48 +02:00
Alexandre Derumier
a1604d7046
add bridge vlan aware checkbox
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-09-16 11:02:43 +02:00
Wolfgang Link
6f9ea1c199
fix output percent_used in rbd pools
...
This fix is essential of cause json field changes in the ceph api.
They change the field size in pool to max_avail
and the field total_size in stats to total_max_avail
2015-09-09 06:41:54 +02:00
Emmanuel Kasper
eb5d01365b
Rename onboot and startup parameters to follow vm.conf synthax
...
This fixes the problem of containers not autostarting with onboot=1
2015-09-08 11:13:32 +02:00
Dietmar Maurer
b38516ebec
add use clause for PVE::API2::LXC::Status
2015-09-07 11:01:03 +02:00
Emmanuel Kasper
1b5e56f283
Fix package path to startup and shutdown subroutines
2015-09-07 10:58:12 +02:00
Wolfgang Link
67469842a0
complete optional packet list for pveversion
2015-08-25 09:39:14 +02:00
Wolfgang Bumiller
957a59b308
Ceph: fix old interfaces access in find_node_ip
...
Fixes #681
2015-08-12 09:43:03 +02:00
Dietmar Maurer
eafe236e8a
pveversion: add criu package
2015-08-10 09:55:00 +02:00
Wolfgang Link
241c6f94c5
Add extra optional list to pveversion
...
if the packet on the opt list is not installed, it will not shown.
2015-08-10 09:53:18 +02:00
Wolfgang Bumiller
5301228562
fix a remote_node_ip calling context
...
Using remote_node_ip to build a hash needs to explicitly
request a scalar context.
2015-07-30 08:58:04 +02:00
Thomas Lamprecht
c2dbc5e32d
fix bug #662 : wrong subroutine for parsing startup order
...
Changed from old, now missing, subroutine parse_startup() to new
pve_parse_startup_order()
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-07-28 09:31:09 +02:00
Thomas Lamprecht
4341db1d2f
Added functionality do disable temporary a backup job
...
Added an option to disable a backup job while preserving its
settings. When a job is disabled a '#' is added in front of the vzdump
command in the vzdump.cron file. So the cron job still fires,
but only a comment gets executed. If we would comment out the cron job
a bit more changes to the parser would be needed.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2015-07-27 09:15:09 +02:00
Alen Grizonic
d6ca60267f
lxc added to read_pool
...
Signed-off-by: Alen Grizonic <a.grizonic@proxmox.com>
2015-07-22 13:30:23 +02:00
Dietmar Maurer
761a2b311c
allow to download templates with type lxc
2015-07-02 11:25:08 +02:00
Dietmar Maurer
502a69ef9e
fix bug #648 : forward call to correct node
2015-06-30 07:04:25 +02:00
Wolfgang Bumiller
3ed15e6c11
PVE::API2::Network: network_interfaces update + ipv6
2015-06-26 08:54:17 +02:00
Wolfgang Bumiller
905c2f5176
PVE::API2::Ceph: network_interfaces update + ipv6
2015-06-26 08:53:09 +02:00
Dietmar Maurer
c9ea843b1b
pveversion: also remove clvm
2015-06-19 12:40:18 +02:00
Dietmar Maurer
21ccef4fb4
pveversion: also list lxcfs and cgmanager
2015-06-19 12:31:09 +02:00
Dietmar Maurer
97f6e02926
pveversion: fix package list for pve 4.0
2015-06-19 12:24:58 +02:00
Dietmar Maurer
04fb6e38e5
GUI: add ksmtuned service
2015-06-11 09:29:27 +02:00
Dietmar Maurer
317146196c
API change: remove bootlog API, use new dump_journal helper for syslog
...
The systemd journal contains boot log entries.
2015-06-09 12:18:30 +02:00
Dietmar Maurer
50d4dc1749
implement service API using systemctl
2015-06-05 15:32:14 +02:00
Dietmar Maurer
74e3975e12
remove UBC GUI
2015-06-02 11:53:19 +02:00
Dietmar Maurer
91d7c7aa00
API change: /cluster/status - do not use clustat
2015-06-02 11:05:30 +02:00
Dietmar Maurer
94c47be79d
fix typo
2015-06-02 08:42:32 +02:00
Wolfgang Bumiller
eb6d749792
pass port family to next_vnc_port
2015-05-12 12:16:26 +02:00
Dietmar Maurer
2c27e4b7c7
lxc: implement startup and onboot option
2015-04-22 10:49:30 +02:00
Dietmar Maurer
989b774393
depend on new pve-container package, activate LXC API
2015-04-18 09:40:44 +02:00
Dietmar Maurer
0532bd2857
re-add template download code
...
this was removed by accident.
2015-04-16 07:58:50 +02:00
Dietmar Maurer
e877877f5e
use new ha infrastructure
2015-04-03 08:36:59 +02:00
Dietmar Maurer
dafb62468e
remove OpenVZ related code
...
There is still no OpenVZ for kernel 3.10 or newer, so we remove that code now.
2015-03-27 13:43:59 +01:00
Dietmar Maurer
7e5cb2f0b8
use PVE::HA::Config to skip HA enabled VMs
2015-03-27 13:43:59 +01:00
Dietmar Maurer
c0d696f9da
fix proxversion -v for jessie release
2015-03-06 11:30:40 +01:00
Dietmar Maurer
42a55af27b
skip test for HA managed VMs
...
unless we have a replavement for rgmanager
2015-03-03 09:20:20 +01:00
Dietmar Maurer
297faa1258
use new PVE::Cluster::vm_is_ha_managed()
2015-03-03 07:11:28 +01:00
Alexandre Derumier
9c8a09a76d
api2 : node : add migrate_all
...
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-02-11 07:01:44 +01:00
Alexandre Derumier
c09c7160a5
api2: node : startall : add force option
...
force start if onboot = 0
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-02-11 07:01:31 +01:00
Dietmar Maurer
eab837c4c4
cleanup vzdump -stop implementation
...
* do not unlink $pidfile inside stop_running_backups to avoid race conditions
* use pve UPID to save pid (see PVE::Tools::upid_decode)
* allow to pass -stop parameter to nomal backup job
* simple return 'OK' instead of calling exit() inside API call.
* rename stop_all_backups to stop_running_backups
2015-01-20 09:35:01 +01:00
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
Dietmar Maurer
a972b69db5
apt: group by Origin
...
code cleanups
2013-06-19 09:41:35 +02:00
Dietmar Maurer
d330e26f99
implement better method to compute changelog url
...
apt-get uses similar code.
2013-06-18 14:13:49 +02:00
Dietmar Maurer
9f6658a9fe
apt-get upgrade: pass --force-confdef and --force-confold to dpkg
2013-06-18 12:41:25 +02:00
Dietmar Maurer
396c9e4a01
improve changelog viewer
2013-06-18 11:46:32 +02:00
Dietmar Maurer
f5ed75de51
use LWP to download changelog
2013-06-18 10:30:30 +02:00
Dietmar Maurer
446f92178d
avoid warning about uninitialize values
...
And log a message to syslog when we update the package list.
2013-06-18 10:16:13 +02:00
Dietmar Maurer
c06e9cc8cf
apt: always create new AptPkg::Cache object.
...
To re-open database - else we get old/cached entries.
2013-06-18 09:52:28 +02:00
Dietmar Maurer
b688d4389b
implement changelog API
...
Fetching changelog at server side avoids security problems at
client (Same-Origin-Policy).
2013-06-18 09:46:25 +02:00
Dietmar Maurer
371dcc9243
apt: fix changelog url
2013-06-17 08:04:23 +02:00
Dietmar Maurer
00d48356de
add changelog url to package info
2013-06-13 11:52:32 +02:00
Dietmar Maurer
c2d3fbe07e
implement apt-get dist-upgrade
2013-06-13 11:52:32 +02:00
Dietmar Maurer
4806bc69a6
implement apt-get update
2013-06-13 11:52:31 +02:00
Dietmar Maurer
cd0bc36b6c
cache apt query in /var/lib/pve-manager/pkgupdates
2013-06-13 11:52:31 +02:00
Dietmar Maurer
21299915de
add API for apt using libapt-pkg-perl
2013-06-13 11:52:31 +02:00
Dietmar Maurer
1e53b5b3f6
allow to delete pools with non-existent VMs/Storage
2013-05-22 07:47:15 +02:00
Dietmar Maurer
b06c0d4d47
fix bug #374 : correctly remove destroyed container from pool
...
And use add_vm_to_pool/remove_vm_from_pool from PVE::AccessControl
2013-05-14 12:11:44 +02:00
Stefan Priebe
0455911df1
implement node netstat call to get current tap network counters
...
Changes since V2:
- swap in / out / transmit / receive again
Changes since V1:
- new return format (use an arrayref instead of a hash to be JS compatible)
- swap in / out / transmit / receive
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2013-04-19 11:43:09 +02:00
Dietmar Maurer
7a05d783d8
remove all references to apache2
2013-04-16 11:54:25 +02:00
Dietmar Maurer
ff9c330c5d
add bootlog
...
we use boodlogd on wheezy
2013-03-26 07:59:57 +01:00
Dietmar Maurer
1904114e36
network config: allow empty IP address/netmask
...
bump version to 2.3-13
2013-03-05 06:48:26 +01:00
Dietmar Maurer
d09f6f7d3c
fix IP address verification
2013-03-04 06:56:42 +01:00
Damien PIQUET
e16a27be12
Added ipv4 validation, forbid network and broadcast addresses
...
Signed-off-by: Damien PIQUET <piqudam@gmail.com>
2013-02-27 10:34:09 +01:00
Dietmar Maurer
5614bec08b
add task history to VM panel
2013-02-11 09:24:15 +01:00
Dietmar Maurer
20539e0c29
display KSM sharing on node status panel
2013-02-01 09:15:26 +01:00
Dietmar Maurer
e3ceeb18e7
fix bug #276 : create root mount point
2012-11-05 06:44:35 +01:00
Stefan Priebe
f2c68844cf
PVE/API2/Nodes: remove hardcoded blowfish cipher PVE/API2/OpenVZ: remove hardcoded blowfish cipher
...
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2012-10-31 14:00:36 +01:00
Dietmar Maurer
6806a0f851
vncproxy: wait until vnc port is ready (avoid connection errors)
2012-10-24 09:02:23 +02:00
Dietmar Maurer
92fd515b47
fix bug #205
2012-10-23 09:52:45 +02:00
Dietmar Maurer
a2d331848d
create /var/run/dtach at pvedaemon startup
...
Previos code creates the directory on the wrong node!
2012-10-02 10:11:16 +02:00
Dietmar Maurer
f9d4fc64e2
updates for vzctl 4.0
2012-10-02 09:28:11 +02:00
Dietmar Maurer
47a5865acb
improve task viewer
2012-09-14 09:47:55 +02:00
Dietmar Maurer
10cdf3ae1a
fix bug 178: correctly verify if VMID is already used
2012-09-05 09:42:18 +02:00
Dietmar Maurer
88ba9a1dde
fix spelling errors
2012-08-25 09:00:06 +02:00
Dietmar Maurer
5eec2b0446
fix startup ordering
2012-08-07 09:21:19 +02:00
Dietmar Maurer
3f12bcfb9e
use numeric sorting in startall
2012-06-05 06:16:55 +02:00
Dietmar Maurer
995853d082
also list pools with VM.Allocate permissions
2012-05-30 11:21:40 +02:00
Dietmar Maurer
336ec53a48
fix vzdump --exclude-path
2012-05-30 07:25:49 +02:00
Dietmar Maurer
b92400b6a7
add startall/stopall API and init script
2012-04-20 09:35:08 +02:00
Dietmar Maurer
bc8f054e98
activate storage before starting containers
2012-04-18 12:09:48 +02:00
Dietmar Maurer
e721a8293f
fix permissions on subscription api
2012-04-12 11:16:04 +02:00
Dietmar Maurer
00a93a4bef
cleanup subscription code
2012-04-05 08:04:06 +02:00
Dietmar Maurer
b193e4ac94
fix bug #137 : API change! Return node name using 'node' property.
2012-04-02 13:11:28 +02:00
Dietmar Maurer
bbb3512854
only save required information
2012-03-30 11:45:55 +02:00
Dietmar Maurer
5f7b79501f
use /etc/subscription to store subscription key
2012-03-29 11:30:11 +02:00
Dietmar Maurer
cd73c63b7d
fix bug #117 : automatically add domain to hostname
2012-03-29 10:20:27 +02:00
Dietmar Maurer
7a95afb978
use validdirectory instead of validdomains
2012-03-29 09:33:52 +02:00
Dietmar Maurer
60a452f24f
fix bug #97 : execute 'clusvcadm' commands for HA managed CTs
2012-03-27 10:59:51 +02:00
Dietmar Maurer
924800406b
fix container locking (avoid multiple restore processes)
...
Unlike flock, LockFile::Simple does not inherit locks to child process.
So we need to do the locking inside the child process.
2012-03-27 08:35:36 +02:00
Dietmar Maurer
16b69b6c3e
add subscription status to datacenter summary
2012-03-26 10:39:10 +02:00
Dietmar Maurer
8ae3531231
fix error message
...
Only test MD5 if status is active
2012-03-26 08:24:15 +02:00
Dietmar Maurer
8f9217dc97
use PVE::ProcFSTools::read_cpuinfo to get numbert of sockets
2012-03-26 08:00:57 +02:00
Dietmar Maurer
21ace8d328
add subscription management API
2012-03-23 06:31:34 +01:00
Dietmar Maurer
52878b0a38
use Digest::SHA instead of Digest::SHA1
2012-03-20 12:33:38 +01:00
Dietmar Maurer
37a9901c3c
better way to select storage node for pool statistic
2012-03-06 11:11:53 +01:00
Dietmar Maurer
e4d5bf7257
improve network API - add more gettext markers
2012-02-29 12:39:12 +01:00
Dietmar Maurer
493a4387b6
cleanup and fix openvz vswap handling
2012-02-29 09:21:17 +01:00
Dietmar Maurer
0d246d07d8
fix openvz memory setting
2012-02-27 12:09:59 +01:00
Dietmar Maurer
c916497537
implement template download
...
Also added turnkeylinux.com
2012-02-21 11:45:30 +01:00
Dietmar Maurer
8710f2803a
add mount/unmount command for openvz
2012-02-20 10:11:49 +01:00
Dietmar Maurer
5c80f72c80
include use clause for exception handling
2012-02-17 06:07:22 +01:00
Dietmar Maurer
d553e535ab
fix vnc shell to nodes
2012-02-16 08:22:03 +01:00
Dietmar Maurer
940e4d9ea6
fix pool stats
2012-02-10 08:32:17 +01:00
Dietmar Maurer
8993f2db79
add permissions for openvz create/update
2012-02-07 07:26:07 +01:00
Dietmar Maurer
85dc4bf710
add permission checks on openvz API
2012-02-06 12:59:17 +01:00
Dietmar Maurer
4412265f02
check storage permissions on vzdump API
2012-02-06 11:41:48 +01:00
Dietmar Maurer
449f1b5d2f
require Sys.Audit to read cluster status
2012-02-06 11:23:30 +01:00
Dietmar Maurer
98e84b16d5
set permissions for VZDump API
2012-02-06 11:17:42 +01:00
Dietmar Maurer
d0289a19e5
fix permissions on node API
...
Remove upload method (now in PVE::API2::Storage::Status)
2012-02-06 09:54:09 +01:00
Dietmar Maurer
461e4a46d1
add permissions for service API
2012-02-06 09:38:30 +01:00
Dietmar Maurer
00cc94d33e
add permissions for task API
2012-02-06 09:33:57 +01:00
Dietmar Maurer
937515d61b
add permissions for backup API
2012-02-06 08:17:25 +01:00
Dietmar Maurer
6caab4e0c1
add pool selector to PVE.qemu.CreateWizard
2012-02-03 13:50:11 +01:00
Dietmar Maurer
a285f01438
add/improve pool permission check
2012-01-31 09:10:35 +01:00
Dietmar Maurer
19a6b9f1ff
implement PoolMember GUI
2012-01-30 12:02:56 +01:00
Dietmar Maurer
84916eb2d9
render resource pools
2012-01-30 07:09:47 +01:00
Dietmar Maurer
f16eb02dea
moved Pool.pm from AccessControl.pm
2012-01-27 08:39:46 +01:00
Dietmar Maurer
7d020b4246
implement new check attribute for permissions.
...
We use a simple prefix notation to express complex expressions.
2012-01-23 12:18:27 +01:00
Dietmar Maurer
e4d554ba9b
implement PasswordEdit dialog
...
And cleanup permission check code.
2012-01-20 12:56:48 +01:00
Dietmar Maurer
57ebda0841
use new assemble_vnc_ticket
2012-01-19 09:32:58 +01:00
Dietmar Maurer
a0af013278
add Datacenter summary
2011-12-23 11:23:04 +01:00
Dietmar Maurer
58bd719401
display when VM is managed by HA, cleanups
2011-12-22 13:24:51 +01:00
Dietmar Maurer
948abe8575
fix openvz create (use vzctl to create new container)
2011-12-22 12:08:07 +01:00
Dietmar Maurer
7a9f288ae3
add rgmanager to service list (and remove clvm)
2011-12-22 09:45:48 +01:00
Dietmar Maurer
6e4b266488
implement ha config commit
2011-12-22 09:45:17 +01:00
Dietmar Maurer
a06a3eacf5
start adding HA Config
2011-12-21 14:36:59 +01:00
Dietmar Maurer
e09058af9a
use new set_result_attrib
2011-12-21 07:11:04 +01:00
Dietmar Maurer
8747a9ece5
add API to query version info
...
Normaly all nodes should have the same version, so /api2/json/version is
good enough for most situations. But you can also query the version on
each node using /api2/json/nodes/{node}/version
2011-12-20 07:04:39 +01:00
Dietmar Maurer
51ed1415cd
improve ocf agent and openvz api
2011-12-15 13:49:13 +01:00
Dietmar Maurer
45116ffb90
use new AbstractMigrate.pm
2011-12-06 10:18:23 +01:00
Dietmar Maurer
0618d44689
implemente openvz migration
2011-12-02 10:38:41 +01:00
Dietmar Maurer
a7e42354de
fix bug 45: skip external VMs
2011-11-28 10:19:48 +01:00
Dietmar Maurer
f4a8bab48f
allow exclude-path in /etc/vzdump.conf
2011-11-28 08:14:58 +01:00
Dietmar Maurer
4baf5d13d1
use new syntax for PVE::JSONSchema::get_options
2011-11-24 12:22:24 +01:00
Dietmar Maurer
7b8e404522
fix bug 48: proxy initlop to correct node
2011-11-18 06:15:55 +01:00
Dietmar Maurer
7e79e293e8
implement openvz migrate
2011-11-17 14:36:25 +01:00
Dietmar Maurer
49046e5392
fix bug 39: proxy backup request to correct node
2011-11-17 11:51:47 +01:00
Dietmar Maurer
2c8e0b1537
add/display storage option
2011-11-14 09:33:02 +01:00
Dietmar Maurer
2d590018e5
add initlog API
2011-11-08 07:52:41 +01:00
Dietmar Maurer
607263cbf6
use PVE::Tools::dump_logfile
2011-11-08 07:49:09 +01:00
Dietmar Maurer
9f7678839d
support more than 'local' storage for openvz.
...
It is now possible to use NFS or other directory type storages.
2011-11-07 12:35:38 +01:00
Dietmar Maurer
31aef76131
cleanup vzdump backup/cron code
2011-10-31 08:47:18 +01:00
Dietmar Maurer
b0905e3a84
use vzdump.cron instead of vzdump
2011-10-31 07:33:04 +01:00
Dietmar Maurer
53c6bb6cde
add delete option to backup api
2011-10-28 07:59:00 +02:00
Dietmar Maurer
7625ea19ee
use starttime hh:mm instead of hour and minute
2011-10-27 09:44:24 +02:00
Dietmar Maurer
badcb8d162
allow to filter specific resource types
2011-10-25 13:10:54 +02:00
Dietmar Maurer
063bb19ba8
correctly quote shell arguments inside vzdump cron file
2011-10-25 13:09:49 +02:00
Dietmar Maurer
ac27b58d10
finnish and cleanup vzdump API
2011-10-25 09:28:55 +02:00
Dietmar Maurer
7cdf443cb0
add vzdump cron API
2011-10-24 12:59:31 +02:00
Dietmar Maurer
3736f16ba4
corretly set ostemplate
2011-10-24 08:36:27 +02:00
Dietmar Maurer
89cd40282b
implement simple restore dialog
2011-10-20 11:20:45 +02:00
Dietmar Maurer
30edfad922
start backup/restore GUI
2011-10-18 12:49:14 +02:00
Dietmar Maurer
aabf3adddd
implement vzrestore
...
This just calls create_vm (restore is a special case of create).
2011-10-17 08:23:56 +02:00
Dietmar Maurer
bf58f8ddda
plug VZDump into our API
2011-10-14 13:43:06 +02:00
Dietmar Maurer
c661ad50d2
use backgroud tasks for service actions
2011-10-11 10:06:25 +02:00
Dietmar Maurer
fc2b50c1dc
use new asynchronous API for qemu
2011-10-10 13:22:17 +02:00
Dietmar Maurer
96e1743e3e
log openvz configuration changes
2011-10-10 09:52:13 +02:00
Dietmar Maurer
a42f6acbcb
run openvz destroy_vm as background task
2011-10-10 09:15:11 +02:00
Dietmar Maurer
7ca813e6fd
run openvz create_vm as background task
2011-10-10 09:10:17 +02:00
Dietmar Maurer
9056e748db
add GUI for user_beancounters
2011-10-07 13:58:56 +02:00
Dietmar Maurer
56203bf1f7
add API for openvz user_beancounters
2011-10-07 12:20:15 +02:00
Dietmar Maurer
337dca7c2a
implement openvz option view/edit
2011-10-05 13:23:47 +02:00
Dietmar Maurer
d9f0ffa99d
add ressource editor for openvz
2011-10-05 11:57:52 +02:00
Dietmar Maurer
b1b121d57d
implement vncproxy API for openvz
2011-10-05 07:35:15 +02:00
Dietmar Maurer
d9c18330d7
add rrd API for openvz
2011-10-04 12:20:17 +02:00
Dietmar Maurer
88a6668d3e
correctly decode description
2011-10-04 11:54:09 +02:00
Dietmar Maurer
0715179668
implement openvz start/stop
2011-10-04 11:05:25 +02:00
Dietmar Maurer
4223bcbaeb
automatically use DNS settings from host
2011-10-03 13:05:15 +02:00
Dietmar Maurer
8835373de1
fix node status when no cluster configured
2011-09-29 07:08:01 +02:00
Dietmar Maurer
c3163e376b
implemented vm_config for openvz
2011-09-28 15:31:47 +02:00
Dietmar Maurer
9020f201c9
implement update_vm for openvz
2011-09-28 14:31:39 +02:00
Dietmar Maurer
339e41597d
add openvz support (cli only for now)
2011-09-28 14:08:54 +02:00
Dietmar Maurer
bc7bff8e4f
check if nodes are online
2011-09-19 13:15:26 +02:00
Dietmar Maurer
4380b8d9ce
avoid interger conversion warnings
2011-09-19 11:08:39 +02:00
Dietmar Maurer
c5693297d3
use PVE::RPCEnvironment::check_worker() to impl. stop_task
2011-09-14 08:17:17 +02:00
Dietmar Maurer
2bb9208f71
use CMan instead of corosync
...
because the service is called /etc/init.d/cman (although the
binary running is corosync)
2011-08-26 09:06:16 +02:00
Dietmar Maurer
beb651ee65
removed automake/autoconf, removed unused files
2011-08-23 16:11:04 +02:00