Project

General

Profile

action #114817

salt-states-openqa deployment failed due to SUSE ca issue on openqaworker-arm-2

Added by cdywan about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
2022-07-18
Due date:
% Done:

0%

Estimated time:

Description

Observation

There seems to be a problem with the SUSE certificate repo on openqaworker-arm-2:

openqaworker-arm-2.suse.de:
----------
ID: SUSE_CA
    Function: pkgrepo.managed
      Result: False
Comment: An exception occurred in this state: Traceback (most recent call last):
[...]
              configparser.DuplicateOptionError: While reading from '/etc/zypp/repos.d/devel_openQA_Modules.repo' [line  7]: option 'keeppackages' in section 'devel_openQA_Modules' already exists

See the GitLab pipeline for details.

Acceptance criteria

  • AC1:

Suggestions

History

#1 Updated by okurz about 2 months ago

  • Assignee set to okurz

Fixed the duplicate entry manually now. Will look into if we can do something in salt.

#2 Updated by okurz about 2 months ago

We might be able to prevent this problem by not controlling "keeppackages" with pkgrepo.managed but rely on just the line edit. Also it's problematic that we just use file.append to add a line and not ensure to remove any potentially existing line. Maybe we can fix that with another function.

#4 Updated by openqa_review about 2 months ago

  • Due date set to 2022-08-13

Setting due date based on mean cycle time of SUSE QE Tools

#5 Updated by okurz about 2 months ago

Manually corrected a persisting faulty entry on openqaworker-arm-3 and retriggered failed deployment pipeline https://gitlab.suse.de/openqa/salt-states-openqa/-/jobs/1078522

#6 Updated by okurz about 2 months ago

  • Due date deleted (2022-08-13)
  • Status changed from In Progress to Resolved

Also available in: Atom PDF