cuddly-actor-99406
01/14/2022, 11:27 AMpulumi up
my prod environment after not touching it for a while, and it is hanging (100% cpu on python process) in preview. I believe is it related to the large (alb and cert-manager) k8s.yaml.ConfigFile
resources I have. Everything has been fine for many months, but since the last time I ran it, pulumi, python, pulumi-kubernetes, and my laptop (new m1) have gone through many updates (which I have just applied). I've tried logging as suggested on the troubleshooting page, but can't see anything interesting. pulumi refresh
seems to work ok. aws cli
and kubectl
are connecting. If I comment out the ConfigFile
resource, then preview completes normally (and offers to delete my resources). I'm out of ideas. This is prod and I don't want to delete anything. Any ideas?. The last line of the log is
I0114 22:12:30.762818 83092 eventsink.go:62] eventSink::Debug(<{%reset%}>resource registration successful: ty=kubernetes:<http://apiextensions.k8s.io/v1:CustomResourceDefinition|apiextensions.k8s.io/v1:CustomResourceDefinition>, urn=urn:pulumi:xxxx.prod::xxxx::kubernetes:yaml:ConfigFile$kubernetes:<http://apiextensions.k8s.io/v1:CustomResourceDefinition::certificaterequests.cert-manager.io<{%reset%}>)|apiextensions.k8s.io/v1:CustomResourceDefinition::certificaterequests.cert-manager.io<{%reset%}>)>
echoing-dinner-19531
01/14/2022, 1:00 PMcuddly-actor-99406
01/14/2022, 1:36 PMvictorious-continent-984
04/18/2022, 7:02 AMFile "/Users/danylo/projects/python/surus-pulumi/venv/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 853, in _resolve_depends_on_urns
return await _expand_dependencies(all_deps, from_resource)
File "/Users/danylo/projects/python/surus-pulumi/venv/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 824, in _expand_dependencies
await _add_dependency(urns, d, from_resource)
File "/Users/danylo/projects/python/surus-pulumi/venv/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 804, in _add_dependency
await _add_dependency(deps, child, from_resource)
File "/Users/danylo/projects/python/surus-pulumi/venv/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 804, in _add_dependency
await _add_dependency(deps, child, from_resource)
File "/Users/danylo/projects/python/surus-pulumi/venv/lib/python3.8/site-packages/pulumi/runtime/resource.py", line 803, in _add_dependency
for child in res._childResources:
RuntimeError: Set changed size during iteration
echoing-dinner-19531
04/18/2022, 9:13 PMcuddly-actor-99406
04/21/2022, 9:28 AMgrpc/protobuf
code. I tried stepping through but the stack was 50 deep and just low level serialization code. This is the yaml I'm trying to apply: <https://github.com/cert-manager/cert-manager/releases/download/v1.8.0/cert-manager.crds.yaml>
If I comment out half of it, it seems fine. If I put some back in, it hangs. But it doesn't seem to matter which bit I comment out, more so the amount. To recap: this used to work on my Intel mac. It works now on a debian arm64 VM running on my m1 mac. It hangs on the mac using python 3.9 arm64 build.echoing-dinner-19531
04/21/2022, 10:13 AM--logflow --logtostderr -v9
cuddly-actor-99406
04/21/2022, 10:58 AMechoing-dinner-19531
04/22/2022, 3:05 PMcuddly-actor-99406
04/23/2022, 3:55 AM