mistral-db-manage discards rev-id parameter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
Fix Released
|
Undecided
|
Hardik Jasani |
Bug Description
mistral-db-manage is wrapper script for DB migrations framework (alembic) in mistral.
alembic accepts parameter `--rev-id` to override auto-generated revision id.
As we use alpha-numeric sequence of 001, 002, 003..., in script names, usage of this parameter is required.
Presently, mistral-db-manage doesn't handle this parameter correctly, and throws an error.
$ mistral-db-manage revision -m "add namespace column to workbooks actions" --rev-id "029"
usage: mistral-db-manage [-h] [--config-dir DIR] [--config-file PATH]
mistral-db-manage: error: unrecognized arguments: --rev-id 029
Changed in mistral: | |
assignee: | nobody → Hardik Jasani (hjasani) |
status: | New → In Progress |
Changed in mistral: | |
milestone: | none → rocky-3 |
Fix proposed to branch: master /review. openstack. org/583214
Review: https:/