Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[V2] Windows E2E pre-provisioned shared disk case fails #1090

Closed
edreed opened this issue Nov 18, 2021 · 1 comment
Closed

[V2] Windows E2E pre-provisioned shared disk case fails #1090

edreed opened this issue Nov 18, 2021 · 1 comment
Assignees

Comments

@edreed
Copy link
Collaborator

edreed commented Nov 18, 2021

What happened:

The test case "[Pre-Provisioned] should succeed when creating a shared disk with multiple pods" due to a missing bind source path when starting the second pod:

Nov 17 05:57:42.174: INFO: At 0001-01-01 00:00:00 +0000 UTC - event for azuredisk-volume-tester-jkjhz: { } Scheduled: Successfully assigned azuredisk-1470/azuredisk-volume-tester-jkjhz to 2370k8s001
Nov 17 05:57:42.174: INFO: At 0001-01-01 00:00:00 +0000 UTC - event for azuredisk-volume-tester-n8p7f: { } Scheduled: Successfully assigned azuredisk-1470/azuredisk-volume-tester-n8p7f to 2370k8s001
Nov 17 05:57:42.174: INFO: At 2021-11-17 05:41:13 +0000 UTC - event for azuredisk-volume-tester-n8p7f: {attachdetach-controller } SuccessfulAttachVolume: AttachVolume.Attach succeeded for volume "azuredisk-1470-disk.csi.azure.com-preprovsioned-pv-v7xff" 
Nov 17 05:57:42.174: INFO: At 2021-11-17 05:41:55 +0000 UTC - event for azuredisk-volume-tester-n8p7f: {kubelet 2370k8s001} Pulled: Container image "mcr.microsoft.com/windows/servercore:ltsc2019" already present on machine
Nov 17 05:57:42.174: INFO: At 2021-11-17 05:41:55 +0000 UTC - event for azuredisk-volume-tester-n8p7f: {kubelet 2370k8s001} Created: Created container volume-tester
Nov 17 05:57:42.174: INFO: At 2021-11-17 05:41:56 +0000 UTC - event for azuredisk-volume-tester-n8p7f: {kubelet 2370k8s001} Started: Started container volume-tester
Nov 17 05:57:42.174: INFO: At 2021-11-17 05:42:09 +0000 UTC - event for azuredisk-volume-tester-jkjhz: {kubelet 2370k8s001} Failed: Error: Error response from daemon: invalid volume specification: 'c:\var\lib\kubelet\pods\54e51611-c7a3-4413-97e7-a8861950bfc2\volumes\kubernetes.io~csi\azuredisk-1470-disk.csi.azure.com-preprovsioned-pv-bvggd\mount:c:/mnt/test-1': invalid mount config for type "bind": bind source path does not exist: c:\var\lib\kubelet\pods\54e51611-c7a3-4413-97e7-a8861950bfc2\volumes\kubernetes.io~csi\azuredisk-1470-disk.csi.azure.com-preprovsioned-pv-bvggd\mount

What you expected to happen:

Test should succeed

How to reproduce it:

Anything else we need to know?:

Environment:

  • CSI Driver version: v2.0.0-alpha.1
  • Kubernetes version (use kubectl version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@edreed edreed self-assigned this Nov 18, 2021
@edreed
Copy link
Collaborator Author

edreed commented Dec 10, 2021

Fixed by #1100

@edreed edreed closed this as completed Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant