siderolabs / omni

SaaS-simple deployment of Kubernetes - on your own hardware.
Other
395 stars 23 forks source link

destroy, reset, format disk, cancel destroy, nothing lets me joining a old worker node as controle plane in omni #341

Open pkleingu opened 3 weeks ago

pkleingu commented 3 weeks ago

Is there an existing issue for this?

Current Behavior

destroy, reset, format disk, cancel destroy, nothing lets me joining a old worker node as controle plane in omni Preparing to Destroy (nothing happens) No option in omni to delete machine from cluster when done a reset a boot. Only distroy and then nothing happens now its "Unknown" but stil no delete option and not visible by machines

Expected Behavior

destroy een clean system for joining again reset at start up, a clean system for joining again cancel destroy a previus worker node. but nothing works

Steps To Reproduce

proxmox v0.36.0-beta.0-11-g247c165

What browsers are you seeing the problem on?

Chrome

Anything else?

[Console Logs] 07/06/2024 16:21:28 OK [/cosi.resource.State/List] 12.514475ms stream Success (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:21:28 OK [/cosi.resource.State/List] 2.276778ms stream Success (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:21:28 OK [/cosi.resource.State/List] 338.431µs stream Success (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:21:28 OK [/cosi.resource.State/List] 216.664µs stream Success (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:21:28 OK [/storage.StorageService/Disks] 11.444056ms unary Success (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:21:28 OK [/cosi.resource.State/List] 318.982µs stream Success (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:21:28 OK [/cosi.resource.State/List] 96.183µs stream Success (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:21:28 NotFound [/cosi.resource.State/Get] 75.48µs unary rpc error: code = NotFound desc = resource MachineConfigs.config.talos.dev(config/v1alpha1@undefined) doesn't exist (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:21:28 OK [/cosi.resource.State/List] 200.96µs stream Success (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:21:28 OK [/machine.MachineService/Version] 63.127µs unary Success (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:21:28 OK [/cosi.resource.State/List] 216.545µs stream Success (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:21:28 OK [/cosi.resource.State/List] 2.504879ms stream Success (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:21:28 OK [/cosi.resource.State/List] 217.132µs stream Success (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:21:28 OK [/cosi.resource.State/List] 465.345µs stream Success (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:21:28 Unimplemented [/machine.MachineService/Read] 77.199µs stream rpc error: code = Unimplemented desc = method Read not implemented (:authority=[code:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2) 07/06/2024 16:26:09 OK [/storage.StorageService/Disks] 20.605947ms unary Success (:authority=[code]:50000;content-type=application/grpc;grpc-accept-encoding=gzip;runtime=Talos;user-agent=grpc-go/1.63.2)

Unix4ever commented 3 weeks ago

I see that you're using the tag from main branch. I would recommend to use stable branches instead, without beta.N-<hash> tags. We try to keep main stable, but we might introduce some bugs there, which might be hard to resolve. There might also be incompatible changes between database versions, some finalizers added to the resources, which no longer removed and other things. It's a WIP branch, so anything can happen there.

The logs you posted don't have anything weird.

You can also try to upgrade your Omni instance to 0.37.1. We've fixed many bugs there.