/srv/irclogs.ubuntu.com/2018/07/24/#cloud-init.txt

dubuchello guys! :)18:41
dubucis this the correct place if we have some questions regarding cloud-init?18:41
dubucor there is a better medium?18:41
rharperyes18:43
rharperdubuc: ask away18:43
dubucthanks! :)18:43
dubucwell, I am trying to change some mount points on an Azure VM running OpenLogic CentOS 7.4 (we manually install cloud-init with packer and save the Azure VM Image). When I specify the mount location of the ephemeral disk of that machine, it generates an /etc/fstab that does not match the location Azure mounts the ephemeral disk (/mnt/resource). This causes the mnt.mount to fail because of the wrong /etc/fstab18:45
dubuchttps://gist.github.com/dubuc/2db3dc3efc27750b1d43e8b28eabc64a this is the cloud-init.txt I pass when I create the VM with Azure CLI (az vm create --image ... --custom-data cloud-init.txt ...)18:46
rharperdubuc: sorry for the delay;  had some meetings, let's see what's going on19:56
dubucyeah well rharper, I read the docs19:57
dubucapparently cloud-init does not support changing the mount point of the resource disk (ephemeral) on azure, and the waagent is supposed to handle that. could you confirm?19:58
dubuchttp://cloudinit.readthedocs.io/en/latest/topics/datasources/azure.html#waagent-conf-config19:58
rharperdo you have the cloud-init.log from the failure ? and can you confirm what cloud-init version you're running ?  I know we've seen some issues w.r.t empheral storage config so it may be resolved in master or might be a new issue20:02
dubucyes20:02
dubucgive me a sec20:02
dubucbut I did find the fix for my issue of failed mnt.mount service by following the `/mnt` location instead of the default waagent.conf `/mnt/resource`.20:03
dubuccloud-init 0.7.920:04
rharperok, there's definitely newer cloud-init that has had some changes w.r.t azure ephmeral devices20:05
rharperhttps://copr.fedorainfracloud.org/coprs/g/cloud-init/cloud-init-dev/20:06
rharperyou could try from the cloud-init-dev repo; that's a daily build from master20:06
rharperif you can't then I suggest filing a bug with the cloud-init logs (/var/log/cloud-init* /var/lib/cloud/*) and your cloud-config you already pasted;20:07
dubucwill try that20:08
dubucthank you rharper20:08
rharperdubuc: sure20:08

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!