GithubHelp home page GithubHelp logo

Failure to mount storage account in pod when --default-working-dir is not specified in Azure Redhat Openshift about blob-csi-driver HOT 8 CLOSED

vivekjain007 avatar vivekjain007 commented on July 27, 2024
Failure to mount storage account in pod when --default-working-dir is not specified in Azure Redhat Openshift

from blob-csi-driver.

Comments (8)

andyzhangx avatar andyzhangx commented on July 27, 2024 1

$HOME is not populated in Azure Redhat Openshift, could you help fix it in blobfuse2? e.g. if $HOME is empty, then use a ./.blobfuse2 directly? @souravgupta-msft @vibhansa-msft

from blob-csi-driver.

andyzhangx avatar andyzhangx commented on July 27, 2024

@vivekjain007 does /var/log/ folder exist on Azure Redhat Openshift?

from blob-csi-driver.

andyzhangx avatar andyzhangx commented on July 27, 2024

o, the blobfuse2 driver does not have permission to create /var/log/blobfuse2.log file

failed to create default work dir [mkdir /.blobfuse2: operation not permitted]

from blob-csi-driver.

vivekjain007 avatar vivekjain007 commented on July 27, 2024

@andyzhangx /var/log folder does exists on Azure Redhat Openshift nodes. Looks like the $HOME value is not populated properly though "$HOME/.blobfuse2" in Azure Redhat Openshift.
https://github.com/Azure/azure-storage-fuse/blob/e6872559290b57cd961e0601572329815c55fa75/common/types.go#L82
Hope this helps

from blob-csi-driver.

andyzhangx avatar andyzhangx commented on July 27, 2024

@souravgupta-msft @vibhansa-msft could you take a look at this issue? blobfuse2 already works on coreos, this is a non-blocking issue, thanks

from blob-csi-driver.

souravgupta-msft avatar souravgupta-msft commented on July 27, 2024

@andyzhangx, we have merged the PR for fixing this issue in blobfuse2, Azure/azure-storage-fuse#1296. It will be part of the next release.

from blob-csi-driver.

andyzhangx avatar andyzhangx commented on July 27, 2024

@souravgupta-msft thanks for the quick fix! this issue would be fixed in blobfuse 2.1.3

from blob-csi-driver.

vivekjain007 avatar vivekjain007 commented on July 27, 2024

Thanks Andy and team

from blob-csi-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.