← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~jasonzio/cloud-init:requestMountAll into cloud-init:master

 

The proposal to merge ~jasonzio/cloud-init:requestMountAll into cloud-init:master has been updated.

Commit message changed to:

cc_mounts: check if mount -a on no-change fstab path

Under some circumstances, cc_disk_setup may reformat volumes which already appear in /etc/fstab (e.g. Azure ephemeral drive is reformatted from NTFS to ext4 after service-heal). Normally, cc_mounts only calls mount -a if it altered /etc/fstab. With this change cc_mounts will read /proc/mounts and
verify if configured mounts are already mounted and if not raise flag to
request a mount -a.  This handles the case where no changes to fstab occur
but a mount -a is required due to change in underlying device which
prevented the .mount unit from running until after disk was reformatted.

LP: #1825596

For more details, see:
https://code.launchpad.net/~jasonzio/cloud-init/+git/cloud-init/+merge/366329
-- 
Your team cloud-init commiters is requested to review the proposed merge of ~jasonzio/cloud-init:requestMountAll into cloud-init:master.


References