config-download missing data when deploying with metalsmith
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Invalid
|
Medium
|
Unassigned |
Bug Description
Using TripleO master as of the last week ofMay 2020, if I deploy with metalsmith [1] using 1 compute and 1 controller everything is fine. However If I scale to 3 controllers and 2 computes, then the following data is missing:
1. The tripleo-
2. The config-download host_vars directory contains compute-0 and controller-0 but not other hosts
3. If I modify my deployment to include 3 extra CephStorage nodes then 0 CephStorage nodes are in the resulting config-download output (not even one CephStorage related entry in the inventory or host_vars or group_vars).
Changed in tripleo: | |
milestone: | victoria-1 → victoria-3 |
Changed in tripleo: | |
milestone: | victoria-3 → wallaby-1 |
How to reproduce:
1. Provisioning hardware:
openstack overcloud node provision \
--stack $STACK \
--output deployed- metal-big. yaml \
metal-big. yaml
Where metal-big.yaml is defined as:
https:/ /github. com/fultonj/ victoria/ blob/43daa3d986 003507e98ab4ff3 adb79083db23d42 /substandard/ metal-big. yaml
2. Deploy overcloud:
ln -s /usr/share/ openstack- tripleo- heat-templates templates
--templates ~/templates/ \ data.yaml \ environments/ deployed- server- environment. yaml \ metal-big. yaml \ environments/ net-multiple- nics.yaml \ environments/ network- isolation. yaml \ environments/ network- environment. yaml \ environments/ disable- telemetry. yaml \ environments/ low-memory- usage.yaml \ environments/ enable- swap.yaml \ environments/ podman. yaml \ container- prepare. yaml \
--stack- only \
--libvirt- type qemu
openstack overcloud -v deploy \
--stack oc0
-n ../network-
-e ~/templates/
-e deployed-
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/generated-
-e ~/domain.yaml \
-e overrides.yaml \
Where overrides.yaml and network-data.yaml are:
https:/ /github. com/fultonj/ victoria/ blob/43daa3d986 003507e98ab4ff3 adb79083db23d42 /substandard/ overrides. yaml /github. com/fultonj/ victoria/ blob/43daa3d986 003507e98ab4ff3 adb79083db23d42 /network- data.yaml
https:/
3. Download the config and see that host_vars only has two hosts:
openstack overcloud config download \
--name oc0 \
--config- dir config-download
4. Genereate an inventory and observe that it only contains control-0 and compute-0:
tripleo- ansible- inventory --static- yaml-inventory \
tripleo- ansible- inventory. yaml \
- -stack oc0