Ansible-operator stuck on queries to cache since version 1.38.
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- ansible, go, kubernetes
- Lĩnh vực
- devops, infrastructure
Hướng nghiên cứu
Bắt đầu bằng cách so sánh ansible-operator v1.37.2 với v1.38 và các phiên bản mới hơn về cách xử lý bộ nhớ đệm proxy cho yêu cầu liệt kê ReplicaSet lặp lại. Tái hiện tác vụ Ansible chạy istioctl manifest apply với các phiên bản Kubernetes được cung cấp; được xem là hoàn tất khi tác vụ hoàn thành và playbook tiếp tục mà không có các thông báo bộ nhớ đệm lặp lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Bug Report
We use Asnible SDK Operator for deployment of components to K8S cluster. We use custom docker image, that is based on the official image (we just add Ansible playbooks inside). Since versio 1.38.0 we started to receive for one type of playbook messages:
{"level":"info","ts":"2025-10-08T10:48:53Z","logger":"proxy","msg":"Read object from cache","resource":{"IsResourceRequest":true,"Path":"/apis/apps/v1/namespaces/istio-system/replicasets","Verb":"list","APIPrefix":"apis","APIGroup":"apps","APIVersion":"v1","Namespace":"istio-system","Resource":"replicasets","Subresource":"","Name":"","Parts":["replicasets"]}}
These messges are repeating several times every second and blocks the ansible playbook on that specific step.
What did you do?
This Ansible task is the last before the messages start.
- name: Apply Istio configuration to the cluster
shell: |
{{ istioctl_dest }}/istioctl manifest apply -f "{{ config_manifests }}/config-{{ app_name }}.yaml" --namespace istio-system --verify -y --readiness-timeout 60m
What did you expect to see?
In image based on SDK Operator 1.37.2, the steps performs without issues and the playbook continues with the following steps. In Ansible SDK Operator image v1.38 and higher (up to 1.41.0), the step metnioned above stucks and still repeating the message metioned. I would like to see the same behavior like in version 1.37, so the playbook will continue and not stuck with these messages.
What did you see instead? Under which circumstances?
The same playbook that works in v1.37, stuck at the the task in v1.38 and higher.
Environment
Kubernetes cluster type:
K8S 1.29 - 1.33 (deployed via Kubespray)
$ operator-sdk version
Mentioned above. Image version 1.37.2 and 1.38.0 and higher
ansible-operator version: "v1.37.2", commit: "dc6090705b01925cfa130b25bf7ca1d7ff7a5430", kubernetes version: "v1.31.0", go version: "go1.23.4", GOOS: "linux", GOARCH: "amd64"
Exampel of non working one:
ansible-operator version: "v1.41.0", commit: "8e923f25256c2b64c85a2c9dfabd157e8f880ea8", kubernetes version: "v1.32.0", go version: "go1.24.4", GOOS: "linux", GOARCH: "amd64" b
I can provide more info if necessary.
Thank you
- Ngôn ngữ chính
- Go
- Star
- 12
- Fork
- 33
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của operator-framework/ansible-operator-plugins
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Upgrade to go 1.26.6 to fix CVEsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
operator-framework/ansible-operator-plugins#237 · 3 bình luận ·
-
Use runtime.GOMAXPROCS(0) instead of runtime.NumCPU() to set --max-concurrent-reconciles defaultĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
language/ansible
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
operator-framework/ansible-operator-plugins#240 · 1 bình luận ·
Tất cả issue của operator-framework/ansible-operator-plugins
Issue tương tự
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
open-telemetry/opentelemetry-go-compile-instrumentation#1417 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
agent-research-finding agent-research-recommend chore ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
jordansmall/spindrift#4068 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Type/Task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
OpenNSW/nsw-srilanka#537 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
security
Độ khó 2/5 1-2 ngày Mức phù hợp với người mới 62/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày