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

Backport: Error while getting agent config: invalid response 500: Failed to validate cluster: Hostname_override [xxx-xxx-KUB02] for host #16575

Closed
alena1108 opened this issue Nov 13, 2018 · 2 comments
Assignees
Labels
internal kind/bug Issues that are defects reported by users or that we know have reached a real release
Milestone

Comments

@alena1108
Copy link

Backport: #16294

rancher/rke#1027

@alena1108 alena1108 added kind/bug Issues that are defects reported by users or that we know have reached a real release internal version/2.0 labels Nov 13, 2018
@alena1108 alena1108 added this to the v2.1.2 milestone Nov 13, 2018
@alena1108
Copy link
Author

alena1108 commented Nov 13, 2018

Fix is available in rancher/rancher:v2.1.2-rc11

@jiaqiluo
Copy link
Member

jiaqiluo commented Nov 14, 2018

Reproduction

Rancher version: 2.1.1
Installation option: single
Step: Added a cluster from an existing node which hostname is uppercased, put all roles on one node
Result:
get the following error:
Failed to validate cluster: Hostname_override [xxx-xxx-KUB02] for host (1) is not valid: [a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is 'a-z0-9?(\.a-z0-9?)')]"
reproduce-bug

Validation

Rancher version: master, 11/13/2018
Installation option: single
Step: Added a cluster from an existing node which hostname is uppercased, put all roles on one node
Result:
Successfully added the cluster.

Rancher version: 2.1.2-rc11
Installation option: single
Step: Added a cluster from an existing node which hostname is uppercased, put all roles on one node
Result:
Successfully added the cluster.
fix

Conclusion

Fix verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal kind/bug Issues that are defects reported by users or that we know have reached a real release
Projects
None yet
Development

No branches or pull requests

3 participants