Error while downloading file s3://sitewise-edge-component-artifacts-eu-central-1/dynamodb-local/1.1.0/dynamodb_local_latest.zip

0

Hello,

I have a Greengrass environment deployed on a Linux machine with the following deployment:

ComponentVersion
aws.greengrass.Cli2.9.3
aws.greengrass.Nucleus2.9.3
aws.greengrass.SecretManager2.1.4
aws.greengrass.StreamManager2.1.2
aws.greengrass.SystemsManagerAgent1.0.0
aws.iot.SiteWiseEdgeCollectorOpcua2.2.0

This deployment is green and works fine, but when I add the SiteWise Edge Processor and Publisher with following version:

ComponentVersion
aws.iot.SiteWiseEdgeProcessor2.1.29
aws.iot.SiteWiseEdgePublisher2.3.1

I receive the following error:

2023-02-22T11:39:26.251Z [INFO] (Copier) aws.iot.SiteWiseEdgeProcessor: stdout. [2023-02-22] [11:39:26] ERROR - Error while downloading file s3://sitewise-edge-component-artifacts-eu-central-1/dynamodb-local/1.1.0/dynamodb_local_latest.zip. Error: Download failed for /greengrass/v2/work/aws.iot.SiteWiseEdgeProcessor/dynamodb_local_latest.zip: (verification: FAILED):. {scriptName=services.aws.iot.SiteWiseEdgeProcessor.lifecycle.Install.Script, serviceName=aws.iot.SiteWiseEdgeProcessor, currentState=NEW}

Looks like there is an issue installing that file, but I verified the file exists on that bucket and Greengrass has the right to access it from the IAM Role.

Do you know what is the issue about?

Many thanks in advance!

질문됨 일 년 전262회 조회
1개 답변
1

As you are installing SiteWise Edge Gateway with Data processing pack, we highly recommend that you do the entire deployment through the console following steps outlined here using Default setup: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/create-gateway-ggv2.html

Console will create all the required permissions in the cloud, and the installation script will setup your OS and install missing dependencies. In advanced setup there are a number of steps that you will need to perform manually, like installing Java and creating correct IAM policy which is attached to the gateway. Your current setup is missing correct IAM policy assigned to the Greengrass Core. The policy can be found here at the bottom of the page: https://docs.aws.amazon.com/iot-sitewise/latest/userguide/configure-gateway-ggv2.html

rminliu
답변함 일 년 전
  • Thank you for the reply. I deployed the gateway using Advanced setup since I already have the gateway and the Linux machine configured. I would have preferred to fix this without redeploying the whole thing, otherwise it means I need a clean Linux machine to redeploy everything using the Default setup. It should not be related with permissions, since currently the Greengrass Core is using a role/policy allowing Admin permissions in addition to the ones listed, to exclude issues with permissions, but still the error is there. In case the best option anyway is to redeploy the gateway using the Default setup installer eventually I will do that, because I guess is the only way.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠