- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to resolve issue where Edge Software Configurator][v4.0] Can't Complete Connection to Node(s)?
I have installed Edge Software Configurator][v4.0] and get error when running command
[curl https://192.168.8.4:3002/download/Node-2.sh --cacert /etc/esm/esm-ca.crt | sudo bash -]
curl: (77) error setting certificate verify locations:
CAfile: /etc/esm/esm-ca.crt
CApath: /etc/ssl/certs
See screenshots
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi louisdace,
Could you check if your network interface has multiple IP addresses? I believe the docker network is not being created because the docker swarm failed to initialize. You can confirm by running docker swarm init and see if you have any errors.
If the errors are related to multiple IP addresses, try disabling ipv6 for the interface or specifying the ip address docker swarm init --advertise-addr 192.168.0.x.
Regards,
Jesus
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi louisdace,
Looking at the messages you receive on your Edge node when running the script, it looks like the certificate cannot be found. Could you confirm you ran the additional commands to configure the certificate prior to running the script?
scp pse@ESM-IP-Address:/opt/esm/esm-ca.crt .
sudo mkdir /etc/esm
sudo cp esm-ca.crt /etc/esm/
sudo mkdir /etc/docker/certs.d/<Host_IP_Address>\:5055/
sudo cp ~/esm-ca.crt /etc/docker/certs.d/<Host_IP_Address>\:5055/
Regards,
Jesus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jesus,
Yes, the additional commands to configure configure the certificate before executing the copy command.
I verified that esm-ca.crt is present in esm-ca.crt /etc/esm/ and /etc/docker/certs.d/192.168.x.x\:5055.
After executing the curl command
curl https://192.168.0.164:3002/download/Node-2.sh --cacert /etc/esm/esm-ca.crt | sudo bash - , this is the output:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13954 100 13954 0 0 717k 0 --:--:-- --:--:-- --:--:-- 717k
Checking dependencies
Verifying docker
Initialising docker swarm
Pull vm-agent image
latest: Pulling from esc_vm-agent
Digest: sha256:43b25a3c43650dd6dbc6dba6d06b5f637bc232551d0eaf5ed583fd476a6703fa
Status: Image is up to date for 192.168.0.164:5055/esc_vm-agent:latest
192.168.0.164:5055/esc_vm-agent:latest
Pull collectd image
latest: Pulling from esc_collectd
Digest: sha256:72090dab1e955a814e7c702bab3de9301cf724fe2e7a4cfc52b0d24185e4a7ea
Status: Image is up to date for 192.168.0.164:5055/esc_collectd:latest
192.168.0.164:5055/esc_collectd:latest
Creating agent network
Deploying portainer edge agent
Error: No such network: portainer_agent_network
Failed to deploy the portainer agent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi louisdace,
Could you check if your network interface has multiple IP addresses? I believe the docker network is not being created because the docker swarm failed to initialize. You can confirm by running docker swarm init and see if you have any errors.
If the errors are related to multiple IP addresses, try disabling ipv6 for the interface or specifying the ip address docker swarm init --advertise-addr 192.168.0.x.
Regards,
Jesus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you need any additional information, please submit a new question as this thread will no longer be monitored.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page