Kolla-ansible's keystone role connects via ssh when generate cron for keystone-fernet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Undecided
|
Unassigned | ||
Antelope |
Fix Released
|
Undecided
|
Unassigned | ||
Yoga |
Confirmed
|
Undecided
|
Unassigned | ||
Zed |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm using kolla-ansible in container, and when cron for fernet-token is generated in task [1]
"Generate the required cron jobs for the node"
Kolla-ansible is just failing ..because it is connecting via ssh but there is no need to do it via ssh, connection local is enough.
TASK [keystone : Generate the required cron jobs for the node] *******
fatal: [controller2 -> localhost]: FAILED! => {"changed": false, "cmd": ["/usr/
fatal: [controller0 -> localhost]: FAILED! => {"changed": false, "cmd": ["/usr/
fatal: [controller1 -> localhost]: FAILED! => {"changed": false, "cmd": ["/usr/
I have kolla-ansible installed in /opt ..
Changed in kolla-ansible: | |
status: | New → In Progress |
no longer affects: | kolla-ansible/xena |
Reviewed: https:/ /review. opendev. org/c/openstack /kolla- ansible/ +/872215 /opendev. org/openstack/ kolla-ansible/ commit/ 78cf9585b78a5e3 e9b771664838f40 afc9702686
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 78cf9585b78a5e3 e9b771664838f40 afc9702686
Author: Michal Arbet <email address hidden>
Date: Mon Jan 30 21:15:47 2023 +0100
Trivial: Add connection: local for keystone-fernet cron generate task
This patch add connection local for above mentioned task as
kolla-ansible can be executed in docker container as in
my case.
When there is no connection: local, ansible is trying to connect
to localhost via ssh where specified python script is not available.
After connection: local everything is working as expected as file
is found inside container
Closes-Bug: #2004224
Change-Id: I219a958b4f101e fb71a2935e6d910 dae5c65f0be