HAProxy precheck fails when kolla_externally_managed_cert is used.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Magnus Lööf | ||
Xena |
In Progress
|
Medium
|
Magnus Lööf | ||
Yoga |
In Progress
|
Medium
|
Magnus Lööf | ||
Zed |
Fix Committed
|
Medium
|
Magnus Lööf |
Bug Description
Running `kolla-ansible prechecks` when setting `kolla_
What happened:
```
TASK [haproxy : Fail if internal haproxy certificate is absent] *******
Monday 16 August 2021 19:30:03 +0200 (0:00:00.061) 0:00:50.999 *********
fatal: [node-1]: FAILED! => {"msg": "The conditional check 'not haproxy_
has no attribute 'stat'\n\nThe error appears to be in '/nix/store/
in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Fail if internal haproxy certificate is absent\n ^ here\n"}
```
What you expected to happen: no error
How to reproduce it (minimal and precise):
**Environment**:
* OS (e.g. from /etc/os-release):
* Deploy host: NixOS 21.05
* Control/Compute: Ubuntu 20.04
* Kolla-Ansible version (e.g. `git head or tag or stable branch` or pip package version if using release): ef67fb3fc33d0f0
Changed in kolla-ansible: | |
status: | New → In Progress |
Changed in kolla-ansible: | |
importance: | Undecided → Medium |
Changed in kolla-ansible: | |
assignee: | nobody → Magnus Lööf (magnus-loof) |
The fix is available in https:/ /review. opendev. org/c/openstack /kolla- ansible/ +/804793.