Unable to change master_count bay attribute
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Magnum |
Fix Released
|
Medium
|
Dale Smith | ||
Bug Description
The master_count bay attribute can not be changed on a running bay.
Steps to reproduce:
1) Create a baymodel:
stack@demo:~$ magnum baymodel-create --name k8sbaymodel \
2) Create a k8s bay from that baymodel:
stack@demo:~$ magnum bay-create --name k8sbay --baymodel k8sbaymodel --node-count 1
3) Attempt to change the master_count bay attribute:
stack@demo:~$ magnum bay-update k8sbay replace master_count=2
ERROR: cannot change bay property(ies) master_count (HTTP 400) (Request-ID: req-6722c6b8-
Expected Result:
The bay's heat stack should be updated to a multi-master configuration.
Actual Result:
The API returns a 400 Bad Request response.
| Changed in magnum: | |
| assignee: | nobody → rajiv (rajiv-kumar) |
| Changed in magnum: | |
| importance: | Undecided → Medium |
run into the same issue. But It's what codes restrict. ref: https:/ /github. com/openstack/ magnum/ blob/master/ magnum/ api/validation. py#L59