onitake commented on issue #3557: cloud-init fails to fetch metadata when 
shared networks are present
URL: https://github.com/apache/cloudstack/issues/3557#issuecomment-524920883
 
 
   @joschi36 has pushed a proposed fix: 
https://code.launchpad.net/~joschi36/cloud-init/+git/cloud-init/+merge/371807
   
   With this fix, cloud-init will first consult the host `data-server` before 
falling back on the previous behaviour.
   
   While this doesn't address the case where multiple default gateways are 
available with only some running the metadata server, it should at least be 
much more reliable than just looking at the latest DHCP lease.
   
   @ustcweizhou @rhtyd @DaanHoogland @PaulAngus Please let me know what you 
think. I'll gladly push an update to 
http://docs.cloudstack.apache.org/en/latest/adminguide/virtual_machines/user-data.html
 if you think this is the right way to go.

----------------------------------------------------------------
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

Reply via email to