doccaz / scc-tools

A set of simple tools to interact with SUSE Customer Center (SCC)
MIT License
13 stars 1 forks source link

Start failed after "Downloading data for deleted images on amazon" #33

Closed st-man closed 8 months ago

st-man commented 9 months ago

loaded 16277 items from cache (/home/user/.cache/scc-tools/scc_data.json) loaded 5 items from cache (/home/user/.cache/scc-tools/public_cloud_amazon.json)

doccaz commented 9 months ago

Indeed, I never considered that the pint database could be offline. I'll change the logic to ignore that on the first try and use the cached data instead.

doccaz commented 9 months ago

There. I simulated non-fatal and fatal errors while downloading cloud data, and treated them accordingly.

st-man commented 8 months ago

Now it's like this: scc-tools/vercheck.py -dvf ./scc_dir/ loaded 8613 items from cache (/home/user/.cache/scc-tools/scc_data.json)

doccaz commented 8 months ago

Sorry, reopening issue.

doccaz commented 8 months ago

Interesting, we have a unique situation here: only ONE report is causing a permanent 502 error while downloading the public image information from PINT. I'm adding proper error handling on this case.

doccaz commented 8 months ago

Could you test this again, @st-man ?

doccaz commented 8 months ago

Haven't had error reports after the change, closing the issue.