-
Notifications
You must be signed in to change notification settings - Fork 462
kubelet: quote values in node.openshift.io/os_id label, use VERSION_ID instead of VERSION #549
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
kubelet: quote values in node.openshift.io/os_id label, use VERSION_ID instead of VERSION #549
Conversation
e1c0e84 to
ccf8ee3
Compare
|
/test e2e-rhel-scaleup |
1 similar comment
|
/test e2e-rhel-scaleup |
|
/cc @sjenning |
|
The single quotes should be double quotes. Single quotes do not usually get variable expansions. |
ccf8ee3 to
200dc51
Compare
Right, fixed |
|
/test e2e-rhel-scaleup |
|
/lgtm |
|
/retest |
|
/test e2e-rhel-scaleup |
|
/test e2e-aws |
|
@vrutkovs Can you please describe and point me to/quote the portions of the error logs that are showing the problem this is fixing? They are quite long and you've only provided a link. Also can you update the commit message to: |
200dc51 to
f66dd49
Compare
In CentOS so the arguments passed to kubelet look like This PR also uses |
|
/test e2e-rhel-scaleup |
f66dd49 to
f4f7038
Compare
|
/test e2e-rhel-scaleup |
|
/retest |
|
/test e2e-rhel-scaleup |
|
According to |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/lgtm cancel |
VERSION_ID is used instead of VERSION, as it is a lower-case string (mostly numeric, no spaces or other characters outside of 0-9, a-z, ".", "_" and "-") DEBUG: remove quotes
|
@vrutkovs since you aren't using the quotes anymore can you please update the commit and squash? cc: @cgwalters |
13fd14a to
17f988e
Compare
|
thanks @vrutkovs ! I think the vsphere update will fix the failed unit test as well. :) /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, kikisdeliveryservice, rphillips, vrutkovs The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test e2e-aws |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/test e2e-aws |
1 similar comment
|
/test e2e-aws |
|
/override ci/prow/e2e-aws |
|
@sdodson: Overrode contexts on behalf of sdodson: ci/prow/e2e-aws DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
@vrutkovs: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/override ci/prow/e2e-aws-op Flake, passed previously |
|
@vrutkovs: vrutkovs unauthorized: /override is restricted to repo administrators DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
Fixes https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_openshift-ansible/11343/pull-ci-openshift-openshift-ansible-devel-40-e2e-aws-scaleup/581/build-log.txt
Related to #514
- What I did
Quoted values for labels, assigned from /etc/os-release contents, replaced
VERSIONwithVERSION_ID- How to verify it
Run openshift-ansible's scaleup playbook on CentOS 7 nodes, check kubelet log:
kubelet_node_status.go:92] Unable to register node "ip-10-0-172-104.ec2.internal" with API server: Node "ip-10-0-172-104.ec2.internal" is invalid: metadata.labels: Invalid value: "7 (Core)": a valid label must be an empty string or consist of alphanumeric characters, ''-'', ''_'' or ''.'', and must start and end with an alphanumeric character (e.g. ''MyValue'', or ''my_value'', or ''12345'', regex used for validation is ''(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?'')'- Description for the changelog
Use
VERSION_IDinnode.openshift.io/os_versionlabel