kubespray icon indicating copy to clipboard operation
kubespray copied to clipboard

Avoid the race condition by running the resolve only once before ente…

Open DirkTheDaring opened this issue 10 months ago • 10 comments

…ring the step 'set kubeadm'

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:

/kind api-change /kind bug /kind cleanup /kind design /kind documentation /kind failing-test /kind feature /kind flake

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


DirkTheDaring avatar Oct 15 '23 11:10 DirkTheDaring

CLA Signed

The committers listed above are authorized under a signed CLA.

  • :white_check_mark: login: DirkTheDaring / name: DirkTheDaring (8a56f635b7931679d689d7477412e8bf2c45e987, 9be4713a7425f1413fd5d4b7543d0fcf5bde7c9b, 6742bbc5f27ec2c9bf9bfa3267f7728ffa6f4f08, c7d9647bcab1bb9918a8ffc10e0f0cf73f7b6df8)

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: DirkTheDaring Once this PR has been reviewed and has the lgtm label, please assign mirwan for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found 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 avatar Oct 15 '23 11:10 k8s-ci-robot

Hi @DirkTheDaring. Thanks for your PR.

I'm waiting for a kubernetes-sigs 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 avatar Oct 15 '23 11:10 k8s-ci-robot

New Pull Request, for discussion see https://github.com/kubernetes-sigs/kubespray/pull/10394

DirkTheDaring avatar Oct 15 '23 11:10 DirkTheDaring

/ok-to-test

yankay avatar Oct 17 '23 03:10 yankay

CLA is signed now

DirkTheDaring avatar Oct 20 '23 04:10 DirkTheDaring

CLA is signed now

You have multiple commits, some from googlemail.com some from web.de I guess you only sign with one, please fixup your git history

floryut avatar Oct 31 '23 07:10 floryut

I fixed that now to the intended email address (screwed my emails long time ago). But defaults now to my developer email address on "@email.de"

DirkTheDaring avatar Oct 31 '23 15:10 DirkTheDaring

See https://github.com/kubernetes-sigs/kubespray/issues/10321#issuecomment-1795304465

The bug is Ansible and was apparently fixed. So if we workaround in kubespray, we should add a note /TODO/FIXME coment to remove that once the password lookup is correctly fixed in ansible.

VannTen avatar Nov 06 '23 16:11 VannTen

The Kubernetes project currently lacks enough contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle stale
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Feb 04 '24 16:02 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Mark this PR as fresh with /remove-lifecycle rotten
  • Close this PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot avatar Mar 05 '24 16:03 k8s-triage-robot

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Reopen this PR with /reopen
  • Mark this PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

k8s-triage-robot avatar Apr 04 '24 21:04 k8s-triage-robot

@k8s-triage-robot: Closed this PR.

In response to this:

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the PR is closed

You can:

  • Reopen this PR with /reopen
  • Mark this PR as fresh with /remove-lifecycle rotten
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

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 avatar Apr 04 '24 21:04 k8s-ci-robot

I can confirm that the issue still exists as of cset 4baa2c870 and that this PR fixes the issue for multi-master clusters.

Can we help in some way to make this PR be accepted ?

faide avatar Apr 17 '24 14:04 faide

Yes, see https://github.com/kubernetes-sigs/kubespray/issues/10321#issuecomment-2027496321

VannTen avatar Apr 22 '24 08:04 VannTen

@VannTen shouldn’t we reopen this PR since it does fix the issue? I get your point about the FIXME note but I don’t thing this PR should remain closed

nicolas-goudry avatar Jul 26 '24 13:07 nicolas-goudry