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-server: Upgrade to latest current build #4216

Merged
merged 8 commits into from
Aug 13, 2020

Conversation

stevendanna
Copy link
Contributor

@stevendanna stevendanna commented Aug 11, 2020

This upgrades us to the latest unstable packages built from master.
To do so, it:

  • Adds server_name_indication SSL configuration and our custom {verify, verify_ca}to avoid the issue
    outlined in [chef-server] update to latest chef server #2002.

  • Updates other SSL related configuration to be in compliance with our security checks.

  • Adapts our various wrapper scripts to changes in the upstream
    packages around ruby+bundler. Chef Server is currently in the
    process of trying to upgrade many of its deps, so more churn here is
    likely.

  • Sets the new retry_on_conn_closed option for oc_httpc to true, which
    hopefully works around some recent ibrowse changes.

Signed-off-by: Steven Danna steve@chef.io

This upgrades us to the latest unstable packages built from master.
To do so, it:

- Adds server_name_indication SSL configuration to avoid the issue
  outlined in #2002.

- Adapts our various wrapper scripts to changes in the upstream
  packages around ruby+bundler. Chef Server is currently in the
  process of trying to upgrade many of its deps, so more churn here is
  likely.

- Sets the new retry_on_conn_closed option for oc_httpc to true, which
  hopefully works around some recent ibrowse changes.

Signed-off-by: Steven Danna <steve@chef.io>
We already allow core/ruby, this is just a version upgrade where the
package name changed.

Signed-off-by: Steven Danna <steve@chef.io>
This code was trying to run `knife opc "org user" add. Now, we split
on whitespace to make sure we pass "org user" as seperate args. I
believe this was working before because of subtle differences in the
wrapper scripts.

Signed-off-by: Steven Danna <steve@chef.io>
@stevendanna stevendanna changed the title chef-server: Upgrade to latest unstable build chef-server: Upgrade to latest current build Aug 12, 2020
This allows us to avoid a breaking changing by continuing to verify
certificates but ignoring hostname mismatches.

Signed-off-by: Steven Danna <steve@chef.io>
Signed-off-by: Steven Danna <steve@chef.io>
Signed-off-by: Steven Danna <steve@chef.io>
If we don't set the umask, directories in /hab/pkgs/ might become
unreadable by the hab user.

Signed-off-by: Steven Danna <steve@chef.io>
This limits the curves offered via TLS in accordance with our TLS
scanner.

Signed-off-by: Steven Danna <steve@chef.io>
@@ -126,12 +138,14 @@
{cull_interval, {1, min}},
{max_age, {70, sec}},
{max_connection_duration, {70, sec}},
{retry_on_conn_closed, true},
Copy link
Contributor

Choose a reason for hiding this comment

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

ohh nice! you remembered to get this!

Copy link
Contributor

@PrajaktaPurohit PrajaktaPurohit left a comment

Choose a reason for hiding this comment

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

This is great! Thank you!

Copy link
Contributor

@ryancragun ryancragun left a comment

Choose a reason for hiding this comment

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

@PrajaktaPurohit PrajaktaPurohit merged commit 42f2eaf into master Aug 13, 2020
@PrajaktaPurohit PrajaktaPurohit deleted the ssd/upgrade-chef-server-maybe branch August 13, 2020 17:35
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.

4 participants