action #132818
Updated by livdywan over 1 year ago
## Observation From https://gitlab.suse.de/openqa/salt-states-openqa/-/jobs/1693089#L10505 ``` ---------- ID: /var/lib/openqa Function: mount.mounted Result: False Comment: An exception occurred in this state: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/salt/state.py", line 2401, in call ret = self.states[cdata["full"]]( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 149, in __call__ return self.loader.run(run_func, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1234, in run return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1249, in _run_as return _func_or_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1282, in wrapper return f(*args, **kwargs) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/salt/states/mount.py", line 774, in mounted out = __salt__["mount.set_fstab"]( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 149, in __call__ return self.loader.run(run_func, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1234, in run return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/salt/loader/lazy.py", line 1249, in _run_as return _func_or_method(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/salt/modules/mount.py", line 877, in set_fstab raise CommandExecutionError('Bad config file "{}"'.format(config)) salt.exceptions.CommandExecutionError: Bad config file "/etc/fstab" Started: 10:13:09.444309 Duration: 35.476 ms Changes: ``` ## Acceptance criteria * **AC1:** No errors concerning file mounts in salt CI pipelines ## Steps to reproduce * Can be reproduced within the CI jobs, should be crosschecked how it's reproducible manually but it seems changes on production workers apply just fine * Crosscheck in a container environment same as CI does - DuckDuckGo for the error message