Open markdryan opened 6 years ago
Can we send it down serial or a vhost-vsocket: http://cloudinit.readthedocs.io/en/latest/topics/logging.html
link fixed by markdryan
Enabling qemu port shows some of the error messages, but yes, piping all the info from cloud-init-output.log to serial port would be nice. @rbradford somehow the link you have pasted above doesn't seems to be in existence anymore.
@ganeshmaharaj, @rbradford I fixed the link.
When there's a problem with the cloud-init file in your workload your instance creation will not complete. As create hasn't completed, you cannot connect to the VM as ccloudvm serialise commands to instances. If you pass the --debug flag to create an SSH connection string will be printed on the screen that you can use to connect to the instance from another shell. What you almost always do after you've connected is to look in the file /var/log/cloud-init-output.log. It would be nice if the tool had a debug mode where this information was retrieved automatically.