-
Notifications
You must be signed in to change notification settings - Fork 45
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
build,scripts,salt: Pin salt version in bootstrap and restore and set repo priority to 1 #2734
build,scripts,salt: Pin salt version in bootstrap and restore and set repo priority to 1 #2734
Conversation
In bootstrap and restore we install salt-minion on the node so we need to pin the salt version we want to install and not just install the one yum will find depending on various things (like available versions, priority on repos, ...). Also set the priority to 1 on all our repos so that our repositories has priority over others if the `yum-plugin-priorities` package is installed. NOTE: If `yum-plugin-priorities` is installed and priority is set on one repos then other repos with the same package will just be ignored (e.g.: epel installed with priority=98 we cannot install `salt-3000.3` as salt-3000.3 is excluded because a repo with some priority has the package in a different version) Fixes: #2704
Hello teddyandrieux,My role is to assist you with the merge of this Status report is not available. |
Integration data createdI have created the integration data for the additional destination branches.
The following branches will NOT be impacted:
You can set option
|
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
Peer approvals must include at least 1 approval from the following list:
|
/approve |
In the queueThe changeset has received all authorizations and has been added to the The changeset will be merged in:
The following branches will NOT be impacted:
There is no action required on your side. You will be notified here once IMPORTANT Please do not attempt to modify this pull request.
If you need this pull request to be removed from the queue, please contact a The following options are set: approve |
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
Please check the status of the associated issue GH-2704. Goodbye teddyandrieux. |
Component:
'salt', 'build', 'scripts'
Context:
#2704
Summary:
In bootstrap and restore we install salt-minion on the node so we need
to pin the salt version we want to install and not just install the one
yum will find depending on various things (like available versions,
priority on repos, ...).
Also set the priority to 1 on all our repos so that our repositories has
priority over others if the
yum-plugin-priorities
package isinstalled.
NOTE: If
yum-plugin-priorities
is installed and priority is set on onerepos then other repos with the same package will just be ignored
(e.g.: epel installed with priority=98 we cannot install
salt-3000.3
as salt-3000.3 is excluded because a repo with some priority has the
package in a different version)
Test:
Tested manually with
And
yum-plugin-priorities
installed and it works well (even if salt-2015 is already installed before bootstrapping)Fixes: #2704