Dan Watkins wrote on 03/09/2019:
> OK, it looks like /var/lib/cloud/data/set-hostname ends up empty after
> the reboot, which is what causes the issue. We should handle that case
> gracefully, assuming that it isn't cloud-init that's causing it to be
> removed.
>
> To help confirm what's going on, are you able to capture /var/lib/cloud
> and logs post-failure (perhaps by attaching the root disk elsewhere)?
Here are the first-boot and post-reboot logs collected from an instance
that encountered the problem.
Dan Watkins wrote on 03/09/2019: cloud/data/ set-hostname ends up empty after
> OK, it looks like /var/lib/
> the reboot, which is what causes the issue. We should handle that case
> gracefully, assuming that it isn't cloud-init that's causing it to be
> removed.
>
> To help confirm what's going on, are you able to capture /var/lib/cloud
> and logs post-failure (perhaps by attaching the root disk elsewhere)?
Here are the first-boot and post-reboot logs collected from an instance
that encountered the problem.