Invalid data stored in etcd
wazir-ahmed opened this issue · comments
In a non-k8s setup (refer - https://kloudone.atlassian.net/browse/AK-8529), the kvm-service
restoration fails because of invalid data stored in etcd with the error as shown below.
Attached the dump of key-value pairs in etcd - kvms-etcd-data.txt
The initial analysis of this data shows that, there are entries with empty labels, nil
values and identity mentioned as 0.
We have to fully analysis the etcd dump and add proper validation and checks so that, in future these junk data can be reduced to zero.
@nyrahul @seswarrajan Also, what we should do if the restoration fails? Can we start the kvm-service
in a clean state with a error/warning saying that restoration failed?