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

Hostname missing in /etc/hosts file in openstack instance #449

Conversation

prankul88
Copy link
Contributor

#436

What I felt is when any sudo commands run from master-user-data.sh, it hangs for a bit and then proceeds. If we can map loopback-ip to the hostname in /etc/hosts (can add command in master-user-data file), it would not get stuck.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 22, 2019
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Aug 22, 2019
@k8s-ci-robot
Copy link
Contributor

Hi @prankul88. Thanks for your PR.

I'm waiting for a kubernetes-sigs or kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Aug 22, 2019
@jichenjc
Copy link
Contributor

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 22, 2019
@sbueringer
Copy link
Member

@prankul88 The master-user-data file moved because the v1alpha2 PR got merged on master it's now in samples/templates/user-data/ubuntu

@prankul88
Copy link
Contributor Author

@sbueringer Thanks I will update this patch to remove the conflict.
Just one thing I saw that now we have master-user-data.sh in samples/templates/user-data/ as well. (Before it was generated by ./generate.yaml). Can you help me understand why is it there? And probably I will need to update that file as well

@sbueringer
Copy link
Member

@sbueringer Thanks I will update this patch to remove the conflict.
Just one thing I saw that now we have master-user-data.sh in samples/templates/user-data/ as well. (Before it was generated by ./generate.yaml). Can you help me understand why is it there? And probably I will need to update that file as well

The short answer is because the first parts of the migration to v1alpha2 are merged on master. (see this PR #446)

But there is not enough documentation yet how to setup a cluster like with clusterctl before. But clusterctl itself is not fully migrated to v1alpha2 as far as I know. So depending on the branch master or release-0.1 (v1alpha1) you have to modify different files.

Might make sense to merge this PR in release-0.1 so you can test and continue. I can create a cherry-pick for master if you want.

@roberthbailey roberthbailey removed their request for review August 27, 2019 21:15
@prankul88
Copy link
Contributor Author

@sbueringer Sure I will move it to release-0.1 and then cherry-picking seems to be the right option. Thanks.

@k8s-ci-robot k8s-ci-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Sep 5, 2019
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Sep 5, 2019
@k8s-ci-robot
Copy link
Contributor

k8s-ci-robot commented Sep 5, 2019

@prankul88: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
pull-cluster-api-provider-openstack-check 623ce30 link /test pull-cluster-api-provider-openstack-check

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.

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. I understand the commands that are listed here.

@prankul88 prankul88 changed the base branch from master to release-0.1 September 5, 2019 09:44
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Sep 5, 2019
@prankul88
Copy link
Contributor Author

/retest

@sbueringer
Copy link
Member

@prankul88 There's also an Issue in CABPK (which is used in CAPI v1alpha2). Probably better to solve the issue in v1alpha2 in the other issue: https://github.com/kubernetes-sigs/cluster-api-bootstrap-provider-kubeadm/issues/116

But the fix here for v1alpha1 makes sense

Co-Authored-By: Stefan Büringer <sbueringer@gmail.com>
@jichenjc
Copy link
Contributor

jichenjc commented Sep 6, 2019

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 6, 2019
@sbueringer
Copy link
Member

/approve

@sbueringer
Copy link
Member

@jichenjc I think you have to approve because I'm not an approver yet on this branch :)

/lgtm

@jichenjc
Copy link
Contributor

jichenjc commented Sep 8, 2019

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jichenjc, prankul88, sbueringer

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 8, 2019
@k8s-ci-robot k8s-ci-robot merged commit 090b30f into kubernetes-sigs:release-0.1 Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants