We also experience failure to mount ephemeral disk to /mnt in Yakkety (both with 0.7.8-15 and 0.7.8-49 prerelease).
Seems like a race condition, can't reproduce 100% of the time.
the /etc/fstab is generated before the symlink /dev/disk/cloud/azure_resource-part1 and contains:
cat /etc/fstab
/dev/disk/cloud/azure_resource /mnt auto ...
cloud-init logs -
cloud-init[1177]: [CLOUDINIT] cc_mounts.py[DEBUG]: Attempting to determine the real name of ephemeral0
cloud-init[1177]: [CLOUDINIT] cc_mounts.py[DEBUG]: Mapped metadata name ephemeral0 to /dev/disk/cloud/azure_resource
cloud-init[1177]: [CLOUDINIT] cc_mounts.py[DEBUG]: changed default device ephemeral0 => /dev/disk/cloud/azure_resource
We also experience failure to mount ephemeral disk to /mnt in Yakkety (both with 0.7.8-15 and 0.7.8-49 prerelease).
Seems like a race condition, can't reproduce 100% of the time.
the /etc/fstab is generated before the symlink /dev/disk/ cloud/azure_ resource- part1 and contains:
cat /etc/fstab cloud/azure_ resource /mnt auto ...
/dev/disk/
cloud-init logs - py[DEBUG] : Attempting to determine the real name of ephemeral0 py[DEBUG] : Mapped metadata name ephemeral0 to /dev/disk/ cloud/azure_ resource py[DEBUG] : changed default device ephemeral0 => /dev/disk/ cloud/azure_ resource
cloud-init[1177]: [CLOUDINIT] cc_mounts.
cloud-init[1177]: [CLOUDINIT] cc_mounts.
cloud-init[1177]: [CLOUDINIT] cc_mounts.
change time of relevant files - generator/ mnt.mount cloud/azure_ resource -> ../../sdb cloud/azure_ resource- part1 -> ../../sdb1
2016-12-12 17:35:43.031397400 +0000 /etc/fstab
2016-12-12 17:35:43.067397400 +0000 /run/systemd/
2016-12-12 17:35:43.175397400 +0000 /dev/disk/
2016-12-12 17:35:43.223397400 +0000 /dev/disk/
systemctl cat mnt.mount disk/cloud/ azure_resource
...
[Mount]
What=/dev/
Where=/mnt
...