-
Notifications
You must be signed in to change notification settings - Fork 54
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
SLES: Chef-server no longer installs with version 2.1.0 #168
Comments
@vinyar Try removing the There is a bug still because I would not have expected the platform name to be @shain when you get a chance please look at this too. |
@wrightp @scotthain tried commenting out the two params. Same issue |
The second output from gist https://gist.github.com/vinyar/3e4bdaa8ce0ee7850ebb473fcbbca887#file-no-specifications-rb looks like an even older version of chef-ingredient... |
@vinyar Could you humor me and clear your cookbook cache and run it? |
@wrightp https://gist.github.com/vinyar/3e4bdaa8ce0ee7850ebb473fcbbca887#gistcomment-2099777 updated gist with 3rd file. It got further this time. I had a dependency on both chef-stack and chef-ingredient, which likely caused issued.. I removed chef-stack. This time converge broke on manage with the same 'cant find package' issue. |
@vinyar That same error would be expected for addons. The addons use the same underlying chef_ingredient logic. The platform and platform_version detection for SLES/SUSE is the fix that was released as part of 2.1. The correct thing to do is to allow chef-ingredient to auto-detected the platform. This should have been seemless for anyone still setting |
Durrr that makes sense. Nuked the params, but still hitting the snag on mixlib
|
It looks like the addons may not be honoring the set platform options, but rather the chef_server resource platform settings. That would also be a bug. It's that the case, I will write up a new issue and assign it to a member of the chef-ingredient team. |
Note: there is no SLES chef-manage package. So technically, el would have to be set. Again, looks like a bug there. |
Here is the offending code. https://github.com/chef-cookbooks/chef-ingredient/blob/master/libraries/helpers.rb#L331-L332 chef-manage does not have a sles package, so the new code will force sles when in fact we need to override chef-manage to use el. @schisamo @scotthain
b) Expectations are misaligned:
Note, I will ask the author to look into the addons platform issue which is unrelated... |
We've reverted the omnibus logic and reinstated the previous functionality in 2.1.1 |
Cookbook version
2.1.0
Chef-client version
12.19.36
Platform Details
AME="SLES"
VERSION="12-SP2"
VERSION_ID="12.2"
PRETTY_NAME="SUSE Linux Enterprise Server 12 SP2"
ID="sles"
Scenario:
Install chef-server using chef-ingredient wrapper on Suse.
This was working last night with ingredients version 2.0.5
Steps to Reproduce:
take dependency of latest chef-ingredient cookbook: 2.1.0
define the following resource:
Expected Result:
success
Actual Result:
https://gist.github.com/vinyar/3e4bdaa8ce0ee7850ebb473fcbbca887
The text was updated successfully, but these errors were encountered: