Antelope+ overcloud host configured mishandle /etc/hosts when limiting a run to specific hosts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kayobe |
Fix Released
|
Critical
|
Matt Crees | ||
Antelope |
Fix Released
|
Critical
|
Matt Crees | ||
Bobcat |
Fix Released
|
Critical
|
Matt Crees | ||
Caracal |
Fix Released
|
Critical
|
Matt Crees | ||
Zed |
Invalid
|
Critical
|
Matt Crees | ||
kolla-ansible |
New
|
Undecided
|
Unassigned | ||
Zed |
New
|
Undecided
|
Unassigned |
Bug Description
Running an overcloud host configure limited to some hosts will remove the others from /etc/hosts.
kayobe overcloud host configure --check --diff --limit con1
TASK [etc-hosts : Generate /etc/hosts for all of the nodes] *******
Tuesday 30 January 2024 15:30:45 +0000 (0:00:00.214) 0:01:18.792 *******
--- before: /etc/hosts (content)
+++ after: /etc/hosts (content)
@@ -2,16 +2,6 @@
127.0.0.1 localhost
# BEGIN ANSIBLE GENERATED HOSTS
10.1.2.1 con1
-10.1.2.2 con2
-10.1.2.3 con3
-10.1.2.4 com1
-10.1.2.4 com2
-10.1.2.6 com3
# END ANSIBLE GENERATED HOSTS
This is because the variable ``ansible_
description: | updated |
Changed in kayobe: | |
importance: | Undecided → High |
status: | New → Triaged |
importance: | High → Critical |
Fix proposed to branch: master /review. opendev. org/c/openstack /kayobe/ +/907306
Review: https:/