-
-
Notifications
You must be signed in to change notification settings - Fork 795
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
docker Chef 18 compatibility #1222
Comments
After searching around the issue its definitely a problem with unified_mode. By setting |
If you can submit a PR for that we'd happily review it and get it released. |
@Stromweld Unfortunately, its not that easy to implement "correctly". Well you may be able to add |
Fixing this cookbook for 18 is going to require a lot of refactoring in the resources. Signed-off-by: Lance Albertson <lance@osuosl.org>
Fixing this cookbook for 18 is going to require a lot of refactoring in the resources. Signed-off-by: Lance Albertson <lance@osuosl.org>
Fixing this cookbook for 18 is going to require a lot of refactoring in the resources. Signed-off-by: Lance Albertson <lance@osuosl.org>
* Fix various CI issues - Fix support for running on cgroupv2 - Split out amazonlinux-2 to Ubuntu 20.04 runner Signed-off-by: Lance Albertson <lance@osuosl.org> * Run smoke tests on VMs Also update tests with the new version of docker that's out. Signed-off-by: Lance Albertson <lance@osuosl.org> * Set a ceiling of Chef 17 as Chef 18 is broken due to #1222 Fixing this cookbook for 18 is going to require a lot of refactoring in the resources. Signed-off-by: Lance Albertson <lance@osuosl.org> --------- Signed-off-by: Lance Albertson <lance@osuosl.org>
@djessich, I may be misunderstanding Chef's documentation on In fact, I think that's why they're even saying something, so people will know, "hey this is the new default, so fix your stuff" either by making it work with unified mode, or specifically disabling unified mode for the resources. |
@b-dean it's our standard to enable it by default as it fixes a lot of issues in the long term. So it needs to be fixed and we cannot simply just disable it for now as it will likely cause other issues too. |
Sure, and that's fine, but in the meantime anyone using this cookbook is stuck on Chef 17, which is frustrating. |
@b-dean I completely agree. Anyone is more than welcome to work on a proper fix. I unfortunately don't have any time at the moment. |
not exactly a fix for sous-chefs#1222 Signed-off-by: Ben Dean <ben.dean@finvi.com>
not exactly a fix for sous-chefs#1222 Signed-off-by: Ben Dean <ben.dean@finvi.com>
The following resources are now custom resources: - `docker_installation` - `docker_installation_package` - `docker_installation_script` - `docker_installation_tarball` - `docker_service` - `docker_service_base` - `docker_service_manager` - `docker_service_manager_execute` - `docker_service_manager_systemd` This fixes sous-chefs#1222 so the docker cookbook will work with Chef 18 Signed-off-by: Ben Dean <ben.dean@finvi.com>
The following resources are now custom resources: - `docker_installation` - `docker_installation_package` - `docker_installation_script` - `docker_installation_tarball` - `docker_service` - `docker_service_base` - `docker_service_manager` - `docker_service_manager_execute` - `docker_service_manager_systemd` This fixes sous-chefs#1222 so the docker cookbook will work with Chef 18 Signed-off-by: Ben Dean <ben.dean@finvi.com>
not exactly a fix for sous-chefs#1222 Signed-off-by: Ben Dean <ben.dean@finvi.com>
The following resources are now custom resources: - `docker_installation` - `docker_installation_package` - `docker_installation_script` - `docker_installation_tarball` - `docker_service` - `docker_service_base` - `docker_service_manager` - `docker_service_manager_execute` - `docker_service_manager_systemd` This fixes sous-chefs#1222 so the docker cookbook will work with Chef 18 Signed-off-by: Ben Dean <ben.dean@finvi.com>
not exactly a fix for sous-chefs#1222 Signed-off-by: Ben Dean <ben.dean@finvi.com>
The following resources are now custom resources: - `docker_installation` - `docker_installation_package` - `docker_installation_script` - `docker_installation_tarball` - `docker_service` - `docker_service_base` - `docker_service_manager` - `docker_service_manager_execute` - `docker_service_manager_systemd` This fixes sous-chefs#1222 so the docker cookbook will work with Chef 18 Signed-off-by: Ben Dean <ben.dean@finvi.com>
The following resources are now custom resources: - `docker_installation` - `docker_installation_package` - `docker_installation_script` - `docker_installation_tarball` - `docker_service` - `docker_service_base` - `docker_service_manager` - `docker_service_manager_execute` - `docker_service_manager_systemd` This fixes sous-chefs#1222 so the docker cookbook will work with Chef 18 Signed-off-by: Ben Dean <ben.dean@finvi.com>
not exactly a fix for sous-chefs#1222 Signed-off-by: Ben Dean <ben.dean@finvi.com>
The following resources are now custom resources: - `docker_installation` - `docker_installation_package` - `docker_installation_script` - `docker_installation_tarball` - `docker_service` - `docker_service_base` - `docker_service_manager` - `docker_service_manager_execute` - `docker_service_manager_systemd` This fixes sous-chefs#1222 so the docker cookbook will work with Chef 18 Signed-off-by: Ben Dean <ben.dean@finvi.com>
not exactly a fix for sous-chefs#1222 Signed-off-by: Ben Dean <ben.dean@finvi.com>
The following resources are now custom resources: - `docker_installation` - `docker_installation_package` - `docker_installation_script` - `docker_installation_tarball` - `docker_service` - `docker_service_base` - `docker_service_manager` - `docker_service_manager_execute` - `docker_service_manager_systemd` This fixes sous-chefs#1222 so the docker cookbook will work with Chef 18 Signed-off-by: Ben Dean <ben.dean@finvi.com>
The following resources are now custom resources: - `docker_installation` - `docker_installation_package` - `docker_installation_script` - `docker_installation_tarball` - `docker_service` - `docker_service_base` - `docker_service_manager` - `docker_service_manager_execute` - `docker_service_manager_systemd` This fixes sous-chefs#1222 so the docker cookbook will work with Chef 18 Signed-off-by: Ben Dean <ben.dean@finvi.com>
👻 Brief Description
When executing
docker_service
resource (maybe others from libraries folder too?) from this cookbook, its configured values in resource properties are ignored when running with Chef 18.🥞 Cookbook version
10.2.4
👩🍳 Chef-Infra Version
18.0.185
🎩 Platform details
Docker Container running with Test Kitchen (e.g. RHEL 8)
Steps To Reproduce
Run
will render in
/etc/systemd/system/docker.service
🚓 Expected behavior
Should render in
/etc/systemd/system/docker.service
Pls mind
--group=someothergroup
as configured by resource properties.➕ Additional context
Works fine with Chef 17.
Maybe somehow related to unified_mode that became enabled with Chef 18 by default?
The text was updated successfully, but these errors were encountered: