The procedure is optional and is activated by setting
backup_user_local_registry=true for the backup playbook.
An user image is one that is not a platform or an app image.
Information about platform images is kept in the playbooks.
Information about apps images is retrieved through sysinv-utils.
In fact apps images are filtered out in sysinv-utils by passing
`--no-apps` arg.
Save user images to local filesystem using docker pull.
Check if there is enough disk space for the archive to be saved.
Export to a tar archive using docker save.
For remote play the copy of user images generated archive is not
implemented yet.
Reviewed: https:/ /review. opendev. org/742119 /git.openstack. org/cgit/ starlingx/ ansible- playbooks/ commit/ ?id=8345f30dfae 16f71bb798a4d5c 8c7b17400bd757
Committed: https:/
Submitter: Zuul
Branch: master
commit 8345f30dfae16f7 1bb798a4d5c8c7b 17400bd757
Author: Dan Voiculeasa <email address hidden>
Date: Thu Jul 16 17:31:31 2020 +0300
B&R: Backup user images from local registry.
The procedure is optional and is activated by setting user_local_ registry= true for the backup playbook.
backup_
An user image is one that is not a platform or an app image.
Information about platform images is kept in the playbooks.
Information about apps images is retrieved through sysinv-utils.
In fact apps images are filtered out in sysinv-utils by passing
`--no-apps` arg.
Save user images to local filesystem using docker pull.
Check if there is enough disk space for the archive to be saved.
Export to a tar archive using docker save.
For remote play the copy of user images generated archive is not
implemented yet.
Partial-Bug: 1886152 a15a76b25781351 63dc78201f3 d5173a7815f3381 2e75332c63a 34f163d218e69dc 4ceb148985a
Depends-On: Ic3f7a82171dcca
Depends-On: I0852702be7d47c
Change-Id: I4644784ea41641
Signed-off-by: Dan Voiculeasa <email address hidden>