OCI load balancer doesnt receive WorkRequest to be terminated
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- go, helm, kubernetes, terraform
- 領域
- cloud, devops, networking
調査の方向性
レポートで説明されている Kubernetes Service annotations と Terraform-managed Helm release から始め、その後 destroy 中の OCI load balancer の終了処理を追跡します。可能であれば本番環境でのみ発生する障害を再現し、3 つすべての load balancers が termination work requests を受け取るか確認します。すべての load balancer が一貫して削除され、subnet を破棄できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
We create 2 oci load balancers by executing the following lines in one of our helm charts:
service:
enabled: true
type: LoadBalancer
port: 443
annotations:
service.beta.kubernetes.io/oci-load-balancer-shape: "${wtss_shape}"
service.beta.kubernetes.io/oci-load-balancer-security-list-management-mode: "None"
service.beta.kubernetes.io/oci-load-balancer-backend-protocol: "HTTP"
sslEnabled: true
and one internal load balancer by executing these lines:
service:
enabled: true
type: LoadBalancer
port: 80
annotations:
service.beta.kubernetes.io/oci-load-balancer-internal: "true"
service.beta.kubernetes.io/oci-load-balancer-shape: "${wtss_shape}"
service.beta.kubernetes.io/oci-load-balancer-security-list-management-mode: "None"
Environments are provisioned with terraform 0.12.19 and the following set of terraform providers:
oci 3.74.0
helm 0.10.2
kubernetes 1.9.0
tls 2.1.1
No issues with creation, all works well in both dev and production OCI tenancy.
Problem arises randomly in destruction of environment in production OCI tenancy, where one of the 3 load balancers is not destroyed, causing the load balancer subnet to not being able to be destroyed:
Error: Service error:Conflict. The Subnet ocid1.subnet.oc1.iad.aaaaaaaa6ksuldcwn7i52prronlm7hc2mmt2lwxeskjgpyxkq26zxwmiuexq references the VNIC ocid1.vnic.oc1.iad.abuwcljse6jxsl3fbx5vvgtjrud2xty2bmjmu6uwpt4cd7mkklgbpp77fqwq. You must remove the reference to proceed with this operation.. http status code: 409. Opc request id: 54b539a5d9b2a538a89cb3dccd9ce78b/EFF51FBB2571BC628C5383C03DD97940/57E2CAFEFE75FAD2DBE403D52079245C
This happens randomly only in production OCI tenancy
BUG REPORT
Versions
CCM Version:
Environment:
- Kubernetes version (use
kubectl version):
v1.15.7 - OS (e.g. from /etc/os-release): NAME="Oracle Linux Server"
VERSION="7.6"
ID="ol"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.6"
PRETTY_NAME="Oracle Linux Server 7.6"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:7:6:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7"
ORACLE_BUGZILLA_PRODUCT_VERSION=7.6
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=7.6
- Kernel (e.g.
uname -a):
Linux vault01 4.14.35-1844.5.3.el7uek.x86_64 #2 SMP Wed May 8 21:50:52 PDT 2019 x86_64 x86_64 x86_64 GNU/Linux - Others:
What happened?
One of the OCI load balancers in production tenancy created from oci-cloud-controller randomly doesnt receive work request to be terminated by terraform destroy of the helm release
What you expected to happen?
All OCI load balancers to be consistently terminated
How to reproduce it (as minimally and precisely as possible)?
Create a terraform module to deploy helm release which creates an OCI load balancer by deploying a k8s service by setting annotation service.beta.kubernetes.io/oci-load-balancer-* and try destroying the module from terraform
Anything else we need to know?
- 主要言語
- Go
- スター
- 160
- フォーク
- 109
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
oracle/oci-cloud-controller-manager のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
Established connections are dropped when cluster-autoscaler scales down a load balancer backend nodeオープン
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
oracle/oci-cloud-controller-manager#546 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
oracle/oci-cloud-controller-manager の issue をすべて見る
似ている issue
-
Case detail: main-column section headers are hard to distinguish from body text対応中かも @yubessy が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ubie-oss/hecatoncheires#347 ·
メンテナーはふだん 1 日以内に返信
-
[OperatorHub] Add OLM installation method to the documentation #1193対応中かも @NiccoloFei が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
cloudnative-pg/plugin-barman-cloud#1233 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 2 日以内に返信
-
build: make check-linter version tests deterministic対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信