openvstorage / framework

The Framework is a set of components and tools which brings the user an interface (GUI / API) to setup, extend and manage an Open vStorage platform.
Other
27 stars 23 forks source link

Add button to vdisk overview to checkup the DTL of the vdisk #1244

Open kinvaris opened 7 years ago

kinvaris commented 7 years ago

It would be nice to be able to instantly checkup the DTL of a volume that has a degraded DTL as seen here:

The code is already in position to execute this per vdisk: https://github.com/openvstorage/framework/blob/5099afe52d67ae72d14286357b7706223c7bfd39/ovs/lib/vdisk.py#L856

wimpers commented 7 years ago

Suggested icon http://fontawesome.io/icon/random/ or http://fontawesome.io/icon/refresh/

wimpers commented 7 years ago

@khenderick I assume there is no API yet to call ?

khenderick commented 7 years ago

@wimpers, no, there is none. There are a lot of actions appearing, maybe we should clean them up or move them to another page?

wimpers commented 7 years ago

@khenderick if you save the vdisk (management actions), would that push the save through to the DTL checkup? I know this is a workaround.

kvanhijf commented 7 years ago

Currently the DTL checkup is NOT triggered when saving a vDisk via the management actions of that vDisk

wimpers commented 7 years ago

Would that be a possible short term workarouind?

kvanhijf commented 7 years ago

Yes, but who would be responsible for triggering such workaround? If our guys should execute this, we might as well provide them with a codesnippet to trigger the DTL checkup for a single vDisk instead of implementing yet another workaround

from ovs.lib.vdisk import VDiskController
VDiskController.dtl_checkup(vdisk_guid=<guid>)