{"action":"created","issue":{"url":"https://api.github.com/repos/fgrehm/vagrant-lxc/issues/378","labels_url":"https://api.github.com/repos/fgrehm/vagrant-lxc/issues/378/labels{/name}","comments_url":"https://api.github.com/repos/fgrehm/vagrant-lxc/issues/378/comments","events_url":"https://api.github.com/repos/fgrehm/vagrant-lxc/issues/378/events","html_url":"https://github.com/fgrehm/vagrant-lxc/issues/378","id":90326626,"number":378,"title":"Previously working vagrant-lxc stopped working ","user":{"login":"destfinal","id":3593063,"avatar_url":"https://avatars.githubusercontent.com/u/3593063?v=3","gravatar_id":"","url":"https://api.github.com/users/destfinal","html_url":"https://github.com/destfinal","followers_url":"https://api.github.com/users/destfinal/followers","following_url":"https://api.github.com/users/destfinal/following{/other_user}","gists_url":"https://api.github.com/users/destfinal/gists{/gist_id}","starred_url":"https://api.github.com/users/destfinal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/destfinal/subscriptions","organizations_url":"https://api.github.com/users/destfinal/orgs","repos_url":"https://api.github.com/users/destfinal/repos","events_url":"https://api.github.com/users/destfinal/events{/privacy}","received_events_url":"https://api.github.com/users/destfinal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-23T08:43:02Z","updated_at":"2015-07-17T15:11:29Z","closed_at":null,"body":"Hi,\r\n\r\nI am left with no clue why my vagrant lxc stopped working all of a sudden. My set up is as follows:\r\n\r\nOS: Fedora21 (with kernel 4.0.4-202.fc21.x86_64 and latest updates)\r\n\r\nFollowing are lxc related packages:\r\n- lxc-extra-1.0.7-1.fc21.x86_64\r\n- lua-lxc-1.0.7-1.fc21.x86_64\r\n- lxc-libs-1.0.7-1.fc21.x86_64\r\n- python3-lxc-1.0.7-1.fc21.x86_64\r\n- libvirt-daemon-driver-lxc-1.2.9.3-1.fc21.x86_64\r\n- lxc-1.0.7-1.fc21.x86_64\r\n- lxc-templates-1.0.7-1.fc21.x86_64\r\n\r\nFollowing are ruby related packages:\r\n- rubygem-rb-inotify-0.8.8-5.fc21.noarch\r\n- rubygem-erubis-2.7.0-7.fc21.noarch\r\n- rubygem-psych-2.0.5-29.fc21.x86_64\r\n- rubygem-net-http-persistent-2.9.4-3.fc21.noarch\r\n- ruby-irb-2.1.6-29.fc21.noarch\r\n- rubygem-net-ssh-2.9.1-1.fc21.noarch\r\n- rubygem-mime-types-1.25.1-1.fc21.noarch\r\n- rubygem-bigdecimal-1.2.4-29.fc21.x86_64\r\n- rubygem-nokogiri-1.6.6.2-1.fc21.x86_64\r\n- rubygem-hashicorp-checkpoint-0.1.4-1.fc21.noarch\r\n- rubygem-childprocess-0.3.9-2.fc21.noarch\r\n- rubygem-netrc-0.7.7-6.fc21.noarch\r\n- rubygem-json-1.8.1-29.fc21.x86_64\r\n- rubygem-ffi-1.9.3-2.fc21.x86_64\r\n- rubygem-i18n-0.6.11-1.fc21.noarch\r\n- rubygem-rest-client-1.6.7-4.fc21.noarch\r\n- jruby-1.7.2-5.fc21.noarch\r\n- ruby-devel-2.1.6-29.fc21.x86_64\r\n- rubygems-2.2.2-101.fc21.noarch\r\n- rubygem-net-sftp-2.1.2-1.fc21.noarch\r\n- rubygem-listen-0.4.7-4.fc20.noarch\r\n- rubygem-io-console-0.4.3-29.fc21.x86_64\r\n- rubygem-log4r-1.1.10-2.fc21.noarch\r\n- ruby-2.1.6-29.fc21.x86_64\r\n- rubypick-1.1.1-2.fc21.noarch\r\n- rubygem-bundler-1.7.6-1.fc21.noarch\r\n- ruby-libs-2.1.6-29.fc21.x86_64\r\n- rubygem-net-scp-1.2.1-1.fc21.noarch\r\n- jruby-yecht-1.7.2-5.fc21.noarch\r\n- rubygem-rdoc-4.1.1-2.fc21.noarch\r\n- rubygem-thor-0.18.1-2.fc21.noarch\r\n\r\nFollowing are the installed vagrant plugins:\r\n- ansible (0.2.0)\r\n- vagrant-hostmanager (1.5.0)\r\n- vagrant-hostsupdater (0.0.11)\r\n- vagrant-lxc (1.1.0)\r\n- vagrant-serverspec (1.0.1)\r\n- vagrant-share (1.1.3)\r\n- vagrant-triggers (0.5.0)\r\n- vagrant-vbguest (0.10.0)\r\n\r\nFollowing is list of gems installed:\r\n- bigdecimal (1.2.4)\r\n- bundler (1.7.6)\r\n- childprocess (0.3.9)\r\n- erubis (2.7.0)\r\n- ffi (1.9.3)\r\n- hashicorp-checkpoint (0.1.4)\r\n- i18n (0.6.11)\r\n- io-console (0.4.3)\r\n- json (1.8.1)\r\n- listen (0.4.7)\r\n- log4r (1.1.10)\r\n- mime-types (1.25.1)\r\n- net-http-persistent (2.9.4)\r\n- net-scp (1.2.1)\r\n- net-sftp (2.1.2)\r\n- net-ssh (2.9.1)\r\n- netrc (0.7.7)\r\n- nokogiri (1.6.6.2)\r\n- psych (2.0.5)\r\n- rb-inotify (0.8.8)\r\n- rdoc (4.1.1)\r\n- rest-client (1.6.7)\r\n- thor (0.18.1)\r\n- vagrant-vmware-fusion (0.0.1)\r\n\r\nI had some machines created using the vagrant-lxc before. I was trying to provision my vms using ansible before having blocked with this issue.\r\n\r\nOn a fine day when trying to vagrant up a new machine I was given the 'lxc' package not found error. With the help of some of the discussions in this forum, I created a symlink /opt/vagrant/embedded/bin/ruby pointing to /usr/bin/ruby (as the vagrant-lxc-wrapper shebang was looking in this location). Now when up'ing my containers, the following error occurs:\r\n```\r\nThere was an error executing [\"sudo\", \"/usr/local/bin/vagrant-lxc-wrapper\", \"lxc-ls\"]\r\n\r\nFor more information on the failure, enable detailed logging by setting\r\nthe environment variable VAGRANT_LOG to DEBUG.\r\n```\r\nRunning:\r\n```\r\nsudo /usr/local/bin/vagrant-lxc-wrapper lxc-ls \r\n```\r\nreturns the following error:\r\n```\r\nInvalid arguments for command /bin/lxc-ls, provided args: []\r\n```\r\nHowever running \r\n```\r\nsudo /usr/local/bin/vagrant-lxc-wrapper /usr/bin/lxc-ls\r\n```\r\nreturns the list of the containers. \r\n\r\nCan somebody help me find what happened all of a sudden? I can start working around the issues one by one which does not seem to be very efficient, if the issue is already known and there is a quick fix.\r\n\r\nPlease let me know if you need more information in this regard.\r\n\r\nThanks\r\n\r\nPS: Though I am reasonably familiar with bash and programming, I am not a ruby person."},"comment":{"url":"https://api.github.com/repos/fgrehm/vagrant-lxc/issues/comments/122307205","html_url":"https://github.com/fgrehm/vagrant-lxc/issues/378#issuecomment-122307205","issue_url":"https://api.github.com/repos/fgrehm/vagrant-lxc/issues/378","id":122307205,"user":{"login":"globin","id":1447245,"avatar_url":"https://avatars.githubusercontent.com/u/1447245?v=3","gravatar_id":"","url":"https://api.github.com/users/globin","html_url":"https://github.com/globin","followers_url":"https://api.github.com/users/globin/followers","following_url":"https://api.github.com/users/globin/following{/other_user}","gists_url":"https://api.github.com/users/globin/gists{/gist_id}","starred_url":"https://api.github.com/users/globin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/globin/subscriptions","organizations_url":"https://api.github.com/users/globin/orgs","repos_url":"https://api.github.com/users/globin/repos","events_url":"https://api.github.com/users/globin/events{/privacy}","received_events_url":"https://api.github.com/users/globin/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T15:11:29Z","updated_at":"2015-07-17T15:11:29Z","body":"You might want to follow the instructions in the error message and run vagrant with `VAGRANT_LOG=DEBUG`, e.g.\r\n```\r\nVAGRANT_LOG=DEBUG vagrant up --provider lxc\r\n```"}}