Skip to content
This repository has been archived by the owner on Oct 17, 2022. It is now read-only.

It would be nice if there was an easy way to view the cloud-init log #70

Open
markdryan opened this issue Mar 5, 2018 · 3 comments
Open

Comments

@markdryan
Copy link
Contributor

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.

@rbradford
Copy link
Contributor

rbradford commented Mar 5, 2018

Can we send it down serial or a vhost-vsocket: http://cloudinit.readthedocs.io/en/latest/topics/logging.html

link fixed by markdryan

@ganeshmaharaj
Copy link
Contributor

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.

@markdryan
Copy link
Contributor Author

@ganeshmaharaj, @rbradford I fixed the link.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants