-
-
Notifications
You must be signed in to change notification settings - Fork 792
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
converged_if_changed triggered on empty property #828
Comments
Can confirm this for the case that an In the recipe We fixed it by adding the following lines after 155:
|
I confirm the |
|
Still happening with ip_address in version 4.2.0. |
Just in case anyone else finds this, it looks like the ip_address issue is due to the docker-api gem using a version of the docker Engine API that is too old and does not return anything for container.info['NetworkSettings']['Networks']. Until that is updated to at least 1.21 or different logic is included here to bypass the limitation setting a static ip address for docker containers will not be recognized on subsequent chef-client runs. |
This also affects |
working_dir says it is being set to an empty string, though it is not defined as a property, causing
converge_if_changed
to run and updating the container. interesting bit isdocker inspect
shows theworking_dir
was not actually set to an empty string. expected result is docker run to immediately return with no action needed after the redeploy.The text was updated successfully, but these errors were encountered: