Open barcastel opened 1 year ago
@barcastel Ansible works based on OpenSSH. Generally, it needs to be connected to the public IP address. As for you saying that it can be connected through private network, it needs to be explored whether it can work. Thanks!
@Fred-sun That's true that Ansible based on OpenSSH, but OpenSSH doesn't require public access, it just requires a access, no matter weather its via private internal network or public internet. (My Ansible controller and target hosts are connected via internal network only and I'm able to run playbooks).
My issue is with azure_rm_storageblob
module specific, that although I'm able to access my Blob account with wget
or nslookup
via Azure's private virtual network only, the task (download/upload file from/to Blob) hangs until timeout is reached. Only when the Ansible targets are connected to the internet (Public IP, NAT GW, etc.) the task manage to finish successfully.
+1 I'm having the same issue when trying to access Blobs from Ansible target which is not configured with Public IP.
@barcastel @eranborovik I see, I will recheck it! Thank you very much!
Hi @Fred-sun , any insights ? Thank you.
@eranborovik I don't have a clear explanation for this, I will discuss it with other developers, thank you!
@Fred-sun follow-up so it wont fall through the cracks.. any idea? ETA for diagnostic/solution? Please keep me up-to-date. Thank you.
@Fred-sun its been almost 2 months, any updates??
I believe this is related to my #1222 , but from the opposite perspective of only wanting data plane access to be required for ops that don't happen on the azure management plane.
SUMMARY
My Ansible target instances are on Azure, with no internet access. I want to download/upload files to my Azure Blob Storage Account via Azure's backbone network using my instances' virtual network. I did everything that is needed to make sure the instance have a connection to Blob via backbone network (I believe). [service endpoints, blob firewall rules, network security rules etc...] Running `nslookup my-storage-account.blob.core.windows.net returns my storage account's IP so connection is verified.
Using Ansible Blob module
azure_rm_storageblob
, I'm getting timeout, only when I'm allowing my target instance a public internet access (using Public IP or NAT GW] the task is successfully executes.ISSUE TYPE
COMPONENT NAME
azure_rm_storageblob
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Microsoft.Storage
on the subnetVirtualNetwork
Service Tag toStorage
Service Tag.EXPECTED RESULTS
Blob files located on my target hosts in desired location.
ACTUAL RESULTS
Playbook hangs until timeout reached. if timeout is not set it hangs "forever".