It is failed to upgrade db from 0.10.1 to 2.0.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
New
|
Undecided
|
Unassigned |
Bug Description
It is failed to upgrade db from 0.10.1 to 2.0.0, the db server is mysql.
The error info:
Command failed, please check log for more info
2019-09-30 14:55:44.247 1987 CRITICAL rally [-] Unhandled error: CommandError: All MySQL CHANGE/MODIFY COLUMN operations require the existing type.
2019-09-30 14:55:44.247 1987 ERROR rally Traceback (most recent call last):
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally sys.exit(main())
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally return cliutils.
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally ret = fn(*fn_args, **fn_kwargs)
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally db.schema.
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally alembic.
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally script.run_env()
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally util.load_
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally module = load_module_
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally mod = imp.load_
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally run_migrations_
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally context.
2019-09-30 14:55:44.247 1987 ERROR rally File "<string>", line 8, in run_migrations
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally self.get_
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally step.migration_
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally batch_op.
2019-09-30 14:55:44.247 1987 ERROR rally File "/usr/lib64/
2019-09-30 14:55:44.247 1987 ERROR rally self.gen.next()
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally impl.flush()
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally fn(*arg, **kw)
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally else existing_comment,
2019-09-30 14:55:44.247 1987 ERROR rally File "/opt/rally/
2019-09-30 14:55:44.247 1987 ERROR rally "All MySQL CHANGE/MODIFY COLUMN operations "
2019-09-30 14:55:44.247 1987 ERROR rally CommandError: All MySQL CHANGE/MODIFY COLUMN operations require the existing type.