Hi, I’ve looked at the docs for S3, browsed a few topics in this forum where similar issues to what I am seeing have been addressed, and spent several hours trying different things… but I just cannot make Azure storage work for Stratum 0 storage!
I know that it should be similar to AWS S3 (as described here and mentioned in other topics in this forum), but there are certain things like ACCES-KEY and SECRET-KEY that are different between Azure and S3 (i.e., on Azure, AFAIK, there is only one type of key for storage).
Does someone have a working example of both the .conf and the cvmfs_server mkfs command that worked for them?
I can share mine, but I have tried so many [failed] combinations that I am afraid it would be rather futile. I just need one successful example to look at.
That info is very helpful, and gives me a good idea of where to go next… but I still cannot make it work with a storage account on the public Azure cloud.
No worries. I tried both http and https and get the same error.
I think that the issue is the difference between the URL of a public Azure storage account, and the URL to access a local dev account. That is:
Local dev environment: http://127.0.0.1:10000/storageaccountname/containername
Public Azure platform: http://storageaccountname.blob.core.windows.net/containername
Could the code be constructing the URL following the dev environment pattern and thus causing the malformed URL error?
I can readily give you access to an Azure storage account. I just need a way to send you a private message with the info (e.g., key, etc.) I could not find a way to send a private message via this forum though. Any suggestions?
Also, are there logs I can look into? I see in the docs that I can set debug logs for the client, but what about the server?
I’m making some progress, but I was wondering if you could check if the existing bucket in the account you provided is public for downloads? For CVMFS, uploads are private and can be done with credentials, but downloads need to be public - one needs to be able to download all objects with any authorization.
$ sudo cvmfs_server mkfs \
-o radu \
-s cvmfs_azure.conf \
-w https://cernvmfstesting.blob.core.windows.net/radu-testing \
azure-test.cern.ch
Please let me know how it goes!
Cheers,
Radu
I saw the email notification of your reply with the good news yesterday, but I was in the middle of the automation of a Stratum 0 + Stratum 1 + CVMFS client deployments on Azure, so I did not have time to try this yet.
BTW: the deployments I did yesterday worked like a charm. I now have a complete CernVM-FS platform on Azure, ready for the research team to pilot, although it is using [the slightly more expensive] virtual disk storage on the Stratum 0, but I will try to swap it with blob storage today.
I will let you know how it goes! And thanks, yet again, for the amazing support.