File: cells-discover-hosts-06a3079ba687e092.yaml

package info (click to toggle)
nova 2:14.0.0-4+deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 33,804 kB
  • sloc: python: 315,557; sh: 1,317; xml: 1,184; pascal: 1,168; makefile: 126; sql: 43
file content (28 lines) | stat: -rw-r--r-- 1,724 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
features:
  - A new nova-manage command has been added to discover any new hosts that are
    added to a cell. If a deployment has migrated to cellsv2 using either the
    simple_cell_setup or the map_cell0/map_cell_and_hosts/map_instances combo
    then anytime a new host is added to a cell this new
    "nova-manage cell_v2 discover_hosts" needs to be run before instances can
    be booted on that host. If multiple hosts are added at one time the command
    only needs to be run one time to discover all of them. This command should
    be run from an API host, or a host that is configured to use the nova_api
    database.

    Please note that adding a host to a cell and not running this command could
    lead to build failures/reschedules if that host is selected by the
    scheduler. The discover_hosts command is necessary to route requests to the
    host but is not necessary in order for the scheduler to be aware of the
    host. It is advised that nova-compute hosts are configured with
    "enable_new_services=False" in order to avoid failures before the hosts
    have been discovered.
issues:
  - If a deployer has updated their deployment to using cellsv2 using either
    the simple_cell_setup or the map_cell0/map_cell_and_hosts/map_instances
    combo and they add a new host into the cell it may cause build failures
    or reschedules until they run the "nova-manage cell_v2 discover_hosts"
    command. This is because the scheduler will quickly become aware of the
    host but nova-api will not know how to route the request to that host until
    it has been "discovered". In order to avoid that it is advised that
    new computes are disabled until the discover command has been run.