dubuc | hello guys! :) | 18:41 |
---|---|---|
dubuc | is this the correct place if we have some questions regarding cloud-init? | 18:41 |
dubuc | or there is a better medium? | 18:41 |
rharper | yes | 18:43 |
rharper | dubuc: ask away | 18:43 |
dubuc | thanks! :) | 18:43 |
dubuc | well, 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/fstab | 18:45 |
dubuc | https://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 |
rharper | dubuc: sorry for the delay; had some meetings, let's see what's going on | 19:56 |
dubuc | yeah well rharper, I read the docs | 19:57 |
dubuc | apparently 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 |
dubuc | http://cloudinit.readthedocs.io/en/latest/topics/datasources/azure.html#waagent-conf-config | 19:58 |
rharper | do 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 issue | 20:02 |
dubuc | yes | 20:02 |
dubuc | give me a sec | 20:02 |
dubuc | but 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 |
dubuc | cloud-init 0.7.9 | 20:04 |
rharper | ok, there's definitely newer cloud-init that has had some changes w.r.t azure ephmeral devices | 20:05 |
rharper | https://copr.fedorainfracloud.org/coprs/g/cloud-init/cloud-init-dev/ | 20:06 |
rharper | you could try from the cloud-init-dev repo; that's a daily build from master | 20:06 |
rharper | if 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 |
dubuc | will try that | 20:08 |
dubuc | thank you rharper | 20:08 |
rharper | dubuc: sure | 20:08 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!