Skip to content

Conversation

@networkandcode
Copy link

@networkandcode networkandcode commented Nov 3, 2024

Is this line correct?

By default, we install the dual stack version: 10-crio-bridge.conflist

To reproduce on new ubunty system(I used mutlipass on mac):

sudo -i

# Ubuntu 24.04.1 LTS
lsb_release -a
# should be empty
ls /etc | grep -ie 'cni\|crio'

CRIO_VERSION=v1.31

curl -fsSL https://pkgs.k8s.io/addons:/cri-o:/stable:/$CRIO_VERSION/deb/Release.key |
    gpg --dearmor -o /etc/apt/keyrings/cri-o-apt-keyring.gpg

echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://pkgs.k8s.io/addons:/cri-o:/stable:/$CRIO_VERSION/deb/ /" |
    tee /etc/apt/sources.list.d/cri-o.list

apt-get update -y -qq
apt-get install -y -qq cri-o

systemctl start crio.service

# should show cni and crio
ls /etc | grep -ie 'cni\|crio'

What I see is 11-crio-ipv4-bridge.conflist by default:

$ ls /etc/cni/net.d/
11-crio-ipv4-bridge.conflist

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?


Is this line correct?
```
By default, we install the dual stack version: 10-crio-bridge.conflist
```

To reproduce on new ubunty system(I used mutlipass on mac):
```
sudo -i

# Ubuntu 24.04.1 LTS
lsb_release -a
# should be empty
ls /etc | grep -ie 'cni\|crio'

CRIO_VERSION=v1.31

curl -fsSL https://pkgs.k8s.io/addons:/cri-o:/stable:/$CRIO_VERSION/deb/Release.key |
    gpg --dearmor -o /etc/apt/keyrings/cri-o-apt-keyring.gpg

echo "deb [signed-by=/etc/apt/keyrings/cri-o-apt-keyring.gpg] https://pkgs.k8s.io/addons:/cri-o:/stable:/$CRIO_VERSION/deb/ /" |
    tee /etc/apt/sources.list.d/cri-o.list

apt-get update -y -qq
apt-get install -y -qq cri-o

systemctl start crio.service

# should show cni and crio
ls /etc | grep -ie 'cni\|crio'
```

What I see is 11-crio-ipv4-bridge.conflist by default:
```
ls /etc/cni/net.d/
11-crio-ipv4-bridge.conflist
```


Signed-off-by: Shakir <30622440+networkandcode@users.noreply.github.com>
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 3, 2024

Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it.

Details

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-sigs/prow repository.

@openshift-ci openshift-ci bot added dco-signoff: yes Indicates the PR's author has DCO signed all their commits. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Nov 3, 2024
@openshift-ci openshift-ci bot requested review from klihub and littlejawa November 3, 2024 05:56
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 3, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: networkandcode
Once this PR has been reviewed and has the lgtm label, please assign umohnani8 for approval. For more information see the Kubernetes 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

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 3, 2024

Hi @networkandcode. Thanks for your PR.

I'm waiting for a cri-o 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.

Details

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-sigs/prow repository.

@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Nov 3, 2024
```

By default, we install the dual stack version: [10-crio-bridge.conflist][dual-stack]
By default, we install the IPv4 only version: [11-crio-ipv4-bridge.conflist][ipv4-only]
Copy link
Member

@saschagrunert saschagrunert Nov 4, 2024

Choose a reason for hiding this comment

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

@cri-o/cri-o-maintainers would it be better to install the dual stack config per default in the packages?

See: cri-o/packaging#197

Copy link
Member

Choose a reason for hiding this comment

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

yeah I think installing the dual stack one in the packaging would be better

Copy link
Member

Choose a reason for hiding this comment

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

yeah I think installing the dual stack one in the packaging would be better

Then let's close this PR.

@saschagrunert
Copy link
Member

Thank you for the PR @networkandcode! 🙏 We decided to change the default CNI configuration to use the dual stack, so I assume we can close this PR.

/close

@openshift-ci openshift-ci bot closed this Nov 7, 2024
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 7, 2024

@saschagrunert: Closed this PR.

Details

In response to this:

Thank you for the PR @networkandcode! 🙏 We decided to change the default CNI configuration to use the dual stack, so I assume we can close this PR.

/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-sigs/prow repository.

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

Labels

dco-signoff: yes Indicates the PR's author has DCO signed all their commits. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants