We have our appliance image which is basically a linux machine deployed using Azure SDK (Java), the virtual machine is configured with two network interfaces, both of which is connected to dual stack subnet. After the node is deployed and booting up, as part of cloud-init, it connects to IMDS server to get the metadata, but the request is timing out, logs below.
[ 13.248532] cloud-init[493]: /usr/lib/python3/dist-packages/requests/init.py:87: RequestsDependencyWarning: urllib3 (2.2.3) or chardet (4.0.0) doesn't match a supported version!
[ 13.255596] cloud-init[493]: warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
[ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
[ 13.464770] cloud-init[619]: Cloud-init v. 23.1.2-0ubuntu0~22.04.1 running 'init-local' at Mon, 16 Dec 2024 06:05:28 +0000. Up 13.44 seconds.
***[ 45.738883] cloud-init[619]: 2024-12-16 06:06:00,320 - azure.py[WARNING]: Failed to fetch metadata from IMDS: HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /metadata/instance?api-version=2021-08-01&extended=true (Caused by ConnectTimeoutError(