Skip to content

Conversation

@nelljerram
Copy link
Member

Description

Related issues/PRs

Todos

  • Tests
  • Documentation
  • Release note

Release Note

TBD

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.

Copilot AI review requested due to automatic review settings December 4, 2025 11:57
@nelljerram nelljerram requested a review from a team as a code owner December 4, 2025 11:57
@marvin-tigera marvin-tigera added this to the Calico v3.32.0 milestone Dec 4, 2025
@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 Dec 4, 2025
@nelljerram nelljerram marked this pull request as draft December 4, 2025 11:57
@nelljerram nelljerram added docs-not-required Docs not required for this change release-note-not-required Change has no user-facing impact and removed release-note-required Change has user-facing impact (no matter how small) docs-pr-required Change is not yet documented labels Dec 4, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the CI/CD infrastructure from Ubuntu 20.04 to Ubuntu 22.04 and adds support for conditionally disabling BIRD BGP configuration in DevStack-based OpenStack tests.

Key changes:

  • Updates SemaphoreCI configuration to use ubuntu2204 instead of ubuntu2004 across multiple build agents
  • Adds CALICO_BGP_MODE environment variable support to the DevStack plugin to conditionally install and configure BIRD
  • Disables BIRD in single-node OpenStack test setups where it's not needed and causes errors

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
whisker/.semaphore/semaphore.yml Updates OS image from ubuntu2004 to ubuntu2204 for Whisker UI CI builds
networking-calico/devstack/plugin.sh Adds conditional logic to only install and configure BIRD when CALICO_BGP_MODE=bird, allowing it to be disabled for single-node setups
.semaphore/semaphore.yml.d/blocks/40-openstack.yml Updates OS image and adds CALICO_BGP_MODE=none export to disable broken BIRD configuration in OpenStack tests
.semaphore/semaphore.yml.d/blocks/20-node.yml Updates OS image from ubuntu2004 to ubuntu2204 for node builds
.semaphore/semaphore.yml.d/blocks/20-e2e.yml Updates OS image from ubuntu2004 to ubuntu2204 for E2E tests
.semaphore/semaphore.yml Generated file with OS image updates (requires regeneration to include CALICO_BGP_MODE changes)
.semaphore/semaphore-scheduled-builds.yml Generated file with OS image updates (requires regeneration to include CALICO_BGP_MODE changes)

os_image: ubuntu2204
prologue:
commands:
- cd networking-calico
Copy link

Copilot AI Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This generated file is missing the CALICO_BGP_MODE=none export that was added to the template file .semaphore/semaphore.yml.d/blocks/40-openstack.yml. According to the repository guidelines, after modifying templates in .semaphore/semaphore.yml.d, you must run make gen-semaphore-yaml to regenerate this file. The missing export will cause the DevStack jobs to still attempt to configure BIRD, which according to the comments in the template "is thoroughly broken and generates loads of errors in the log."

Suggested change
- cd networking-calico
- cd networking-calico
- export CALICO_BGP_MODE=none

Copilot uses AI. Check for mistakes.
os_image: ubuntu2204
prologue:
commands:
- cd networking-calico
Copy link

Copilot AI Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This generated file is missing the CALICO_BGP_MODE=none export that was added to the template file .semaphore/semaphore.yml.d/blocks/40-openstack.yml. According to the repository guidelines, after modifying templates in .semaphore/semaphore.yml.d, you must run make gen-semaphore-yaml to regenerate this file. The missing export will cause the DevStack jobs to still attempt to configure BIRD, which according to the comments in the template "is thoroughly broken and generates loads of errors in the log."

Suggested change
- cd networking-calico
- cd networking-calico
- export CALICO_BGP_MODE=none

Copilot uses AI. Check for mistakes.
The BIRD config in our DevStack setup is thoroughly broken and generates loads of errors in the log.
But we don't need it for a single node setup anyway, so let's disable it.
For reasons that I don't fully understand:

1. This wasn't needed on Ubuntu Focal, but is on Jammy.  Perhaps a change to the system umask?

2. This is needed with Yoga on Jammy, but not with Caracal on Jammy.  Perhaps because Caracal added
code to add the +x permission dynamically?
This reverts commit c086402.
@nelljerram nelljerram force-pushed the de-3759 branch 2 times, most recently from e6c66b3 to 41e06f9 Compare December 5, 2025 12:56
@nelljerram
Copy link
Member Author

Changes moved to #11466 and #11499

@nelljerram nelljerram closed this Dec 5, 2025
@marvin-tigera marvin-tigera removed docs-not-required Docs not required for this change release-note-not-required Change has no user-facing impact labels Dec 5, 2025
@nelljerram nelljerram deleted the de-3759 branch December 5, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants