-
Notifications
You must be signed in to change notification settings - Fork 41.6k
add HOME env variable for kube-addons service #23975
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
add HOME env variable for kube-addons service #23975
Conversation
|
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for the commit author(s). If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. |
2f81a2b to
db347be
Compare
|
CLAs look good, thanks! |
|
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
2 similar comments
|
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
|
Can one of the admins verify that this patch is reasonable to test? If so, please reply "ok to test". This message may repeat a few times in short succession due to jenkinsci/ghprb-plugin#292. Sorry. Otherwise, if this message is too spammy, please complain to ixdy. |
|
@mikedanese any comments about this, should this be a bug fix or maybe it is an intended behavior to write kubectl schema into root dir. |
|
GCE e2e build/test passed for commit db347be. |
|
GCE e2e build/test failed for commit db347be. Please reference the list of currently known flakes when examining this failure. If you request a re-test, you must reference the issue describing the flake. |
|
From the logs: |
|
@mikedanese please help to trigger a retest.. |
|
GCE e2e build/test passed for commit db347be. |
|
GCE e2e build/test passed for commit db347be. |
|
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
|
GCE e2e build/test passed for commit db347be. |
|
Automatic merge from submit-queue |
Implements upstream change kubernetes/kubernetes#23975, which fixes kubernetes/kubernetes#23973.
After upgrade to Kubernetes v1.2, there are two issues: * kubelet cannot find the IP address of nodes [1] * the systemd service kube-system-namespace failed because it doesnot know the HOME environment variable. Similar issue from upstream is: kubernetes/kubernetes#23975 This patch fixed them. First, set the HOME environment variable. Second, override hostname with IP address. [1] kubernetes/kubernetes#23130 Change-Id: I55df72c8f36d81852bde36018c17670101860f79 Closes-Bug: #1582625 Closes-Bug: #1583415
The systemd service kube-ui failed because it does not know the HOME environment variable. Also updated script to handle already existing namespace, rc and service. Similar issue from upstream is as follows: kubernetes/kubernetes#23975 Change-Id: I71925a232b57f3c2cdfe82ae97b3fd7395e37343 Co-Authored-By: yatinkarel <yatin.karel@nectechnologies.in> Closes-Bug: #1584931
The systemd service kube-ui failed because it does not know the HOME environment variable. Also updated script to handle already existing namespace, rc and service. Similar issue from upstream is as follows: kubernetes/kubernetes#23975 Change-Id: I71925a232b57f3c2cdfe82ae97b3fd7395e37343 Co-Authored-By: yatinkarel <yatin.karel@nectechnologies.in> Closes-Bug: #1584931
Fix #23973.
Briefly, systemd service does not know the
HOMEenvironment variable which causes the kubectl write schema file into/.kubewhile it is expected to be/root/.kube.