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

Reduce kubelet logs 'Failed to create existing container' when kubelet is using crio #3457

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

dsxing
Copy link
Contributor

@dsxing dsxing commented Jan 19, 2024

fix #3456

lanxin_20240119105118

when We found that these logs are related to crio sandbox containers. The root cause is that when a pod is created, there will be a sandbox container folder in the cgroup file. When cadvisor scans the cgroup directory to identify containers, it recognizes the sandbox container. It then uses CanHandleAndAccept to determine that it needs to retrieve container information from crio using the id parameter. However, when attempting to get container information from crio via grpc, crio does not query the sandbox container, resulting in a 404 error(https://github.com/cri-o/cri-o/blob/main/server/inspect.go#L68). so cadvisor createContainer failed and print the logs periodically(https://github.com/google/cadvisor/blob/master/manager/manager.go#L1116)

We think that this situation should be handled in the crio factory, filtering out sandbox containers. similar to this pr:#2957 for https://bugzilla.redhat.com/show_bug.cgi?id=1978528#c4

Signed-off-by: dsxing <xingdashuaostar@126.com>
Copy link

google-cla bot commented Jan 19, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@k8s-ci-robot
Copy link
Collaborator

Hi @dsxing. Thanks for your PR.

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

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/test-infra repository.

@iwankgb
Copy link
Collaborator

iwankgb commented Jan 21, 2024

/ok-to-test

@dsxing
Copy link
Contributor Author

dsxing commented Jan 22, 2024

@iwankgb hi, can you help to review the code? thanks!

@iwankgb iwankgb merged commit 42bb3d1 into google:master Jan 26, 2024
14 checks passed
codeboten referenced this pull request in open-telemetry/opentelemetry-collector-contrib Mar 11, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/google/cadvisor](https://github.com/google/cadvisor) |
`v0.48.1` -> `v0.49.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fcadvisor/v0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoogle%2fcadvisor/v0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoogle%2fcadvisor/v0.48.1/v0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogle%2fcadvisor/v0.48.1/v0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>google/cadvisor (github.com/google/cadvisor)</summary>

###
[`v0.49.1`](https://github.com/google/cadvisor/releases/tag/v0.49.1)

[Compare
Source](https://github.com/google/cadvisor/compare/v0.49.0...v0.49.1)

#### What's Changed

- Cherrpick
[#&#8203;3485](https://github.com/google/cadvisor/issues/3485) to
release-v0.49- Remove s390x support by
[@&#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3486](https://github.com/google/cadvisor/pull/3486)
- build docker - add --provenance=false flag by
[@&#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3488](https://github.com/google/cadvisor/pull/3488)

**Full Changelog**:
google/cadvisor@v0.49.0...v0.49.1

    Multi Arch Container Image:
    gcr.io/cadvisor/cadvisor:v0.49.1

    Architecture Specific Container Images:
    gcr.io/cadvisor/cadvisor-arm:v0.49.1
    gcr.io/cadvisor/cadvisor-arm64:v0.49.1
    gcr.io/cadvisor/cadvisor-amd64:v0.49.1

    Binaries:
SHA256 (./cadvisor-v0.49.1-linux-arm) =
5f4128a60c277a5f5182b22ea93c786b1016465934d908c37a4f5ce9d1dfd2b1
SHA256 (./cadvisor-v0.49.1-linux-amd64) =
1d5cc701a3fcdf1e8ed1c86da5304b896a6997d9e6673139e78a6f87812495b0
SHA256 (./cadvisor-v0.49.1-linux-arm64) =
c535f46d789599f25c7c680af193d4402da27a98d9828eb2ec916af6256e0c0c

###
[`v0.49.0`](https://github.com/google/cadvisor/releases/tag/v0.49.0)

[Compare
Source](https://github.com/google/cadvisor/compare/v0.48.1...v0.49.0)

#### What's Changed

- allow for cadvisor to detect disk stats when the read-only and
writeable layers are on separate disks. by
[@&#8203;kannon92](https://github.com/kannon92) in
[https://github.com/google/cadvisor/pull/3395](https://github.com/google/cadvisor/pull/3395)
- build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /cmd by
[@&#8203;dependabot](https://github.com/dependabot) in
[https://github.com/google/cadvisor/pull/3438](https://github.com/google/cadvisor/pull/3438)
- upgrade actions version in github workflow by
[@&#8203;nnnkkk7](https://github.com/nnnkkk7) in
[https://github.com/google/cadvisor/pull/3443](https://github.com/google/cadvisor/pull/3443)
- Remove mentions of accelerator from the docs by
[@&#8203;bobrik](https://github.com/bobrik) in
[https://github.com/google/cadvisor/pull/3458](https://github.com/google/cadvisor/pull/3458)
- Reduce kubelet logs 'Failed to create existing container' when kubelet
is using crio by [@&#8203;dsxing](https://github.com/dsxing) in
[https://github.com/google/cadvisor/pull/3457](https://github.com/google/cadvisor/pull/3457)
- Add note about WebUI auth by
[@&#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3463](https://github.com/google/cadvisor/pull/3463)
- Remove section about canary image by
[@&#8203;discapes](https://github.com/discapes) in
[https://github.com/google/cadvisor/pull/3472](https://github.com/google/cadvisor/pull/3472)
- Bump golang to 1.22 by
[@&#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3474](https://github.com/google/cadvisor/pull/3474)
- Bump deps (runc, docker, grpc, golang/x/net) by
[@&#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3477](https://github.com/google/cadvisor/pull/3477)
- Bump to alpine 3.18 and disable libipmctl by
[@&#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3483](https://github.com/google/cadvisor/pull/3483)

#### New Contributors

- [@&#8203;kannon92](https://github.com/kannon92) made their first
contribution in
[https://github.com/google/cadvisor/pull/3395](https://github.com/google/cadvisor/pull/3395)
- [@&#8203;nnnkkk7](https://github.com/nnnkkk7) made their first
contribution in
[https://github.com/google/cadvisor/pull/3443](https://github.com/google/cadvisor/pull/3443)
- [@&#8203;dsxing](https://github.com/dsxing) made their first
contribution in
[https://github.com/google/cadvisor/pull/3457](https://github.com/google/cadvisor/pull/3457)
- [@&#8203;discapes](https://github.com/discapes) made their first
contribution in
[https://github.com/google/cadvisor/pull/3472](https://github.com/google/cadvisor/pull/3472)

**Full Changelog**:
google/cadvisor@v0.48.1...v0.49.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
DougManton referenced this pull request in DougManton/opentelemetry-collector-contrib Mar 13, 2024
…1568)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/google/cadvisor](https://github.com/google/cadvisor) |
`v0.48.1` -> `v0.49.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fcadvisor/v0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoogle%2fcadvisor/v0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoogle%2fcadvisor/v0.48.1/v0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogle%2fcadvisor/v0.48.1/v0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>google/cadvisor (github.com/google/cadvisor)</summary>

###
[`v0.49.1`](https://github.com/google/cadvisor/releases/tag/v0.49.1)

[Compare
Source](https://github.com/google/cadvisor/compare/v0.49.0...v0.49.1)

#### What's Changed

- Cherrpick
[#&open-telemetry#8203;3485](https://github.com/google/cadvisor/issues/3485) to
release-v0.49- Remove s390x support by
[@&open-telemetry#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3486](https://github.com/google/cadvisor/pull/3486)
- build docker - add --provenance=false flag by
[@&open-telemetry#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3488](https://github.com/google/cadvisor/pull/3488)

**Full Changelog**:
google/cadvisor@v0.49.0...v0.49.1

    Multi Arch Container Image:
    gcr.io/cadvisor/cadvisor:v0.49.1

    Architecture Specific Container Images:
    gcr.io/cadvisor/cadvisor-arm:v0.49.1
    gcr.io/cadvisor/cadvisor-arm64:v0.49.1
    gcr.io/cadvisor/cadvisor-amd64:v0.49.1

    Binaries:
SHA256 (./cadvisor-v0.49.1-linux-arm) =
5f4128a60c277a5f5182b22ea93c786b1016465934d908c37a4f5ce9d1dfd2b1
SHA256 (./cadvisor-v0.49.1-linux-amd64) =
1d5cc701a3fcdf1e8ed1c86da5304b896a6997d9e6673139e78a6f87812495b0
SHA256 (./cadvisor-v0.49.1-linux-arm64) =
c535f46d789599f25c7c680af193d4402da27a98d9828eb2ec916af6256e0c0c

###
[`v0.49.0`](https://github.com/google/cadvisor/releases/tag/v0.49.0)

[Compare
Source](https://github.com/google/cadvisor/compare/v0.48.1...v0.49.0)

#### What's Changed

- allow for cadvisor to detect disk stats when the read-only and
writeable layers are on separate disks. by
[@&open-telemetry#8203;kannon92](https://github.com/kannon92) in
[https://github.com/google/cadvisor/pull/3395](https://github.com/google/cadvisor/pull/3395)
- build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /cmd by
[@&open-telemetry#8203;dependabot](https://github.com/dependabot) in
[https://github.com/google/cadvisor/pull/3438](https://github.com/google/cadvisor/pull/3438)
- upgrade actions version in github workflow by
[@&open-telemetry#8203;nnnkkk7](https://github.com/nnnkkk7) in
[https://github.com/google/cadvisor/pull/3443](https://github.com/google/cadvisor/pull/3443)
- Remove mentions of accelerator from the docs by
[@&open-telemetry#8203;bobrik](https://github.com/bobrik) in
[https://github.com/google/cadvisor/pull/3458](https://github.com/google/cadvisor/pull/3458)
- Reduce kubelet logs 'Failed to create existing container' when kubelet
is using crio by [@&open-telemetry#8203;dsxing](https://github.com/dsxing) in
[https://github.com/google/cadvisor/pull/3457](https://github.com/google/cadvisor/pull/3457)
- Add note about WebUI auth by
[@&open-telemetry#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3463](https://github.com/google/cadvisor/pull/3463)
- Remove section about canary image by
[@&open-telemetry#8203;discapes](https://github.com/discapes) in
[https://github.com/google/cadvisor/pull/3472](https://github.com/google/cadvisor/pull/3472)
- Bump golang to 1.22 by
[@&open-telemetry#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3474](https://github.com/google/cadvisor/pull/3474)
- Bump deps (runc, docker, grpc, golang/x/net) by
[@&open-telemetry#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3477](https://github.com/google/cadvisor/pull/3477)
- Bump to alpine 3.18 and disable libipmctl by
[@&open-telemetry#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3483](https://github.com/google/cadvisor/pull/3483)

#### New Contributors

- [@&open-telemetry#8203;kannon92](https://github.com/kannon92) made their first
contribution in
[https://github.com/google/cadvisor/pull/3395](https://github.com/google/cadvisor/pull/3395)
- [@&open-telemetry#8203;nnnkkk7](https://github.com/nnnkkk7) made their first
contribution in
[https://github.com/google/cadvisor/pull/3443](https://github.com/google/cadvisor/pull/3443)
- [@&open-telemetry#8203;dsxing](https://github.com/dsxing) made their first
contribution in
[https://github.com/google/cadvisor/pull/3457](https://github.com/google/cadvisor/pull/3457)
- [@&open-telemetry#8203;discapes](https://github.com/discapes) made their first
contribution in
[https://github.com/google/cadvisor/pull/3472](https://github.com/google/cadvisor/pull/3472)

**Full Changelog**:
google/cadvisor@v0.48.1...v0.49.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
XinRanZhAWS referenced this pull request in XinRanZhAWS/opentelemetry-collector-contrib Mar 13, 2024
…1568)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/google/cadvisor](https://github.com/google/cadvisor) |
`v0.48.1` -> `v0.49.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fcadvisor/v0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoogle%2fcadvisor/v0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoogle%2fcadvisor/v0.48.1/v0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogle%2fcadvisor/v0.48.1/v0.49.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>google/cadvisor (github.com/google/cadvisor)</summary>

###
[`v0.49.1`](https://github.com/google/cadvisor/releases/tag/v0.49.1)

[Compare
Source](https://github.com/google/cadvisor/compare/v0.49.0...v0.49.1)

#### What's Changed

- Cherrpick
[#&open-telemetry#8203;3485](https://github.com/google/cadvisor/issues/3485) to
release-v0.49- Remove s390x support by
[@&open-telemetry#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3486](https://github.com/google/cadvisor/pull/3486)
- build docker - add --provenance=false flag by
[@&open-telemetry#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3488](https://github.com/google/cadvisor/pull/3488)

**Full Changelog**:
google/cadvisor@v0.49.0...v0.49.1

    Multi Arch Container Image:
    gcr.io/cadvisor/cadvisor:v0.49.1

    Architecture Specific Container Images:
    gcr.io/cadvisor/cadvisor-arm:v0.49.1
    gcr.io/cadvisor/cadvisor-arm64:v0.49.1
    gcr.io/cadvisor/cadvisor-amd64:v0.49.1

    Binaries:
SHA256 (./cadvisor-v0.49.1-linux-arm) =
5f4128a60c277a5f5182b22ea93c786b1016465934d908c37a4f5ce9d1dfd2b1
SHA256 (./cadvisor-v0.49.1-linux-amd64) =
1d5cc701a3fcdf1e8ed1c86da5304b896a6997d9e6673139e78a6f87812495b0
SHA256 (./cadvisor-v0.49.1-linux-arm64) =
c535f46d789599f25c7c680af193d4402da27a98d9828eb2ec916af6256e0c0c

###
[`v0.49.0`](https://github.com/google/cadvisor/releases/tag/v0.49.0)

[Compare
Source](https://github.com/google/cadvisor/compare/v0.48.1...v0.49.0)

#### What's Changed

- allow for cadvisor to detect disk stats when the read-only and
writeable layers are on separate disks. by
[@&open-telemetry#8203;kannon92](https://github.com/kannon92) in
[https://github.com/google/cadvisor/pull/3395](https://github.com/google/cadvisor/pull/3395)
- build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 in /cmd by
[@&open-telemetry#8203;dependabot](https://github.com/dependabot) in
[https://github.com/google/cadvisor/pull/3438](https://github.com/google/cadvisor/pull/3438)
- upgrade actions version in github workflow by
[@&open-telemetry#8203;nnnkkk7](https://github.com/nnnkkk7) in
[https://github.com/google/cadvisor/pull/3443](https://github.com/google/cadvisor/pull/3443)
- Remove mentions of accelerator from the docs by
[@&open-telemetry#8203;bobrik](https://github.com/bobrik) in
[https://github.com/google/cadvisor/pull/3458](https://github.com/google/cadvisor/pull/3458)
- Reduce kubelet logs 'Failed to create existing container' when kubelet
is using crio by [@&open-telemetry#8203;dsxing](https://github.com/dsxing) in
[https://github.com/google/cadvisor/pull/3457](https://github.com/google/cadvisor/pull/3457)
- Add note about WebUI auth by
[@&open-telemetry#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3463](https://github.com/google/cadvisor/pull/3463)
- Remove section about canary image by
[@&open-telemetry#8203;discapes](https://github.com/discapes) in
[https://github.com/google/cadvisor/pull/3472](https://github.com/google/cadvisor/pull/3472)
- Bump golang to 1.22 by
[@&open-telemetry#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3474](https://github.com/google/cadvisor/pull/3474)
- Bump deps (runc, docker, grpc, golang/x/net) by
[@&open-telemetry#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3477](https://github.com/google/cadvisor/pull/3477)
- Bump to alpine 3.18 and disable libipmctl by
[@&open-telemetry#8203;bobbypage](https://github.com/bobbypage) in
[https://github.com/google/cadvisor/pull/3483](https://github.com/google/cadvisor/pull/3483)

#### New Contributors

- [@&open-telemetry#8203;kannon92](https://github.com/kannon92) made their first
contribution in
[https://github.com/google/cadvisor/pull/3395](https://github.com/google/cadvisor/pull/3395)
- [@&open-telemetry#8203;nnnkkk7](https://github.com/nnnkkk7) made their first
contribution in
[https://github.com/google/cadvisor/pull/3443](https://github.com/google/cadvisor/pull/3443)
- [@&open-telemetry#8203;dsxing](https://github.com/dsxing) made their first
contribution in
[https://github.com/google/cadvisor/pull/3457](https://github.com/google/cadvisor/pull/3457)
- [@&open-telemetry#8203;discapes](https://github.com/discapes) made their first
contribution in
[https://github.com/google/cadvisor/pull/3472](https://github.com/google/cadvisor/pull/3472)

**Full Changelog**:
google/cadvisor@v0.48.1...v0.49.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@dims
Copy link
Collaborator

dims commented Jul 11, 2024

@dsxing please see cri-o/cri-o#8034 - this commit caused a regression when systemd is absent, We are trying to see if we should revert this PR

@dims
Copy link
Collaborator

dims commented Jul 11, 2024

xref: #3565

@haircommander
Copy link
Contributor

in the case of systemd cgroup manager in cri-o and when we drop the infra container (as in, we "create" it but it's not a running container because it's not technically required), we create a dummy cgroup so cadvisor recognizes the pod and can report networking metrics.

I think this is actually a bug in crio if we're not correctly finding the infra container. we should be adding it to the container server even though we've dropped it. Do you have a succinct reproducer @dsxing ?

@dsxing
Copy link
Contributor Author

dsxing commented Dec 16, 2024

@dsxing please see cri-o/cri-o#8034 - this commit caused a regression when systemd is absent, We are trying to see if we should revert this PR

I'm sorry for submitted an incorrect PR. I believe we should revert this PR.

@dsxing
Copy link
Contributor Author

dsxing commented Dec 16, 2024

in the case of systemd cgroup manager in cri-o and when we drop the infra container (as in, we "create" it but it's not a running container because it's not technically required), we create a dummy cgroup so cadvisor recognizes the pod and can report networking metrics.

I think this is actually a bug in crio if we're not correctly finding the infra container. we should be adding it to the container server even though we've dropped it. Do you have a succinct reproducer @dsxing ?

I'm sorry for being away for so long. The initial issue was that after restarting crio, kubelet would print a large number of "Failed to create existing container" logs(see kubernetes/kubernetes#115609 ; kubernetes/kubernetes#120988). To reduce these log messages, I submitted this PR. However, after further analyzing the root cause, I discovered that it was an issue in crio. In the end, I submitted a PR(cri-o/cri-o#7726) that fundamentally resolved the problem, so I believe we should revert this PR. I apologize for any other issues this may have caused.

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

Successfully merging this pull request may close these issues.

cadvisor print a lot of 'manager.go:1116 Failed to create existing container …' logs.
5 participants