You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I set node hostname to purely numeric, such as 666, an error occured.
"stderr": "W0307 17:02:39.206901 14325 initconfiguration.go:306] error unmarshaling configuration schema.GroupVersionKind{Group:\"kubeadm.k8s.io\", Version:\"v1beta3\", Kind:\"InitConfiguration\"}: json: cannot unmarshal number into Go struct field NodeRegistrationOptions.nodeRegistration.name of type string\njson: cannot unmarshal number into Go struct field NodeRegistrationOptions.nodeRegistration.name of type string\nTo see the stack trace of this error execute with --v=5 or higher",
"stderr_lines": [
"W0307 17:02:39.206901 14325 initconfiguration.go:306] error unmarshaling configuration schema.GroupVersionKind{Group:\"kubeadm.k8s.io\", Version:\"v1beta3\", Kind:\"InitConfiguration\"}: json: cannot unmarshal number into Go struct field NodeRegistrationOptions.nodeRegistration.name of type string",
"json: cannot unmarshal number into Go struct field NodeRegistrationOptions.nodeRegistration.name of type string",
"To see the stack trace of this error execute with --v=5 or higher"
],
And the InitConfiguration of kubeadm-config.yaml shows below. Name should be string rather than int.
What did you expect to happen?
The cluster could be created successfully.
How can we reproduce it (as minimally and precisely as possible)?
Just set node hostname to purely numeric.
OS
centos 7.9
Version of Ansible
No
Version of Python
Python 2.7.5
Version of Kubespray (commit)
release-2.24
Network plugin used
calico
Full inventory with variables
none
Command used to invoke ansible
none
Output of ansible run
none
Anything else we need to know
No response
The text was updated successfully, but these errors were encountered:
What happened?
When I set node hostname to purely numeric, such as 666, an error occured.
And the InitConfiguration of kubeadm-config.yaml shows below. Name should be string rather than int.
What did you expect to happen?
The cluster could be created successfully.
How can we reproduce it (as minimally and precisely as possible)?
Just set node hostname to purely numeric.
OS
centos 7.9
Version of Ansible
No
Version of Python
Python 2.7.5
Version of Kubespray (commit)
release-2.24
Network plugin used
calico
Full inventory with variables
none
Command used to invoke ansible
none
Output of ansible run
none
Anything else we need to know
No response
The text was updated successfully, but these errors were encountered: