You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ unzip -l package.zip
Archive: package.zip
Length Date Time Name
--------- ---------- ----- ----
1332 1980-00-00 00:00 functionbeat.yml
67144240 1980-00-00 00:00 functionbeat
--------- -------
67145572 2 files
The issue has two parts. First, the keystore file cannot be found, thus keystoreRaw returns a zero lenght byte slice. If that's fixed, the path of the file needs to be changed from the hard coded data/functionbeat.keystore to the one configured in functionbeat.yml.
The text was updated successfully, but these errors were encountered:
Previously, Functionbeat put the keystore file under `/tmp` due to the overrides of the function. But when loading the keystore file before packaging the Beat, data path was not yet initialized, so it looked for the file under the incorrect folder. Furthermore, the file in the compressed package was hardcoded to `data/functionbeat.keystore`. So there was no way for functionbeat to find the keystore when loaded to the cloud provider.
Closes#13079
Version: master
Steps to reproduce:
Keystore file is missing:
The issue has two parts. First, the keystore file cannot be found, thus
keystoreRaw
returns a zero lenght byte slice. If that's fixed, the path of the file needs to be changed from the hard codeddata/functionbeat.keystore
to the one configured infunctionbeat.yml
.The text was updated successfully, but these errors were encountered: