Project

General

Profile

Actions

action #131540

closed

openqa-piworker fails to upgrade many packages. vendor change is not enabled as our salt states so far only do that for openQA machines, not generic machines size:M

Added by okurz 11 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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 vendor change same as openQA workers
  • 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.
  • 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'

Related issues 1 (0 open1 closed)

Copied from openQA Infrastructure - action #131249: [alert][ci][deployment] OSD deployment failed, grenache-1, worker5, worker2 salt-minion does not return, error message "No response" size:MResolvedokurz2023-06-22

Actions
Actions

Also available in: Atom PDF