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
Today during a move into production, we face an issue caused by the tmp/ini_to_env_<module>.cache which seems to not being refreshed when the config file (/etc/metwork.config.d/<module>/config.ini) is updated while the module is stopped.
So, our environement variables were not up to date.
The text was updated successfully, but these errors were encountered:
It appears some teams (I'm part of it) extract the config files (under /etc/metwork.config.d) using archives (.tar, .tar.gz, .zip) or rpm. It's a good way to extract many file in a raw. It avoids multiplicating the operations for the operator.
But while extracting the archive or rpm, the modification date of the files is kept ! so metwork can consider the cache ini_to_env_<module>.cache is newer than the config file !
Possible solution
Consider using option -m --touch while using the commande tar for extracting file.
Today during a move into production, we face an issue caused by the
tmp/ini_to_env_<module>.cache
which seems to not being refreshed when the config file (/etc/metwork.config.d/<module>/config.ini
) is updated while the module is stopped.So, our environement variables were not up to date.
The text was updated successfully, but these errors were encountered: