Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oc ibm-pak generate gives wrong error message due to build numbers #54

Open
IanBoden opened this issue Oct 17, 2024 · 0 comments
Open

Comments

@IanBoden
Copy link
Member

If you run:

oc ibm-pak generate mirror-manifests ibm-zen {registry} --version 6.0.1

It will fail with:

Error: specified CASE is missing, CASE: ibm-zen, Version: 6.0.1. Run ''oc ibm-pak get ibm-zen --version 6.0.1'' first

However, that isn't the problem. The problem is that when you run:

oc ibm-pak get ibm-zen --version 6.0.1

it ends with:

Download of CASE: ibm-zen, version: 6.0.1+20240708.121250.32 is complete

So the actual fix is to run:

oc ibm-pak generate mirror-manifests ibm-zen {registry} --version 6.0.1+20240708.121250.32

Either generate mirror-manifests should do whatever get does to convert the version to a build or the error message needs to convey the actual problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant