-
Notifications
You must be signed in to change notification settings - Fork 931
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
lxd-agent and cloud-init-local issues #14134
Comments
Please could you elaborate what you mean by:
Do you mean the 1s gap between log messages? Or do you mean its happening after cloud-init? |
The log entries are a symptom of the problem, so unimportant, sorry for the confusion I found that lxd-agent starts after cloud-init-local despite the entry in
So the issue is specific to the image, which is built from Ubuntu cloud images but via packer. Any suggestions as to how this might happen? |
Thanks. So it doesn't happen with the |
Confirmed. running an image from |
Please can you share how you are building the image? |
packer -> ansible -> qcow2 -> lxc image import |
Required information
5.15.0-118-generic
Issue description
When provisioning VMs cloud-init occasionally does not find the DataSource for LXD
Steps to reproduce
watch for non-run of cloud-init
1-2 instance creations happen like this out of 10
occasionally again instances will consecutively fail
Information to attach
in the above syslog shows an entry made by lxd-agent 2s after lxd-agent
a working cloud-init run:
The above is from an identical job to provision a VM but the cloud-init did run successfully (found the LXD Datasource), notice the difference between syslog entry and lxd-agent
The text was updated successfully, but these errors were encountered: