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

Bump omnibus chef-infra to 15.4.20 #1774

Merged
merged 1 commit into from
Oct 1, 2019
Merged

Conversation

snapp
Copy link
Contributor

@snapp snapp commented Oct 1, 2019

chef-server builds began breaking when chef/omnibus-software#1099 introduced an appbundle of the inspec binary.

The issue is that chef-server is pinned to the latest stable release of chef-infra (15.3.14) which is dependent on inspec-core-bin (4.16.0) that causes the following error:

There was an error parsing `Gemfile`: There are no gemspecs at /opt/opscode/embedded/lib/ruby/gems/2.6.0/gems/inspec-core-bin-4.16.0.  Bundler cannot continue.

This fix should be considered temporary and we should ensure it gets updated to the next stable version of chef infra when possible.

chef-server builds began breaking when chef/omnibus-software#1099
introduced an appbundle of the inspec binary.

This pins chef-server's omnibus to a version of chef-infra works with
the omnibus-software change.

Signed-off-by: Christopher A. Snapp <[email protected]>
@snapp snapp requested a review from a team October 1, 2019 19:14
@snapp
Copy link
Contributor Author

snapp commented Oct 1, 2019

Copy link
Contributor

@markan markan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@snapp
Copy link
Contributor Author

snapp commented Oct 1, 2019

We should bump it a few other places as well. see: https://github.com/chef/chef-server/blob/master/doc/FrequentTasks.md#updating-chef-client

Chef Infra 15.4.20 isn't available on rubygems.

The thinking behind leaving the other places unmodified in Chef Server is that there isn't a stable release available that works (current stable is 15.3.14) with current Omnibus Software.

This PR was intended to fix the currently broken Omnibus builds with the intention being that I'd provide another PR that updates all the necessary dependencies in Chef Server once Chef Infra gets a new stable version.

@PrajaktaPurohit
Copy link
Contributor

@christopher-snapp could you create an issue to update to the latest chef-infra client as it becomes available and link it here? The change looks good. Thank you!

@snapp
Copy link
Contributor Author

snapp commented Oct 2, 2019

Issue #1776 is tracking the necessary changes once a new stable release of chef infra becomes available.

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

Successfully merging this pull request may close these issues.

3 participants