https://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842021-07-29T11:52:08ZopenSUSE Project Management ToolopenQA Infrastructure - action #96269: Define what a "complete OSD backup" should or can includehttps://progress.opensuse.org/issues/96269?journal_id=4315042021-07-29T11:52:08Zokurzokurz@suse.com
<ul><li><strong>Copied from</strong> <i><a class="issue tracker-4 status-3 priority-4 priority-default closed child" href="/issues/88546">action #88546</a>: Make use of the new "Storage Server", e.g. complete OSD backup</i> added</li></ul> openQA Infrastructure - action #96269: Define what a "complete OSD backup" should or can includehttps://progress.opensuse.org/issues/96269?journal_id=4315342021-07-29T12:04:34Zokurzokurz@suse.com
<ul><li><strong>Related to</strong> <i><a class="issue tracker-4 status-3 priority-3 priority-lowest closed child" href="/issues/44078">action #44078</a>: Implement proper backups for o3 size:M</i> added</li></ul> openQA Infrastructure - action #96269: Define what a "complete OSD backup" should or can includehttps://progress.opensuse.org/issues/96269?journal_id=4315372021-07-29T12:05:00Zokurzokurz@suse.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Blocked</i></li><li><strong>Assignee</strong> set to <i>okurz</i></li></ul><p><a class="issue tracker-4 status-3 priority-3 priority-lowest closed child" title="action: Implement proper backups for o3 size:M (Resolved)" href="https://progress.opensuse.org/issues/44078">#44078</a> first should help</p>
openQA Infrastructure - action #96269: Define what a "complete OSD backup" should or can includehttps://progress.opensuse.org/issues/96269?journal_id=4731662021-12-14T10:13:59Zokurzokurz@suse.com
<ul><li><strong>Parent task</strong> changed from <i>#80546</i> to <i>#103947</i></li></ul> openQA Infrastructure - action #96269: Define what a "complete OSD backup" should or can includehttps://progress.opensuse.org/issues/96269?journal_id=4756112021-12-22T19:09:29Zokurzokurz@suse.com
<ul></ul><p>Based on our experiences that we have now since recently with backup of o3 to storage.qa and the available space on storage.qa I would say the following rsnapshot based backup should be feasible:</p>
<pre><code>backup root@openqa.suse.de:/var/lib/openqa/images openqa.suse.de/root
backup root@openqa.suse.de:/var/lib/openqa/archive openqa.suse.de/root
backup root@openqa.suse.de:/var/lib/openqa/share/factory/iso/fixed openqa.suse.de/root +rsync_long_args=--hard-links
backup root@openqa.suse.de:/var/lib/openqa/share/factory/hdd/fixed openqa.suse.de/root +rsync_long_args=--hard-links
</code></pre>
<p><a href="https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/633" class="external">https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/633</a></p>
openQA Infrastructure - action #96269: Define what a "complete OSD backup" should or can includehttps://progress.opensuse.org/issues/96269?journal_id=4756142021-12-22T19:11:47Zokurzokurz@suse.com
<ul><li><strong>Status</strong> changed from <i>Blocked</i> to <i>Feedback</i></li></ul> openQA Infrastructure - action #96269: Define what a "complete OSD backup" should or can includehttps://progress.opensuse.org/issues/96269?journal_id=4767102021-12-29T22:17:54Zokurzokurz@suse.com
<ul></ul><p>Missing ssh keys</p>
<p>On storage.qa called</p>
<pre><code>cd /root/.ssh
ssh-keygen -t ed25519 -N '' -C 'root@storage.qa.suse.de, backup OSD' -f id_ed25519.backup_osd
</code></pre>
<p>then copied to pillars:</p>
<pre><code>ssh storage.qa "sudo cat /root/.ssh/id_ed25519.backup_osd" > id_ed25519.backup_osd
ssh storage.qa "sudo cat /root/.ssh/id_ed25519.backup_osd.pub" > id_ed25519.backup_osd.pub
</code></pre>
<p>Created <a href="https://gitlab.suse.de/openqa/salt-pillars-openqa/-/merge_requests/376" class="external">https://gitlab.suse.de/openqa/salt-pillars-openqa/-/merge_requests/376</a> and <a href="https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/636" class="external">https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/636</a></p>
openQA Infrastructure - action #96269: Define what a "complete OSD backup" should or can includehttps://progress.opensuse.org/issues/96269?journal_id=4790192022-01-10T12:29:38Zokurzokurz@suse.com
<ul></ul><p>Both merged. Monitoring on storage.qa. Currently rsnapshot is already running and busy with syncing from o3. Decided with mkittler to leave out "images" from backup as it seems to take too long. Created <a href="https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/637" class="external">https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/637</a> , merged and triggered rsnapshot manually in a screen session. Monitoring.</p>
openQA Infrastructure - action #96269: Define what a "complete OSD backup" should or can includehttps://progress.opensuse.org/issues/96269?journal_id=4808712022-01-18T09:39:24Zokurzokurz@suse.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul><p>backup looks good the past days. <code>df</code> shows enough free space. Paths like /storage/rsnapshot/alpha.0/openqa.suse.de/root/var/lib/openqa/share/factory/hdd/fixed/ look good.</p>