Skip to content

[Bug] "Failed computing delta" for deregistration_delay and keepers #672

@wes-spinks

Description

@wes-spinks

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions