由于greengrass中的“无法卸载tmpfs”,导致部署失败

时间:2019-09-23 10:36:23

标签: greengrass

我正在尝试使用robomaker部署应用程序,但是我的greengrass出现了问题。

[2019-09-23T09:28:08.991Z][INFO]-The current core is using the AWS IoT certificates with fingerprint.   {"fingerprint": "48e7a23aaa4c4e5df50e0c2231255078483823d064b3fac50811e2bbde14306a"}
[2019-09-23T09:28:08.992Z][INFO]-Setting up overlay tmpfs mounts
[2019-09-23T09:28:08.992Z][INFO]-Tearing down overlay tmpfs mounts
[2019-09-23T09:28:08.992Z][ERROR]-Failed to unmount tmpfs   {"path": "/greengrass/ggc/packages/1.9.3/dns", "errorString": "failed to umount with args dest=\"/greengrass/ggc/packages/1.9.3/dns\" flags=\"0\": operation not permitted"}
[2019-09-23T09:28:08.992Z][ERROR]-Failed to unmount tmpfs   {"path": "/greengrass/ggc/packages/1.9.3/var/worker/overlays", "errorString": "failed to umount with args dest=\"/greengrass/ggc/packages/1.9.3/var/worker/overlays\" flags=\"0\": operation not permitted"}
[2019-09-23T09:28:08.992Z][ERROR]-Deployment failed.    {"deploymentId": "383ca1c3-99b6-4d38-904c-a38a58cc26a2", "errorString": "mounting tmpfs at /greengrass/ggc/packages/1.9.3/dns failed: failed to mount with args source=\"tmpfs\" dest=\"/greengrass/ggc/packages/1.9.3/dns\" fstype=\"tmpfs\" flags=\"0\" data=\"\": operation not permitted"}

Greengrass通过使用以下容器启动

docker run --rm --init -it --name aws-iot-greengrass --entrypoint /greengrass-entrypoint.sh -v "${PWD}/certs:/greengrass/certs" -v "${PWD}/config:/greengrass/config" -p 8883:8883 amazon/aws-iot-greengrass

我用mount命令检查了是否没有覆盖或dns。在我工作的机器历史上,它是手动卸载的。我希望greengrass在重新启动后可以重新安装,但似乎没有。我尝试在上述路径上手动安装某些东西,但没有成功。 如何重置状态或解决问题?

谢谢

0 个答案:

没有答案