-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR vagrant: /home/dragosc/.vagrant.d/gems/gems/vagrant-lxc-1.1.0/lib/vagrant-lxc/sudo_wrapper.rb:47:in `block in execute' #29
Comments
I'm starting to believe it's not my (created) machine's fault... I tried the following: vagrant init test1 https://dl.dropboxusercontent.com/u/67225617/lxc-vagrant/lxc-wheezy64-puppet3-2013-07-27.box
vagrant up --provider=lxc And I get a similar error: INFO interface: error: There was an error executing ["sudo", "lxc-create", "-B", "best", "--template", "vagrant-tmp-test1_default_1424858375837_66330", "--name", "test1_default_1424858375837_66330", "-f", "/home/dragosc/.vagrant.d/boxes/test1/0/lxc/lxc.conf", "--", "--tarball", "/home/dragosc/.vagrant.d/boxes/test1/0/lxc/rootfs.tar.gz", "--auth-key", "/opt/vagrant/embedded/gems/gems/vagrant-1.7.2/keys/vagrant.pub"] For more information on the failure, enable detailed logging by setting For more information on the failure, enable detailed logging by setting Any idea why ? |
Do you mind trying to set up a VBox environment that reproduces your issue? https://github.com/fgrehm/vagrant-lxc-vbox-hosts should give you a head start. Thanks in advance! |
I managed to make your script work :D. Already forked it, trying to make some new fixes and add new feature. Hope you'll hear from me soon :) Thank you for your interest. |
Looking forward to hearing back from you again! |
Hey there, as promissed, please take a look @ https://github.com/dragoscirjan/vagrant-lxc-base-boxes I'm not adding a pull request since everything is a mess still (I've changed a lot in your code). I noticed LXC repo has templates for a huge set of distro templates (https://github.com/lxc/lxc/tree/master/templates), however Ubuntu 14.04 does not list many of them. Would love if someone ( as enthusiast as us ) would be able to help us implement some more. Anyways, if my adaptations of your code please you, feel free to implement them as well. |
WOW! That is AWESOME! I'd love to bring those changes in! Have those boxes been working fine or were you able to notice any weirdness while trying them out? I will do my best to give them a try over here when I have a chance and push some pre packaged boxes to Atlas. Thanks a lot for the work you've done so far! |
I think I started each machine once or twice... But to be honest, I focused I'm still not sure how of how to wait for a machine to initiate its network On Fri, Apr 10, 2015 at 3:25 PM, Fabio Rehm notifications@github.com
Cristian - Dragos, CirjanEmail: dragos.cirjan@gmail.com |
I've stepped down as a maintainer of the plugin and I'm no longer maintaining this repo. Feel free to use it as a starting point for your own boxes and if you need any help with that just LMK! 🍻 |
Wow... received your message 2 days ago, and the notification for closing this today :)). You not being able to maintain this project anymore leaves it hanging. I've seen that for the vagrant plugin someone took over. Would you mind if I try to take over this one? No point in having two repositories doing the same thing. As I said I'm pretty interested in it and depending on it a lot (at least for now). |
You can add your repo to the brand new section of the readme that lists active forks 😄 Feel free to open up a PR! |
Hi,
I'm using Ubuntu 14.10 for testing (production will be 14.04). I tried to write my own packaging script, getting inspired by your code here: http://pastebin.com/yiUkbW71, and testing it with: http://pastebin.com/WQkEu8wS.
I am no expert in vagrant, I barely scratched the surface, so before going on other channels like StackOverflow, I'm asking for your help, since you're the one who wrote the LXC module for vagrant.
Could you please tell me what am I doing wrong since, in the end, I\m getting a pretty nasty error looking like this:
P.S.
won't work either. It crashes when trying to start the container.
# lxc-info --version 1.1.0.alpha2
# vagrant --version Vagrant 1.7.2
# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.10 Release: 14.10 Codename: utopic
The text was updated successfully, but these errors were encountered: