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

Invalid default docker version on Debian #564

Closed
deric opened this issue Jul 15, 2022 · 2 comments
Closed

Invalid default docker version on Debian #564

deric opened this issue Jul 15, 2022 · 2 comments

Comments

@deric
Copy link
Collaborator

deric commented Jul 15, 2022

Describe the Bug

The default value for kubernetes::docker_version expects certain distributions and configuration (like manage_docker:true).

Expected Behavior

I'm expecting catalog to compile with default parameters.

Error 500 on SERVER: Server Error: Evaluation Error: The value '5:20.10.11~3-0~ubuntu-' cannot be converted to Numeric. (file: /etc/puppetlabs/code/environments/k8s/modules/kubernetes/manifests/init.pp, line: 556, column: 17)

Steps to Reproduce

  class { 'kubernetes':
    controller => true,
  }

Environment

  • Version 6.3.0
  • Platform Debian 11

A workaround is not to manage docker and override docker_version variable to some random string, but this shouldn't be required.

kubernetes::manage_docker: false
kubernetes::docker_version: 'foobar'
@deric deric added the bug label Jul 15, 2022
pmcmaw added a commit that referenced this issue Jul 26, 2022
Don't try to guess docker_version (#564)
@deric
Copy link
Collaborator Author

deric commented Aug 5, 2022

Resolved by #565

@deric deric closed this as completed Aug 5, 2022
@pmcmaw
Copy link
Contributor

pmcmaw commented Aug 5, 2022

Thanks for raising this issue and also following up on closing it, now that the issue has been resolved!
Much appreciated @deric 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants