B&R restore fails because of missing custom image in backup file

Bug #1896776 reported by Ovidiu Poncea
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Ovidiu Poncea

Bug Description

Brief Description
----------------
On a system with many custom images in registry.local custom images may fail to be backed up when more than 100 images are present and the custom images are listed after the first 100.

Severity
--------
Provide the severity of the defect.
Minor: System/Feature is usable with minor issue - Users rarely have so many images in registry.local & even if they do there is a workaround available.

Steps to Reproduce
------------------
1. put more than 100 images in registry.local
2. run backup procedure

Expected Behavior
------------------
All images should be in the backup

Actual Behavior
----------------
If images above 100 are custom images they are not backed up.

Reproducibility
---------------
100% in given conditions.

System Configuration
--------------------
All configurations

Branch/Pull Time/Commit
-----------------------
master

Last Pass
---------
never

Test Activity
-------------
Developer Testing

Workaround
----------
Re-upload the missing images manually to registry.local

Revision history for this message
Ovidiu Poncea (ovidiuponcea) wrote :

On an HTTP request registry.local is responding with first 100 images. Thisis API default behavior, we should
 request all of them.

Changed in starlingx:
assignee: nobody → Ovidiu Poncea (ovidiu.poncea)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to config (master)

Fix proposed to branch: master
Review: https://review.opendev.org/753812

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/753812
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=87a7317d907c95d683cbe066b5f43a2a90771f69
Submitter: Zuul
Branch: master

commit 87a7317d907c95d683cbe066b5f43a2a90771f69
Author: Ovidiu Poncea <email address hidden>
Date: Wed Sep 23 20:28:02 2020 +0300

    Read more than 100 images from local registry

    Reading images from local registry is, by default, limited to 100.
    This commit increases the limit to a large enough number to allow
    retrieving the full list in one query (i.e. 100 thousands images).

    Closes-Bug: 1896776
    Signed-off-by: Ovidiu Poncea <email address hidden>
    Change-Id: I032c073a68e580079e9278d8929dacd8cc8f2ac1

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
tags: added: stx.update
Ghada Khalil (gkhalil)
tags: added: stx.5.0
Changed in starlingx:
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.