- The /usr/share/cb/cbcluster add-node command fails with the exception below:
================ Copying repo files to remote node ======================
Stopping cb-supervisord (via systemctl): [ OK ]
[Errno 2] No such file or directory: '/etc/cb/certs/cb-redis-ca.crt'
Traceback (most recent call last):
File "/usr/share/cb/virtualenv/lib/python3.9/site-packages/cb/utils/exceptions.py", line 90, in decorator
File "/usr/share/cb/virtualenv/lib/python3.9/site-packages/cb/maintenance/cbcluster/main.py", line 73, in main
File "/usr/share/cb/virtualenv/lib/python3.9/site-packages/cb/maintenance/cbcluster/tasks/add_node.py", line 136, in execute
File "/usr/share/cb/virtualenv/lib/python3.9/site-packages/cb/maintenance/cbcluster/tasks/add_node.py", line 240, in _copy_repo_files_to_new_node
File "/usr/share/cb/virtualenv/lib/python3.9/site-packages/cb/maintenance/cbcluster/tasks/add_node.py", line 285, in _copy_certs
File "/usr/share/cb/virtualenv/lib/python3.9/site-packages/cb/maintenance/cbcluster/ssh_client.py", line 169, in sudo_sftp_put
File "/usr/share/cb/virtualenv/lib/python3.9/site-packages/cb/maintenance/cbcluster/ssh_client.py", line 160, in do_sftp_put
File "/usr/share/cb/virtualenv/lib64/python3.9/site-packages/paramiko/sftp_client.py", line 757, in put
file_size = os.stat(localpath).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/etc/cb/certs/cb-redis-ca.crt