Use default-worker instead of production_group
At present, resize cluster invocation via the magnum-ui fails because it tries to resize production_group nodegroup which is not a thing. Until we support ability to specify nodegroups, we ought to use the default of default-worker nodegroup. Change-Id: I3e9553e6d337ab1580c0e3bb3d1a88e8b97f2f23
This commit is contained in:
parent
c70e807c54
commit
fb8eee430e
@ -181,7 +181,7 @@
|
|||||||
function onModalSubmit() {
|
function onModalSubmit() {
|
||||||
var postRequestObject = {
|
var postRequestObject = {
|
||||||
node_count: formModel.node_count,
|
node_count: formModel.node_count,
|
||||||
nodegroup: 'production_group'
|
nodegroup: 'default-worker'
|
||||||
};
|
};
|
||||||
|
|
||||||
if (formModel.node_count < formModel.original_node_count &&
|
if (formModel.node_count < formModel.original_node_count &&
|
||||||
|
@ -203,7 +203,7 @@
|
|||||||
return magnum.upgradeCluster(formModel.id, {
|
return magnum.upgradeCluster(formModel.id, {
|
||||||
cluster_template: formModel.cluster_template_id,
|
cluster_template: formModel.cluster_template_id,
|
||||||
max_batch_size: formModel.max_batch_size,
|
max_batch_size: formModel.max_batch_size,
|
||||||
nodegroup: 'production_group'
|
nodegroup: 'default-worker'
|
||||||
}).then(onRequestSuccess);
|
}).then(onRequestSuccess);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@
|
|||||||
"data": {
|
"data": {
|
||||||
"node_count": 2,
|
"node_count": 2,
|
||||||
"nodes_to_remove": ["456"],
|
"nodes_to_remove": ["456"],
|
||||||
"nodegroup": "production_group"
|
"nodegroup": "default-worker"
|
||||||
},
|
},
|
||||||
"error": "Unable to resize given cluster id: 123.",
|
"error": "Unable to resize given cluster id: 123.",
|
||||||
"testInput": [
|
"testInput": [
|
||||||
@ -90,7 +90,7 @@
|
|||||||
{
|
{
|
||||||
"node_count": 2,
|
"node_count": 2,
|
||||||
"nodes_to_remove": ["456"],
|
"nodes_to_remove": ["456"],
|
||||||
"nodegroup": "production_group"
|
"nodegroup": "default-worker"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -109,7 +109,7 @@
|
|||||||
"data": {
|
"data": {
|
||||||
"cluster_template": "ABC",
|
"cluster_template": "ABC",
|
||||||
"max_batch_size": 1,
|
"max_batch_size": 1,
|
||||||
"node_group": "production_group"
|
"node_group": "default-worker"
|
||||||
},
|
},
|
||||||
"error": "Unable to perform rolling upgrade.",
|
"error": "Unable to perform rolling upgrade.",
|
||||||
"testInput": [
|
"testInput": [
|
||||||
@ -117,7 +117,7 @@
|
|||||||
{
|
{
|
||||||
"cluster_template": "ABC",
|
"cluster_template": "ABC",
|
||||||
"max_batch_size": 1,
|
"max_batch_size": 1,
|
||||||
"node_group": "production_group"
|
"node_group": "default-worker"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user