vmware-archive / sre-test

Greenplum - Open Source SRE test project.
2 stars 0 forks source link

gpconfig failing to validate while setting a parameter value #184

Closed bala-cg closed 3 years ago

bala-cg commented 3 years ago

Issue: This issue is observed for almost all configuration parameters, when we try to set a GP configuration parameter using gpconfig it does not validate for (1-valid range, 2- datatype) and just blindly sets the parameter in postgresql.conf file.

Correct/Expected behavior

[gpadmin@mdw_ipv4 ~]$ gpconfig -c gp_resource_manager -v 'xyz' 20210716:18:04:42:017593 gpconfig:mdw_ipv4:gpadmin-[CRITICAL]:-new GUC value failed validation: the value of gp_resource_manager must be 'group' or 'queue' new GUC value failed validation: the value of gp_resource_manager must be 'group' or 'queue'

bala-cg commented 3 years ago

gpconfig_test.txt