https://rancher.com/ logo
Title
m

mammoth-postman-10874

02/08/2023, 12:07 PM
Howdy, I’m trying to run fleet-0.6-rc.2 and agent deploy stuck in redeploy loop. Fleet is standalone and cluster is local. Anybody have a workaround? This is not an upgrade but just a new installation. I suspect issue is here: https://github.com/rancher/fleet/blob/master/pkg/controllers/cluster/import.go#L94 as I don’t see spec.DeployedGeneration isn’t set
b

bulky-salesclerk-56184

02/08/2023, 12:28 PM
Hey, could you provide some additional details how you deployed Fleet?
m

mammoth-postman-10874

02/08/2023, 12:34 PM
it is helm install on random k8s cluster from: <//github.com/rancher/fleet/releases/download/v0.6.0-rc.2/fleet-0.6.0-rc.2.tgz>
Then I just add labels to default created local resource:
fleet-agent not even able to finish bootstrap, a new cluster registration request comes and agent deleted, agent deployed..
b

bulky-salesclerk-56184

02/08/2023, 12:37 PM
If it is reproducible on another cluster it would be great if you could create an issue with the steps.
m

mammoth-postman-10874

02/08/2023, 12:37 PM
Snipped
I can try to reproduce it. Just asking around because release mentions some namespace migrations
b

bulky-salesclerk-56184

02/08/2023, 12:39 PM
The namespace migration should be only relevant for old Fleet/Rancher releases as far as I know.
m

mammoth-postman-10874

02/08/2023, 12:45 PM
it is sad rc releases are not kept. Could try rc1
b

bulky-salesclerk-56184

02/08/2023, 12:48 PM
They usually should be until release at least.
m

mammoth-postman-10874

02/08/2023, 12:52 PM
Ok, there is docker image. Using rc.1 fixes it
b

bulky-salesclerk-56184

02/08/2023, 12:53 PM
That is good to know, It would be nice if you could create an issue so we can try to reproduce it.
m

mammoth-postman-10874

02/08/2023, 12:53 PM
I’ll open later for sure
👍 2
i

important-oxygen-86641

02/08/2023, 1:57 PM
maybe it is related to the upgrade fix recently introduced? https://github.com/rancher/fleet/pull/1269
I'll try to reproduce it once the issue is created, as I just tried a fresh installation of rc.2 and agent is deployed fine in my env
b

bulky-salesclerk-56184

02/09/2023, 10:11 AM
@mammoth-postman-10874 any update?
m

mammoth-postman-10874

02/09/2023, 10:15 AM
not, yet. On my list though
b

bulky-salesclerk-56184

02/09/2023, 10:16 AM
Thanks, no worries, just asking since we were unable to reproduce it.