sparse-intern-71089
08/30/2019, 7:47 PMwhite-balloon-205
bitter-dentist-28132
08/30/2019, 7:59 PMResources:
+ 19 to create
~ 2 to update
- 1 to delete
+-47 to replace
69 changes. 7 unchanged
Do you want to perform this update? yes
Updating (nightly):
Type Name Status Info
pulumi:pulumi:Stack cfm-nightly **failed** 1 error
+- └─ kubernetes:extensions:Ingress dispatch-nightly **replacing failed** 1 error
Diagnostics:
pulumi:pulumi:Stack (cfm-nightly):
error: update failed
kubernetes:extensions:Ingress (dispatch-nightly):
error: Plan apply failed: Unauthorized
Resources:
2 unchanged
Duration: 2s
white-balloon-205
pulumi up --logtostderr -v=9
.bitter-dentist-28132
08/30/2019, 10:25 PMconsole.log
the kubeconfig, it works. and using the same code on a different stack, i don't get that error. and i checked to make sure my digitalocean token is the same for both stacks. hmm.white-balloon-205
bitter-dentist-28132
08/30/2019, 10:29 PMI0830 18:18:13.009015 30010 provider_plugin.go:1047] provider received rpc error `Unknown`: `Unauthorized`
...
I0830 18:18:13.354098 30010 step_executor.go:321] StepExecutor worker(2): step delete-replaced on urn:pulumi:nightly::cfm::k8sjs:service:ServiceDeployment$kubernetes:extensions/v1beta1:Ingress::dispatch-nightly failed with an error: Unauthorized
I0830 18:18:13.354147 30010 step_executor.go:321] StepExecutor worker(2): step delete-replaced on urn:pulumi:nightly::cfm::k8sjs:service:ServiceDeployment$kubernetes:extensions/v1beta1:Ingress::dispatch-nightly failed, signalling cancellation
I0830 18:18:13.354187 30010 plan_executor.go:185] planExecutor.Execute(...): context finished: context canceled
...
I0830 18:18:13.356600 30010 provider_plugin.go:933] Provider[digitalocean, 0xc0038d81e0].Invoke(digitalocean:index/getKubernetesCluster:getKubernetesCluster) failed: transport is closing
I0830 18:18:13.370113 30010 langruntime_plugin.go:156] langhost[nodejs].Run(pwd=/home/chuck/le-codes/cfm-pulumi,program=.,...,dryrun=false) failed: err=transport is closing
bitter-dentist-28132
08/30/2019, 10:29 PMbitter-dentist-28132
08/30/2019, 10:30 PMwhite-balloon-205
bitter-dentist-28132
08/30/2019, 11:09 PMgetKubernetesCluster
worked, so now what's between those first two is simply marshall+unmarshall the kubeconfig i get from getKubernetesCluster
, and these lines:
I0830 19:06:35.656583 22895 eventsink.go:60] , obj={"wrappers_":{"1":{"arr_":[],"map_":{"name":{"key":"name","value":[null,null,"cfm-nightly"],"valueWrapper":{"wrappers_":null,"arrayIndexOffset_":-1,"array":[null,null,"cfm-nightly"],"pivot_":1.7976931348623157e+308,"conve
rtedPrimitiveFields_":{}}}},"arrClean":false}},"arrayIndexOffset_":-1,"array":[[]],"pivot_":1.7976931348623157e+308,"convertedPrimitiveFields_":{}}
I0830 19:06:35.656620 22895 eventsink.go:63] eventSink::Debug(<{%reset%}>, obj={"wrappers_":{"1":{"arr_":[],"map_":{"name":{"key":"name","value":[null,null,"cfm-nightly"],"valueWrapper":{"wrappers_":null,"arrayIndexOffset_":-1,"array":[null,null,"cfm-nightly"],"pivot_":1.
7976931348623157e+308,"convertedPrimitiveFields_":{}}}},"arrClean":false}},"arrayIndexOffset_":-1,"array":[[]],"pivot_":1.7976931348623157e+308,"convertedPrimitiveFields_":{}}<{%reset%}>)
I0830 19:06:35.773512 22895 snapshot.go:496] SnapshotManager.markOperationComplete(urn:pulumi:nightly::cfm::k8sjs:service:ServiceDeployment$kubernetes:extensions/v1beta1:Ingress::dispatch-nightly)
I0830 19:06:35.773532 22895 step_executor.go:321] StepExecutor worker(4): step same on urn:pulumi:nightly::cfm::random:index/randomId:RandomId::mongo-suffix retired
I0830 19:06:35.773679 22895 source_eval.go:816] ResourceMonitor.RegisterResource operation finished: t=random:index/randomId:RandomId, urn=urn:pulumi:nightly::cfm::random:index/randomId:RandomId::mongo-suffix, stable=true, #stables=0 #outs=7
bitter-dentist-28132
08/30/2019, 11:11 PMI0830 19:06:35.653467 22895 provider_plugin.go:953] Provider[digitalocean, 0xc00090c000].Invoke(digitalocean:index/getKubernetesCluster:getKubernetesCluster) success (#ret=14,#failures=0) success
bitter-dentist-28132
08/30/2019, 11:16 PMpulumi destroy
, didn't destroy it.bitter-dentist-28132
08/30/2019, 11:16 PMbitter-dentist-28132
08/30/2019, 11:21 PMbitter-dentist-28132
08/30/2019, 11:22 PMNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by