diff options
author | Surya Seetharaman <suryaseetharaman.9@gmail.com> | 2018-08-16 15:51:35 +0200 |
---|---|---|
committer | Surya Seetharaman <suryaseetharaman.9@gmail.com> | 2018-09-20 22:02:26 +0200 |
commit | 21c5f3e2e5eee162e9781f733f2eac7ebd94655f (patch) | |
tree | 67a35ff074d7015a41537e415a1f33c1e7ee52b4 /contrib | |
parent | c5788293aaa3b9617ee2efac48c969c49a5016e3 (diff) | |
download | nova-21c5f3e2e5eee162e9781f733f2eac7ebd94655f.tar.gz |
Making instance/migration listing skipping down cells configurable
Presently if a cell is down, the instances in that cell are
skipped from results. Sometimes this may not be desirable for
operators as it may confuse the users who saw more instances in
their previous listing than now. This patch adds a new api config
option called list_records_by_skipping_down_cells which can be set to
False (True by default) if the operator desires to just return an
API error altogether if the user has any instance in the down cell
instead of skipping. This is essentially a configurable revert of
change I308b494ab07f6936bef94f4c9da45e9473e3534d for bug 1726301 so
that operators can opt into the 500 response behaviour during listing.
Change-Id: Id749761c58d4e1bc001b745d49b6ff0f3732e133
Related-Bug: #1726301
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions