Fix LXC driver #565

Merged
merged 9 commits into from May 1, 2015

Projects

None yet

3 participants

@hansode
Member
hansode commented Apr 30, 2015

Problem

Current LXC driver is for lxc-0.8.0.

RHEL6 compabible environment uses EPEL yum repository as third-party package provider.
EPEL provides lxc-1.0.x. So nobody can get lxc-0.8.0 without custom rpmbuild.

Solution

Support lxc-1.0.0.

Memo

Even if this change supports lxc-1.0.0, lxc driver does not support local-volume based instance.
In next step, lxc-driver should support local-volume based instance.

After merging this change, please create a new issue to support local-volume based instance.

hansode added some commits Apr 16, 2015
@hansode hansode replace "lxc-version" with "lxc-info --version".
164b540
@hansode hansode move making rootfs directory before running lxc-create.
ee49a83
@hansode hansode remove ipv4 parameter. because wakame-init define ipv4 in container. a35a205
@hansode hansode reomve work-around. f526614
@hansode hansode remove unnecessary mount entry.
00fc6b8
@hansode hansode define lxc required version.
794fe7b
@hansode hansode Merge branch 'master' into fix-lxc-driver
41da646
@hansode hansode fix check_instance for lxc-1.0. 1da93e4
@hansode hansode add logger to poweron_instance.
85252eb
@hansode hansode added the Type : Bug label Apr 30, 2015
@hansode hansode self-assigned this Apr 30, 2015
@axsh-bot
Member

85252eb success - wakame-ci/rspec

@axsh-bot
Member

85252eb success - wakame-ci/rpmbuild

@axsh-bot
Member

85252eb success - wakame-ci/to-s3

@axsh-bot
Member

85252eb failure - wakame-ci/kvm.smoke

@axsh-bot
Member

85252eb success - wakame-ci/dummy.smoke

@axsh-bot
Member

85252eb success - wakame-ci/kvm.smoke.allowed-failure

@axsh-bot
Member

85252eb failure - wakame-ci/lxc.smoke.allowed-failure

@axsh-bot
Member

85252eb success - wakame-ci/vz.smoke

@axsh-bot
Member

85252eb success - wakame-ci/kvm.smoke

@axsh-bot
Member
axsh-bot commented May 1, 2015

85252eb success - wakame-ci/rspec

@axsh-bot
Member
axsh-bot commented May 1, 2015

85252eb success - wakame-ci/rpmbuild

@axsh-bot
Member
axsh-bot commented May 1, 2015

85252eb success - wakame-ci/to-s3

@axsh-bot
Member
axsh-bot commented May 1, 2015

85252eb success - wakame-ci/dummy.smoke

@axsh-bot
Member
axsh-bot commented May 1, 2015

85252eb failure - wakame-ci/kvm.smoke

@axsh-bot
Member
axsh-bot commented May 1, 2015

85252eb success - wakame-ci/kvm.smoke.allowed-failure

@axsh-bot
Member
axsh-bot commented May 1, 2015

85252eb failure - wakame-ci/lxc.smoke.allowed-failure

@axsh-bot
Member
axsh-bot commented May 1, 2015

85252eb success - wakame-ci/vz.smoke

@Metallion
Member

Why did kvm.smoke fail twice? Currently looking at the CI but having a hard time finding the correct jobs.

@axsh-bot
Member
axsh-bot commented May 1, 2015

85252eb success - wakame-ci/kvm.smoke

@Metallion
Member

It looks like the kvm.smoke tests were failing because of scheduling jobs being sent while Collector is down. When that happens, instances get stuck in the pending/scheduling state. I will write a new issue to get that fixed.

This pull request looks good to me. +1

@Metallion Metallion merged commit da90801 into master May 1, 2015

7 of 8 checks passed

wakame-ci/lxc.smoke.allowed-failure The build was failure on wakame-ci #19450 (85252eb6).
wakame-ci/dummy.smoke The build was success on wakame-ci #19446 (85252eb6).
wakame-ci/kvm.smoke The build was success on wakame-ci #19452 (85252eb6).
wakame-ci/kvm.smoke.allowed-failure The build was success on wakame-ci #19448 (85252eb6).
wakame-ci/rpmbuild The build was success on wakame-ci #19438 (85252eb6).
wakame-ci/rspec The build was success on wakame-ci #19436 (85252eb6).
wakame-ci/to-s3 The build was success on wakame-ci #19440 (85252eb6).
wakame-ci/vz.smoke The build was success on wakame-ci #19451 (85252eb6).
@Metallion Metallion deleted the fix-lxc-driver branch May 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment