You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
I recently updated to Docker v25 and started having weird issues. Narrowed it down to MAC address collision and a google search led me to moby/moby#47146
So I unassigned all my containers from their network, reassigned them and everything's now OK from a network perspective.
Now, docker_container.running seems to have issue with this because all Salt managed containersare recreated upon each run. Salt is unsetting the MacAddress.
Steps to Reproduce the behavior
Just declare and run the above.
Expected behavior
Once created, container should only be recreated if SLS or container changes, it should not be recreated upon each salt run.
Screenshots
Versions Report
salt --versions-report
Master:
Salt Version:
Salt: 3005.1Dependency Versions:
cffi: 1.15.1cherrypy: unknowndateutil: 2.8.2docker-py: Not Installedgitdb: Not Installedgitpython: Not InstalledJinja2: 3.1.2libgit2: 1.5.0M2Crypto: Not InstalledMako: Not Installedmsgpack: 1.0.4msgpack-pure: Not Installedmysql-python: Not Installedpycparser: 2.21pycrypto: 3.16.0pycryptodome: Not Installedpygit2: 1.11.1Python: 3.10.9 (main, Dec 12 2022, 17:52:15) [GCC 12.2.1 20220924]python-gnupg: Not InstalledPyYAML: 6.0PyZMQ: 24.0.1smmap: Not Installedtimelib: Not InstalledTornado: 4.5.3ZMQ: 4.3.4System Versions:
dist: alpine 3.17.0locale: utf-8machine: x86_64release: 6.5.11-7-pvesystem: Linuxversion: Alpine Linux 3.17.0
Minion:
Salt Version:
Salt: 3005.4Dependency Versions:
cffi: Not Installedcherrypy: Not Installeddateutil: 2.8.2docker-py: 5.0.3gitdb: Not Installedgitpython: Not InstalledJinja2: 3.1.2libgit2: Not InstalledM2Crypto: Not InstalledMako: Not Installedmsgpack: 1.0.3msgpack-pure: Not Installedmysql-python: Not Installedpycparser: Not Installedpycrypto: Not Installedpycryptodome: 3.11.0pygit2: Not InstalledPython: 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]python-gnupg: Not InstalledPyYAML: 6.0PyZMQ: 24.0.1smmap: Not Installedtimelib: Not InstalledTornado: 4.5.3ZMQ: 4.3.4System Versions:
dist: debian 12 bookwormlocale: utf-8machine: x86_64release: 6.5.11-7-pvesystem: Linuxversion: Debian GNU/Linux 12 bookworm
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Description
I recently updated to Docker v25 and started having weird issues. Narrowed it down to MAC address collision and a google search led me to moby/moby#47146
So I unassigned all my containers from their network, reassigned them and everything's now OK from a network perspective.
Now,
docker_container.running
seems to have issue with this because all Salt managed containersare recreated upon each run. Salt is unsetting the MacAddress.Setup
Steps to Reproduce the behavior
Just declare and run the above.
Expected behavior
Once created, container should only be recreated if SLS or container changes, it should not be recreated upon each salt run.
Screenshots
Versions Report
salt --versions-report
Master:
Minion:
Additional context
N/A
The text was updated successfully, but these errors were encountered: