Releases: openebs-archive/node-disk-manager
Releases · openebs-archive/node-disk-manager
v0.4.1-RC1
fix(controller): add extra checks before removing finalizer (#283) To prevent accidental deletion of BDC, the BDC controller will now perform an additional check to make sure that the finalizer added by NDM will be the last one to be removed from the BDC object. The new workflow will be: - NDM Operator 1. NDM Operator will be watching all the BDCs 2. If DeletionTimeStamp is set on the BDC, then, Controller will check for the no.of finalizers on the BDC, if it has only one finalizer, then check whether NDM finalizer is present. If yes, the BD will be marked as released and the NDM finalizer will be removed. 3. NDM operator will make sure that, its finalizer is the last one to be removed from the BDC - Maya (Owner of BDC) 1. Maya will create the BDC and add a finalizer to it. 2. When pool/localpv is deleted and cleanedup, this finalizer should be removed by maya, and will delete the BDC 3. Once deletion timestamp is set, NDM operator takes up the work. This approach will give partial control of how the BDC should be deleted to the owner of BDC. If the user who creates the claim, want to prevent accidental deletion, user can add a finalizer but then it will be the responsibility of the user to remove it. This approach also makes sure that BD will be marked as Released only when no one else is using the corresponding BDC. Signed-off-by: Akhil Mohan <[email protected]>
v0.4.0
- introduce blockdevice resource for managing all blockdevices on the system
- introduce blockdeviceclaim resource for claiming and unclaiming
blockdevices - introduce NDM operator for managing blockdeviceclaim
- add scrub job to clean the blockdevice once it is unclaimed
- add probe to get mount information of blockdevices
- add integration test for disk attach, dynamic disk attach and disk
detach operations
v0.4.0-RC3
fix(cleaner): change dd to wipefs (#273) Fixed high cpu/io utilization of cleanup job. Using dd caused heavy load on the CPU, and prevented other pods from getting scheduled on the node. It also caused kube-api server crash at times. By using wipefs instead of dd only the file-system signatures will be erased. This process is much faster than writing zeros, since we are only working with certain block(superblocks). Signed-off-by: Akhil Mohan <[email protected]>
v0.4.0-RC2
feat(scrub-job): scrub job to clean data on released block devices (#…
v0.4.0-RC1
feat(bdd, deviceclaim): implemented BDD for device claim. (#257) 1) Added YAMLs for integration testing 2) Udev functions for simulating devices. The udev functions could be used to trigger fake udev events so that ndm detects the events and updates the CRs. functions will be required to create a fake disk, trigger add/remove/change events 3) sanity tests will be done in a single node minikube cluster and functions for interfacing with the cluster is included.The cluster start and stop is not included as this will be done by the VM. Status of cluster, and generation of kube-config files will be checked 4) package to query kube-API server and retrieve results in a predefined format is included. The various resources like configmap, CRD etc can also be created using this package. These resources will be created using the YAMLs 5) The basic tests include: a) running NDM and checking for pod b) checking for sparse disks c) check for external disk already attached d) check for external disk attached at runtime Signed-off-by: Akhil Mohan <[email protected]>