Skip to content

Disks provisioned by Storage Provisioner often cause "permission denied" or similar on write #21891

@huang-jy

Description

@huang-jy

What Happened?

I've been seeing this a while now and not be able to pinpoint this down, but I believe the storage provisioner plugin might not be generating the right permissions on disks it provisions.

Bit of background. I use Flux to provision my Kubernetes cluster deployments and I like to use Minikube to test things before spending money doing this on a managed service like GKE, EKS, etc.

However, on some deployments which work totally fine on the managed service (GKE in my case), freak out on Minikube with errors about being unable to write to disk, ranging from "Access Denied", to a full-on stack trace.

The disk is one created by the Storage Provisioner and is enabled using the --addons switch when creating the cluster in the first place, along with default-storageclass, and metrics-server

Attach the log file

N/A (will add if needed)

Operating System

Redhat/Fedora

Driver

Docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions