[Bug] "Failed computing delta" for `deregistration_delay` and `keepers`

オープン
#672 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
aws, go

調査の方向性

エントリポイント aws openshift-snc create --spot から開始し、報告されたアーキテクチャ、OpenShift のバージョン、イメージのバージョンを使って失敗を再現します。deregistration_delay、keepers、main-ocp-readiness-aos-cmd の診断を追跡し、報告されたエラーによって完了が妨げられるかどうかを判断します。コマンドが正常に終了し、2つのリソースエラーなしで kubeconfig が保存されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

I hit some errors when running aws openshift-snc create --spot.

Specifically:

  • [rawstate] Failed computing delta at "keepers" for pv={<nil>} and v=tftypes.Map[tftypes.String]<null> and
  • [rawstate] Failed computing delta at "deregistration_delay" for pv={300} and v=cty.StringVal("300"): no efficient delta for type cty.String (for main-aos-tg-22, main-aos-tg-443, and main-aos-tg-6443.

I assume this is causing the additional error I see: (main-ocp-readiness-aos-cmd): error: wait: remote command exited without exit status or exit signal: running "while [ ! -f /tmp/.crc-cluster-ready ]; do sleep 5; done".

Although there are no "Outputs" at the end, and no kubeconfig is saved locally, the cluster appears to be provisioned and I can at least SSH to the host.

Using:

  • both mapt:v1.0.0-dev and mapt:v0.9.9 images
  • --arch x86_64
  • --version 4.20.1
...
INFO  +  aws:lb:TargetGroup main-aos-tg-22 creating (1s) debug: [rawstate] Failed computing delta at "deregistration_delay" for pv={300} and v=cty.StringVal("300"): no efficient delta for type cty.String 
INFO  +  aws:lb:TargetGroup main-aos-tg-22 created (1s) debug: [rawstate] Failed computing delta at "deregistration_delay" for pv={300} and v=cty.StringVal("300"): no efficient delta for type cty.String 
INFO  +  aws:lb:TargetGroup main-aos-tg-443 creating (1s) debug: [rawstate] Failed computing delta at "deregistration_delay" for pv={300} and v=cty.StringVal("300"): no efficient delta for type cty.String 
INFO  +  aws:lb:TargetGroup main-aos-tg-443 created (1s) debug: [rawstate] Failed computing delta at "deregistration_delay" for pv={300} and v=cty.StringVal("300"): no efficient delta for type cty.String 
INFO  +  aws:lb:TargetGroup main-aos-tg-6443 creating (1s) debug: [rawstate] Failed computing delta at "deregistration_delay" for pv={300} and v=cty.StringVal("300"): no efficient delta for type cty.String 
INFO  +  aws:lb:TargetGroup main-aos-tg-6443 created (1s) debug: [rawstate] Failed computing delta at "deregistration_delay" for pv={300} and v=cty.StringVal("300"): no efficient delta for type cty.String

...

INFO Diagnostics:                                 
INFO   aws:lb:TargetGroup (main-aos-tg-443):      
INFO     debug: [rawstate] Failed computing delta at "deregistration_delay" for pv={300} and v=cty.StringVal("300"): no efficient delta for type cty.String 
INFO                                              
INFO   random:index:RandomPassword (main-aos-kubeadminpassword6f407c0a): 
INFO     debug: [rawstate] Failed computing delta at "keepers" for pv={<nil>} and v=tftypes.Map[tftypes.String]<null>: No PropertyValue at key 
INFO                                              
INFO   random:index:RandomPassword (main-aos-devpassword751d370d): 
INFO     debug: [rawstate] Failed computing delta at "keepers" for pv={<nil>} and v=tftypes.Map[tftypes.String]<null>: No PropertyValue at key 
INFO                                              
INFO   aws:lb:TargetGroup (main-aos-tg-22):       
INFO     debug: [rawstate] Failed computing delta at "deregistration_delay" for pv={300} and v=cty.StringVal("300"): no efficient delta for type cty.String 
INFO                                              
INFO   command:remote:Command (main-ocp-readiness-aos-cmd): 
INFO     error: wait: remote command exited without exit status or exit signal: running "while [ ! -f /tmp/.crc-cluster-ready ]; do sleep 5; done": 

...

INFO     debug: [DEBUG] setting computed for "mutual_authentication" from ComputedKeys 
INFO     debug: [DEBUG] setting computed for "mutual_authentication" from ComputedKeys 
INFO     debug: [DEBUG] setting computed for "tags_all" from ComputedKeys 
INFO     error: update failed                     
INFO                                              
INFO     debug: I1121 15:30:24.447298     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:30:24.450552     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:30:24.466456     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:30:26.290250     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:30:26.334715     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:30:28.241840     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:30:28.398224     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:30:55.301448     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:31:05.369400     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:31:15.452763     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:31:25.531725     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:31:35.605311     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:31:45.681698     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:31:55.754319     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:32:05.830863     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:32:15.899613     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO     I1121 15:32:26.363307     237 ignore.go:44] Explicitly ignoring and discarding error: rpc error: code = Canceled desc = context canceled 
INFO                                              
INFO   aws:lb:TargetGroup (main-aos-tg-6443):     
INFO     debug: [rawstate] Failed computing delta at "deregistration_delay" for pv={300} and v=cty.StringVal("300"): no efficient delta for type cty.String 
INFO                                              
INFO Resources:                                   
INFO     + 33 created                             
INFO     2 errored                                
INFO                                              
INFO Duration: 7m4s                               
INFO                                              
ERRO failed to run update: exit status 255
code: 255
stdout: Updating (stackOpenshiftSNC-openshift-snc):

    pulumi:pulumi:Stack openshift-snc-stackOpenshiftSNC-openshift-snc  debug: [INFO] pulumi-aws: starting to validate credentials. Disable this by AWS_SKIP_CREDENTIALS_VALIDATION or skipCredentialsValidation option
@ updating....
    pulumi:pulumi:Stack openshift-snc-stackOpenshiftSNC-openshift-snc  debug: [INFO] pulumi-aws: credentials are valid
 +  pulumi:pulumi:Stack openshift-snc-stackOpenshiftSNC-openshift-snc creating (0s) debug: [INFO] pulumi-aws: credentials are valid
@ updating....
 +  aws:ec2:Vpc vpc-main-aos-net creating (0s) 
 +  aws:ec2:Eip main-aos-lbeip creating (0s) 
 +  pulumi:pulumi:Stack openshift-snc-stackOpenshiftSNC-openshift-snc creating (0s) debug: [DEBUG] setting computed for "tags_all" from ComputedKeys
 +  aws:iam:Role main-aos-ec2-role creating (0s) 
 +  tls:index:PrivateKey main-aos-pk creating (0s) 
 +  pulumi:pulumi:Stack openshift-snc-stackOpenshiftSNC-openshift-snc creating (0s) debug: [DEBUG] setting computed for "tags_all" from ComputedKeys
 +  pulumi:pulumi:Stack openshift-snc-stackOpenshiftSNC-openshift-snc creating (0s) debug: [DEBUG] setting computed for "inline_policy" from ComputedKeys
 +  pulumi:pulumi:Stack openshift-snc-stackOpenshiftSNC-openshift-snc creating (0s) debug: [DEBUG] setting computed for "managed_policy_arns" from ComputedKeys
 +  aws-native:ssm:Parameter main-ocppullsecretid-ssm creating (0s) 
 +  random:index:RandomPassword main-aos-devpassword751d370d creating (0s) 
 +  random:index:RandomPassword main-aos-kubeadminpassword6f407c0a creating (0s) 
 +  aws:iam:Role main-aos-ec2-role created (0.43s) 
 +  aws:iam:InstanceProfile main-aos-instance-profie creating (0s) 
 +  aws:iam:RolePolicyAttachment main-aos-ec2-role-attach-0 creating (0s) 
 +  random:index:RandomPassword main-aos-devpassword751d370d creating (0s) debug: [rawstate] Failed computing delta at "keepers" for pv={<nil>} and v=tftypes.Map[tftypes.String]<null>: No PropertyValue at key
 +  random:index:RandomPassword main-aos-devpassword751d370d created (0.08s) debug: [rawstate] Failed computing delta at "keepers" for pv={<nil>} and v=tftypes.Map[tftypes.String]<null>: No PropertyValue at key
 +  pulumi:pulumi:Stack openshift-snc-stackOpenshiftSNC-openshift-snc creating (1s) debug: [DEBUG] setting computed for "tags_all" from ComputedKeys
 +  random:index:RandomPassword main-aos-kubeadminpassword6f407c0a creating (0s) debug: [rawstate] Failed computing delta at "keepers" for pv={<nil>} and v=tftypes.Map[tftypes.String]<null>: No PropertyValue at key
 +  random:index:RandomPassword main-aos-kubeadminpassword6f407c0a created (0.08s) debug: [rawstate] Failed computing delta at "keepers" for pv={<nil>} and v=tftypes.Map[tftypes.String]<null>: No PropertyValue at key
 +  tls:index:PrivateKey main-aos-pk created (0.46s)
主要言語
Go
スター
25
フォーク
41
平均マージ
5日 3時間
マージ済み PR(30日)
16

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

redhat-developer/mapt のほかの issue

redhat-developer/mapt の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。