How to fix a VM history record from the db


(Álvaro Simón) #1

Hi all

During last maintenance update we had an issue with one of our VMs (the VM was removed and it is no longer used). We have tried to fix the db inconsistency running onedb fsck but we got these messages:

[UNREPAIRED] History record for VM 578 seq # 1 is not closed (etime = 0)
[UNREPAIRED] History record for VM 578 seq # 2 is not closed (etime = 0)
[UNREPAIRED] History record for VM 578 seq # 3 is not closed (etime = 0)

Do you know any safe way to remove the spurious history records for that specific vm id?

Cheers and thanks!
Álvaro