Skip to content

DNM: log first IPv6 CIDR association entry for debugging - #261

Draft
jechen0648 wants to merge 1 commit into
openshift:mainfrom
jechen0648:experimental/log-ipv6-cidr-association
Draft

DNM: log first IPv6 CIDR association entry for debugging#261
jechen0648 wants to merge 1 commit into
openshift:mainfrom
jechen0648:experimental/log-ipv6-cidr-association

Conversation

@jechen0648

Copy link
Copy Markdown

Summary

This is a Do Not Merge experimental PR for diagnostic purposes only.

Adds a temporary klog.Infof in getSubnet to log the first entry in Ipv6CidrBlockAssociationSet (CIDR value and its state) before the existing code uses it. This allows us to observe whether the old code was picking a stale disassociated entry — answering the reviewer question on #228 about what the incorrect subnet value actually was.

How to use

Deploy this build on a dualstack cluster whose subnet has a stale IPv6 CIDR association, then check the CNCC pod logs:

oc logs -n openshift-cloud-network-config-controller \
  deployment/cloud-network-config-controller -f | grep getSubnet

Expected output (on affected cluster):

getSubnet: subnet subnet-0abc123 first IPv6 CIDR association: cidr=<stale-cidr>/64 state=disassociated

Related

Made with Cursor

Add a temporary klog.Infof in getSubnet to print the first entry in
Ipv6CidrBlockAssociationSet (CIDR value and state) so we can observe
whether the old code was picking a stale 'disassociated' entry.

This is an experimental/diagnostic-only commit and should not be merged.

Signed-off-by: Jean Chen <jechen@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 24, 2026
@coderabbitai

coderabbitai Bot commented Jul 24, 2026

Copy link
Copy Markdown

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords (2)
  • WIP
  • DNM

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: a082d162-50be-466f-a4ff-cff1e0a1f3bc

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@openshift-ci

openshift-ci Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci

openshift-ci Bot commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

Details 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant