开发者社区 > 云原生 > Serverless > 正文

Serverless 应用引擎部署的时候挂载nas报错,这个怎么解决呢?

Serverless 应用引擎部署的时候挂载nas报错,这个怎么解决呢? Error: failed to create containerd task: failed to create shim: Failed to Create Container: container create Caused by: rpc status: code: INTERNAL message: "add_storages [driver: \"overlay\" driver_options: \"rootfs_over_builtin\" source: \"zhihuiying-1b74a96b-b9d5-4729-bb5a-0ed8cfe856bf-rootfs\" fstype: \"overlay\" options: \"lowerdir=/run/kata-containers/shared/containers/passthrough/zhihuiying-1b74a96b-b9d5-4729-bb5a-0ed8cfe856bf/rootfs_lower\" options: \"upperdir=/run/builtin_wlayer/zhihuiying-1b74a96b-b9d5-4729-bb5a-0ed8cfe856bf/upper\" options: \"workdir=/run/builtin_wlayer/zhihuiying-1b74a96b-b9d5-4729-bb5a-0ed8cfe856bf/work\" options: \"userxattr\" mount_point: \"/run/kata-containers/shared/containers/passthrough/zhihuiying-1b74a96b-b9d5-4729-bb5a-0ed8cfe856bf/rootfs\", driver: \"local\" options: \"mode=777\" mount_point: \"/run/builtin_wlayer/emptydir/agent-tools-vol\", driver: \"enfs\" source: \"192.168.0.217:/\" fstype: \"nfs\" options: \"vers=3\" options: \"noresvport\" options: \"nolock\" options: \"tcp\" options: \"addr=192.168.0.217\" mount_point: \"/tmp/storage/containers/zhihuiying-1b74a96b-b9d5-4729-bb5a-0ed8cfe856bf-880dae57-c0aa-4c45-9bd7-f55b1ab9ab41-mount\"] failed: ensure nfs src exists 192.168.0.217:/\n\nCaused by:\n 0: ping 2049\n 1: kata-agent ping ip addr timeout. Ip addr: 192.168.0.217:2049\n 2: connection timed out": unknown

展开
收起
真的很搞笑 2023-08-14 13:09:07 125 0
1 条回答
写回答
取消 提交回答
  • 北京阿里云ACE会长

    当在 Serverless 应用引擎部署时,挂载 NAS(Network Attached Storage)时遇到错误,可以尝试以下解决方法:

    检查 NAS 配置:确保 NAS 的配置正确,包括 NAS 的文件系统类型、挂载路径、访问权限等。确认 NAS 的相关配置与部署脚本或配置文件中的设置一致。

    检查权限和访问密钥:确保部署所使用的访问密钥(Access Key)具有足够的权限来访问和挂载 NAS。检查 NAS 的权限策略,确保允许所使用的访问密钥执行必要的操作。

    检查网络连接和安全组配置:确保 Serverless 应用引擎所在的网络环境能够正常访问 NAS。检查安全组配置,确保允许与 NAS 之间的网络流量。

    检查容器运行时配置:根据错误信息中的提示,检查容器运行时(如 containerd)的配置。确保容器运行时配置正确,并且支持所需的存储驱动(如 overlay)。

    联系服务提供商支持:如果以上方法仍无法解决问题,建议联系 Serverless 应用引擎的服务提供商进行进一步的支持和指导。提供详细的错误信息和部署配置,以便他们能够更好地帮助你解决问题。

    2023-08-14 19:55:21
    赞同 展开评论 打赏

快速交付实现商业价值。

相关产品

  • 函数计算
  • Serverless 应用引擎
  • 相关电子书

    更多
    云上高性能NAS的技术揭秘和行业应用 立即下载
    高性能NAS助力企业业务上云 立即下载
    云上NAS:云上高性能NAS技术揭秘和行业应用 立即下载