diff options
author | Ryan Harper <ryan.harper@canonical.com> | 2020-02-13 14:11:17 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-13 15:11:17 -0500 |
commit | ecffd25df840277ab1fa7d5372659abe833cacbe (patch) | |
tree | 42565263c109485e8e83db70e72696776b792af9 /cloudinit | |
parent | 81c7477a55b509a33af38bc502b1e9dd4ea643ff (diff) | |
download | vyos-cloud-init-ecffd25df840277ab1fa7d5372659abe833cacbe.tar.gz vyos-cloud-init-ecffd25df840277ab1fa7d5372659abe833cacbe.zip |
azurecloud: fix issues with instances not starting (#205)
The azurecloud platform did not always start instances
during collect runs. This was a result of two issues. First
the image class _instance method did not invoke the start()
method which then allowed collect stage to attempt to run
scripts without an endpoint. Second, azurecloud used the
image_id as both an instance handle (which is typically
vmName in azure api) as well as an image handle (for image
capture). Resolve this by adding a .vm_name property to
the AzureCloudInstance and reference this property in
AzureCloudImage.
Also in this branch
- Fix error encoding user-data when value is None
- Add additional logging in AzureCloud platform
- Update logging format to print pathname,funcName and line number
This greatly eases debugging.
LP: #1861921
Diffstat (limited to 'cloudinit')
0 files changed, 0 insertions, 0 deletions