Skip to content

Releases: openebs-archive/node-disk-manager

v0.4.1-RC1

18 Jul 09:41
Compare
Choose a tag to compare
v0.4.1-RC1 Pre-release
Pre-release
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

21 Jun 12:03
Compare
Choose a tag to compare
  • 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

20 Jun 13:12
Compare
Choose a tag to compare
v0.4.0-RC3 Pre-release
Pre-release
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

14 Jun 18:36
Compare
Choose a tag to compare
v0.4.0-RC2 Pre-release
Pre-release
feat(scrub-job): scrub job to clean data on released block devices (#…

v0.4.0-RC1

07 Jun 18:22
Compare
Choose a tag to compare
v0.4.0-RC1 Pre-release
Pre-release
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]>

v0.3.5

25 Apr 06:41
Compare
Choose a tag to compare
v0.3.5 Pre-release
Pre-release
  • Fixes an issue where NDM pods failed to start on nodes with selinux=on. (#242)

v0.3.4

09 Apr 07:32
Compare
Choose a tag to compare
v0.3.4 Pre-release
Pre-release
  • Fixes an issue where NDM pods were restarting if the udev returned a nil structure during device probe. (#231)

v0.3.3

26 Mar 14:56
fb6ae95
Compare
Choose a tag to compare
v0.3.3 Pre-release
Pre-release
  • Fixes an issue where GOTRACEBACK env was not being set. (#226)

v0.3.2

28 Feb 19:02
Compare
Choose a tag to compare
v0.3.2 Pre-release
Pre-release
  • Fixes an issue with parsing of sparse file size provided in exponential format. (#215)

v0.3.1

26 Feb 17:15
Compare
Choose a tag to compare
v0.3.1 Pre-release
Pre-release
  • Fixes an issue with NDM restarting when there are less than 3 partitions. (#210)