Container Infrastructure Management Service for OpenStack
Go to file
Feilong Wang 850b94aa6f Do not create constraints for boolean fields
On mysql 8, Boolean fields create constraints which later
make it impossible to alter the name of the column.
See: https://github.com/sqlalchemy/alembic/issues/699

Per upstream alembic recommendation, do not create constraints
explicitly.
https://github.com/sqlalchemy/alembic/issues/699#issuecomment-760983057

story: 2008488
task: 41537

Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
(cherry picked from commit bcf771bc6f)

Fix database migrations

The pattern of adding a column and then reading a table with it
no longer works in SQLAlchemy 1.3.20. This has been reported
upstream [1].

[1] https://github.com/sqlalchemy/sqlalchemy/issues/5669

squashed with: I5fd1deeef9cf70794bc61c101e1d7d4379d4b96b
(cherry picked from commit f5cf6b958c)

Change-Id: I51659c6e179d7e4e2cfc5be46348fac483d76e3b
(cherry picked from commit 210984fa26)

Conflicts:
magnum/db/sqlalchemy/alembic/versions/1d045384b966_add_insecure_baymodel_attr.py

Change-Id: Iba6f68822e4c7219f21ab2da252802dc7c3ca933
2021-03-18 12:42:28 -04:00
api-ref/source update api-ref for clustertemplate 2019-10-16 07:58:40 +00:00
contrib Merge "Fix label fixed_network_cidr" into stable/ussuri 2020-07-30 12:57:33 +00:00
devstack Remove --os-url usage 2019-09-20 11:15:03 +10:00
doc Fix syntax error in default rolesync configmap 2021-02-11 16:55:00 +00:00
dockerfiles Build new autoscaler containers 2020-04-14 09:05:00 +00:00
etc/magnum [fedora-atomic][k8s] Support default Keystone auth policy file 2019-06-11 11:57:15 +12:00
magnum Do not create constraints for boolean fields 2021-03-18 12:42:28 -04:00
playbooks [ci] Fix gate by installing python3-docker 2020-07-01 08:22:41 +00:00
releasenotes Merge "Deploy traefik from the heat-agent" into stable/ussuri 2021-03-03 09:24:23 +00:00
specs Document use of kube_tag label 2018-02-13 13:40:34 +00:00
tools containers: clean-up build code 2018-12-18 19:47:56 -05:00
.coveragerc Cleanup coverage configuration 2016-08-28 21:11:07 +01:00
.gitignore Switch to stestr 2018-07-13 13:05:52 +07:00
.gitreview Update .gitreview for stable/ussuri 2020-04-30 08:02:41 +00:00
.mailmap Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
.stestr.conf Switch to stestr 2018-07-13 13:05:52 +07:00
.testr.conf Remove minion dependency on master 2016-03-04 07:41:12 -05:00
.zuul.yaml Drop lower constraints testing 2021-02-02 11:56:41 +00:00
CONTRIBUTING.rst Update for Storyboard 2019-08-02 10:53:32 +02:00
HACKING.rst Add a hacking rule for string interpolation at logging 2017-07-15 14:49:45 +08:00
LICENSE Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
README.rst Add wiki Admin guide and Contributing notes link to README 2019-10-04 17:28:36 +08:00
babel.cfg Initial commit from github (squashed) 2014-11-18 09:23:37 -05:00
bindep.txt Add bindep.txt file 2018-04-20 14:40:19 -04:00
functional_creds.conf.sample Use keystone v3 for functional tests 2016-12-05 15:21:09 +01:00
lower-constraints.txt Cleanup py27 support 2020-04-05 09:45:17 +02:00
requirements.txt Cleanup py27 support 2020-04-05 09:45:17 +02:00
setup.cfg Cleanup py27 support 2020-04-05 09:45:17 +02:00
setup.py Cleanup py27 support 2020-04-05 09:45:17 +02:00
test-requirements.txt Cleanup py27 support 2020-04-05 09:45:17 +02:00
tox.ini Update TOX_CONSTRAINTS_FILE for stable/ussuri 2020-04-30 08:03:10 +00:00

README.rst

Team and repository tags

image

Magnum

Magnum is an OpenStack project which offers container orchestration engines for deploying and managing containers as first class resources in OpenStack.

For more information, please refer to the following resources: