rancher / rio

Application Deployment Engine for Kubernetes
https://rio.io
Apache License 2.0
2.27k stars 228 forks source link

Rio up don't deploy anything (github repo) #1042

Open Hantse opened 4 years ago

Hantse commented 4 years ago

Describe the bug Hello,

Today we try to deploy a Riofile from github(https://github.com/live-translate/rio-demo) with rio up command =>

rio -n cd-demo up https://github.com/live-translate/rio-demo

On rio dashboard, we can see Watcher & Commit. But nohting is deploy.

We launch logs command and found this :

rio-controller | E0516 21:00:07.303740 1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing

To Reproduce

  1. launch this command
    rio -n cd-demo up https://github.com/live-translate/rio-demo

Expected behavior The stack is build & deploy.

Kubernetes version & type (GKE, on-prem): kubectl version

Client Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.6-beta.0", GitCommit:"e7f962ba86f4ce7033828210ca3556393c377bcc", GitTreeState:"clean", BuildDate:"2020-01-15T08:26:26Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-04-16T11:48:36Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

Type: Rio version: rio info

Rio Version: v0.7.0 (4afd4901)
Rio CLI Version: v0.7.0 (4afd4901)
Cluster Domain: xxxxx..on-rio.io
Cluster Domain IPs: xx.xxx.xxx.xxx
System Namespace: rio-system
Wildcard certificates: xxxxx.on-rio.io(true)

Additional context rio system logs output:

rio-controller | E0516 20:58:45.236998       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
rio-controller | E0516 20:58:45.257294       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
rio-controller | E0516 20:58:45.287595       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
rio-controller | E0516 20:58:45.338310       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
rio-controller | E0516 20:58:45.429495       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
rio-controller | E0516 20:58:45.604618       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
rio-controller | E0516 20:58:45.934623       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
rio-controller | E0516 20:58:46.584908       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
rio-controller | E0516 20:58:47.874076       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
rio-controller | E0516 20:58:50.443671       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
rio-controller | E0516 20:58:55.574404       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
rio-controller | E0516 20:59:05.824721       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
rio-controller | E0516 20:59:26.329795       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
rio-controller | E0516 21:00:07.303740       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
rio-controller | E0516 21:01:29.237971       1 controller.go:135] error syncing 'default/tools': handler stack-service-build: failed to create default/default-tools-stack-011cb-1eabf tekton.dev/v1alpha1, Kind=TaskRun for stack-service-build default/tools: admission webhook "webhook.tekton.dev" denied the request: mutation failed: cannot decode incoming new object: json: unknown field "managedFields", requeuing
StrongMonkey commented 4 years ago

@Hantse A good chance that rio doesn't work with k8s 1.18. Thanks for reporting this, I will fix it in the next release.

Hantse commented 4 years ago

Ok, thank you for your feedback ! You have an idea about the next release date ? It's simple to upgrade rio ? (rio upgrade ?)

Kind regards,

StrongMonkey commented 4 years ago

Within a month. To upgrade rio, you just need to download the latest binary and rerun rio install.