Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-10047

[API] repeatable build fails with 400 from snapshots/for_date when only RH repos are included

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • Content
    • None
    • Content 14
    • 3
    • None

      We are getting this error when building an image set to a repeatable build with only RH repos and no custom repos (tested with baseos+appstream, HA, codeready): 

      Status code 500: Unable to build customizations: unable to fetch snapshots for date, got 400 response

       

      "error":"error: code=400, title=, detail=Query must contain between 1 and 1000 repository_uuids, query contains 0 repository_uuids 

       

      This could be because, when building repository snapshots in image-builder-crc, we are only fetching non-RH repos (here and here) so the repo uuids in the request are empty if no custom repos are in the blueprint. 

       

              bhouse@redhat.com Bryttanie House
              bhouse@redhat.com Bryttanie House
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: