-
Notifications
You must be signed in to change notification settings - Fork 50
Description
Describe the bug
When pre-loading Greengrass Nucleus from the public download link, and then installing it, it will re-download the component from the Greengrass components library even though it's the exact same version. Message in the logs is that the component digest differs from the downloaded file.
To Reproduce
Have a deployment with the Nucleus component (for example version 2.14.3
).
Pre-load the Nucleus zip-file into /greengrass/v2/packages/artifacts/aws.greengrass.Nucleus/2.14.3/aws.greengrass.nucleus.zip
, unzip it to a separate location and start the installation by running the extracted Greengrass.jar
.
Expected behavior
Installation will be successful and deployment will be successful without additional downloads.
Actual behavior
Nucleus determines the digest of the component differs from the pre-loaded ZIP file and re-downloads the component.
Environment
- OS: Ubuntu 22.04
- JDK version: openjdk 21 headless
- Nucleus version: 2.14.3
Additional context
The impact is that when pre-loading a device with restrictions on traffic until after the initial deployment, deployment fails.
This means we have to do manual things for our automated build pipeline to update the Nucleus client when there's an newer version.