]> git.proxmox.com Git - pve-container.git/log
pve-container.git
6 years agoadd vm_stop helper
Wolfgang Bumiller [Fri, 13 Oct 2017 11:25:50 +0000 (13:25 +0200)]
add vm_stop helper

Since we use a post-stop hook to unmount all file systems at
container shutdown rather than a stop hook (because at this
point there are still multiple mount namespaces around), we
need to wait for the lxc-start/monitor process to exit to be
sure all the unmounting has succeeded, because it will put
the container into a STOPPED state before executing the
post-stop hook, making lxc-wait and lxc-stop signal success
too early when waiting for the container to stop.

Introduce a vm_stop() helper which calls lxc-stop and then
waits for the command socket to close. Note that lxc-stop
already has the "hard-stop-after-timeout" mechanic built in,
so the 'forceStop' code path of the vm_stop api call removed
here was not actually necessary.
Technically we could pass --nokill for the behavior assumed
there, but for now this patch should not be causing any
actual behavior changes.

6 years agofix read_cgroup_value for unprivileged containers
Wolfgang Bumiller [Tue, 17 Oct 2017 07:57:10 +0000 (09:57 +0200)]
fix read_cgroup_value for unprivileged containers

We changed this to read values from the container's inner
cgroup, but didn't take into account that unprivileged
containers don't have one.
Add a parameter to specify whether it is an unprivileged
container.

Fixes: 41ef9833bf00 ("include ns/ dir in read_cgroup_value")
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agobuild: mark lxc@.service.d for future removal
Fabian Grünbichler [Wed, 11 Oct 2017 12:13:13 +0000 (14:13 +0200)]
build: mark lxc@.service.d for future removal

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agoswitch to pve-container@ unit
Fabian Grünbichler [Wed, 11 Oct 2017 12:13:12 +0000 (14:13 +0200)]
switch to pve-container@ unit

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agoadd new pve-container units
Fabian Grünbichler [Wed, 11 Oct 2017 12:13:11 +0000 (14:13 +0200)]
add new pve-container units

to replace lxc@.service.

we want our unit to only start when manually invoked (by our code), and
stop on shutdown via pve-guests or pve-ha-lrm. lxc@ units are stopped by
systemd on shutdown, because of transitive dependencies.

since all instances of template service units are by default assigned to
a new slice with DefaultDependencies=yes, we also need to introduce our
own custom slice with DefaultDependencies=no.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agoinstall lxc@ snippets to correct location
Fabian Grünbichler [Wed, 11 Oct 2017 12:13:10 +0000 (14:13 +0200)]
install lxc@ snippets to correct location

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agofixes #1227: include ns/ dir in read_cgroup_value
Philip Abernethy [Fri, 6 Oct 2017 13:52:15 +0000 (15:52 +0200)]
fixes #1227: include ns/ dir in read_cgroup_value

this fixes the disk I/O graph and now also correctly sums the values.

6 years agobuild: reformat debian/control
Fabian Grünbichler [Wed, 4 Oct 2017 09:05:33 +0000 (11:05 +0200)]
build: reformat debian/control

using wrap-and-sort -abt

6 years agodoc: add auto/dhcp/manual to netX ip6 description
Fabian Grünbichler [Mon, 15 May 2017 07:44:19 +0000 (09:44 +0200)]
doc: add auto/dhcp/manual to netX ip6 description

and shorten IPv6Format to IPv6

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agodoc: add dhcp/manual to netX ip description
Fabian Grünbichler [Mon, 15 May 2017 07:44:18 +0000 (09:44 +0200)]
doc: add dhcp/manual to netX ip description

and shorten IPv4Format to IPv4

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agoVM.Snapshot.Rollback privilege added
Matthias Urban [Wed, 13 Sep 2017 10:30:35 +0000 (12:30 +0200)]
VM.Snapshot.Rollback privilege added

VM.Snapshot.Rollback privilege added

Signed-off-by: Matthias Urban <matthias.urban@pure-systems.com>
6 years agobump version to 2.0-16
Wolfgang Bumiller [Tue, 12 Sep 2017 11:51:01 +0000 (13:51 +0200)]
bump version to 2.0-16

6 years agoconfig: update for lxc-2.1
Wolfgang Bumiller [Wed, 6 Sep 2017 13:46:37 +0000 (15:46 +0200)]
config: update for lxc-2.1

With 2.1 a bunch of keys were renamed for consistency, and
network interface configuration is now done with explicit
indices.

Since we allow various custom "lxc.*" keys in our container
configuration we need to deal with this change and we now
inform the user about this with a warning.

6 years agoAPI/clone: do not overwrite global signal handlers
Thomas Lamprecht [Wed, 6 Sep 2017 11:29:05 +0000 (13:29 +0200)]
API/clone: do not overwrite global signal handlers

perls 'local' must be either used in front of each $SIG{...}
assignments or they must be put in a list, else it affects only the
first variable and the rest are *not* in local context.

This may cause weird behaviour where daemons seemingly do not get
terminating signals delivered correctly and thus may not shutdown
gracefully anymore.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agobuild: drop -rfakeroot
Fabian Grünbichler [Fri, 1 Sep 2017 06:58:00 +0000 (08:58 +0200)]
build: drop -rfakeroot

it's the default anyway.

6 years agobuild: use 'git rev-parse' for GITVERSION
Fabian Grünbichler [Fri, 1 Sep 2017 06:57:48 +0000 (08:57 +0200)]
build: use 'git rev-parse' for GITVERSION

6 years agoclose #1478: add check for unsupported config
Philip Abernethy [Wed, 23 Aug 2017 15:04:37 +0000 (17:04 +0200)]
close #1478: add check for unsupported config

Adds a check if an unprivileged container is configured to use
quota on any of its mountpoints. If so an understandable error
message is given. Ideally I'd like to catch those
configurations on the GUI, too, to avoid users just running
into it.

6 years agosetup/fedora: use os_release and support 26
Thomas Lamprecht [Tue, 22 Aug 2017 13:43:25 +0000 (15:43 +0200)]
setup/fedora: use os_release and support 26

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agoupdate_lxc_config: remove ostype check
Thomas Lamprecht [Tue, 22 Aug 2017 13:43:24 +0000 (15:43 +0200)]
update_lxc_config: remove ostype check

We have altogether three calls to this method, all in API context with already
sanitizied ostype.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agofix os-release mapping for similar flavoured distros
Thomas Lamprecht [Tue, 22 Aug 2017 13:43:23 +0000 (15:43 +0200)]
fix os-release mapping for similar flavoured distros

This avoid failing the check where the auto detected type differs
from the configs ostype.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agoremove unused Data::Dumper
Thomas Lamprecht [Tue, 22 Aug 2017 13:43:22 +0000 (15:43 +0200)]
remove unused Data::Dumper

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agosetup: recognize 'sles' os_release ID
Wolfgang Bumiller [Wed, 2 Aug 2017 08:40:39 +0000 (10:40 +0200)]
setup: recognize 'sles' os_release ID

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
6 years agosetup/suse: fix #1464: support SLES 12 container
Thomas Lamprecht [Tue, 1 Aug 2017 09:28:59 +0000 (11:28 +0200)]
setup/suse: fix #1464: support SLES 12 container

SLES 12 shares its base with opensuse leap, so we shouldn't get into
much trouble here.
I copied the os-release file from a SLES installation.
I didn't found official SLES CT/rootfs images, people with access to
the repos should be able to create them.

Fixes: #1464
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agosetup/suse: support tumbleweed container
Thomas Lamprecht [Tue, 1 Aug 2017 09:28:58 +0000 (11:28 +0200)]
setup/suse: support tumbleweed container

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agosetup/suse: check early if setting up the ct getty service is needed
Thomas Lamprecht [Tue, 1 Aug 2017 09:28:57 +0000 (11:28 +0200)]
setup/suse: check early if setting up the ct getty service is needed

Explixitly set if we need to call setup_container_getty_service(), as
its more expressive, especially with suse version jumping in mind.
Also next patches will add support for other opensuse based releases
(tumbleweed, sles).

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agosetup/suse: use new os_release_var to simplify version detection
Thomas Lamprecht [Tue, 1 Aug 2017 09:28:56 +0000 (11:28 +0200)]
setup/suse: use new os_release_var to simplify version detection

Not only simplify but also correct version detection.

Until now we checked the files 'SuSE-release' and 'SuSE-brand' for
version parsing. 'SuSE-release' is marked as obsolete and replaced by
the newer standarised 'os-release', and the fallback is plain wrong
and not guaranteed to exist or match the actual version.

'SuSE-brand' does not get supplied by the 'openSUSE-release' package
but by another package, i.e. 'branding-openSUSE' this isn't
guaranteed to be installed, at least on CT creation, and may have
another version as the actual template provides. E.g. on tumbleweed I
get version 13.3 there, while the release package tells me "20170729".

As "os-release" is available at least sine openSUSE 12.2, and we
support 13.X and newer currently, just use it instead.

Adapt the regex as the non-rolling releases have always a X.Y format.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agouse /etc/os-release
Wolfgang Bumiller [Tue, 1 Aug 2017 09:28:55 +0000 (11:28 +0200)]
use /etc/os-release

This should exist everywhere, its content look like shell
assignments but are limited enough to not require a shell to
parse (see os-release(5) or its parts pasted as a comment to
the parse function).
Further motivation for this is the fact that in suse the
/etc/SuSE-release file is declared deprecated in favor of
/etc/os-release.
Note that we have to read the file in a protected_call to
avoid symlink issues.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agosetup: add a additional mapping for archlinux
Thomas Lamprecht [Tue, 1 Aug 2017 09:28:54 +0000 (11:28 +0200)]
setup: add a additional mapping for archlinux

Allows simpler distro detection in next patch. Note the "ostype" in
the config file will be still set to "archlinux" by Setup/ArchLinux

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agosetup: protected_call: the plugin is not required
Wolfgang Bumiller [Tue, 1 Aug 2017 09:28:53 +0000 (11:28 +0200)]
setup: protected_call: the plugin is not required

we don't use this anywhere where this would be the case

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agosetup: support returning a scalar in protected_call
Wolfgang Bumiller [Tue, 1 Aug 2017 09:28:52 +0000 (11:28 +0200)]
setup: support returning a scalar in protected_call

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agofix #1253: show ssh key fingerprints again
Wolfgang Bumiller [Mon, 24 Jul 2017 08:49:59 +0000 (10:49 +0200)]
fix #1253: show ssh key fingerprints again

ssh-keygen's fingerprint output has changed

6 years agobump version to 2.0-15
Wolfgang Bumiller [Mon, 24 Jul 2017 07:18:27 +0000 (09:18 +0200)]
bump version to 2.0-15

6 years agoubuntu: recognize 17.10
Wolfgang Bumiller [Mon, 24 Jul 2017 07:13:49 +0000 (09:13 +0200)]
ubuntu: recognize 17.10

6 years agodebian: recognize all stretch versions, translate buster/sid to 10
Wolfgang Bumiller [Mon, 24 Jul 2017 06:49:44 +0000 (08:49 +0200)]
debian: recognize all stretch versions, translate buster/sid to 10

6 years agobump version to 2.0-14
Dietmar Maurer [Wed, 28 Jun 2017 10:50:58 +0000 (12:50 +0200)]
bump version to 2.0-14

6 years agosnapshot-test.pm: ignore existing replication config
Dietmar Maurer [Wed, 28 Jun 2017 11:23:28 +0000 (13:23 +0200)]
snapshot-test.pm: ignore existing replication config

6 years agoallow disks on shared storages on replicated VMs
Wolfgang Bumiller [Tue, 27 Jun 2017 13:00:10 +0000 (15:00 +0200)]
allow disks on shared storages on replicated VMs

6 years agorefuse to add non-replicatable disks to replicating VMs
Wolfgang Bumiller [Tue, 27 Jun 2017 09:51:10 +0000 (11:51 +0200)]
refuse to add non-replicatable disks to replicating VMs

Unless replication is explicitly disabled for them.

6 years agoAPI HA tasks: we request states not execute them
Thomas Lamprecht [Wed, 21 Jun 2017 05:20:12 +0000 (07:20 +0200)]
API HA tasks: we request states not execute them

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agouse COMMON_TAR_FLAGS from pve-storage
Wolfgang Bumiller [Mon, 26 Jun 2017 11:55:02 +0000 (13:55 +0200)]
use COMMON_TAR_FLAGS from pve-storage

6 years agocreate: open templates as real root
Wolfgang Bumiller [Mon, 26 Jun 2017 11:55:01 +0000 (13:55 +0200)]
create: open templates as real root

When creating an unprivileged container previously couldn't
open template files the unprivileged namespace did not have
access to. This fixes that.

Note that we cannot pass the file via stdin since tar will
then refuse to extract compressed archives automatically.

6 years agoremove unused next_free_nbd_dev function
Wolfgang Bumiller [Mon, 26 Jun 2017 07:32:58 +0000 (09:32 +0200)]
remove unused next_free_nbd_dev function

6 years agobump version to 2.0-13
Dietmar Maurer [Thu, 22 Jun 2017 10:56:20 +0000 (12:56 +0200)]
bump version to 2.0-13

6 years agomigrate: pass the with_snapshots parameter
Wolfgang Bumiller [Thu, 22 Jun 2017 10:24:40 +0000 (12:24 +0200)]
migrate: pass the with_snapshots parameter

6 years agobump version to 2.0-12
Dietmar Maurer [Thu, 22 Jun 2017 07:11:17 +0000 (09:11 +0200)]
bump version to 2.0-12

6 years agoPVE::LXC::Migrate - use replication job, transfer replication state
Dietmar Maurer [Wed, 21 Jun 2017 10:32:50 +0000 (12:32 +0200)]
PVE::LXC::Migrate - use replication job, transfer replication state

6 years agoPVE::LXC::Migrate - add missing "use PVE::LXC::Config;"
Dietmar Maurer [Wed, 21 Jun 2017 09:14:35 +0000 (11:14 +0200)]
PVE::LXC::Migrate - add missing "use PVE::LXC::Config;"

6 years agouse full module path for storage_config
Dominik Csapak [Wed, 14 Jun 2017 11:25:41 +0000 (13:25 +0200)]
use full module path for storage_config

because it is not in the local scope

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agoget_replicatable_volumes: add unused volumes
Dietmar Maurer [Tue, 13 Jun 2017 10:18:10 +0000 (12:18 +0200)]
get_replicatable_volumes: add unused volumes

6 years agoget_replicatable_volumes: add additional tests
Dietmar Maurer [Tue, 13 Jun 2017 09:22:01 +0000 (11:22 +0200)]
get_replicatable_volumes: add additional tests

- skip volumes on shared storage
- die if $mptype ne 'volume'
- skip volumes if we do not 'own' them

6 years agoget_replicatable_volumes: pass $vmid parameter
Dietmar Maurer [Tue, 13 Jun 2017 07:15:35 +0000 (09:15 +0200)]
get_replicatable_volumes: pass $vmid parameter

6 years agosrc/PVE/API2/LXC.pm: aquire guest_migration_lock inside worker
Dietmar Maurer [Mon, 12 Jun 2017 09:12:02 +0000 (11:12 +0200)]
src/PVE/API2/LXC.pm: aquire guest_migration_lock inside worker

6 years agoAdd a migration lock to avoid a replication on rollback-time.
Wolfgang Link [Mon, 12 Jun 2017 08:38:21 +0000 (10:38 +0200)]
Add a migration lock to avoid a replication on rollback-time.

6 years agoPVE::LXC::Config - implement $cleanup flag for get_replicatable_volumes
Dietmar Maurer [Mon, 12 Jun 2017 07:13:27 +0000 (09:13 +0200)]
PVE::LXC::Config - implement $cleanup flag for get_replicatable_volumes

6 years agomigrate: implement insecure storage migration
Wolfgang Bumiller [Tue, 6 Jun 2017 08:03:58 +0000 (10:03 +0200)]
migrate: implement insecure storage migration

6 years agobump version to 2.0-11
Wolfgang Bumiller [Fri, 2 Jun 2017 07:16:53 +0000 (09:16 +0200)]
bump version to 2.0-11

6 years agoallow width and height parameter for vncproxy
Dominik Csapak [Wed, 24 May 2017 10:30:48 +0000 (12:30 +0200)]
allow width and height parameter for vncproxy

so that the novnc console can request a different screen size

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agobump version to 2.0-10
Dietmar Maurer [Wed, 31 May 2017 07:31:41 +0000 (09:31 +0200)]
bump version to 2.0-10

6 years agomigrate: aquire guest_migration_lock during
Dietmar Maurer [Wed, 31 May 2017 06:21:08 +0000 (08:21 +0200)]
migrate: aquire guest_migration_lock during

To block replication jobs.

6 years agodo not allow destroy if there are replication jobs
Dietmar Maurer [Tue, 23 May 2017 16:05:12 +0000 (18:05 +0200)]
do not allow destroy if there are replication jobs

6 years agoremove 'replicate' configuration - we will store that in another file
Dietmar Maurer [Tue, 23 May 2017 15:35:35 +0000 (17:35 +0200)]
remove 'replicate' configuration - we will store that in another file

6 years agouse Syscall module instead of raw syscall numbers
Thomas Lamprecht [Wed, 10 May 2017 13:03:46 +0000 (15:03 +0200)]
use Syscall module instead of raw syscall numbers

Raw syscall numbers were not platform independent, so replace them
with the new PVE::Syscall module which gets the syscall numbers from
syscall.ph, which provides the platform local values.

we cannot directly use syscall.ph as it is no normal perl module and
so it's usage requires special handling

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agomigrate: pass ssh_info to storage_migrate
Wolfgang Bumiller [Tue, 23 May 2017 07:04:44 +0000 (09:04 +0200)]
migrate: pass ssh_info to storage_migrate

6 years agobuild: run tests when building
Fabian Grünbichler [Wed, 17 May 2017 10:14:15 +0000 (12:14 +0200)]
build: run tests when building

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agotests: exit with -1 in case of failures
Fabian Grünbichler [Wed, 17 May 2017 10:14:14 +0000 (12:14 +0200)]
tests: exit with -1 in case of failures

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agotests: fix broken snapshot delete tests
Fabian Grünbichler [Wed, 17 May 2017 10:14:13 +0000 (12:14 +0200)]
tests: fix broken snapshot delete tests

these broke when the additonal "snapshot-delete" lock was
introduced.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agotests: use all target to run tests
Fabian Grünbichler [Wed, 17 May 2017 10:14:12 +0000 (12:14 +0200)]
tests: use all target to run tests

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agocheck replicate feature on any config update
Dietmar Maurer [Sat, 6 May 2017 14:29:24 +0000 (16:29 +0200)]
check replicate feature on any config update

6 years agoget_replicatable_volumes: replacemnet for PVE::ReplicationTools::get_syncable_guestdi...
Dietmar Maurer [Sat, 6 May 2017 13:40:37 +0000 (15:40 +0200)]
get_replicatable_volumes: replacemnet for PVE::ReplicationTools::get_syncable_guestdisks()

correctly scan for volumes inside snapshots.

This will also solve the cyclic package dependency propblem.

6 years agouse a single replicate property (format pve-replicate)
Dietmar Maurer [Sat, 6 May 2017 09:26:02 +0000 (11:26 +0200)]
use a single replicate property (format pve-replicate)

and remove that replication job status update code. This should be
handled by the replication code itself.

6 years agoRevert "Integrate storage replica in lxc migration."
Dietmar Maurer [Sat, 6 May 2017 09:06:35 +0000 (11:06 +0200)]
Revert "Integrate storage replica in lxc migration."

This reverts commit 05309cdf3f460733ec00184c0f45350f854d3737.

The commit changes the configuration before the VM is actually
migrated, so it is possible to have a wrong configuration when
migration fails for some reason. Also, I am quite unsure if
this automatic target change is really wanted. The patch also
contains wrong refereces to $self->{opts}->{node}.

6 years agoRevert "migrate: cleanup replica volume skip condition"
Dietmar Maurer [Sat, 6 May 2017 09:05:21 +0000 (11:05 +0200)]
Revert "migrate: cleanup replica volume skip condition"

This reverts commit e8b22494e9f2b7d5afd663f91b1574a097c66bf0.

6 years agobump version to 2.0-9
Dietmar Maurer [Tue, 2 May 2017 09:50:46 +0000 (11:50 +0200)]
bump version to 2.0-9

6 years agoRevert "fix 1153: let crypt() handle unicode CT passwords"
Dietmar Maurer [Tue, 2 May 2017 09:46:36 +0000 (11:46 +0200)]
Revert "fix 1153: let crypt() handle unicode CT passwords"

This reverts commit cfa3086d95c3a39b584b2d60aa53938e1f30b3dc.

We now corectly encode all parameter as utf8, so the previous
code is now correct.

6 years agobump version to 2.0-8
Dietmar Maurer [Tue, 2 May 2017 05:00:38 +0000 (07:00 +0200)]
bump version to 2.0-8

6 years agoadd support for Ubuntu 17.04 (zesty)
Dietmar Maurer [Tue, 2 May 2017 04:34:41 +0000 (06:34 +0200)]
add support for Ubuntu 17.04 (zesty)

7 years agobump version to 2.0-7
Wolfgang Bumiller [Fri, 28 Apr 2017 12:00:44 +0000 (14:00 +0200)]
bump version to 2.0-7

7 years agocleanup replication config update
Wolfgang Bumiller [Fri, 28 Apr 2017 08:46:27 +0000 (10:46 +0200)]
cleanup replication config update

7 years agomigrate: cleanup replica volume skip condition
Wolfgang Bumiller [Fri, 28 Apr 2017 08:43:37 +0000 (10:43 +0200)]
migrate: cleanup replica volume skip condition

7 years agoDestroy all remote and local replication datasets when a CT will destroyed.
Wolfgang Link [Mon, 24 Apr 2017 15:15:38 +0000 (17:15 +0200)]
Destroy all remote and local replication datasets when a CT will destroyed.

7 years agoIntegrate storage replica in lxc migration.
Wolfgang Link [Mon, 24 Apr 2017 15:15:37 +0000 (17:15 +0200)]
Integrate storage replica in lxc migration.

Now it is possible to migrate a CT when replica is enabled.
It will reduce replication to an minimal amount.

7 years agoInsert new properties in the LXC config for the PVE Storage Replica.
Wolfgang Link [Mon, 24 Apr 2017 15:15:36 +0000 (17:15 +0200)]
Insert new properties in the LXC config for the PVE Storage Replica.

7 years agobuildsys: clean: remove *.buildinfo
Wolfgang Bumiller [Thu, 27 Apr 2017 12:03:46 +0000 (14:03 +0200)]
buildsys: clean: remove *.buildinfo

7 years agoconfig: whitelist lxc.limit.*
Wolfgang Bumiller [Mon, 24 Apr 2017 12:08:40 +0000 (14:08 +0200)]
config: whitelist lxc.limit.*

7 years agobump version to 2.0-6
Dietmar Maurer [Fri, 7 Apr 2017 04:10:52 +0000 (06:10 +0200)]
bump version to 2.0-6

7 years agofix suse version 13 check being inverted
Wolfgang Bumiller [Thu, 6 Apr 2017 07:26:40 +0000 (09:26 +0200)]
fix suse version 13 check being inverted

7 years agobump version to 2.0-5
Dietmar Maurer [Thu, 6 Apr 2017 04:28:39 +0000 (06:28 +0200)]
bump version to 2.0-5

7 years agoallow opensuse >= 42
Dietmar Maurer [Thu, 6 Apr 2017 04:26:22 +0000 (06:26 +0200)]
allow opensuse >= 42

7 years agopct: improve error message output of die
Thomas Lamprecht [Wed, 22 Mar 2017 09:11:13 +0000 (10:11 +0100)]
pct: improve error message output of die

7 years agobump version to 2.0-4
Dietmar Maurer [Thu, 16 Mar 2017 11:58:18 +0000 (12:58 +0100)]
bump version to 2.0-4

7 years agoadd console fix for debian containers using systemd
Dietmar Maurer [Thu, 16 Mar 2017 11:52:12 +0000 (12:52 +0100)]
add console fix for debian containers using systemd

7 years agobump version to 2.0-3
Wolfgang Bumiller [Tue, 14 Mar 2017 08:28:04 +0000 (09:28 +0100)]
bump version to 2.0-3

7 years agodon't create deprecated rsa1 ssh keys
Wolfgang Bumiller [Tue, 14 Mar 2017 08:26:41 +0000 (09:26 +0100)]
don't create deprecated rsa1 ssh keys

7 years agobump version to 2.0-2
Fabian Grünbichler [Fri, 10 Mar 2017 12:50:35 +0000 (13:50 +0100)]
bump version to 2.0-2

7 years agopoststop: use a reboot trigger file
Wolfgang Bumiller [Fri, 10 Mar 2017 10:25:41 +0000 (11:25 +0100)]
poststop: use a reboot trigger file

Since the STOPPED state is set before cgroup cleanup we need
a better way to restart a container: We now install an
ExecStopPost snippet into the lxc@.service which when
encountering a reboot trigger file
(/var/lib/lxc/$vmid/reboot) performs a systemctl restart.

7 years agoRevert "poststop: reboot: wait for lxc to exit before rebooting"
Wolfgang Bumiller [Fri, 10 Mar 2017 10:25:40 +0000 (11:25 +0100)]
Revert "poststop: reboot: wait for lxc to exit before rebooting"

This reverts commit ff867097e8a5ea1ab6ff1d5cbc381a4212c37254.

7 years agobump version to 2.0-1
Fabian Grünbichler [Thu, 9 Mar 2017 14:32:54 +0000 (15:32 +0100)]
bump version to 2.0-1

7 years agobuildsys: update make upload target for stretch
Fabian Grünbichler [Thu, 9 Mar 2017 14:32:48 +0000 (15:32 +0100)]
buildsys: update make upload target for stretch

7 years agobump version to 1.0-95
Fabian Grünbichler [Thu, 9 Mar 2017 14:21:02 +0000 (15:21 +0100)]
bump version to 1.0-95

7 years agobuildsys: update make upload target
Fabian Grünbichler [Thu, 9 Mar 2017 14:18:02 +0000 (15:18 +0100)]
buildsys: update make upload target