Skip to content

[CORE-13122] OpenStack: document the one-shot policy name migration for etcd clusters#2851

Open
nelljerram wants to merge 1 commit into
tigera:mainfrom
nelljerram:openstack-policy-name-migration-docs
Open

[CORE-13122] OpenStack: document the one-shot policy name migration for etcd clusters#2851
nelljerram wants to merge 1 commit into
tigera:mainfrom
nelljerram:openstack-policy-name-migration-docs

Conversation

@nelljerram

Copy link
Copy Markdown
Member

Calico v3.32 changed how policies in the default tier are stored in the etcd datastore. Kubernetes clusters migrate existing data automatically via kube-controllers, but OpenStack clusters do not run kube-controllers as a service, so the migration must be run once by hand after upgrading from a version earlier than v3.32
(projectcalico/calico#13221).

Add the procedure to the OpenStack upgrade page: symptoms if skipped, preconditions (all nodes upgraded first; duplicate-pair cleanup), the docker invocation including TLS and username/password auth variants, completion output, idempotency, and verification.

The version-3.32 copy differs in using the standalone calico/kube-controllers image (the combined calico/calico image is v3.33+) and in noting that the mode requires v3.32.2 or later.

Calico v3.32 changed how policies in the default tier are stored in the
etcd datastore.  Kubernetes clusters migrate existing data automatically
via kube-controllers, but OpenStack clusters do not run kube-controllers
as a service, so the migration must be run once by hand after upgrading
from a version earlier than v3.32
(projectcalico/calico#13221).

Add the procedure to the OpenStack upgrade page: symptoms if skipped,
preconditions (all nodes upgraded first; duplicate-pair cleanup), the
docker invocation including TLS and username/password auth variants,
completion output, idempotency, and verification.

The version-3.32 copy differs in using the standalone
calico/kube-controllers image (the combined calico/calico image is
v3.33+) and in noting that the mode requires v3.32.2 or later.
@nelljerram nelljerram requested a review from a team as a code owner July 14, 2026 16:17
Copilot AI review requested due to automatic review settings July 14, 2026 16:17
@netlify

netlify Bot commented Jul 14, 2026

Copy link
Copy Markdown

Deploy Preview for calico-docs-preview-next ready!

Name Link
🔨 Latest commit ee996fd
🔍 Latest deploy log https://app.netlify.com/projects/calico-docs-preview-next/deploys/6a566132ea7a8700091dc6bd
😎 Deploy Preview https://deploy-preview-2851--calico-docs-preview-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jul 14, 2026

Copy link
Copy Markdown

Deploy Preview succeeded!

Built without sensitive environment variables

Name Link
🔨 Latest commit ee996fd
🔍 Latest deploy log https://app.netlify.com/projects/tigera/deploys/6a566132659575000873d071
😎 Deploy Preview https://deploy-preview-2851--tigera.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 71
Accessibility: 98
Best Practices: 92
SEO: 100
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds OpenStack-specific upgrade documentation for the one-time etcd policy name migration required when upgrading from Calico versions earlier than v3.32 (since OpenStack deployments don’t run kube-controllers as a service to perform the automatic migration).

Changes:

  • Adds upgrade-page callouts/steps indicating the required one-time migration for upgrades from < v3.32.
  • Documents the migration procedure end-to-end (symptoms, prerequisites, docker commands incl. TLS and username/password auth, idempotency, and verification).
  • Adds a version-3.32 variant that uses the standalone calico/kube-controllers image and notes the v3.32.2+ requirement.

Reviewed changes

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

File Description
calico/operations/upgrading/openstack-upgrade.mdx Adds the policy-name migration section and links it into both CentOS/Ubuntu upgrade flows for “next” (unversioned) docs.
calico_versioned_docs/version-3.32/operations/upgrading/openstack-upgrade.mdx Adds the same migration guidance for the v3.32 doc set, using the standalone kube-controllers image and a v3.32.2+ note.

Comment on lines +247 to +251
docker run --rm --net=host \
-e DATASTORE_TYPE=etcdv3 \
-e ETCD_ENDPOINTS=http://127.0.0.1:2379 \
-e ENABLED_CONTROLLERS=openstackmigrations \
$[registry]$[imageNames.calico/kube-controllers]:$[releaseTitle]
Comment on lines +258 to +266
docker run --rm --net=host \
-v /etc/calico/certs:/etc/calico/certs:ro \
-e DATASTORE_TYPE=etcdv3 \
-e ETCD_ENDPOINTS=https://etcd1:2379,https://etcd2:2379 \
-e ETCD_CA_CERT_FILE=/etc/calico/certs/ca.pem \
-e ETCD_CERT_FILE=/etc/calico/certs/client.pem \
-e ETCD_KEY_FILE=/etc/calico/certs/client-key.pem \
-e ENABLED_CONTROLLERS=openstackmigrations \
$[registry]$[imageNames.calico/kube-controllers]:$[releaseTitle]
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.

2 participants