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

Upgrading KUDO will cause "kudo install" failures given incompatible local repositories #1271

Open
mpereira opened this issue Jan 14, 2020 · 0 comments

Comments

@mpereira
Copy link
Member

mpereira commented Jan 14, 2020

What would you like to be added:

We should either have KUDO automatically handle updating local KUDO repository
files (~/.kudo/repository/repositories.yaml ) or to include instructions in
the CHANGELOG update section to ask users to remove possibly incompatible local repositories.

Why is this needed:

I updated KUDO from 0.8.0 to 0.10.0 which caused kubectl kudo install cassandra
to fail with:

Error: failed to install cassandra-operatorversion.yaml: installing OperatorVersion: OperatorVersion.kudo.dev "cassandra-" is invalid: metadata.name: Invalid value: "cassandra-": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*')

The solution was to remove my local KUDO repository file:

rm -f ~/.kudo/repository/repositories.yaml

After that, kudo install succeeded.

@mpereira mpereira changed the title Upgrading KUDO will cause install failures given incompatible local repositories Upgrading KUDO will cause "kudo install" failures given incompatible local repositories Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant