Run nova-cell_v2-discover_hosts at step 5
authorEmilien Macchi <emilien@redhat.com>
Thu, 9 Feb 2017 19:34:13 +0000 (14:34 -0500)
committerEmilien Macchi <emilien@redhat.com>
Fri, 10 Feb 2017 04:00:42 +0000 (23:00 -0500)
commitbb63f514d22ea82d17947a5972b4da16e66b5a36
tree14d38fb79d44fb331d1affc470fb17d6fbc43da0
parent3b00ffc728b47e132b3ed8bc460f8697ddb32047
Run nova-cell_v2-discover_hosts at step 5

We need to run nova-cell_v2-discover_hosts at the very end of the
deployment because nova database needs to be aware of all registred
compute hosts.

1. Move keystone resources management at step 3.
2. Move nova-compute service at step 4.
3. Move nova-placement-api at step 3.
5. Run nova-cell_v2-discover_hosts at step 5 on one nova-api node.
6. Run neutron-ovs-agent at step 5 to avoid racy deployments where
   it starts before neutron-server when doing HA deployments.

With that change, we expect Nova aware of all compute services deployed
in TripleO during an initial deployment.

Depends-On: If943157b2b4afeb640919e77ef0214518e13ee15
Change-Id: I6f2df2a83a248fb5dc21c2bd56029eb45b66ceae
Related-Bug: #1663273
Related-Bug: #1663458
manifests/profile/base/keystone.pp
manifests/profile/base/neutron/ovs.pp
manifests/profile/base/nova/api.pp
manifests/profile/base/nova/compute.pp
manifests/profile/base/nova/placement.pp
spec/classes/tripleo_profile_base_nova_compute_spec.rb