Skip to content

[Enhancement]: modify the ocp express admin's password will trigger redeploy #204

@longdafeng

Description

@longdafeng

Description

redeploy the cluster is a dangerous operation, please verify all arguments whether it really require redeploy.

Right now, modify the ocp expression's admin password, I think it doesn't to redeploy the whole cluster.

[root@control-001 bin]# obd cluster edit-config myoceanbase
Search param plugin and load ok
Search param plugin and load ok
Parameter check ok

[ocp-express] 172.16.0.101: DO NOT modify admin_passwd after startup
Modifications take effect after a redeployment. Are you sure that you want to start a redeployment? [y/n]: y
Save deploy "myoceanbase" configuration
Use `obd cluster redeploy myoceanbase` to make changes take effect.
Trace ID: 315c4a24-6120-11ef-baad-00163e03cb6d
If you want to view detailed obd logs, please run: obd display-trace 315c4a24-6120-11ef-baad-00163e03cb6d
[root@control-001 bin]# obd cluster redeploy myoceanbase
Are you sure to  destroy the "myoceanbase" cluster and rebuild it? [y/n]:  n
See https://www.oceanbase.com/product/ob-deployer/error-codes .
Trace ID: 4ef75164-6120-11ef-8499-00163e03cb6d
If you want to view detailed obd logs, please run: obd display-trace 4ef75164-6120-11ef-8499-00163e03cb6d

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions