kolla-ansible/ansible
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
..
action_plugins Drop python 2 support from action plugins 2019-12-11 16:07:37 +00:00
filter_plugins Implement IPv6 support in the control plane 2019-10-16 10:24:35 +02:00
group_vars CentOS 8: Use master image tag by default 2020-03-16 15:58:55 +00:00
inventory Remove kolla-ceph 2020-02-11 11:42:06 +01:00
library Remove kolla-ceph 2020-02-11 11:42:06 +01:00
roles Fix nova compute addition with limit 2020-04-14 19:36:49 +00:00
bifrost.yml Update "openstack_release" variable to static brach name 2019-09-16 12:42:44 +00:00
certificates.yml Make the certificates role just run on deploy node 2018-03-20 19:57:30 +08:00
destroy.yml Give plays in the playbooks a name 2016-12-05 15:40:56 +00:00
gather-facts.yml Fix fact gathering with --limit 2018-12-07 14:49:27 +00:00
kolla-host.yml Merge "Support Docker CE in bootstrap-servers" 2018-12-28 12:21:26 +00:00
mariadb_backup.yml Use mariabackup for database backups 2019-11-01 18:44:10 +00:00
mariadb_recovery.yml Update "openstack_release" variable to static brach name 2019-09-16 12:42:44 +00:00
nova.yml Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00
post-deploy.yml Use correct variable for default certificate paths 2018-11-19 16:25:28 +00:00
prune-images.yml Adds Docker image pruning command 2020-01-27 13:44:01 +03:00
site.yml Use "name:" instead of "role:" for *_role modules 2020-03-02 10:01:17 +01:00