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.
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
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