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

Upgrading chef server components with the latest version #6183

Merged
merged 4 commits into from
Dec 29, 2021

Conversation

vinay-satish
Copy link
Contributor

@vinay-satish vinay-satish commented Nov 17, 2021

🔩 Description: What code changed, and why?

Upgrading the chef server to latest version - 14.11.36.

All PRs must tick these:

With occasional exceptions, all PRs from Progress employees must tick these:

  • Is the code clear? (complicated code or lots of comments--subdivide and use well-named methods, meaningful variable names, etc.)
  • Consistency checked? (user notifications, user prompts, visual patterns, code patterns, variable names)
  • Repeated code blocks eliminated? (adapt and reuse existing components, blocks, functions, etc.)
  • Spelling, grammar, typos checked? (at a minimum use make spell in any component directory)
  • Code well-formatted? (indents, line breaks, etc. improve rather than hinder readability)

All PRs from Progress employees should tick these if appropriate:

  • Tests added/updated? (all new code needs new tests)
  • Docs added/updated? (all customer-facing changes)

Please add a note next to any checkbox above if you are NOT ticking it.

📷 Screenshots, if applicable

@netlify
Copy link

netlify bot commented Nov 17, 2021

👷 Deploy Preview for chef-automate processing.

🔨 Explore the source changes: ddb6516

🔍 Inspect the deploy log: https://app.netlify.com/sites/chef-automate/deploys/61caa14f8b8aeb0008b0d5b1

@vinay-satish
Copy link
Contributor Author

vinay-satish commented Nov 19, 2021

The build is failing for 14.10.23 - https://buildkite.com/chef/chef-automate-main-verify-private/builds/19249#_
Build is successful but getting error for 14.9.23 - https://buildkite.com/chef/chef-automate-main-verify-private/builds/19243#_
This is not because of the PG 13 in chef-server, because we t is failing for the PG 9.6 chef-server build also. Tried with 14.7.13 - https://buildkite.com/chef/chef-automate-main-verify-private/builds/19268#_

@vinay-satish
Copy link
Contributor Author

There seems to be compile error in the dem vm

   automate-cs-oc-erchef: WARN: 
   automate-cs-oc-erchef: WARN:   * core/glibc ( core/glibc/2.33/20210826050111 core/glibc/2.29/20200305172459 )
   automate-cs-oc-erchef: WARN:   * core/linux-headers ( core/linux-headers/4.20.17/20210826050015 core/linux-headers/4.19.62/20200305172241 )

This could be because the chef-server is shipped with the latest Transitive Dependencies for core/glibc build - https://bldr.habitat.sh/#/pkgs/chef/oc_erchef/14.10.23/20211021174610 and may the automate may still be in the older version.

@vinay-satish
Copy link
Contributor Author

Note - There is a backward compatibility of latest chef-server with pg9.6 ; Test for the same - chef/chef-server#2953

@vinay-satish
Copy link
Contributor Author

Created a separate branch and cherry-picked the commits for fixing chef-server-ctl.
PR for the same - #6414

vinay-satish and others added 3 commits December 28, 2021 10:58
Signed-off-by: Vinay Satish <vinay.satish@progress.com>
…running.json is not present in the automate environment

Signed-off-by: Vinay Satish <vinay.satish@progress.com>
… the chef-server-ctl issues

Signed-off-by: jan shahid shaik <jashaik@progress.com>
Signed-off-by: Kallol Roy <karoy@progress.com>
Signed-off-by: Prajakta Purohit <prajakta@chef.io>
Signed-off-by: Vivek Shankar <vshankar@progress.com>
@sonarcloud
Copy link

sonarcloud bot commented Dec 28, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@vivek-yadav vivek-yadav merged commit 6c5151a into main Dec 29, 2021
@vivek-yadav vivek-yadav deleted the zei/update_server_to_latest branch December 29, 2021 11:54
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.

None yet

6 participants