yeah, I am using multinode of 1 compute, 1 controller. So I should have it. I run the command under ansible in site.yml easily as:
hosts: localhost gather_facts: true tasks: - name: test vars: host: "{{item}}" debug: msg: "/usr/bin/rsync -az -e 'ssh -i /var/lib/keystone/.ssh/id_rsa -p {{ hostvars[host]['keystone_ssh_port'] }} -F /var/lib/keystone/.ssh/config' --delete /etc/keystone/fernet-keys/ keystone@{{ 'api' | kolla_address(host) | put_address_in_context('url') }}:/etc/keystone/fernet-keys" with_items: "{{ groups['keystone'] }}"
and I got this string:
/usr/bin/rsync -az -e 'ssh -i /var/lib/keystone/.ssh/id_rsa -p 8023 -F /var/lib/keystone/.ssh/config' --delete /etc/keystone/fernet-keys/ keystone@10.0.200.11:/etc/keystone/fernet-keys
Do you think that this is the root cause? I paste it in fernet-push.sh and restart the container.
yeah, I am using multinode of 1 compute, 1 controller. So I should have it. I run the command under ansible in site.yml easily as:
hosts: localhost keystone/ .ssh/id_ rsa -p {{ hostvars[ host][' keystone_ ssh_port' ] }} -F /var/lib/ keystone/ .ssh/config' --delete /etc/keystone/ fernet- keys/ keystone@{{ 'api' | kolla_address(host) | put_address_ in_context( 'url') }}:/etc/ keystone/ fernet- keys"
gather_facts: true
tasks:
- name: test
vars:
host: "{{item}}"
debug:
msg: "/usr/bin/rsync -az -e 'ssh -i /var/lib/
with_items: "{{ groups['keystone'] }}"
and I got this string:
/usr/bin/rsync -az -e 'ssh -i /var/lib/ keystone/ .ssh/id_ rsa -p 8023 -F /var/lib/ keystone/ .ssh/config' --delete /etc/keystone/ fernet- keys/ keystone@ 10.0.200. 11:/etc/ keystone/ fernet- keys
Do you think that this is the root cause? I paste it in fernet-push.sh and restart the container.