https://pulumi.com logo
#general
Title
# general
c

cool-egg-852

02/03/2020, 7:12 PM
Anyone ever experience
Copy code
Error: invocation of kubernetes:yaml:decode returned an error: Unknown Invoke type 'kubernetes:yaml:decode'
        at /Users/harrison/code/linio/infrastructure/node_modules/@pulumi/pulumi/runtime/invoke.js:172:33
        at Object.onReceiveStatus (/Users/harrison/code/linio/infrastructure/node_modules/grpc/src/client_interceptors.js:1210:9)
        at InterceptingListener._callNext (/Users/harrison/code/linio/infrastructure/node_modules/grpc/src/client_interceptors.js:568:42)
        at InterceptingListener.onReceiveStatus (/Users/harrison/code/linio/infrastructure/node_modules/grpc/src/client_interceptors.js:618:8)
        at callback (/Users/harrison/code/linio/infrastructure/node_modules/grpc/src/client_interceptors.js:847:24)
It keeps occurring in one project and I can’t figure out the cause. There are only 2 resources, a namespace and a helm chart.
g

gorgeous-egg-16927

02/03/2020, 8:03 PM
That’s odd. It looks like the SDK and provider are out of sync somehow. You might try reinstalling the NodeJS packages in that project
c

cool-egg-852

02/03/2020, 8:11 PM
I have, it didn’t change anything.
I’ll go ahead and submit a bug
Unfortunately this is blocking us on all projects using helm.
👀 1
g

gorgeous-egg-16927

02/04/2020, 9:36 PM
@cool-egg-852 Can you try using 1.4.1 of the k8s provider and see if that unblocks you?
1.5.0 was released today, so you might try that as well
c

cool-egg-852

02/04/2020, 9:37 PM
I already tried 1.5.0
Trying 1.4.1 right now
It does appear to fix the issue
👍 1
Trying it with 1.5.0 again
1.5.0 breaks it
1.4.1 fixes it
g

gorgeous-egg-16927

02/04/2020, 9:40 PM
I’m trying to figure out what could be causing the issue you reported. I’ll keep you posted.
c

cool-egg-852

02/04/2020, 9:40 PM
Thanks
g

gorgeous-egg-16927

02/04/2020, 9:41 PM
Did you just upgrade recently, or had you been using 1.4.2, 1.4.4, or 1.4.5 successfully before?
c

cool-egg-852

02/04/2020, 9:42 PM
I was on vacation so I don’t recall the last version that worked, but I did upgrade just yesterday and it broke.
Actually, it probably broke a while ago, but we don’t make changes to our helm projects too often
So while we updated the dep, we didn’t notice the issue right away
👍 1
g

gorgeous-egg-16927

02/04/2020, 9:46 PM
Can you run
pulumi plugin ls | grep kubernetes
for me?
c

cool-egg-852

02/04/2020, 9:48 PM
Copy code
kubernetes  resource  1.5.0                             49 MB   3 hours ago   3 hours ago
kubernetes  resource  1.4.5                             49 MB   1 day ago     1 day ago
kubernetes  resource  1.4.3                             49 MB   3 weeks ago   3 weeks ago
kubernetes  resource  1.4.1                             49 MB   1 month ago   1 month ago
kubernetes  resource  1.4.0                             49 MB   1 month ago   1 month ago
kubernetes  resource  1.3.4                             49 MB   1 month ago   1 month ago
kubernetes  resource  1.3.3                             49 MB   2 months ago  2 months ago
kubernetes  resource  1.3.2                             49 MB   2 months ago  2 months ago
kubernetes  resource  1.3.1                             49 MB   2 months ago  2 months ago
kubernetes  resource  1.3.0                             49 MB   2 months ago  2 months ago
kubernetes  resource  1.2.3                             47 MB   3 months ago  3 months ago
kubernetes  resource  1.2.2                             47 MB   3 months ago  3 months ago
kubernetes  resource  1.2.1                             47 MB   3 months ago  3 months ago
kubernetes  resource  1.2.0                             47 MB   3 months ago  3 months ago
kubernetes  resource  1.2.0-alpha.1570221098+g55fc3c02  47 MB   4 months ago  4 months ago
kubernetes  resource  1.2.0-alpha.1569886708+g5e311f84  47 MB   4 months ago  4 months ago
kubernetes  resource  1.1.0                             53 MB   4 months ago  4 months ago
kubernetes  resource  1.0.1                             53 MB   4 months ago  4 months ago
kubernetes  resource  1.0.0                             53 MB   5 months ago  5 months ago
kubernetes  resource  1.0.0-rc.1                        53 MB   5 months ago  5 months ago
kubernetes  resource  1.0.0-beta.2                      53 MB   5 months ago  5 months ago
kubernetes  resource  1.0.0-beta.1                      52 MB   5 months ago  5 months ago
kubernetes  resource  0.25.6                            51 MB   5 months ago  5 months ago
kubernetes  resource  0.25.5                            50 MB   5 months ago  5 months ago
kubernetes  resource  0.25.4                            50 MB   5 months ago  5 months ago
kubernetes  resource  0.25.2                            50 MB   5 months ago  5 months ago
kubernetes  resource  0.25.1                            52 MB   5 months ago  5 months ago
kubernetes  resource  0.25.0                            52 MB   5 months ago  5 months ago
I’m 99% sure that’s the case too
If you look at the error in
provider.go
, it shows the error message. It’s in a switch based on
tok
.
The
tok
is
kubernetes:yaml:decode
However, the case is
invokeDecodeYaml
I don’t know Go much, but that is my guess