redhat-developer / redhat-developer/mapt
[Bug] "Failed computing delta" for `deregistration_delay` and `keepers`
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 24
- Forks
- 36
- Avg merge
- 6d 13h
- Merged PRs (30d)
- 8
Description
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(formain-aos-tg-22,main-aos-tg-443, andmain-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-devandmapt:v0.9.9images --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)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the aws openshift-snc create --spot entry point and reproduce the failure using the reported architecture, OpenShift version, and image versions. Trace the deregistration_delay, keepers, and main-ocp-readiness-aos-cmd diagnostics to determine whether the reported errors prevent completion; done means the command finishes successfully and saves the kubeconfig without the two resource errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, go
- Domain
- cli, cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100