action #102713
closedopenQA Project - coordination #103947: [saga][epic] Scale up: Future proof backup of o3+osd
openQA Project - coordination #102710: [epic] Improve our backup
Implement proper backups for o3 - list of installed packages
0%
Updated by okurz almost 3 years ago
- Copied from action #44078: Implement proper backups for o3 size:M added
Updated by okurz almost 3 years ago
- Status changed from In Progress to Feedback
Updated by livdywan almost 3 years ago
okurz wrote:
https://gitlab.suse.de/qa-sle/backup-server-salt/-/merge_requests/5
This error doesn't seem to fail salt:
[DEBUG ] Failed to import module pip:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/salt/loader.py", line 1836, in _load_module
mod = self.run(spec.loader.load_module)
File "/usr/lib/python3.8/site-packages/salt/loader.py", line 2276, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/salt/loader.py", line 2291, in _run_as
return _func_or_method(*args, **kwargs)
File "<frozen importlib._bootstrap_external>", line 522, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1022, in load_module
File "<frozen importlib._bootstrap_external>", line 847, in load_module
File "<frozen importlib._bootstrap>", line 265, in _load_module_shim
File "<frozen importlib._bootstrap>", line 702, in _load
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/lib/python3.8/site-packages/salt/modules/pip.py", line 87, in <module>
import pkg_resources # pylint: disable=3rd-party-module-not-gated
ModuleNotFoundError: No module named 'pkg_resources'
Updated by okurz almost 3 years ago
You might be able to fix that by installing python-setuptools in the container
Anyway, MR is merged and I deployed the changes manually onto backup.qa.suse.de and triggered rsnapshot alpha
in a screen session. Now this might take some time.
Updated by livdywan almost 3 years ago
okurz wrote:
You might be able to fix that by installing python-setuptools in the container
Anyway, MR is merged and I deployed the changes manually onto backup.qa.suse.de and triggered
rsnapshot alpha
in a screen session. Now this might take some time.
zypper in python3-setuptools
seems to resolve the error message
Updated by okurz almost 3 years ago
- Status changed from Feedback to Resolved
MR merged.
backup-vm:/home/rsnapshot/alpha.0/openqa.opensuse.org/var/log/zypp/history exists and has a current, valid content