Browse Source

Merge "Hardcode the names of the default NGs"

changes/87/679987/1
Zuul 3 years ago committed by Gerrit Code Review
parent
commit
c099128a61
  1. 4
      magnum/db/sqlalchemy/alembic/versions/461d798132c7_change_cluster_to_support_nodegroups.py

4
magnum/db/sqlalchemy/alembic/versions/461d798132c7_change_cluster_to_support_nodegroups.py

@ -90,7 +90,7 @@ def upgrade():
# Create a list containing populated master nodegroups
master_ngs = [{
'uuid': uuidutils.generate_uuid(),
'name': '%s-master' % rs[1],
'name': 'default-master',
'cluster_id': rs[0],
'project_id': rs[2],
'docker_volume_size': rs[3],
@ -107,7 +107,7 @@ def upgrade():
# Create a list containing populated worker nodegroups
worker_ngs = [{
'uuid': uuidutils.generate_uuid(),
'name': '%s-worker' % rs[1],
'name': 'default-worker',
'cluster_id': rs[0],
'project_id': rs[2],
'docker_volume_size': rs[3],

Loading…
Cancel
Save