Code Monkey home page Code Monkey logo

Comments (20)

fejta-bot avatar fejta-bot commented on June 12, 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 vsphere-csi-driver.

SandeepPissay avatar SandeepPissay commented on June 12, 2024

/assign @SandeepPissay

from vsphere-csi-driver.

fejta-bot avatar fejta-bot commented on June 12, 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 vsphere-csi-driver.

fejta-bot avatar fejta-bot commented on June 12, 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 vsphere-csi-driver.

k8s-ci-robot avatar k8s-ci-robot commented on June 12, 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 vsphere-csi-driver.

Alphasite avatar Alphasite commented on June 12, 2024

Mind if i take this issue? @codenrhoden @SandeepPissay

from vsphere-csi-driver.

SandeepPissay avatar SandeepPissay commented on June 12, 2024

Mind if i take this issue? @codenrhoden @SandeepPissay

Sure!

from vsphere-csi-driver.

SandeepPissay avatar SandeepPissay commented on June 12, 2024

/assign @Alphasite

from vsphere-csi-driver.

k8s-ci-robot avatar k8s-ci-robot commented on June 12, 2024

@Alphasite: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

/reopen

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 vsphere-csi-driver.

Alphasite avatar Alphasite commented on June 12, 2024

/remove-lifecycle rotten
/reopen

from vsphere-csi-driver.

k8s-ci-robot avatar k8s-ci-robot commented on June 12, 2024

@Alphasite: You can't reopen an issue/PR unless you authored it or you are a collaborator.

In response to this:

/remove-lifecycle rotten
/reopen

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 vsphere-csi-driver.

Alphasite avatar Alphasite commented on June 12, 2024

Ok, looks like this isn't supported in the vsphere-csi; this check fails:

	params.stagingTarget = req.GetStagingTargetPath()
	if params.stagingTarget == "" {
		return nil, status.Error(codes.FailedPrecondition, "Staging Target Path not set")
	}

I need to look a little more deeply into why this is failing, but in the process of digging into this work flow i found this related KEP and PR: kubernetes/enhancements#1698 & kubernetes/kubernetes#92784 which merged literally 2h ago and should provide a more generic implementation of ephemeral inline volumes.

I'll figure out if supporting/testing this current implementation makes sense considering it will soon be superseded.

from vsphere-csi-driver.

Alphasite avatar Alphasite commented on June 12, 2024

@SandeepPissay ^

from vsphere-csi-driver.

SandeepPissay avatar SandeepPissay commented on June 12, 2024

@divyenpatel was working on CSI migration and I remember that the inline volumes are supported in CSI. @divyenpatel can you confirm? And can you also send some details on how you tested inline volumes in CSI?

from vsphere-csi-driver.

divyenpatel avatar divyenpatel commented on June 12, 2024

We have validated the migration of in-line in-tree volume to vSphere CSI Driver.
Refer this - https://gist.github.com/divyenpatel/b06955dccf5944072f742f6bc9e2c59e

In this case, the in-tree inline vSphere volume is presented as in-memory PV to CSI Driver, and thus volume attachment is created using volume path as volume handle.

Spec:
  Attacher:   csi.vsphere.vmware.com
  Node Name:  k8s-node1
  Source:
    Inline Volume Spec:
      Access Modes:
        ReadWriteOnce
      Csi:
        Driver:         csi.vsphere.vmware.com
        Fs Type:        ext4
        Volume Handle:  [vsanDatastore] 0c6ad55e-88c2-e431-bccb-02000359156d/kubernetes-dynamic-pvc-b1b87f44-7f4c-453a-b740-5c307a6a956b.vmdk
      Volume Mode:      Filesystem

We have not validated the CSI inline volume support using FCD ID specified in the pod spec.

from vsphere-csi-driver.

Alphasite avatar Alphasite commented on June 12, 2024

I dont have the testbed anymore, but i ran the k8s ephemeral-inline-volume e2e tests; i think it was this test suite.

I also didn't explicitly specify a volume handle; I also tested manually with a spec similar to:

apiVersion: v1
kind: Pod
metadata:
  name: some-pod
spec:
  containers:
    ...
  volumes:
      - name: vol
        csi:
          driver: inline.storage.kubernetes.io
          volumeAttributes:
              foo: bar

But with the sphere driver. I also enabled ephemeral lifecycle mode, similar to:

apiVersion: storage.k8s.io/v1
kind: CSIDriver
metadata:
  name: mycsidriver.example.com
spec:
...
  volumeLifecycleModes:
  - Persistent
  - Ephemeral

Both manual and the e2e tests failed to create a pod with an inline ephemeral volume.

from vsphere-csi-driver.

fejta-bot avatar fejta-bot commented on June 12, 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 vsphere-csi-driver.

fejta-bot avatar fejta-bot commented on June 12, 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 vsphere-csi-driver.

fejta-bot avatar fejta-bot commented on June 12, 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 vsphere-csi-driver.

k8s-ci-robot avatar k8s-ci-robot commented on June 12, 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 vsphere-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.