Skip to content
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 never successfully completed #326

Open
d2max opened this issue May 31, 2017 · 3 comments
Open

Chef never successfully completed #326

d2max opened this issue May 31, 2017 · 3 comments

Comments

@d2max
Copy link

d2max commented May 31, 2017

Hi,

I got an error message when I ran 'vagrant up' after installing VirtualBox and Vagrant. I'm using macbook pro i7 core with OS X Yosemite.

The error message shown at the end of the codes is:

Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.

So I went up and found another error message:
==> default: Recipe Compile Error in /var/chef/cache/cookbooks/python/attributes/default.rb

I tried 'vagrant destroy' and 'vagrant up' again, and got the same error message. Can you please help?

Thanks,
Di

@paulhyo
Copy link

paulhyo commented Jul 11, 2017

I have the same problem:
MacBook Air, OSX El Captain 10.11.6
VirtualBox: 5.1.22 r115126 (Qt5.6.2)
Vagrant: 1.9.7

Error:
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.

Ouptut:
==> default: [2017-07-11T19:57:17+00:00] DEBUG: Filtered backtrace of compile error: /var/chef/cache/cookbooks/python/attributes/default.rb:23:in from_file' ==> default: [2017-07-11T19:57:17+00:00] DEBUG: Backtrace entry for compile error: '/var/chef/cache/cookbooks/python/attributes/default.rb:23:in from_file''
==> default: [2017-07-11T19:57:17+00:00] DEBUG: Line number of compile error: '23'
==> default:
==> default: ================================================================================
==> default: Recipe Compile Error in /var/chef/cache/cookbooks/python/attributes/default.rb
==> default: ================================================================================
==> default:
==> default:
==> default: NoMethodError
==> default: -------------
==> default: undefined method python' for #<Chef::Node::Attribute:0x00000002e5c2c8> ==> default: ==> default: Cookbook Trace: ==> default: --------------- ==> default: /var/chef/cache/cookbooks/python/attributes/default.rb:23:in from_file'
==> default:
==> default: Relevant File Content:
==> default: ----------------------
==> default: /var/chef/cache/cookbooks/python/attributes/default.rb:
==> default:
==> default: 16: # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
==> default: 17: # See the License for the specific language governing permissions and
==> default: 18: # limitations under the License.
==> default: 19: #
==> default: 20:
==> default: 21: default['python']['install_method'] = 'package'
==> default: 22:
==> default: 23>> if python['install_method'] == 'package'
==> default: 24: case platform
==> default: 25: when "smartos"
==> default: 26: default['python']['prefix_dir'] = '/opt/local'
==> default: 27: else
==> default: 28: default['python']['prefix_dir'] = '/usr'
==> default: 29: end
==> default: 30: else
==> default: 31: default['python']['prefix_dir'] = '/usr/local'
==> default: 32: end
==> default:
==> default: System Info:
==> default: ------------
==> default: chef_version=13.2.20
==> default: platform=ubuntu
==> default: platform_version=12.04
==> default: ruby=ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
==> default: program_name=chef-solo worker: ppid=2090;start=19:57:12;
==> default: executable=/opt/chef/bin/chef-solo
==> default:

@DChildsy
Copy link

The (python) is deprecated and does not work with Chef 13. Should be using poise-python instead.

@sowm2006
Copy link

I have been trying to install the virtual environment on my macbook ios 10.12.6 and when I run the vagrant up command, I get message that chef never completed successfully. The failure is in the install of the python package or in finding the python method. How do I fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants