Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TASK [etcd : Install keys/certs] #10

Open
Earls1996 opened this issue Dec 10, 2024 · 0 comments
Open

TASK [etcd : Install keys/certs] #10

Earls1996 opened this issue Dec 10, 2024 · 0 comments

Comments

@Earls1996
Copy link

Выполнение Playbook останавливается на этапе TASK [etcd : Install keys/certs] с ошибкой невозможности скопировать файлы 1c-kes-db1.esc.ipa-key.pem и 1c-kes-db1.esc.ipa.pem на удалённые ноды (пробовали вручную разместить в искомом пути, результат тот же) команда запуска ansible-playbook -i /mnt/share/pg_cluster-master/inventory/my_inventory -u admin_user -e "postgresql_vendor=tantordb edition=1c major_version=16 add_nexus_repo=false" /mnt/share/pg_cluster-master/pg-cluster.yaml -K
На удалённых нодах создаётся только ca.pem
root@1c-kes-db1:~# ls -lt /opt/tantor/var/lib/etcd/pg-cluster.pki
-rw------- 1 etcd etcd 1208 дек 10 21:25 ca.pem

Полный вывод ansible-playbook
pg_cluster.txt

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
failed: [1c-kes-db1.esc.ipa] (item={'f': '/mnt/share/pg_cluster-master/pki-dir/1c-kes-db1/1c-kes-db1.esc.ipa-key.pem', 'd': '/opt/tantor/var/lib/etcd/pg-cluster.pki/1c-kes-db1.esc.ipa-key.pem', 'm': '0400'}) => {"ansible_loop_var": "item", "changed": false, "item": {"d": "/opt/tantor/var/lib/etcd/pg-cluster.pki/1c-kes-db1.esc.ipa-key.pem", "f": "/mnt/share/pg_cluster-master/pki-dir/1c-kes-db1/1c-kes-db1.esc.ipa-key.pem", "m": "0400"}, "msg": "Could not find or access '/mnt/share/pg_cluster-master/pki-dir/1c-kes-db1/1c-kes-db1.esc.ipa-key.pem' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
failed: [1c-kes-db1.esc.ipa] (item={'f': '/mnt/share/pg_cluster-master/pki-dir/1c-kes-db1/1c-kes-db1.esc.ipa.pem', 'd': '/opt/tantor/var/lib/etcd/pg-cluster.pki/1c-kes-db1.esc.ipa.pem', 'm': '0600'}) => {"ansible_loop_var": "item", "changed": false, "item": {"d": "/opt/tantor/var/lib/etcd/pg-cluster.pki/1c-kes-db1.esc.ipa.pem", "f": "/mnt/share/pg_cluster-master/pki-dir/1c-kes-db1/1c-kes-db1.esc.ipa.pem", "m": "0600"}, "msg": "Could not find or access '/mnt/share/pg_cluster-master/pki-dir/1c-kes-db1/1c-kes-db1.esc.ipa.pem' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant