-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
"Bind mount check failed" error on non-EC2 infrastructure #368
Comments
Good catch. We will change One question: Does this fail the complete chef run or just produce a error and move on? |
Just produces an error message and moves on, so fixing this is more for the sake of cleaning up my logs and reducing confusion. |
Hi, There is a pull request related to this: #342 However... I wondered if rather than disabling the ability to check this bind mount presence, it should be removed from the default attribute configuration. E.g. in
Not sure if people want to use the bind mount checks in non-EC2 scenarios and the above PR would both leave the configuration kicking about and stop people from using this functionality where needed. Note that it's not just ugly logs, it also has a sleep in the loop checking (and trying again) so it will add unnecessary time to deploys. (18-24s, , depending setup). Also note that if non-EC2 people happen to be relying on this check but haven't explicitly implemented the check/configuration then this could become a breaking change for them (and one that will bite some-time-later). Guessing this should be made clear in any release notes. ~ Happy to set up a PR if the above is preferred in the community, but want to check with the experts first! |
We don't do bind mounts for on premises instances. fixes: aws#368
We don't do bind mounts for on premises instances. fixes: aws#368
opsworks_deploy_dir produces
Bind mount check failed for xxxxx
errors whennode[:opsworks][:instance][:infrastructure_class]
is not set to "ec2".https://github.com/aws/opsworks-cookbooks/blob/b0b56ff/deploy/definitions/opsworks_deploy_dir.rb#L9
This appears to be due to the
bind_mounts
recipe not being called within opsworks_initial_setup.https://github.com/aws/opsworks-cookbooks/blob/b0b56f/opsworks_initial_setup/recipes/default.rb#L8
The text was updated successfully, but these errors were encountered: