ustcweizhou commented on issue #3557: cloud-init fails to fetch metadata when shared networks are present URL: https://github.com/apache/cloudstack/issues/3557#issuecomment-521936286 @onitake I think the commit to fix https://bugs.launchpad.net/cloud-init/+bug/1717147 is the root cause of your issue. https://github.com/cloud-init/cloud-init/commit/da1db792b2721d94ef85df8c136e78012c49c6e5 However, the bug fix makes more sense in my view. I have no idea why cloud-init gets metadata from the latest dhcp server. It would be better to get metadata from each dhcp server and stop the process once metadata is fetched (vm metadata are saved on virtual routers of all vm nics if vr supports UserData). Similar process should be applied on password and sshkey as well.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
