Dietmar Maurer
1f254b22e0
use new PVE::Storage::abs_filesystem_path
2013-10-01 12:45:20 +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
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
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
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
bc8f054e98
activate storage before starting containers
2012-04-18 12:09:48 +02:00
Dietmar Maurer
cd73c63b7d
fix bug #117 : automatically add domain to hostname
2012-03-29 10:20:27 +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
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
8710f2803a
add mount/unmount command for openvz
2012-02-20 10:11:49 +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
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
57ebda0841
use new assemble_vnc_ticket
2012-01-19 09:32:58 +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
e09058af9a
use new set_result_attrib
2011-12-21 07:11:04 +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
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
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
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
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
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
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
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