codefresh-io/cli

Cannot upgrade venona re

Closed this issue · 3 comments

? The runtimes that can be upgraded or migrated (if version < 1.x.x) <redacted>	(version 0.x.x)	[migrate]
? Name of Kubernetes context to use <redacted>

Upgrade options summary:
1. Kubernetes Context: <redacted>
2. Kubernetes Namespace: <redacted>
3. Runtime name: <redacted>

This migration process will do the following:
• Delete the old venona deployment and secrets from the selected namespace
• Create a new Codefresh runner with the name "<redacted>_1" on the selected namespace
• Attach runtime "<redacted>" to the new Codefresh runner
• Install Codefresh runner monitoring components on the selected namespace
• Run a test pipeline to check that the migration was successful

? Are you sure you want to proceed with the migration process? Yes
Running migration script on runtime: <redacted>
Creating new codefresh runner with name: <redacted>_1
A Codefresh Runner with the name: <redacted>_1 has been created.
Agent installation completed Successfully
Error: Failed to install new agent and runtime: kubeNodeSelector.split is not a function
If you had any issues with the upgrade process please report them at: https://github.com/codefresh-io/cli/issues/new

Hey @cbarton, can you please share how did you run the command? Did you provide any flags?

codefresh runner upgrade. I did not specify any flags but the RE that was upgraded did have multiple node selectors on both the runtime and dind scheduler configurations. We also have tolerations on both configurations

Hey @cbarton We fixed it , please update your codefresh CLI