CORTX ha (High-Availability) is responsible for ensuring that CORTX Solution is available in case of any hardware component or software service failures. It takes care of failover/ failback control flow for affected services and stabilizes them across CORTX cluster.
Change the mechanism to fetch consul and kafka endpoints in order to
adhere to consul based Gconf and it should also be backward compatible
supporting yaml based Gconf.
Remove storage keyword from the keys which is used to fetch cvg, data
and metadata disks
https://jts.seagate.com/browse/CORTX-32740.
As yaml based Gconf is changed to consul based Gconf, HA is failing to fetch consul and kafka endpoints. So, now HA need changed to support for consul based Gconf for HA mini provisioning to work.
Design
In order to get consul and kafka endpoints correctly, first number of endpoints can be fetched. Then after iterating, matching protocol scheme(like http, tcp) can be found in order to get correct endpoint
Coding
[ ] Coding conventions are followed and code is consistent
Testing
[x] Unit and System Tests are added
[ ] Test Cases cover Happy Path, Non-Happy Path and Scalability
Signed-off-by: Madhura Mande madhura.mande@seagate.com
Problem Statement
https://jts.seagate.com/browse/CORTX-32740. As yaml based Gconf is changed to consul based Gconf, HA is failing to fetch consul and kafka endpoints. So, now HA need changed to support for consul based Gconf for HA mini provisioning to work.
Design
In order to get consul and kafka endpoints correctly, first number of endpoints can be fetched. Then after iterating, matching protocol scheme(like http, tcp) can be found in order to get correct endpoint
Coding
Testing
Review Checklist
Review Checklist
Documentation
Checklist for Author