Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Fabio Rehm
@fgrehm
latest is 1.6.something
Mikhail Zholobov
@legal90
@fgrehm Hi, Fabio! At first, thanks a lot for 'vagrant-lxc'! I'm maintainer of vagrant-parallels plugin and currently we have a weakly
unit test's in our provider. Please, may we use specs from 'vagrant-lxc' as an example/skeleton to write our tests in Parallels provider?
Fabio Rehm
@fgrehm
@legal90 sure! just keep in mind that most of the tests we have in place comes from the early days of the plugin which dates from over a year and a half ago :P
Mikhail Zholobov
@legal90
OK, thank you!
Jens Kleikamp
@jensk
anyone tried the plugin on the latest ubuntu release 14.10? :)
Jens Kleikamp
@jensk
seems lxc-attach requires /sbin/ip but this was never installed on my base boxes before
I mean lxc-attach from lxc-1.1
and of course apparmor prevent me from doing anything with vagrant-lxc
lxc.aa_profile = unconfined otherwise no box starts
Jens Kleikamp
@jensk
This message was deleted
This message was deleted
Fabio Rehm
@fgrehm
that sucks :(
I haven't looked at the new stuff from latest lxc yet
but requiring unconfined profile to be enabled sounds very weird to me
Jens Kleikamp
@jensk
yeah kinda :worried:
in the end I think both issues I had to tackle are not related to vagrant-lxc. ubuntu/apparmor crap and lxc is one version higher than recommended. so i ride the bleeding edge :fire: :smile:
maybe what vagrant-lxc could do if possible is to check for the provider version. if running on 1.1 it could stop with a notice that it isn´t supported yet
Jens Kleikamp
@jensk
ok. what I wrote doesn´t sound legit. i made my basebox work on 14.10 (lxc 1.1)
I did install iproute2 package and changed the lxc config aa_profile = unconfined. This is a gentoo 64bit basebox.
Geiger Peter
@ggrptr
I tried to install it on ubuntu 14.10 (its work on 14.04 for me), i installed lxc, lxc-templates, vagrant (1.4.3) with apt, and then typed vagrant plugin install vagrant-lxc.
I got the message: Installed the plugin 'vagrant-lxc (1.0.1)'!.
But after all, vagrant lxc ends with : The plugin "vagrant-lxc" could not be found.
Jens Kleikamp
@jensk
@ggrptr hm. sounds like an 1.4.x issue. yesterday I installed on 14.10 with vagrant 1.6.5 and no problems
Geiger Peter
@ggrptr
Yep, I dropped the apt-get version, and and installed 1.6.5 from the vagrant site, and it works fine. Thx.
Jens Kleikamp
@jensk
@fgrehm do you use virtualbox and lxc sometimes on the same host machine?
I am hunting a bug :) seeing host os freezes when virtualbox and lxc both are running
Fabio Rehm
@fgrehm
@jensk sorry I missed your message. I havent used the virtualbox provider in a while now
but I've never seen the host os freeze because of that
Ian Gudger
@iangudger
I am having a problem where the waiting for machine to boot step is timing out.

==> default: Starting container...
==> default: Waiting for machine to boot. This may take a few minutes...

Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.

If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.

I am using the fgrehm/trusty64-lxc box.
Bryan Larsen
@bryanlarsen
host OS? Ubuntu 11.10?
Ian Gudger
@iangudger
Ubuntu 14.10
x64
Bryan Larsen
@bryanlarsen
let me grab my laptop, I recently debugged a similar problem.
Ian Gudger
@iangudger
Thanks
Bryan Larsen
@bryanlarsen
it's an LXC problem, not a vagrant-lxc one. you probably did a recent apt-get upgrade
Ian Gudger
@iangudger
Are you suggesting that I downgrade lxc?
Bryan Larsen
@bryanlarsen
I fixed it by upgrading
Ian Gudger
@iangudger
To what version?
Bryan Larsen
@bryanlarsen
to 1.1.0~alpha2-0ubuntu7
It's not released for 14.10 yet, but the 15.04 version installs fine
Ian Gudger
@iangudger
Ok, thanks
Ian Gudger
@iangudger
Great, thanks. I got it working.
still much work but might be able to varant them as well.
Fabio Rehm
@fgrehm
@necrose99 awesome!
Michael L.
@necrose99
I just hope my templates get a more sane make over in time , kinda hotwireing as gentoo-lxc exits & chrooting into... adding overlays and updates. just from a sysmin pov it should do the job.
Fabio Rehm
@fgrehm
cool!