-
Notifications
You must be signed in to change notification settings - Fork 581
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
chef_omnibus_root is nil on images pre-baked with a chef client #923
Comments
Experiencing this error too. Relevant section from the log:
|
Aside from when the user explicitly defines it in their config, Given mixlib-install defines sensible defaults, would it make sense to use them by default in the chef provisioners even if |
I see the same issue. We use AWS AMIs with pre-baked omnibus chef and
|
Workaround is to set this under chef_omnibus_root: /opt/chef |
Is there any update on this? I just ran into this scenario myself, but really seems to only affect RHEL6. |
@donwlewis it's not a great update but one of the reasons this was never fixed was that for a bit folks were working on the "New Provisioner Options" which moved everything to using the common The folks who were all working on this are either not at Chef or no longer part of the community but if someone (at this point not sure Chef has bandwidth or interest) wanted to finish out that work on the new system then this would fix the issue and dramatically clean up the codepaths (though probably requiring a major bump). |
This work patches test-kitchen#923 so that the issue will stop bugging people, and we can discuss implementing mixlib-install but that has downstream affects against cinc.
… systems This work patches test-kitchen#923 so that the issue will stop bugging people, and we can discuss implementing mixlib-install but that has downstream affects against cinc.
… systems This work patches test-kitchen#923 so that the issue will stop bugging people, and we can discuss implementing mixlib-install but that has downstream affects against cinc.
… systems This work patches test-kitchen#923 so that the issue will stop bugging people, and we can discuss implementing mixlib-install but that has downstream affects against cinc.
… systems This work patches test-kitchen#923 so that the issue will stop bugging people, and we can discuss implementing mixlib-install but that has downstream affects against cinc.
Thanks @tarcinil! |
On test-kitchen 1.5.0, the chef_client_path is set to /bin/chef-client if the chef_zero provisioner doesn't have to perform an omnibus install.
Here's my
kitchen diagnose
: https://gist.github.com/aespinosa/00d81f95d1a9e060c51dThe text was updated successfully, but these errors were encountered: