i am currently updating my agents to 8.13.1 via fleet.
The upgrade is failing on linux machines while my windows were updated like expected.
The error is
elastic-agent upgrade 8.13.1
Error: Failed trigger upgrade of daemon: failed verification of agent binary: 2 errors occurred:
* could not get .asc file: fetching asc file from '/opt/Elastic/Agent/data/elastic-agent-de80b0/downloads/elastic-agent-8.13.1-linux-x86_64.tar.gz.asc': open /opt/Elastic/Agent/data/elastic-agent-de80b0/downloads/elastic-agent-8.13.1-linux-x86_64.tar.gz.asc: no such file or directory
* fetching asc file from https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-8.13.1-linux-x86_64.tar.gz.asc: failed loading public key: Get "https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-8.13.1-linux-x86_64.tar.gz.asc": context deadline exceeded
I can download both files directly with wget so guess this is not a download problem.
In the debug log i can see hints about PGP / certificate issues?
[elastic_agent][warn] Skipped remote PGP located at "https://artifacts.elastic.co/GPG-KEY-elastic-agent" because it's unavailable: 2 errors occurred:
* Get "https://artifacts.elastic.co/GPG-KEY-elastic-agent": context deadline exceeded
* Remote PGP download failed
15:55:46.555
elastic_agent
[elastic_agent][info] Using 1 PGP keys
15:55:46.555
elastic_agent
[elastic_agent][warn] Verifier failed!
I found a way to avoid this problem by login in to the linux vm, starting the upgrade with fleet and using wget to download the missing ".asc" file.
This is working fine and now the update is running.
Sill no idea what causes the problem but maybe others with the same issue might think the solution helpfull.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.