Skip to content

Failed to create PVC in Red Hat Enterprise Linux  #12

@agrimmer

Description

@agrimmer

In Red Hat Enterprise Linux (tested version was 7), all PVC get stuck in the Pending state.
When having a look into the local-path-provisioner, I get the following errors

ERROR: logging before flag.Parse: W0812 14:37:48.766313       1 controller.go:686] Retrying syncing claim "keptn/mongodata" because failures 0 < threshold 15
ERROR: logging before flag.Parse: E0812 14:37:48.767489       1 controller.go:701] error syncing claim "keptn/mongodata": failed to provision volume with StorageClass "local-path": failed to create volume pvc-b577bdcc-82d6-47c6-9dcc-5807a2a7e1d6: create process timeout after 120 seconds
ERROR: logging before flag.Parse: I0812 14:37:48.767857       1 event.go:221] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"keptn", Name:"mongodata", UID:"b577bdcc-82d6-47c6-9dcc-5807a2a7e1d6", APIVersion:"v1", ResourceVersion:"1636", FieldPath:""}): type: 'Warning' reason: 'ProvisioningFailed' failed to provision volume with StorageClass "local-path": failed to create volume pvc-b577bdcc-82d6-47c6-9dcc-5807a2a7e1d6: create process timeout after 120 seconds
ERROR: logging before flag.Parse: W0812 14:37:49.011368       1 controller.go:686] Retrying syncing claim "keptn/configuration-volume" because failures 0 < threshold 15
ERROR: logging before flag.Parse: E0812 14:37:49.011417       1 controller.go:701] error syncing claim "keptn/configuration-volume": failed to provision volume with StorageClass "local-path": failed to create volume pvc-98913114-574b-41f4-9caf-73a917c4a975: create process timeout after 120 seconds
ERROR: logging before flag.Parse: I0812 14:37:49.011449       1 event.go:221] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"keptn", Name:"configuration-volume", UID:"98913114-574b-41f4-9caf-73a917c4a975", APIVersion:"v1", ResourceVersion:"1665", FieldPath:""}): type: 'Warning' reason: 'ProvisioningFailed' failed to provision volume with StorageClass "local-path": failed to create volume pvc-98913114-574b-41f4-9caf-73a917c4a975: create process timeout after 120 seconds
ERROR: logging before flag.Parse: I0812 14:38:03.767775       1 controller.go:927] provision "keptn/mongodata" class "local-path": started
time="2020-08-12T14:38:03Z" level=info msg="Creating volume pvc-b577bdcc-82d6-47c6-9dcc-5807a2a7e1d6 at k3s-grimmer-redhat:/var/lib/rancher/k3s/storage/pvc-b577bdcc-82d6-47c6-9dcc-5807a2a7e1d6" 
ERROR: logging before flag.Parse: I0812 14:38:03.774346       1 event.go:221] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"keptn", Name:"mongodata", UID:"b577bdcc-82d6-47c6-9dcc-5807a2a7e1d6", APIVersion:"v1", ResourceVersion:"1636", FieldPath:""}): type: 'Normal' reason: 'Provisioning' External provisioner is provisioning volume for claim "keptn/mongodata"
ERROR: logging before flag.Parse: I0812 14:38:04.011931       1 controller.go:927] provision "keptn/configuration-volume" class "local-path": started
time="2020-08-12T14:38:04Z" level=info msg="Creating volume pvc-98913114-574b-41f4-9caf-73a917c4a975 at k3s-grimmer-redhat:/var/lib/rancher/k3s/storage/pvc-98913114-574b-41f4-9caf-73a917c4a975" 
ERROR: logging before flag.Parse: I0812 14:38:04.024515       1 event.go:221] Event(v1.ObjectReference{Kind:"PersistentVolumeClaim", Namespace:"keptn", Name:"configuration-volume", UID:"98913114-574b-41f4-9caf-73a917c4a975", APIVersion:"v1", ResourceVersion:"1665", FieldPath:""}): type: 'Normal' reason: 'Provisioning' External provisioner is provisioning volume for claim "keptn/configuration-volume"

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