action #131540
Updated by okurz over 1 year ago
## Observation https://gitlab.suse.de/openqa/salt-states-openqa/-/blob/master/openqa/repos.sls#L62 does ``` /etc/zypp/zypp.conf: ini.options_present: - sections: main: solver.dupAllowVendorChange: true ``` but `openqa-piworker:/home/okurz # grep -i vendor /etc/zypp/zypp*` says ``` … /etc/zypp/zypp.conf:solver.dupAllowVendorChange = false ``` ## Acceptance criteria * **AC1:** all salt controlled generic machines, e.g. openqa-piworker, allow openqa-piworker allows vendor change same as openQA workers others * **AC2:** the change is supplied by salt * **AC3:** All OSD salt controlled machines are up-to-date ## Suggestions * Convince yourself that "AllowVendorChange=true" is what we want for all machines. If not convinced yet then watch https://www.youtube.com/watch?v=x8kEaJU6hlw . If still not convinced then talk to okurz. * Move the change from openqa/repos.sls to a file that is applied on all machines * Carefully manually check every generic machine how the effect would be, e.g. with `salt -C 'not G@roles:webui and not G@roles:worker' cmd.run 'zypper -n dup --dry-run --allow-vendor-change'` * Move the change from openqa/repos.sls to a file that is applied on all machines * Ensure that all our salt controlled machines are up-to-date after the above change (if any), e.g. `salt \* cmd.run 'zypper -n dup'`