Project

General

Profile

Actions

action #159963

open

[sporadic] salt-pillars-openqa deploy pipeline fails because file.manage complains about »name '__env__' is not defined«

Added by nicksinger 8 months ago. Updated 29 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2024-05-06
Due date:
% Done:

0%

Estimated time:

Description

Observation

https://gitlab.suse.de/openqa/salt-pillars-openqa/-/jobs/2571863

worker34.oqa.prg2.suse.org:
----------
          ID: /etc/ssh/sshd_config
    Function: file.managed
      Result: False
     Comment: Unable to manage file: name '__env__' is not defined
     Started: 11:37:24.951794
    Duration: 162.446 ms
     Changes:   
----------
          ID: sshd
    Function: service.running
      Result: False
     Comment: One or more requisite failed: sshd./etc/ssh/sshd_config
     Started: 11:37:25.118150
    Duration: 0.003 ms
     Changes:   
----------
[…snip…]
worker29.oqa.prg2.suse.org:
----------
          ID: /etc/ssh/sshd_config
    Function: file.managed
      Result: False
     Comment: Unable to manage file: name '__env__' is not defined
     Started: 11:37:24.091996
    Duration: 140.863 ms
     Changes:   
----------
          ID: sshd
    Function: service.running
      Result: False
     Comment: One or more requisite failed: sshd./etc/ssh/sshd_config
     Started: 11:37:24.236772
    Duration: 0.003 ms
     Changes:   
----------

happened once, was good again after. Might be still worth to check if we can find something upstream about this

EDIT: Sometimes later still appearing sometimes:

worker40.oqa.prg2.suse.org:
----------
          ID: firewalld_zones
    Function: file.managed
        Name: /etc/firewalld/zones/trusted.xml
      Result: False
     Comment: Unable to manage file: name '__env__' is not defined
     Started: 13:36:50.135092
    Duration: 200.901 ms
     Changes:   
Summary for worker40.oqa.prg2.suse.org
--------------
Succeeded: 501
Failed:      1
--------------

from https://gitlab.suse.de/openqa/salt-pillars-openqa/-/jobs/2807754#L224

Acceptance criteria

  • AC1: Consistently stable salt deployment jobs with no error "Unable to manage file: name 'env' is not defined"

Suggestions

Workaround

Retrigger the according CI job


Related issues 1 (0 open1 closed)

Has duplicate openQA Infrastructure (public) - action #163478: [sporadic] sometimes in salt deploy pipelines "Unable to manage file: name '__env__' is not defined"Rejectedokurz2024-07-08

Actions
Actions

Also available in: Atom PDF