-
Notifications
You must be signed in to change notification settings - Fork 49
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
chef-client run never ends #42
Comments
@jtzl Thanks for the report. I'll get a fresh build going and see if I can replicate. Is the host system precise? |
@chrisroberts Thanks for following up - I'm now having the same issue on 12.10, though I had the same problem on 12.04 before do-release-upgrade. |
@jtzl I haven't been able to get this hang to replicate. Would it be possible to post a gist of the provision with logging turned up to debug? |
Here's the end of the debug log from chef:
This appears to happen indefinitely ;( |
And if I try to run that manually, it says that it isn't running, so I tried to start it:
|
Creating the |
interesting. i'll have a look at the file store bit. the error you were running into in the stack trace is resolved in the latest release. |
That was my mistake, was trying to mount Not had any problems now I'm using the new version, and using it correctly 😀 |
My goal is to build a workstation that will run test-kitchen and be able to launch LXCs inside it. I'm doing this with vagrant, and the vagrant image is getting provisioned properly with the chef_client provisioner.
From there, the "lxc"
and "lxc::containers"recipes are added (in the Vagrantfile), along with a custom wrapper cookbook in which I'm using an lxc_container lwrp, as described in the lxc cookbook readme.My vagrant image launches, downloads chef, and starts converging. It appears to hang after:
And that's it. Here is the full chef run output: https://gist.github.com/jtzl/6678363
Is the apparent hanging related to my usage of the cookbook? Has anyone experienced and/or resolved this issue in their own environment?
Thanks!
Edit:
with VAGRANT_LOG=debug, it finishes lxc-create successfully and then goes to:
DEBUG ssh: Sending SSH keep-alive...
DEBUG ssh: Sending SSH keep-alive...
DEBUG ssh: Sending SSH keep-alive...
DEBUG ssh: Sending SSH keep-alive...
DEBUG ssh: Sending SSH keep-alive...
Over and over. It also did this while waiting on lxc-create, but it will go for over an hour without intervention.
The text was updated successfully, but these errors were encountered: