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

Failed to attach runtime to agent: Component exited with status code 2 #752

Open
paxinos opened this issue Sep 12, 2022 · 0 comments
Open

Comments

@paxinos
Copy link

paxinos commented Sep 12, 2022

(base) [pax@theosis propaganda-detection-2 (⎈ |alchemy:default)]$ codefresh runner init
This installer will guide you through the Codefresh Runner installation process
? Name of Kubernetes context to use alchemy
? Kubernetes namespace to install into (will be created if it does not exist) codefresh
? Set this as the default runtime environment for your Codefresh account? No
? Run demo pipeline after install? Yes

Installation options summary:
1. Kubernetes Context: alchemy
2. Kubernetes Namespace: codefresh
3. Set this as default account runtime-environment: false
4. Execute demo pipeline after install: true
5. HTTP proxy: none
6. HTTPS proxy: none
7. No proxy: none

executing step: run cluster acceptance tests
venona component upgrade is required, downloading.
downloading [████████████████████████████████████████] 100% | 21389290/21389290
Testing requirements
Running network tests...
Cluster passed acceptance test
executing step: generate new agent name
executing step: create new agent
A Codefresh Runner with the name: alchemy_codefresh has been created.
executing step: install new agent
Agent installation completed Successfully
executing step: generate new runtime name
executing step: create new runtime
Runtime environment "alchemy/codefresh" has been created
skipping step: update runtime environment images with docker-registry url
executing step: update runtime environment with env vars and resources
Runtime environment "alchemy/codefresh" has been updated with env vars
skipping step: set new runtime as default
skipping step: add cluster integration
executing step: install runtime
Runtime installation completed Successfully
skipping step: install app-proxy
skipping step: update runtime environment app proxy ip
executing step: update agent with new runtime
executing step: attach runtime to agent
Attaching runtime to agent (might take a few seconds). panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/codefresh-io/venona/venonactl/pkg/plugins.(*runtimeAttachPlugin).Install(0xc00066c160, 0x2828220, 0xc00053bd00, 0xc00003a0f0, 0xc0005ea540, 0x0, 0x0, 0xc0004760b0)
/codefresh/volume/venona/venonactl/pkg/plugins/runtime-attach.go:190 +0x1565
github.com/codefresh-io/venona/venonactl/cmd.glob..func1(0x34b1720, 0xc000144c30, 0x0, 0xd)
/codefresh/volume/venona/venonactl/cmd/attach.go:133 +0xd4b
github.com/spf13/cobra.(*Command).execute(0x34b1720, 0xc0001449c0, 0xd, 0xd, 0x34b1720, 0xc0001449c0)
/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:856 +0x2aa
github.com/spf13/cobra.(*Command).ExecuteC(0x34b2b20, 0x0, 0x0, 0x2211700)
/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:960 +0x349
github.com/spf13/cobra.(*Command).Execute(...)
/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:897
github.com/spf13/cobra.(*Command).ExecuteContext(...)
/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:890
github.com/codefresh-io/venona/venonactl/cmd.Execute(0x2828220, 0xc00053bd00)
/codefresh/volume/venona/venonactl/cmd/root.go:34 +0x4f
main.main()
/codefresh/volume/venona/venonactl/main.go:68 +0x1bb
Error: Failed to attach runtime to agent: Component exited with status code 2

If you had any issues with the installation please report them at: https://github.com/codefresh-io/cli/issues/new

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