framework icon indicating copy to clipboard operation
framework copied to clipboard

Introduce 'status' field for StorageDrivers

Open kvanhijf opened this issue 8 years ago • 3 comments

StorageDrivers should get a status (dynamic) property. This could be used to determine whether a vDisk can be added / deleted / migrated / ... to/from this StorageDriver. Currently we always allow this unless the corresponding StorageRouter is offline. The status of a StorageDriver could be RUNNING, INSTALLING, REMOVING, FAILURE, ...

kvanhijf avatar Mar 10 '17 12:03 kvanhijf

The edge client should be made aware of the status of the Storage Driver so it doesn't select the a Storage Driver which is not in status RUNNING. Every 5 minutes the egde client shoeld get a refreshed status.

PS. Another status could be MAINTENANCE.

wimpers avatar Oct 19 '17 07:10 wimpers

Should be fixed by:

https://github.com/openvstorage/framework/pull/2280

sjovdnbos avatar Mar 20 '19 08:03 sjovdnbos

For now: only Running and failure are implemented. There is no information per std known in the fwk at this moment regarding installing or deleting per storagedriver. If this is needed in the future, volumedriver calls will be needed for this information.

sjovdnbos avatar Mar 21 '19 13:03 sjovdnbos