#181 Toddlers is failing to import live_osbuild compose into PDC
Closed by humaton. Opened by humaton.

from openshift logs:

2023-10-30 07:06:23,358 - [ERROR toddlers.plugins.pdc_import_compose] Bad response code: 400
2023-10-30 07:06:23,358 - [ERROR toddlers.plugins.pdc_import_compose] https://pdc.fedoraproject.org/rest_api/v1/compose-images/
2023-10-30 07:06:23,358 - [ERROR toddlers.plugins.pdc_import_compose] {"reason":"Image: Field 'type' has invalid value: live-osbuild","detail":"Error parsing productmd metadata."}
2023-10-30 07:06:23,358 - [ERROR toddlers.runner] Toddler 'pdc_import_compose' failed to process message id: 616f6213-f8ea-4b75-9f90-ef1c1784fd60 -- putting it back in the queue

The message that is causing this https://apps.fedoraproject.org/datagrepper/v2/id?id=616f6213-f8ea-4b75-9f90-ef1c1784fd60&is_raw=true&size=extra-large

Most probably toddler is messing up while parsing the compose metadata and tries to create a compose in PDC with non-existing compose time 'live_osbuild' while PDC uses 3 compose types, production, nightly, and test.


Last successfully imported rawhide compose was https://pdc.fedoraproject.org/rest_api/v1/compose-images/Fedora-Rawhide-20231024.n.0/

SO the issue was in older productMD package installed on the PDC machines. THe new version is now deployed and composes are getting in.

latest rawhide is imported:
https://pdc.fedoraproject.org/rest_api/v1/compose-images/Fedora-Rawhide-20231031.n.0/

Metadata Update from @humaton:
- Issue status updated to: Closed (was: Open)

Metadata