Giter VIP home page Giter VIP logo

Comments (9)

andyzhangx avatar andyzhangx commented on May 18, 2024

Update:
I did a few investigations to enable CSI on Windows, finally, I found there is a blocking issue related to driver-registrar component, the error would be like following:

I0423 07:21:15.364334    8024 main.go:75] Attempting to open a gRPC connection with: %!q(*string=0xc0422940b0)
I0423 07:21:15.500335    8024 connection.go:68] Connecting to 127.0.0.1:10000
I0423 07:21:15.500335    8024 connection.go:95] Still trying, connection is CONNECTING
I0423 07:21:15.502335    8024 connection.go:92] Connected
I0423 07:21:15.502335    8024 main.go:83] Calling CSI driver to discover driver name.
I0423 07:21:15.502335    8024 connection.go:136] GRPC call: /csi.v0.Identity/GetPluginInfo
I0423 07:21:15.502335    8024 connection.go:137] GRPC request:
I0423 07:21:15.504336    8024 connection.go:139] GRPC response: name:"csi-hostpath" vendor_version:"0.2.0"
I0423 07:21:15.504336    8024 connection.go:140] GRPC error: <nil>
I0423 07:21:15.504336    8024 main.go:91] CSI driver name: "csi-hostpath"
I0423 07:21:15.504336    8024 main.go:94] Calling CSI driver to discover node ID.
I0423 07:21:15.504336    8024 connection.go:136] GRPC call: /csi.v0.Node/NodeGetId
I0423 07:21:15.504336    8024 connection.go:137] GRPC request:
I0423 07:21:15.504336    8024 connection.go:139] GRPC response: node_id:"15282k8s9010"
I0423 07:21:15.504336    8024 connection.go:140] GRPC error: <nil>
I0423 07:21:15.504336    8024 main.go:102] CSI driver node ID: "15282k8s9010"
I0423 07:21:15.504336    8024 main.go:106] Loading kubeconfig.
E0423 07:21:15.505334    8024 main.go:109] open /var/run/secrets/kubernetes.io/serviceaccount/token: The system cannot find the path specified.

It's related to kubernetes/kubernetes#52419, Windows Server Insider build 17101 would fix this issue, I will continue the work after 17101 is released(around May.2018), related error inside a windows container which has serviceAccount setting is like following:

PS C:\var\run\secrets\kubernetes.io\serviceaccount> Get-Content ca.crt
Get-Content : Could not find a part of the path 'C:\var\run\secrets\kubernetes.io\serviceaccount\ca.crt'.
At line:1 char:1
+ Get-Content ca.crt
+ ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\var\run\secr...eaccount\ca.crt:String) [Get-Content], DirectoryNotFoundException
    + FullyQualifiedErrorId : GetContentReaderDirectoryNotFoundError,Microsoft.PowerShell.Commands.GetContentCommand

Also share all my CSI on Windows work here:
https://github.com/andyzhangx/demo/tree/master/windows/csi/hostpath

from drivers.

andyzhangx avatar andyzhangx commented on May 18, 2024

FYI @karataliu

from drivers.

fejta-bot avatar fejta-bot commented on May 18, 2024

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

from drivers.

fejta-bot avatar fejta-bot commented on May 18, 2024

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

from drivers.

feiskyer avatar feiskyer commented on May 18, 2024

/remove-lifecycle rotten

from drivers.

fejta-bot avatar fejta-bot commented on May 18, 2024

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

from drivers.

fejta-bot avatar fejta-bot commented on May 18, 2024

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

from drivers.

fejta-bot avatar fejta-bot commented on May 18, 2024

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

from drivers.

k8s-ci-robot avatar k8s-ci-robot commented on May 18, 2024

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from drivers.

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.