Skip to content

Improve logging when ssh_exec fails #4584

@tobe2098

Description

@tobe2098

What are you trying to do?
While attempting to debug events related to failed ssh_execs in waiting for cloud-init, logs show an empty error message:

[utils] failed to run '[ -e /var/lib/cloud/instance/boot-finished ]', error message: ''

What's your proposed solution?
Track where is the exception originating from and improve how much information is made available in the exception message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementlowLow priority. Combine with "medium" to signal intermediate low-medium priority.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions