]>
git.proxmox.com Git - pve-container.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Dietmar Maurer [Tue, 30 Jun 2015 04:48:44 +0000 (06:48 +0200)]
find_lxc_pid: cleanup regex, raise exception
Alexandre Derumier [Mon, 29 Jun 2015 16:36:44 +0000 (18:36 +0200)]
fix hotplug ip configuration V4
changelog:
V2: find lxc pid from /proc/
V3: fix parse_lxc_network (name is mandatory, bridge optionnal)
V4: revert find_lxc_pid
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Tue, 30 Jun 2015 04:28:38 +0000 (06:28 +0200)]
add support for Ubuntu 14.04 and 12.04
Dietmar Maurer [Mon, 29 Jun 2015 10:40:20 +0000 (12:40 +0200)]
bump version to 0.9-1
Dietmar Maurer [Mon, 29 Jun 2015 10:35:57 +0000 (12:35 +0200)]
correctly untaint crontab filenames
Dietmar Maurer [Mon, 29 Jun 2015 08:48:32 +0000 (10:48 +0200)]
new rewrite_ssh_host_keys hook
I want to reuse that in future for clone.
Dietmar Maurer [Mon, 29 Jun 2015 08:42:23 +0000 (10:42 +0200)]
avoid warning about undefined values
Dietmar Maurer [Sat, 27 Jun 2015 13:57:49 +0000 (15:57 +0200)]
add a link to backup my claim
Alexandre Derumier [Thu, 25 Jun 2015 05:06:43 +0000 (07:06 +0200)]
add hotplug ip configuration
fixme:
-ip removal
-ipv6 support
-permanent guest file write config ?
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 25 Jun 2015 05:06:41 +0000 (07:06 +0200)]
add net hotplug
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Thu, 25 Jun 2015 05:06:39 +0000 (07:06 +0200)]
add net hot-unplug
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Wed, 24 Jun 2015 11:34:59 +0000 (13:34 +0200)]
add support for Ubuntu 15.04
Dietmar Maurer [Wed, 24 Jun 2015 04:42:16 +0000 (06:42 +0200)]
bump version to 0.8-1
Dietmar Maurer [Wed, 24 Jun 2015 04:38:48 +0000 (06:38 +0200)]
only use lxc-pve-mount-hook for containers on /etc/pve/lxc
That way it is still possible to create arbitrary named container with
low level lxc-create tools.
Dietmar Maurer [Mon, 22 Jun 2015 09:49:37 +0000 (11:49 +0200)]
code cleanup
Alexandre Derumier [Mon, 22 Jun 2015 09:22:20 +0000 (11:22 +0200)]
enable lxc hotplug
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
w.link@proxmox.com [Mon, 22 Jun 2015 08:34:44 +0000 (10:34 +0200)]
Extent man description for network settings
There was no source expect the sourcecode, where the user can see the possible options.
Signed-off-by: w.link@proxmox.com <Wolfgang Link>
w.link@proxmox.com [Mon, 22 Jun 2015 08:34:43 +0000 (10:34 +0200)]
correct typo
Signed-off-by: w.link@proxmox.com <Wolfgang Link>
Alexandre Derumier [Sun, 21 Jun 2015 11:06:27 +0000 (13:06 +0200)]
lxc : vmstatus : add disk read|write stats
using cgroup blkio.throttle.io_service_bytes
They are also another cgroup blkio.io_service_bytes,
but it's only work with cfq io scheduler.
blkio.throttle.io_service_bytes works with any io scheduler
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Alexandre Derumier [Sat, 20 Jun 2015 12:13:36 +0000 (14:13 +0200)]
lxc: add hotplug memory && cpus cgroups value
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Wed, 3 Jun 2015 05:56:25 +0000 (07:56 +0200)]
allow lxc.cgroup.devices.deny settings in lxc config
Dietmar Maurer [Wed, 3 Jun 2015 04:15:17 +0000 (06:15 +0200)]
Revert "lxc-start does not close all FDs, so we cannot use run_command"
This reverts commit
c870574c4ff841b6c1df60a1826c36d08113c6ae .
Because lxc upstream fixed that bug.
Dietmar Maurer [Tue, 2 Jun 2015 13:33:30 +0000 (15:33 +0200)]
use float for cpulimit
Dietmar Maurer [Tue, 2 Jun 2015 05:16:03 +0000 (07:16 +0200)]
lxc-start does not close all FDs, so we cannot use run_command
simply use system() as workaround
Dietmar Maurer [Mon, 1 Jun 2015 10:30:27 +0000 (12:30 +0200)]
bump version to 0.7-2
Dietmar Maurer [Mon, 1 Jun 2015 10:29:38 +0000 (12:29 +0200)]
use nowait trigger for pve-api-updates
Dietmar Maurer [Mon, 1 Jun 2015 05:53:11 +0000 (07:53 +0200)]
rename cpus to cpulimit
Wolfgang Bumiller [Tue, 12 May 2015 14:04:05 +0000 (16:04 +0200)]
fix bad remote_node_ip usage
Wolfgang Bumiller [Tue, 12 May 2015 10:15:00 +0000 (12:15 +0200)]
pass port family to next_vnc_port
Dietmar Maurer [Fri, 8 May 2015 07:17:11 +0000 (09:17 +0200)]
add README
Dietmar Maurer [Fri, 8 May 2015 06:12:09 +0000 (08:12 +0200)]
write_lxc_config: write include statements first
Order in lxc configuration files is important! So we include defaults
first, so that we can overwrite them later.
Dietmar Maurer [Thu, 7 May 2015 07:09:52 +0000 (09:09 +0200)]
bump version to 0.7-1
Dietmar Maurer [Thu, 7 May 2015 06:59:37 +0000 (08:59 +0200)]
try to randomize crontab entries
Dietmar Maurer [Thu, 7 May 2015 05:05:49 +0000 (07:05 +0200)]
install global lxc config
To use lxc-pve-mount-hook for all lxc containers.
Dietmar Maurer [Wed, 6 May 2015 08:37:27 +0000 (10:37 +0200)]
depend on lxc-pve
Dietmar Maurer [Wed, 6 May 2015 08:21:34 +0000 (10:21 +0200)]
bump version to 0.6-1
Dietmar Maurer [Wed, 6 May 2015 07:50:53 +0000 (09:50 +0200)]
add upstart config power-status-changed.conf for centos6 containers
So that we can cleanly shutdown them
Dietmar Maurer [Wed, 6 May 2015 07:50:00 +0000 (09:50 +0200)]
allow/use empty network type
Dietmar Maurer [Wed, 6 May 2015 07:01:16 +0000 (09:01 +0200)]
use mingetty on centos6
Dietmar Maurer [Tue, 5 May 2015 12:45:23 +0000 (14:45 +0200)]
trigger pve-api-updates event
Dietmar Maurer [Tue, 5 May 2015 11:26:16 +0000 (13:26 +0200)]
new LXCSetup hook template_fixup
We use this to update/convert old templates to work with LXC
Dietmar Maurer [Tue, 5 May 2015 10:39:29 +0000 (12:39 +0200)]
add test case for centos6
Dietmar Maurer [Tue, 5 May 2015 10:34:48 +0000 (12:34 +0200)]
add class for redhat based containers
Alexandre Derumier [Sat, 2 May 2015 15:07:05 +0000 (17:07 +0200)]
create lockdir if not exist.
/run/ is a tmpfs on jessie and don't persist across reboot
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Dietmar Maurer [Fri, 1 May 2015 12:53:02 +0000 (14:53 +0200)]
use new subvolume API for zfspool
Dietmar Maurer [Fri, 1 May 2015 12:27:28 +0000 (14:27 +0200)]
use pve.volid if set
Dietmar Maurer [Thu, 30 Apr 2015 16:46:45 +0000 (18:46 +0200)]
bump version to 0.5-1
Dietmar Maurer [Thu, 30 Apr 2015 16:44:24 +0000 (18:44 +0200)]
merge config at restore
Dietmar Maurer [Wed, 29 Apr 2015 10:11:46 +0000 (12:11 +0200)]
fix restore from STDIN
Dietmar Maurer [Wed, 29 Apr 2015 09:59:10 +0000 (11:59 +0200)]
implement restore command
Dietmar Maurer [Wed, 29 Apr 2015 06:24:09 +0000 (08:24 +0200)]
implement vzdump plugin for LXC
Dietmar Maurer [Mon, 27 Apr 2015 09:03:02 +0000 (11:03 +0200)]
correctly include PVE::Storage
Dietmar Maurer [Mon, 27 Apr 2015 07:26:20 +0000 (09:26 +0200)]
use loop mount instead of qemu-nbd
This is less overhead.
Dietmar Maurer [Mon, 27 Apr 2015 07:24:37 +0000 (09:24 +0200)]
save volid inside config, so that we can cleanly destroy the container
Dietmar Maurer [Sat, 25 Apr 2015 05:40:08 +0000 (07:40 +0200)]
add code to use qemu-nbd with qcow2 images
Dietmar Maurer [Fri, 24 Apr 2015 16:14:39 +0000 (18:14 +0200)]
implement disk size parameter
Dietmar Maurer [Fri, 24 Apr 2015 14:49:29 +0000 (16:49 +0200)]
PVE::LXCCreate, use our own class instead of running extenal lxc-create
This way we can use all PVE::Storage features. This patch
uses a raw image for rootfs, which is loop mounted by lxc.
Dietmar Maurer [Thu, 23 Apr 2015 08:59:10 +0000 (10:59 +0200)]
bump version to 0.4-1
Dietmar Maurer [Thu, 23 Apr 2015 08:56:19 +0000 (10:56 +0200)]
rename test directories
Dietmar Maurer [Thu, 23 Apr 2015 08:49:25 +0000 (10:49 +0200)]
use dynamically created plugin objects for LXSetup
So that we can add additional information like the OS version.
Dietmar Maurer [Thu, 23 Apr 2015 07:49:33 +0000 (09:49 +0200)]
fix dns setup when using host dns configuration
Dietmar Maurer [Thu, 23 Apr 2015 07:28:24 +0000 (09:28 +0200)]
allow to setup root password
Dietmar Maurer [Thu, 23 Apr 2015 06:28:00 +0000 (08:28 +0200)]
improve parameter verification for nameserver and searchdomain
Dietmar Maurer [Wed, 22 Apr 2015 14:47:03 +0000 (16:47 +0200)]
implement dns setup for containers
Dietmar Maurer [Wed, 22 Apr 2015 14:12:24 +0000 (16:12 +0200)]
conside searchdomain when updating /etc/hosts
Dietmar Maurer [Wed, 22 Apr 2015 09:09:20 +0000 (11:09 +0200)]
implement nameserver and searchdomain options
Dietmar Maurer [Wed, 22 Apr 2015 08:48:31 +0000 (10:48 +0200)]
implement startup option
Dietmar Maurer [Wed, 22 Apr 2015 06:45:18 +0000 (08:45 +0200)]
implement onboot flag
Dietmar Maurer [Wed, 22 Apr 2015 06:40:13 +0000 (08:40 +0200)]
implement cpuunits, cleanup code
Dietmar Maurer [Wed, 22 Apr 2015 06:03:47 +0000 (08:03 +0200)]
add firewall and vlan tag network options
Dietmar Maurer [Wed, 22 Apr 2015 05:50:10 +0000 (07:50 +0200)]
bump version to 0.3-1
Dietmar Maurer [Wed, 22 Apr 2015 05:45:22 +0000 (07:45 +0200)]
implement lxcnetaddbr to bring up network
We do not use the lxc.network.link property anymore,
because we dynamically create the link name at startup,
depending on vlan settings. So we use pve.network.bridge
instead.
Dietmar Maurer [Tue, 21 Apr 2015 10:26:34 +0000 (12:26 +0200)]
implement swap and cpulimit
Dietmar Maurer [Mon, 20 Apr 2015 06:24:09 +0000 (08:24 +0200)]
add regression tests for inittab
Dietmar Maurer [Mon, 20 Apr 2015 06:22:13 +0000 (08:22 +0200)]
write inittab inside container
Dietmar Maurer [Mon, 20 Apr 2015 05:11:30 +0000 (07:11 +0200)]
add regression tests for network setup
Dietmar Maurer [Mon, 20 Apr 2015 05:06:48 +0000 (07:06 +0200)]
add mount hook, chnage network config for ip setup
We cannot use lxc.nextwork.ipv4 like setting, because that
causes lxc to manipulate network setup at startup. After
that a container is unable to setup interfaces correctly.
So we use extra setting for ip setup:
pve.network.ip
pve.network gw
pve.network.ip6
pve.network.gw6
Dietmar Maurer [Sun, 19 Apr 2015 12:07:20 +0000 (14:07 +0200)]
implement setup_network for debian
Dietmar Maurer [Sun, 19 Apr 2015 07:01:38 +0000 (09:01 +0200)]
autodetect OS distribution
Dietmar Maurer [Sun, 19 Apr 2015 06:48:23 +0000 (08:48 +0200)]
add regression test suite
Dietmar Maurer [Sat, 18 Apr 2015 14:00:06 +0000 (16:00 +0200)]
add helper classes to setup container configuration
Dietmar Maurer [Sat, 18 Apr 2015 08:39:16 +0000 (10:39 +0200)]
bump version to 0.2-1
Dietmar Maurer [Sat, 18 Apr 2015 08:37:08 +0000 (10:37 +0200)]
improve CLI, add start/stop/shutdown/console/enter/...
Dietmar Maurer [Sat, 18 Apr 2015 07:34:13 +0000 (09:34 +0200)]
set uptime if VM is running (dummy)
I do not know how to get real uptime?
Dietmar Maurer [Sat, 18 Apr 2015 07:25:13 +0000 (09:25 +0200)]
disable debugging code
Dietmar Maurer [Sat, 18 Apr 2015 06:32:58 +0000 (08:32 +0200)]
new helper find_lxc_console_pids
Dietmar Maurer [Fri, 17 Apr 2015 14:34:15 +0000 (16:34 +0200)]
implement console API
Dietmar Maurer [Fri, 17 Apr 2015 13:20:56 +0000 (15:20 +0200)]
implement API for start/stop, depend on pve-ha-manager
Dietmar Maurer [Fri, 17 Apr 2015 10:23:58 +0000 (12:23 +0200)]
improve vmstatus: include memory and disk usage
Dietmar Maurer [Fri, 17 Apr 2015 09:20:38 +0000 (11:20 +0200)]
nicely format 'pct list' output
Dietmar Maurer [Fri, 17 Apr 2015 07:40:55 +0000 (09:40 +0200)]
allow to get/set memory and swap
Dietmar Maurer [Fri, 17 Apr 2015 05:20:54 +0000 (07:20 +0200)]
improve lxc config parser
Dietmar Maurer [Thu, 16 Apr 2015 14:19:49 +0000 (16:19 +0200)]
vmstatus: add dummy values
Dietmar Maurer [Thu, 16 Apr 2015 12:34:41 +0000 (14:34 +0200)]
allow to set network interfaces
Dietmar Maurer [Thu, 16 Apr 2015 09:44:38 +0000 (11:44 +0200)]
implement update_vm API (change hostname for now)
Dietmar Maurer [Thu, 16 Apr 2015 09:16:50 +0000 (11:16 +0200)]
implement create_vm API
Dietmar Maurer [Thu, 16 Apr 2015 05:10:26 +0000 (07:10 +0200)]
initial commit