straight-cartoon-24485
03/15/2021, 2:21 AMpulumi refresh
ing, but the same error pops up(!))
$ pulumi up -fy
[...]
kubernetes:<http://helm.sh/v3:Chart|helm.sh/v3:Chart> (in):
error: resource complete event returned an error: failed to verify snapshot: child resource urn:pulumi:omega::haze::kubernetes:core/v1:Namespace$kubernetes:core/v1:Namespace$kubernetes:core/v1:Namespace$kubernetes:core/v1:Namespace$kubernetes:<http://helm.sh/v3:Chart::mesh-viz|helm.sh/v3:Chart::mesh-viz> refers to missing parent urn:pulumi:omega::haze::kubernetes:core/v1:Namespace$kubernetes:core/v1:Namespace$kubernetes:core/v1:Namespace$kubernetes:core/v1:Namespace::linkerd-viz
so it claims mesh-viz
chart URN exists, yet it doesn't...
$ pulumi state delete urn:pulumi:omega::haze::kubernetes:core/v1:Namespace$kubernetes:core/v1:Namespace$kubernetes:core/v1:Namespace$kubernetes:core/v1:Namespace$kubernetes:<http://helm.sh/v3:Chart::mesh-viz|helm.sh/v3:Chart::mesh-viz>
warning: This command will edit your stack's state directly. Confirm? Yes
error: No such resource "urn:pulumi:omega::haze::kubernetes:core/v1:Namespace:core/v1:Namespace:core/v1:Namespace:core/v1:Namespace:<http://helm.sh/v3:Chart::mesh-viz|helm.sh/v3:Chart::mesh-viz>" exists in the current state
Not able to escape this race conditions. I also can't delete the inexistent parent either 😂white-balloon-205
03/15/2021, 3:23 AMpulumi state delete --disable-integrity-checking
?straight-cartoon-24485
03/15/2021, 3:48 AMerror: the current deployment has 2 resource(s) with pending operations:
* urn:pulumi:omega::haze::kubernetes:core/v1:Namespace::ingress, interrupted while creating
* urn:pulumi:omega::haze::kubernetes:core/v1:Namespace::pulumi, interrupted while creating
$ pulumi state delete --disable-integrity-checking urn:pulumi:omega::haze::kubernetes:core/v1:Namespace::ingress
warning: This command will edit your stack's state directly. Confirm? Yes
error: No such resource "urn:pulumi:omega::haze::kubernetes:core/v1:Namespace::ingress" exists in the current state
tried also
$ pulumi stack export | pulumi stack import
error: 2 errors occurred:
1) state file contains errors: child resource urn:pulumi:omega::haze::kubernetes:core/v1:Namespace$kubernetes:<http://helm.sh/v3:Chart::in|helm.sh/v3:Chart::in> refers to missing parent urn:pulumi:omega::haze::kubernetes:core/v1:Namespace::ingress
2) importing this file could be dangerous; rerun with --force to proceed anyway
how can I wipe everything and start over? 🙂
(I already microk8s reset
'ed)--force
on a freshly restored microk8s 1-node cluster with zero resources
pulumi stack rm
This will permanently remove the 'omega' stack!
Please confirm that this is what you'd like to do by typing ("omega"): omega
error: 'omega' still has resources; removal rejected; pass --force to override
white-balloon-205
03/15/2021, 4:30 AMpulumi state delete
can behave reliably even in face of a corrupted checkpoint file, as this is a primary tool for fixing things up if this ever does happen.
If you are still stuck here - could you summarize the state you are in - and we can likely provide some guidance on steps to get back into a good state.straight-cartoon-24485
03/15/2021, 5:18 AMkubernetes:<http://admissionregistration.k8s.io/v1:ValidatingWebhookConfiguration|admissionregistration.k8s.io/v1:ValidatingWebhookConfiguration> (in-ingress-nginx-admission):
error: resource in-ingress-nginx-admission was not successfully created by the Kubernetes API server : <http://validatingwebhookconfigurations.admissionregistration.k8s.io|validatingwebhookconfigurations.admissionregistration.k8s.io> "in-ingress-nginx-admission" already exists
white-balloon-205
03/15/2021, 6:05 AM