Improve tracing / reconciliation when clusterOperation.reconciliationPaused is set to true
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
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách xác định luồng reconciliation xử lý clusterOperation.reconciliationPaused và xem lại cách các lỗi được ghi log và phát ra dưới dạng các sự kiện CR. Được xem là hoàn tất khi một cluster đang tạm dừng không tạo ra các lỗi dependency lặp lại mà thay vào đó ghi log rõ ràng rằng reconciliation đang bị tạm dừng; hãy kiểm tra xem hành vi này có áp dụng cho các operator khác như được gợi ý hay không.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When clusterOperation.reconciliationPaused is set to true, the operator still runs through reconciliation without applying anything. This leads to errors in the operator logs when required dependencies are not applied and missing (e.g. retrieve a nodeport from a service etc.)
2024-02-13T09:18:40.770253Z ERROR stackable_operator::logging::controller: Failed to reconcile objec │
│ t controller.name="opacluster.opa.stackable.tech" error=reconciler for object OpaCluster.v1alpha1.op │
│ a.stackable.tech/opa.platform failed error.sources=[failed to apply role Service, Kubernetes reporte │
│ d error: ApiError: services "opa" not found: NotFound (ErrorResponse { status: "Failure", message: " │
│ services \"opa\" not found", reason: "NotFound", code: 404 }), ApiError: services "opa" not found: N │
│ otFound (ErrorResponse { status: "Failure", message: "services \"opa\" not found", reason: "NotFound │
│ ", code: 404 }), services "opa" not found: NotFound]
This shadows the real problem (in this case it was hard to see that the operator is actually not reconciling that cluster) and the errors is logged constantly in the operator and the CR events.
We need to improve the operator logging in this case to "ignore" errors and simply log that this cluster is currently not reconciled.
This may affect other operators as well.
- Ngôn ngữ chính
- Rust
- Star
- 21
- Fork
- 5
- Merge trung bình
- 12 giờ 44 phút
- Pull request đã merge (30 ngày)
- 11
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 stackabletech/opa-operator
-
type/bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
stackabletech/opa-operator#823 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
stackabletech/opa-operator#766 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
stackabletech/opa-operator#733 ·
-
User Info Fetcher: Document data differences between backends, and/or how to query it manually Đang mở
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 50/100
stackabletech/opa-operator#724 ·
-
type/bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
stackabletech/opa-operator#718 ·
Tất cả issue của stackabletech/opa-operator
Issue tương tự
-
risk:low runtime status:in-progress type:test
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
zeroclaw-labs/zeroclaw#11023 ·
-
good first issue refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
bevyengine/bevy#25861 ·