Skip to content

2.25.1.0-b154

Summary:
We show Universe, Operation: Upgrade GFlags - 400 Bad Request: No changes in gflags (modify specificGflags in cluster)
even when cluster is not present. Adding a better error message would help users debug faster

Test Plan:
```
yba universe upgrade gflags set -n dkumar-cli-1 -o pretty --specific-gflags '[
    {
        "SpecificGFlags": {
            "inheritFromPrimary": false,
            "perAZ": {},
            "perProcessFlags": {
                "MASTER": {
                    "callhome_enabled": "false",
                    "max_log_size": "512",
                    "log_max_seconds_to_retain": "86450"
                },
                "TSERVER": {
                    "callhome_enabled": "false",
                    "max_log_size": "512",
                    "log_max_seconds_to_retain": "86450"
                }
            }
        },
        "ClusterType": "PRIMARY",
        "ClusterUUID": "adec578a-5e8d-4b1c-b830-ec7df3ef4084"
    }
]'
? Are you sure you want to upgrade Gflags universe: dkumar-cli-1 Yes
Cluster adec578a-5e8d-4b1c-b830-ec7df3ef4084 (PRIMARY) not found in universe
```

Reviewers: skurapati

Reviewed By: skurapati

Subscribers: yugaware

Differential Revision: https://phorge.dev.yugabyte.com/D41119
Assets 2
Loading