-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
No such file or directory - exportfs #106
Comments
I see this error with Chef 14 (under SLES 11) because in Chef 14.2 the execute resource was modified to include the default_env property. To quote the release note "If you find that binaries cannot be found when using the execute resource, default_env set to true may resolve those issues." I think the following change needs to be made to the cookbook to resolve this.
|
In my case the reason was that those recipes that install nfs packages were triggered later than code that initiated a `exportfs -ra'. Therefore recipes order change solved the issue. |
exportfs and authconfig execution was failing with: No such file or directory - exportfs/authconfig ### References * `default_env true` documentation: https://docs.chef.io/resources/execute/#properties * Related issue: sous-chefs/nfs#106 Signed-off-by: Enrico Usai <[email protected]>
exportfs and authconfig execution was failing with: No such file or directory - exportfs/authconfig ### References * `default_env true` documentation: https://docs.chef.io/resources/execute/#properties * Related issue: sous-chefs/nfs#106 Signed-off-by: Enrico Usai <[email protected]>
exportfs and authconfig execution was failing with: No such file or directory - exportfs/authconfig * `default_env true` documentation: https://docs.chef.io/resources/execute/#properties * Related issue: sous-chefs/nfs#106 Signed-off-by: Enrico Usai <[email protected]>
exportfs and authconfig execution was failing with: No such file or directory - exportfs/authconfig * `default_env true` documentation: https://docs.chef.io/resources/execute/#properties * Related issue: sous-chefs/nfs#106 Signed-off-by: Enrico Usai <[email protected]>
mdadm execution during the update was failing with: No such file or directory - mdadm ### References * `default_env true` documentation: https://docs.chef.io/resources/execute/#properties * Related issue: sous-chefs/nfs#106 Signed-off-by: Enrico Usai <[email protected]>
* Export default ENV when PATH is required for command execution exportfs and authconfig execution was failing with: No such file or directory - exportfs/authconfig * `default_env true` documentation: https://docs.chef.io/resources/execute/#properties * Related issue: sous-chefs/nfs#106 Signed-off-by: Enrico Usai <[email protected]> * Push instance-to-node mapping to cw log, configure new log group --------- Signed-off-by: Enrico Usai <[email protected]> Co-authored-by: Enrico Usai <[email protected]> Co-authored-by: Huajie Zhang <[email protected]>
mdadm execution during the update was failing with: No such file or directory - mdadm ### References * `default_env true` documentation: https://docs.chef.io/resources/execute/#properties * Related issue: sous-chefs/nfs#106 Signed-off-by: Enrico Usai <[email protected]>
…#2311) * Export default ENV when PATH is required for command execution exportfs and authconfig execution was failing with: No such file or directory - exportfs/authconfig * `default_env true` documentation: https://docs.chef.io/resources/execute/#properties * Related issue: sous-chefs/nfs#106 Signed-off-by: Enrico Usai <[email protected]> * Push instance-to-node mapping to cw log, configure new log group --------- Signed-off-by: Enrico Usai <[email protected]> Co-authored-by: Enrico Usai <[email protected]> Co-authored-by: Huajie Zhang <[email protected]>
exportfs and authconfig execution was failing with: No such file or directory - exportfs/authconfig ### References * `default_env true` documentation: https://docs.chef.io/resources/execute/#properties * Related issue: sous-chefs/nfs#106 Signed-off-by: Enrico Usai <[email protected]>
mdadm execution during the update was failing with: No such file or directory - mdadm ### References * `default_env true` documentation: https://docs.chef.io/resources/execute/#properties * Related issue: sous-chefs/nfs#106 Signed-off-by: Enrico Usai <[email protected]>
Platform: centos-7.2 (run in test-kitchen)
stacktrace.log
The text was updated successfully, but these errors were encountered: