Comment 2 for bug 1692093

Revision history for this message
Paul Meyer (paul-meyer) wrote :

Repro script with fix: https://gist.github.com/paulmey/1a4f35a687d7559dca612a0eda8d5793

This is apparently a race condition that leaves lsblk without FSTYPE and LABEL. Cloud-init is then unable to verify that the partition is already formatted correctly and can be reused. This can be fixed by doing a 'udevadm settle' before doing 'lsblk' in enumerate_disk in cc_disk_setup.py.