scylladb / local-csi-driver

ScyllaDB local volume provisioner for Kubernetes based on CSI
Apache License 2.0
7 stars 6 forks source link

Remove socket file if it exists during boot #24

Closed zimnx closed 11 months ago

zimnx commented 11 months ago

Socket file may exist when node terminates ungracefuly. Existance of it prevented driver from booting. To overcome this, we remove it before we start listening.

Tested on VM where I was able to reproduce it 100% times when VM was powered off. Issue is no longer present with the fix.

Fixes #21

scylla-operator-bot[bot] commented 11 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: tnozicka, zimnx

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/scylladb/k8s-local-volume-provisioner/blob/master/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment