action #60374
closedaction #60152: [sle][Migration][backlog] Automation the RMT test
[sle][Migration][SLE15SP3] Automation the RMT test - export and Import repositories
100%
Description
1.Log in on the server sun.
rmt-cli sync
rmt-cli mirror
- Connect a USB drive, assumed to be /dev/sdb and mount it, for example in /mnt/external.
mount /dev/sdb1 /mnt/external
- a. Export the data about available repositories and products.
rmt-cli export data /mnt/external/
b. Export the list of enabled repositories. The exported file is required for exporting the repositories in the next step.
rmt-cli export settings /mnt/external/
c. Export mirrored RPM packages. Depending on the size of mirrored repositories, this can take a long time.
rmt-cli export repos /mnt/external/
- Unmount and unplug the disk from sun and go to sirius.
umount /mnt/external
- Connect the USB drive to sirius and mount it in /mnt/external.
mount /dev/sdb1 /mnt/external
- a. Import the meta data about available repositories and products
rmt-cli import data /mnt/external/
b. Import mirrored RPM packages. Depending on the size of mirrored repositories, this can take a long time.
rmt-cli import repos /mnt/external/
- Enable repositories and check the repositories
Updated by leli over 4 years ago
Machine A as repo source, Machine B import repos data from machine A, both migrate to SLE15SP2 and setup RMT server.
On machine A mirror and sync, enable repos such as Web-Scripting. Then export data and repos to an exist folder and create a tar file.
Then on machine B to import the tar file, list and verify the import data successfully.
Updated by tinawang123 almost 4 years ago
- Subject changed from [sle][Migration][SLE15SP2] Automation the RMT test - export and Import repositories to [sle][Migration][backlog] Automation the RMT test - export and Import repositories
Updated by coolgw almost 4 years ago
- Subject changed from [sle][Migration][backlog] Automation the RMT test - export and Import repositories to [sle][Migration][SLE15SP3] Automation the RMT test - export and Import repositories
Updated by tinawang123 almost 4 years ago
- % Done changed from 0 to 70
- Estimated time changed from 16.00 h to 48.00 h
Debug the test case:
http://openqa.suse.de/t4460862
http://openqa.suse.de/t4460863
Updated by tinawang123 almost 4 years ago
Updated by tinawang123 almost 4 years ago
Updated by tinawang123 over 3 years ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
Verified:
export: https://openqa.nue.suse.com/tests/4523218
import: https://openqa.nue.suse.com/tests/4523219