File: instance-list-limit-to-cells-config-f72701ac68444e95.yaml

package info (click to toggle)
nova 2%3A18.1.0-6
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 49,532 kB
  • sloc: python: 383,759; pascal: 1,610; xml: 1,184; sh: 917; makefile: 140; sql: 43
file content (16 lines) | stat: -rw-r--r-- 856 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
other:
  - |
    The `[api]/instance_list_per_project_cells` configuration option
    was added, which controls whether or not an instance list for
    non-admin users checks all cell databases for results.  If
    disabled (the default), then a list will always contact each cell
    database looking for instances. This is appropriate if you have a
    small number of cells, and/or if you spread instances from tenants
    evenly across cells. If you confine tenants to a subset of cells,
    then enabling this will result in fewer cell database calls, as
    nova will only query the cells for which the tenant has instances
    mapped. Doing this requires one more (fast) call to the API
    database to get the relevant subset of cells, so if that is likely
    to always be the same, disabling this feature will provide better
    performance.