Project

General

Profile

Actions

action #102713

closed

openQA 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

Added by okurz over 2 years ago. Updated over 2 years ago.

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

0%

Estimated time:

Description

Acceptance criteria

  • AC1: List of installed packages is backed up for reference

Related issues 1 (0 open1 closed)

Copied from openQA Infrastructure - action #44078: Implement proper backups for o3 size:MResolvedmkittler2018-11-20

Actions
Actions #1

Updated by okurz over 2 years ago

  • Copied from action #44078: Implement proper backups for o3 size:M added
Actions #2

Updated by okurz over 2 years ago

  • Status changed from In Progress to Feedback
Actions #3

Updated by livdywan over 2 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'
Actions #4

Updated by okurz over 2 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.

Actions #5

Updated by livdywan over 2 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

Actions #6

Updated by okurz over 2 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

Actions

Also available in: Atom PDF