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

--allow-downgrades in /opt/bin/setup #1049

Closed
2000yeshu opened this issue Sep 6, 2021 · 1 comment · Fixed by #1073
Closed

--allow-downgrades in /opt/bin/setup #1049

2000yeshu opened this issue Sep 6, 2021 · 1 comment · Fixed by #1073

Comments

@2000yeshu
Copy link
Contributor

I had created custom AMI using AWS EC2 Image Builder which had docker and it's dependencies preinstalled. Now when I used this AMI in the machinedeployment, the /opt/bin/setup script was just giving this error.

supervise.sh[155349]: E: Packages were downgraded and -y was used without --allow-downgrades.

and due to /opt/bin/supervise.sh, the setup script just kept executing in an infinite loop and never completing the machine setup.

@2000yeshu
Copy link
Contributor Author

Relevant Files - https://github.com/kubermatic/machine-controller/blob/e368d5ba4d3b1a85ac2cf05068d4cf591e280b11/pkg/containerruntime/containerd.go and https://github.com/kubermatic/machine-controller/blob/e368d5ba4d3b1a85ac2cf05068d4cf591e280b11/pkg/containerruntime/docker.go

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

Successfully merging a pull request may close this issue.

1 participant