Firmbyte
Member
- Joined
- Jan 6, 2025
- Messages
- 2
- Thread Author
- #1
I have an Ubuntu server (192.168.1.81/24) hosted in Hyper-V on Windows 11 (192.168.1.168/24). I have Ansible installed that runs fine connecting to other Hyper-V Windows & Linux servers. But when I try and run Ansible on Azure Sql Databases, it hangs on this step: "Initializing with Entra authority: https://login.microsoftonline.com/organizationsurllib3.connectionpool: Starting new HTTPS connection (1): login.microsoftonline.com:443"
Eventually, the process returns the url and code to use to get logged in.
When I ping login.microsoftonline.com from the host, ie my Windows 11 laptop, it responds ok. But I get no response when I ping login.microsoftonline.com from the Hyper-V ubuntu client server.
I can get responses to Ping from the Hyper-V ubuntu client server on external ip addresses but not on the the urls. eg, ping 8.8.8.8 responds ok but ping google.com hangs gets no response.
The ubuntu client has dns setup using both the Hyper-V client domain controller: 192.168.1.70 and the google dns server 8.8.8.8.
How can i fix this, so I can login to Azure using the az command line tools from the Hyper-V ubuntu client faster, as it is from my laptop?
*eventually, after 15 / 20 mins, I get the browser link and code to use, to get me logged in. But then, it's "retrieving tenants and subscripts.... " that takes a looong time.
*If i do the same from Windows WSL, it's immediate, no problem at all.
Eventually, the process returns the url and code to use to get logged in.
When I ping login.microsoftonline.com from the host, ie my Windows 11 laptop, it responds ok. But I get no response when I ping login.microsoftonline.com from the Hyper-V ubuntu client server.
I can get responses to Ping from the Hyper-V ubuntu client server on external ip addresses but not on the the urls. eg, ping 8.8.8.8 responds ok but ping google.com hangs gets no response.
The ubuntu client has dns setup using both the Hyper-V client domain controller: 192.168.1.70 and the google dns server 8.8.8.8.
How can i fix this, so I can login to Azure using the az command line tools from the Hyper-V ubuntu client faster, as it is from my laptop?
*eventually, after 15 / 20 mins, I get the browser link and code to use, to get me logged in. But then, it's "retrieving tenants and subscripts.... " that takes a looong time.
*If i do the same from Windows WSL, it's immediate, no problem at all.