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

RuntimeError: must have rackconnect ohai plugin installed #8

Closed
martinb3 opened this issue May 14, 2015 · 3 comments
Closed

RuntimeError: must have rackconnect ohai plugin installed #8

martinb3 opened this issue May 14, 2015 · 3 comments

Comments

@martinb3
Copy link
Contributor

There appears to be some sort of race condition or missing transitive dependency when running this on a new machine for the first time:

       * ohai[reload_ohai_for_rs] action reload
           - re-run ohai and merge results into node attributes

         ================================================================================
         Recipe Compile Error in /tmp/kitchen/cache/cookbooks/base_cookbook/recipes/default.rb
         ================================================================================

         RuntimeError
         ------------
         must have rackconnect ohai plugin installed

         Cookbook Trace:
         ---------------
           /tmp/kitchen/cache/cookbooks/rackspace_support/recipes/default.rb:32:in `from_file'
           /tmp/kitchen/cache/cookbooks/base_cookbook/recipes/default.rb:28:in `block in from_file'
           /tmp/kitchen/cache/cookbooks/base_cookbook/recipes/default.rb:27:in `each'

       [2015-05-14T12:35:50+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
         Chef Client failed. 7 resources updated in 33.321802105 seconds
       [2015-05-14T12:35:50+00:00] ERROR: must have rackconnect ohai plugin installed
       [2015-05-14T12:35:50+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
-----> Destroying <default-ubuntu-1404>...

I'm wondering if this a race condition or perhaps a bug because of a dependency missing in ohai. Platformstack appears to install this correctly, so I'm going to refer to that to start troubleshooting it.

@martinb3
Copy link
Contributor Author

The recipe that caused this looks like:

include_recipe 'rackspace_support::default'
if rackconnected? ...```

@jarosser06
Copy link
Contributor

Should be resolved with rackspace-cookbooks/chef-sugar-rackspace#10

@martinb3
Copy link
Contributor Author

Appears it should be fixed. Will re-open if it comes back up.

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

2 participants