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

Block volume sometimes takes 5 minutes #2710

Closed
sathieu opened this issue Dec 18, 2023 · 4 comments
Closed

Block volume sometimes takes 5 minutes #2710

sathieu opened this issue Dec 18, 2023 · 4 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@sathieu
Copy link

sathieu commented Dec 18, 2023

Is this a BUG REPORT or FEATURE REQUEST?:

/kind bug

What happened:

PVC ReadWriteOnce sometimes takes 5 minutes to be provisionned (i.e. PV to be created) unless we set NetPermissions in the config.

This seems very strange because NetPermissions is relative to ReadWriteMany PVCs (which we don't use).

NB: we use --timeout=300s (see here)

What you expected to happen:

No delay

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • csi-vsphere version: v3.1.1
  • vsphere-cloud-controller-manager version:
  • Kubernetes version: 1.27.7
  • vSphere version: 7.0.3.01700
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Dec 18, 2023
@sathieu sathieu changed the title Block volume takes 5 minutes unless Block volume takes 5 minutes unless NetPermissions is defined Dec 18, 2023
@divyenpatel
Copy link
Member

@sathieu Net Permissions in the config secret and Volume Creation is taking longer are not related.

What is the size of your volume and are you creating thin, thick or egar-zeroed thick volume?

@sathieu
Copy link
Author

sathieu commented Dec 19, 2023

@divyenpatel I confirm that Net Permissions is not changing the delay. The delay is sometimes high and we don't yet know why.

We use Thin provisioning (set in the storage policy).

@sathieu sathieu changed the title Block volume takes 5 minutes unless NetPermissions is defined Block volume sometimes takes 5 minutes Dec 19, 2023
@sathieu
Copy link
Author

sathieu commented Dec 19, 2023

I forgot to answer about the size of the volume: we tried 1Gi and 500Gi. The problem occurred only with 500Gi disks.

@sathieu
Copy link
Author

sathieu commented Jan 15, 2024

We found the issue, it's: kubernetes-csi/external-provisioner#1099

@sathieu sathieu closed this as completed Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants