Use the “archive” repo prefix, or pin Salt packages down to a minor version (you never know when another 2019.2.1 will happen).Do not use the “latest” repo prefix (except in a QA environment), and do not rush to upgrade to a latest major version.If you want to change a setting, give it a try in your QA environment for a while. Less traveled paths and settings that significantly change how Salt operates (transport, multiprocessing, zmq filtering, caching, undocumented things), tend to result in nasty surprises. Also, the upgrade process is much easier. You won’t need to adapt your states to different feature sets. Master and minion versions should be the same (the only exceptions are and ). You’ll save a lot of time if your QA environment supports snapshots. The goal is to be able to test the required combinations of Operating Systems, Salt versions (master & minion), and possible highstates. QA environment can be manual or automated. However, they are implied throughout the article. You do not have to follow these guidelines, and I often break them too. Over the years of using Salt, I developed a set of ten opinionated guiding principles that will help you maintain and upgrade it. (Mailchimp has destroyed my mailing list, so everything is manual for now. Upgrade Salt on other operating systems.Upgrade Salt on CentOS and Amazon Linux.However, it is not a 100% automatic foolproof recipe you can apply blindly. It can be also applied to regular upgrades. It contains detailed checklists that will help you to plan and perform the migration. This guide describes how to switch the repo from Py2 to P圓, identify and uninstall the old packages, then install the P圓 version. Salt Sodium (3001) has dropped Python 2 support.Salt Fluorine (2019.2.0) can be considered more-or-less mature.Salt Oxygen (2018.3.0) gained significant P圓 improvements.Salt Nitrogen (2017.7.0) is the first release that supported P圓.It is time to switch your Salt install to Python 3: Various Linux distributions will support it for a while however, many organizations already switched to Python 3 or plan to do so in the near future. As of January 1st, 2020, Python 2 has officially reached the end of life and will no longer receive any updates (except the last one in April).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |