AWS Greengrass - Erro with public component version

0

Hello,

I currently have an Ubuntu device running AWS Greengrass Core Device with different components installed. When trying to update the version of the public component aws.greengrass.clientdevices.mqtt.Bridge and other components the deploy fails. Reviewing the log file greengrass.log I discover the next error:

Failed to negotiate version with cloud and no local version to fall back to. {componentName=aws.greengrass.Nucleus, versionRequirement={aws.greengrass.LogManager=>=2.1.0 <2.8.0, aws.greengrass.Cli=>=2.5.0 <2.8.0, aws.greengrass.StreamManager=>=2.0.0 <2.6.0, aws.greengrass.clientdevices.IPDetector=>=2.2.0 <2.9.0, aws.greengrass.clientdevices.Auth=>=2.6.0 <2.9.0}}

The surprising thing is that it requires non-existing versions, like for the component aws.greengrass.clientdevices.IPDetector (latest version is 2.1.4) or aws.greengrass.clientdevices.Auth (latest version 2.2.3)

Thank you very much in advance. All the best.

Alberto

albdom
已提问 2 年前264 查看次数
1 回答
2
已接受的回答

Hi Alberto,

what this message is saying is that your deployment cannot find a version of the Nucleus component which is compatible with the requirements of the components being deployed. In particular the issue comes from Auth requiring a version >=2.6.0 and StreamManager requiring a version <2.6.0.

To fix, review your deployment and in the configuration step ensure you select the latest version for each one of the components included.

You can also force a specific version of the Nucleus component by including it in the deployment and specifying the version in the deployment.

Cheers,

Massimimliano

AWS
专家
已回答 2 年前
  • Thank you very much for the quick response, it was indeed solved as you mentioned!

  • I am also having this problem but Auth's latest version is 2.2.3. I cannot find an Auth version >= 2.6.0 in the available public components list, so I reverted my Nucleus to 2.7.0 and then adjusted other component versions. That seemed to work, but I really don't want to use older Nucleus versions. Where is the mythical Auth >= 2.6.0?

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则