kolla-ansible/releasenotes/notes/fix-nova-compute-scale-out-ae5245449cff216d.yaml
Mark Goddard 3af28d2151 Fix nova compute addition with limit
Deploy a small cloud. Add one host to the compute group in the
inventory, and scale out:

$ kolla-ansible deploy --limit <new compute host>

The command succeeds, but creating an instance fails with the following:

    Host 'compute0' is not mapped to any cell

This happens because we only discover computes on the first host in the
cell's nova conductor group. If that host is not in the specified limit,
the discovery will not happen.

This change fixes the issue by running compute discovery when any ironic
or virtualised compute hosts are in the play batch, and delegating it to
a conductor.

Change-Id: Ie984806240d147add825ffa8446ae6ff55ca4814
Closes-Bug: #1869371
2020-04-14 19:36:49 +00:00

7 lines
179 B
YAML

---
fixes:
- |
Fixes an issue with Nova when deploying new compute hosts using
``--limit``. `LP#1869371
<https://bugs.launchpad.net/kolla-ansible/+bug/1869371>`__.