Rocky based deployment fails with the msg "No variable found with this name: pre_deployments_ROLE"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
New
|
Undecided
|
Unassigned |
Bug Description
Description
===========
Rocky based deployment fails with an error related to a non-existent variable:
Server deployments task from /var/lib/
```
2019-09-24 23:44:38,983 p=6194 u=mistral | fatal: [controller-0]: FAILED! => {"msg": "No variable found with this name: pre_deployments
...so on
```
When I check the variables in /var/lib/
```
Controller_
- NetworkDeployment
- ControllerDeplo
- ControllerHosts
- ControllerAllNo
- ControllerAllNo
- ControllerArtif
```
But there is no variable like pre_deployments
Steps to reproduce
==================
- Install and prepare undercloud
- Create custom templates for a HCI environment.
- Do overcloud deployment with:
```
openstack overcloud deploy \
--timeout 120 \
--templates \
-r ~/templates/
-n ~/templates/
-e /tmp/templates/
-e /tmp/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e ~/templates/
-e /tmp/templates/
-e /tmp/templates/
-e /tmp/templates/
-e ~/templates/
-e ~/templates/
```
Expected result
===============
Ansible task named Server deployment should be passed w/o any error.
Actual result
=============
Fails with a bunch of error like below:
```
2019-09-24 23:44:38,983 p=6194 u=mistral | fatal: [controller-0]: FAILED! => {"msg": "No variable found with this name: pre_deployments
```
Environment
===========
1. Openstack Rocky
2. 10 baremetal node (3 controller + 7 ComputeHCI node)
Looks like this was changed recently with https:/ /bugs.launchpad .net/tripleo/ +bug/1842141.
After https:/ /review. opendev. org/#/c/ 680722/ and https:/ /review. opendev. org/#/c/ 680724/, pre_deployments_{{ role }} is the var rather than {{ role }}_pre_deployments.
I think tripleo-common in your undercloud mistral containers are old.