osmo config rollback#

Roll back a configuration to a previous revision

When rolling back a configuration, the revision number is incremented by 1 and a new revision is created. The new revision will have the same data as the desired rollback revision.

usage: osmo config rollback [-h] revision [--description DESCRIPTION] [--tags TAGS [TAGS ...]]

Positional Arguments#

revision#

Revision to roll back to in format <CONFIG_TYPE>:<revision>, e.g. SERVICE:12

Named Arguments#

--description#

Optional description for the rollback action

--tags#

Optional tags for the rollback action

Available config types (CONFIG_TYPE): BACKEND, BACKEND_TEST, DATASET, POD_TEMPLATE, POOL, RESOURCE_VALIDATION, ROLE, SERVICE, WORKFLOW

Examples#

Roll back a service configuration:

osmo config rollback SERVICE:4

Roll back with description and tags:

osmo config rollback BACKEND:7 --description "Rolling back to stable version" --tags rollback stable