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

Fix nilpointer if CALICO_NETWORKING_BACKEND=none #7821

Conversation

tobiasgiese
Copy link
Contributor

@tobiasgiese tobiasgiese commented Jun 28, 2023

Description

There is a nil pointer in the configureASNumber function if the networking backend is none (i.e. policy-only mode). Followup to #7714

Related issues/PRs

Part of #7819

Release Note

Don't write AS number to node if running with CALICO_NETWORKING_BACKEND=none.

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

  • docs-pr-required: This change requires a change to the documentation that has not been completed yet.
  • docs-completed: This change has all necessary documentation completed.
  • docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

  • release-note-required: This PR has user-facing changes. Most PRs should have this label.
  • release-note-not-required: This PR has no user-facing changes.

Other optional labels:

  • cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
  • needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

Tobias Giese tobias.giese@mercedes-benz.com, Mercedes-Benz Tech Innovation GmbH, legal info/Impressum

@tobiasgiese tobiasgiese requested a review from a team as a code owner June 28, 2023 07:59
@marvin-tigera marvin-tigera added this to the Calico v3.27.0 milestone Jun 28, 2023
@marvin-tigera marvin-tigera added release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented labels Jun 28, 2023
@tobiasgiese tobiasgiese force-pushed the tobiasgiese/fix-nilpointer-policyonly branch from 8723de1 to 18c6886 Compare June 28, 2023 08:03
@tobiasgiese
Copy link
Contributor Author

tobiasgiese commented Jun 28, 2023

IMO this PR needs no release notes and no docs

@tobiasgiese tobiasgiese force-pushed the tobiasgiese/fix-nilpointer-policyonly branch 2 times, most recently from d3910ca to c794a32 Compare June 28, 2023 15:53
There is a nil pointer in the configureASNumber function if the networking backend is none (i.e. policy-only mode)

Signed-off-by: Tobias Giese <tobias.giese@mercedes-benz.com>
@tobiasgiese tobiasgiese force-pushed the tobiasgiese/fix-nilpointer-policyonly branch from c794a32 to 3740b39 Compare June 28, 2023 20:39
@caseydavenport caseydavenport added the docs-not-required Docs not required for this change label Jun 28, 2023
@marvin-tigera marvin-tigera removed the docs-pr-required Change is not yet documented label Jun 28, 2023
@caseydavenport
Copy link
Member

/sem-approve

@tobiasgiese
Copy link
Contributor Author

@caseydavenport do you know why the Calico test has failed? Clicking Details results in a 404 for me

@lwr20
Copy link
Member

lwr20 commented Jun 29, 2023

1 testcase failure: test_rules_udp_port. I kicked off a rerun in case its a flake.

@marvin-tigera marvin-tigera merged commit f47b692 into projectcalico:master Jun 29, 2023
2 checks passed
@tobiasgiese tobiasgiese deleted the tobiasgiese/fix-nilpointer-policyonly branch June 29, 2023 09:51
marvin-tigera added a commit that referenced this pull request Jul 25, 2023
…olicyonly-fixes

[release-v3.26] Auto pick #7550 #7821: remove node update calls in calico-node startup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required Docs not required for this change merge-when-ready release-note-required Change has user-facing impact (no matter how small)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants