709c448fdf
At present, when a cluster is patched without node_count (e.g. when
health_status and health_status_reason are patched), the node_count in
the cluster_update invocation contains cluster.node_count instead of
default_ng_worker.node_count which causes unexpected behaviour when a
cluster has additional nodegroups (e.g. the default-worker size gets
incremented by 1 if the additional nodegroup has 1 worker each time the
cluster is patched).
This PS fixes this issue by using default_ng_worker.node_count if path
"/node_count" is not present in the patch object.
Story: 2005266
Task: 39962
Change-Id: I0df5149860604f0adf52701df371e34a6e667b9d
(cherry picked from commit
|
||
---|---|---|
api-ref/source | ||
contrib | ||
devstack | ||
doc | ||
dockerfiles | ||
etc/magnum | ||
magnum | ||
playbooks | ||
releasenotes | ||
specs | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
.testr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
babel.cfg | ||
bindep.txt | ||
functional_creds.conf.sample | ||
lower-constraints.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
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:
- Free software: under the Apache license <http://www.apache.org/licenses/LICENSE-2.0>
- Wiki: https://wiki.openstack.org/wiki/Magnum_
- Documentation: https://docs.openstack.org/magnum/latest/
- Admin guide: https://docs.openstack.org/magnum/latest/admin/index.html
- Source: https://opendev.org/openstack/magnum
- Blueprints: https://blueprints.launchpad.net/magnum
- Bugs: https://storyboard.openstack.org/#!/project/openstack/magnum
- REST Client: https://opendev.org/openstack/python-magnumclient
- Release notes: https://docs.openstack.org/releasenotes/magnum/index.html
- Contributing: https://docs.openstack.org/magnum/latest/contributor/index.html