Closed thekoolestkat closed 1 month ago
Hi @thekoolestkat. Thanks for reaching out. Can you share your config file and mount command?
You can mention the proxy in your config file in either http-proxy or https-proxy
under azstorage section.
Hi Thanks for the prompt reply the mount command i used was "blobfuse2 mount ./blobtestrhel --config-file=./fuse-config.yaml" i also tried "blobfuse2 mount ./blobtestrhel --config-file=./fuse-config.yaml --disable-version-check=true" the proxy settings are on the linux host not held in the config file.
Config File:
logging:
type: syslog
level: log_debug
components:
libfuse
file_cache
attr_cache
azstorage
libfuse:
attribute-expiration-sec: 120
entry-expiration-sec: 120
negative-entry-expiration-sec: 240
file_cache:
path: /mnt/ramdisk/blobtestrhel
timeout-sec: 120
max-size-mb: 4096
attr_cache:
timeout-sec: 7200
azstorage:
type: block
account-name: blobtestrhel
sas:
endpoint: https://blobtestrhel.blob.core.windows.net/
mode: sas
container: data
Can you specify the proxy in environment variable http_proxy
or https_proxy
and retry mounting.
Hi Please see below: [xxxx-xxx@dvxxxxx002 ~]$ echo $http_proxy
[xxxx-xxx@dvxxxxx002 ~]$ echo $https_proxy
[xxxx-xxx@dvxxxxx002 ~]$
@thekoolestkat, can you retry mounting after setting either of the environment variable. Please share the debug logs if the mount is failing.
Hi thanks for the reply I have had the environment variables set to the proxy. Can you confirm what log files are you after ?/var/log/blobfuse2.log Thanks,
Yes, please share the logs in /var/log/blobfuse2.log
Hi please find attached the log file blobfuse2.log
proxyconnect tcp: dial tcp: lookup https://xxx.xx.xxx.42: no such host
Is the proxy configured correctly? Can you test the connectivity using wget or curl command?
Also please update the blobfuse2 version to 2.3.0.
Hi
Thanks for getting back to me so I tried few things below:
Curl Prior to upgrade with No Porxy server
Curl prior to upgrade with a proxy server configured
Mount Prior to upgrade no proxy server configured
Mount Prior to upgrade with a proxy server configured
Upgraded to 2.3.0 mount with proxy still fails with Mount
Blobfuse2.log file attached
@thekoolestkat, sorry for replying late. I was able to setup proxy and replicate this error. It is a bug in the code, and we will fix this in our next release. For now, as temporary mitigation, you can just set https_proxy
as xxx.xx.xx.42
(without protocol).
Which version of blobfuse was used? Version 2.2.1
Which OS distribution and version are you using? RedHat 8.9
If relevant, please share your mount command.
What was the issue encountered? I'm having issues with Proxy and azure storage fuse 2.2.1 trying to mount a blob store via proxy. I can see the connection going out to do a version check but it never attempts to connect to azure storage blob. When I disable version check it doesn't even try to go out. If I disable proxy settings the connections works perfectly.
Have you found a mitigation/solution?No
Please share logs if available.