dashes in interface names not handled properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Unassigned |
Bug Description
**Environment**:
* OS (e.g. from /etc/os-release): Ubuntu 18.04.5 LTS
* Kolla-Ansible version: stable/ussuri (55ffe1f8f)
* Ansible version: 2.9.21
**Bug Report**
What happened:
We encountered this error during a Train -> Ussuri upgrade:
```
TASK [haproxy : Stopping all slave keepalived containers] *******
fatal: [os-ctrl-0]: FAILED! => {"msg": "The conditional check 'kolla_
```
Our api_interface name here is "os-api-internal" which resulted in the variable name "ansible_
This paragraph in the Ansible 3 documentation states that dashes need to be replaced by underscores when accessing these variables, and it seems to work the same way in 2.9:
https:/
(note that the `replace` parameters seem to be interchanged in the doc)
Based on a quick search this should also affect prechecks and ovs deployment.
description: | updated |
summary: |
- dashes in interface names not handeled properly + dashes in interface names not handled properly |
Changed in kolla-ansible: | |
importance: | Undecided → Medium |
Changed in kolla-ansible: | |
status: | New → Fix Released |
Related fix proposed to branch: master /review. opendev. org/c/openstack /kolla- ansible/ +/794545
Review: https:/