Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support custom configuration schema, and fault injection testing (#398)
* Merge acto-dev commits Signed-off-by: Tyler Gu <[email protected]> * Upload scripts Signed-off-by: Tyler Gu <[email protected]> * Fix diff ignore field Signed-off-by: Tyler Gu <[email protected]> * add config for redis * fix bugs in acto * Patch Cass operator's CRD Signed-off-by: Tyler Gu <[email protected]> * Delete jvm related config from cass-operator for now Signed-off-by: Tyler Gu <[email protected]> * Ported elasticsearch operator cloud-on-k8s * upload the config generation scripts. * update the script for config values * Change dir name because python module cannot have dot in name Signed-off-by: Tyler Gu <[email protected]> * Support UnderSpecified schema for configuration testing Signed-off-by: Tyler Gu <[email protected]> * Fix import issue Signed-off-by: Tyler Gu <[email protected]> * Fix partial func name Signed-off-by: Tyler Gu <[email protected]> * Fix get value by path Signed-off-by: Tyler Gu <[email protected]> * Fix set value by path callsite Signed-off-by: Tyler Gu <[email protected]> * Fix null value in toml Signed-off-by: Tyler Gu <[email protected]> * Add cass config test Signed-off-by: Tyler Gu <[email protected]> * Add cass config test Signed-off-by: Tyler Gu <[email protected]> * Add mongodb config test Signed-off-by: Tyler Gu <[email protected]> * Fix mongodb config schema Signed-off-by: Tyler Gu <[email protected]> * Fix cass-operator config crd Signed-off-by: Tyler Gu <[email protected]> * Fix string schema for loading unknown properties Signed-off-by: Tyler Gu <[email protected]> * updated ES operator config * Workaround the cass-operator's config CRD Signed-off-by: Tyler Gu <[email protected]> * Fix import path Signed-off-by: Tyler Gu <[email protected]> * Fix merge error Signed-off-by: Tyler Gu <[email protected]> * Fix cassandra config schema Signed-off-by: Tyler Gu <[email protected]> * Fix tidb config mapping Signed-off-by: Tyler Gu <[email protected]> * Fix tidb config mapping Signed-off-by: Tyler Gu <[email protected]> * Fix boolean schema for configuration tests Signed-off-by: Tyler Gu <[email protected]> * Fix mongodb config name Signed-off-by: Tyler Gu <[email protected]> * added steady state fault injection impl * updated elastic search acto config * added steady state fault injection * Add mariadb config test Signed-off-by: Tyler Gu <[email protected]> * Complete MongoDB configuration Signed-off-by: Tyler Gu <[email protected]> * Fix configparser for MariaDB Signed-off-by: Tyler Gu <[email protected]> * Retrieve all pod log when it is unhealthy Signed-off-by: Tyler Gu <[email protected]> * Retry wait for pod to be ready Signed-off-by: Tyler Gu <[email protected]> * Fix Cassandra configuration Signed-off-by: Tyler Gu <[email protected]> * Fix result is_error check for deletion tests Signed-off-by: Tyler Gu <[email protected]> * Fix deletion test Signed-off-by: Tyler Gu <[email protected]> * Revert tidb config change Signed-off-by: Tyler Gu <[email protected]> * Separate config test and func test Signed-off-by: Tyler Gu <[email protected]> * Fix config name Signed-off-by: Tyler Gu <[email protected]> * Fix mariadb config Signed-off-by: Tyler Gu <[email protected]> * Put operator port into versioned dir Signed-off-by: Tyler Gu <[email protected]> * Fix mariadb ini file parsing Signed-off-by: Tyler Gu <[email protected]> * Fix mongodb configuration Signed-off-by: Tyler Gu <[email protected]> * Fix configparser value set Signed-off-by: Tyler Gu <[email protected]> * Fix post diff test and run health oracle for rejected inputs Signed-off-by: Tyler Gu <[email protected]> * Update scripts Signed-off-by: Tyler Gu <[email protected]> * Fix mariadb config Signed-off-by: Tyler Gu <[email protected]> * Raise exception if precondition is not satisfied Signed-off-by: Tyler Gu <[email protected]> * Fix cr path bug in deletion tests Signed-off-by: Tyler Gu <[email protected]> * Use updated health oracle to check convergence Signed-off-by: Tyler Gu <[email protected]> * Format Signed-off-by: Tyler Gu <[email protected]> * Fix collecting steady_system_state Signed-off-by: Tyler Gu <[email protected]> * Enlarge tidb operator wait time Signed-off-by: Tyler Gu <[email protected]> * Correct Cassandra configuration schema Signed-off-by: Tyler Gu <[email protected]> * Use semantic replicas tests for cass operator and mongodb operator Signed-off-by: Tyler Gu <[email protected]> * Cleanup fault injection code Signed-off-by: Tyler Gu <[email protected]> * Fix Cassandra configuration Signed-off-by: Tyler Gu <[email protected]> * Fix: skip oracle if cli indicates invalid input Signed-off-by: Tyler Gu <[email protected]> * update bad values for configuration test * Support custom oracle Signed-off-by: Tyler Gu <[email protected]> * add custom oracle for mongodb * fix bugs in mongodb oracle * add tidb oracle * remove tidb commented codes * update tidb oracle * add oracle for mariadb and fixes some bugs in acto * update maraidb oracel and fixes bugs in mongodb oracle * fix bugs in oracle in mongodb * fix bugs in acto * fix mongodb oracle * fix mariadb oracle * fix bugs in mariadb oracle * fix mongodb config * make acto compatible with oracle * fix bugs in acto * fix cass-operator oracle * add missing properties for objects in cass-config * run cass-op with custom oracle * add logs to tidb oracle * fix bugs in tidb oracle * Update the run scripts Signed-off-by: Tyler Gu <[email protected]> * Delete unused scripts Signed-off-by: Tyler Gu <[email protected]> * Fix failed unittests Signed-off-by: Tyler Gu <[email protected]> * Fix cass test Signed-off-by: Tyler Gu <[email protected]> --------- Signed-off-by: Tyler Gu <[email protected]> Co-authored-by: TZ-zzz <[email protected]> Co-authored-by: yimingsu <[email protected]>
- Loading branch information