Open frasertweedale opened 4 years ago
How does one know that the VLV index is incomplete or corrupt?
How does one know that the VLV index is incomplete or corrupt?
@rcritten I'll blog about it, and I shall write a script to automate checking it (it will be helpful for Support). But at a high level it goes like this:
@rcritten - Rob, should we clone the ticket into BZ? We have so many customers running into this issue that I'd really like to prioritize the development of this check.
Sure, feel free.
Sure, feel free.
VLV indices are used by Dogtag instances to work out what the next available number is, in the various managed ranges (serials, request IDs, replica IDs, key IDs, etc). If the VLV index becomes incomplete or corrupt, Dogtag attempts to add objects that already exist and operations such as certificate requests fail.
We should add a healthcheck to check relevant VLV indices against the actual database contents and detect inconsistencies.
This is a prime candidate for auto-remediation, too. All that should be required is to create a reindex task.