-
Notifications
You must be signed in to change notification settings - Fork 79
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
Update for installation failure in Solaris #233
Conversation
Signed-off-by: ayushbhatt29 <[email protected]>
Signed-off-by: ayushbhatt29 <[email protected]>
Signed-off-by: ayushbhatt29 <[email protected]>
Removed delivery.yml as these tests no longer exists. |
Please review this @lamont-granquist . |
.github/workflows/delivery.yml
Outdated
@@ -1,16 +0,0 @@ | |||
name: delivery |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this being removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a delivery local mode config which is still used by chef projects
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review @tas50 , i will revert this commit.
Signed-off-by: ayushbhatt29 <[email protected]>
Signed-off-by: ayushbhatt29 <[email protected]>
Signed-off-by: ayushbhatt29 <[email protected]>
What is actually being fixed here and what is the bug and what is being held onto and not released on solaris in the chef-client installation? It seems like we're fairly randomly adding a move_opt_chef and then having three copy_opt_chefs added with no explanation of why they're necessary or what underlying bug is actually being worked around. |
Hi @lamont-granquist, thank you for reviewing the PR The real issue was that the chef-client installation at the time of updating through chef_client_cookbook in Solaris was getting corrupted because of /etc/chef folder being present at the time of installation for updated chef-client version which is fixing this issue for installing new version and I have used already defined mov_opt_chef and copy_opt_chef methods to copy & move /etc/chef. So in this fix I moved /etc/chef directory to an /etc/chef.upgrade directory just as we move /opt/chef at the time of installation and moving it back to /etc/chef after the installation is done. chef-client command were not working properly because the installation was not happening properly. Before Fix
After fix
|
That doesn't look like the right fix. Nothing in /etc/chef should be causing /opt/chef/embedded/bin/ruby to throw a "bad interpreter" from the shell. |
Signed-off-by: ayushbhatt29 [email protected]
Description
These changes fix installation failure of updated chef-client in Solaris when using this cookbook.
Issues Resolved
Fixes #226