aws-samples / aws-samples/eb-php-wordpress

EFS Mount Targets not created when ebextension runs...

未关闭
#21 9 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PHP
星标
166
派生
92
PR 合并指标
30 天内没有已合并 PR

描述

Hi,

I have noticed that it may happen that your environment is running the ebextensions when the mount targets are not yet created. As such, the update operation fails since the mount-efs.sh script exits due to the mount points not being ready.

I added a sleep 120 in the script to take me out of the immediate issue and it solves it, but it would be good to have some kind of retry logic for that command.

贡献指南

打开贡献指南

调研方向

从 mount-efs.sh 和运行它的 ebextension 开始;检查 mount 命令,以及在 EFS 挂载目标尚未就绪时如何处理失败。如果可能,重现启动时的竞态条件,然后验证该命令会一直重试,直到挂载目标可用,而不是导致更新失败。

由索引模型根据 Issue 内容生成。

评估

技术栈
aws, shell
领域
cloud, infrastructure
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。