Reject updating read-only host capabilities:
1. stor_function. This field is set to 'monitor' for hosts
that are running ceph monitor process: controller-0, controller-1, storage-0.
2. Personality. This field is "virtual": not saved in the
database but returned via API and displayed via
"system host-show".
Change-Id: I6d169b68bffd74e7fae56f9d92d5930593cefe59
Closes-Bug: #1794117
Signed-off-by: Daniel Badea <email address hidden>
Reviewed: https:/ /review. openstack. org/605124 /git.openstack. org/cgit/ openstack/ stx-config/ commit/ ?id=9231c6765a0 b2953314b61d0ec ca3fe17d671e31
Committed: https:/
Submitter: Zuul
Branch: master
commit 9231c6765a0b295 3314b61d0ecca3f e17d671e31
Author: Daniel Badea <email address hidden>
Date: Tue Sep 25 16:09:52 2018 +0000
protect host capabilities
Reject updating read-only host capabilities:
controller- 1, storage-0.
1. stor_function. This field is set to 'monitor' for hosts
that are running ceph monitor process: controller-0,
2. Personality. This field is "virtual": not saved in the
database but returned via API and displayed via
"system host-show".
Change-Id: I6d169b68bffd74 e7fae56f9d92d59 30593cefe59
Closes-Bug: #1794117
Signed-off-by: Daniel Badea <email address hidden>