-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EFS Mount Targets not created when ebextension runs... #21
Comments
I'm running into the same issue, I see:
@ricardo-mela where in the script did you add this? Can you provide a snippet of the code where you added it? Thanks! |
Line 60 of https://github.com/aws-samples/eb-php-wordpress/blob/master/.ebextensions/efs-mount.config is a good place to do so. Otherwise, you can run a loop with an As mentioned on my previous comment, |
I cannot get pass this error at all, please help |
I have exactly the same problem here. Finally, to get wordpress running, I've had to disable the EFS creation. A good solution without disabling the EFS creation would be appreciated. |
Could you use the built-in wait?
https://docs.aws.amazon.com/cli/latest/reference/ec2/wait/volume-available.html
…On Sat, 3 Aug 2019 at 07:00, ricardo-mela ***@***.***> wrote:
Line 60 of
https://github.com/aws-samples/eb-php-wordpress/blob/master/.ebextensions/efs-mount.config
is a good place to do so.
Otherwise, you can run a loop with an aws efs describe-mount-targets
--file-system-id ${EFS_FILE_SYSTEM_ID} command and continue when the
command returns exit code 0. Try not use exponential backoff or similar, as
in any AWS API call.
As mentioned on my previous comment,
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#21?email_source=notifications&email_token=AF4P4JCEPEKITZ3NTBZVL2TQCS4ABA5CNFSM4FIOQQJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3PAMPI#issuecomment-517867069>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF4P4JGKRNB6L6APJXY4VOLQCS4ABANCNFSM4FIOQQJA>
.
--
Onno Benschop
()/)/)() ..ASCII for Onno..
|>>? ..EBCDIC for Onno..
--- -. -. --- ..Morse for Onno..
If you need to know: "What computer should I buy?" http://goo.gl/spsb66
ITmaze - ABN: 56 178 057 063 - ph: 04 1219 8888 -
[email protected]
|
Finally I've found the problem, but not the solution (well, perhaps a possible solution is not using Amazon Linux 2). It is described here: |
Yes, I can definitely confirm that using Amazon Linux 1 instead of 2 everything works correctly. |
Hi @dherrerab |
Well, it's been a long time since this, I can hardly remember, but I suppose that just not including the files efs-create.config and efs-mount.config in the folder .ebextensions should do the trick. |
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.
The text was updated successfully, but these errors were encountered: