Skip to content

devspace init fails when executing devspace render #3176

@tvandera

Description

@tvandera

What happened?

devspace init fails when executing devspace render with a temporary render.yaml

What did you expect to happen instead?

At least an error message on why devspace render fails

How can we reproduce the bug? (as minimally and precisely as possible)

$ devspace init
? Select the programming language of this project python

? How do you want to deploy this project? kubectl

? Please enter the paths to your Kubernetes manifests (comma separated, glob patterns are allowed, e.g. 'manifests/**' or 'kube/pod.yaml') [Enter to abort] docker/**

? Do you want to develop this project with DevSpace or just deploy it?  [Use arrows to move, type to filter] I want to develop this project and my current working dir contains the source code
09:34:49 fatal exit status 1
devspace render
github.com/loft-sh/devspace/cmd.(*InitCmd).render
	github.com/loft-sh/devspace/cmd/init.go:817
github.com/loft-sh/devspace/cmd.(*InitCmd).initDevspace
	github.com/loft-sh/devspace/cmd/init.go:358
github.com/loft-sh/devspace/cmd.(*InitCmd).Run
	github.com/loft-sh/devspace/cmd/init.go:162
github.com/loft-sh/devspace/cmd.NewInitCmd.func1
	github.com/loft-sh/devspace/cmd/init.go:94
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.9.1/command.go:1015
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.9.1/command.go:1148
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.9.1/command.go:1071
github.com/loft-sh/devspace/cmd.Execute
	github.com/loft-sh/devspace/cmd/root.go:151
main.main
	github.com/loft-sh/devspace/main.go:17
runtime.main
	runtime/proc.go:290
runtime.goexit
	runtime/asm_arm64.s:1447
error rendering deployment
github.com/loft-sh/devspace/cmd.(*InitCmd).initDevspace
	github.com/loft-sh/devspace/cmd/init.go:360
github.com/loft-sh/devspace/cmd.(*InitCmd).Run
	github.com/loft-sh/devspace/cmd/init.go:162
github.com/loft-sh/devspace/cmd.NewInitCmd.func1
	github.com/loft-sh/devspace/cmd/init.go:94
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.9.1/command.go:1015
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.9.1/command.go:1148
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.9.1/command.go:1071
github.com/loft-sh/devspace/cmd.Execute
	github.com/loft-sh/devspace/cmd/root.go:151
main.main
	github.com/loft-sh/devspace/main.go:17
runtime.main
	runtime/proc.go:290
runtime.goexit
	runtime/asm_arm64.s:1447

Local Environment:

  • DevSpace Version: devspace version 6.3.20
  • Operating System: mac
  • ARCH of the OS: ARM64
    Kubernetes Cluster:
  • Cloud Provider: azure
  • Kubernetes Version:
    • Client Version: v1.35.
    • Kustomize Version: v5.7.1
    • Server Version: v1.34.3

Anything else we need to know?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions