Skip to content

release check fail for older version #9

@ogre0403

Description

@ogre0403

Hi,

Thanks for your awesome work for visualizing upgrade path. I've used it to figure out the path from 4.3 -> 4.4 -> 4.5 in the past year. Today, we still use it to find the path for our current older cluster, but I found it fail at release check stage.

[root@740c07a58703 test]# ./ocp4upc.sh 4.5.15
[INFO] Checking prerequisites (curl jq dot)... [OK]
[INFO] Errata provided (4.x.z mode), targeting '4.6' channels for upgrade path generation.
[INFO] Checking if '4.5.15' (amd64) is a valid release... [ERROR]
[INFO] TIP: run the script without parameters to see other available architectures.

I do some work, and found the cause should be that 4.5.15 is not found in release check.
I access the quay.io web page, it should be more 1200 results, but when I use curl to access https://quay.io/api/v1/repository/openshift-release-dev/ocp-release, only 500 results are returned, not all of them.

For my problem, I just comment out the release check function, and every thing works as well like before.

[root@740c07a58703 test]# ./ocp4upc.sh 4.5.15
[INFO] Checking prerequisites (curl jq dot)... [SUCC]
[SUCC]
[INFO] Detected mode '4.x.z', targeting channels '4.6' for upgrade path generation.
[WARN] Skipping channel 'eus-4.6_amd64', version not found.
[INFO] Result exported as 'stable-4.6_4.5.15_amd64_20220215.svg'
[INFO] Result exported as 'fast-4.6_4.5.15_amd64_20220215.svg'

Maybe some paging api should be add to the release check url.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions