freezing-quill-32178
11/01/2023, 10:30 AMv4.5.0
the CI started failing with
error: Could not automatically download and install resource plugin 'pulumi-resource-kubernetes' at version v4.5.0, install the plugin using `pulumi plugin install resource kubernetes v4.5.0`: error downloading provider kubernetes to file: failed to download plugin: kubernetes-4.5.0: 403 HTTP error fetching plugin from <https://get.pulumi.com/releases/plugins/pulumi-resource-kubernetes-v4.5.0-linux-amd64.tar.gz>
also i cannot find it in https://github.com/pulumi/pulumi-kubernetes/releases
any reason for it?dry-keyboard-94795
11/01/2023, 10:41 AMfreezing-quill-32178
11/01/2023, 10:42 AMdry-keyboard-94795
11/01/2023, 10:43 AMfreezing-quill-32178
11/01/2023, 10:44 AM- cluster : "[recacted]--k8s-europe-west4-dev"
- context : "[recacted]-k8s-europe-west4-dev"
- namespace: "default"
~ version : "4.5.0" => "4.5.3"
dry-keyboard-94795
11/01/2023, 10:45 AMfreezing-quill-32178
11/01/2023, 10:49 AMdry-keyboard-94795
11/01/2023, 10:50 AMfreezing-quill-32178
11/01/2023, 10:52 AMdry-keyboard-94795
11/01/2023, 10:54 AMfreezing-quill-32178
11/01/2023, 10:57 AMpulumi up
prod
one took like 2h to complete///dry-keyboard-94795
11/01/2023, 11:03 AMpulumi stack export
, ... import
) , then doing a targeted update on the provider resource, with a refresh afterwards.freezing-quill-32178
11/01/2023, 12:30 PMdevelopment
seems fine with `v4.5.3`… already have stack state backup job, thanks for the heads up!dry-keyboard-94795
11/01/2023, 12:31 PMkind-fireman-33438
11/01/2023, 2:03 PMwide-dress-96388
11/02/2023, 10:01 AMdry-keyboard-94795
11/02/2023, 10:07 AMwide-dress-96388
11/02/2023, 10:22 AMerror: could not load provider for resource urn:pulumi:prod::hive::kubernetes:<http://helm.sh/v3:Chart$kubernetes:batch/v1:Job::contour/contour-proxy-contour-certgen|helm.sh/v3:Chart$kubernetes:batch/v1:Job::contour/contour-proxy-contour-certgen>: could not create provider urn:pulumi:prod::hive::pulumi:providers:kubernetes::default_4_5_0::b455c422-8471-431d-990b-76612e505ab7: load plugin for kubernetes provider 'urn:pulumi:prod::hive::pulumi:providers:kubernetes::default_4_5_0': Could not automatically download and install resource plugin 'pulumi-resource-kubernetes' at version v4.5.0, install the plugin using `pulumi plugin install resource kubernetes v4.5.0`: error downloading provider kubernetes to file: failed to download plugin: kubernetes-4.5.0: 403 HTTP error fetching plugin from <https://get.pulumi.com/releases/plugins/pulumi-resource-kubernetes-v4.5.0-darwin-arm64.tar.gz>
dry-keyboard-94795
11/02/2023, 10:24 AMwide-dress-96388
11/02/2023, 10:24 AMup
?{
"urn": "urn:pulumi:prod::hive::pulumi:providers:kubernetes::default_4_5_0",
"custom": true,
"id": "b455c422-8471-431d-990b-76612e505ab7",
"type": "pulumi:providers:kubernetes",
"inputs": {
"cluster": "guild-cluster",
"context": "guild-cluster",
"enableServerSideApply": "false",
"namespace": "default",
"version": "4.5.0"
},
"outputs": {
"cluster": "guild-cluster",
"context": "guild-cluster",
"enableServerSideApply": "false",
"namespace": "default",
"version": "4.5.0"
},
"created": "2023-10-24T15:37:11.663647842Z",
"modified": "2023-10-24T15:37:11.663647842Z"
},
"parent": "urn:pulumi:prod::hive::kubernetes:<http://helm.sh/v3:Chart::contour-proxy|helm.sh/v3:Chart::contour-proxy>",
"provider": "urn:pulumi:prod::hive::pulumi:providers:kubernetes::default_4_5_0::b455c422-8471-431d-990b-76612e505ab7",
"propertyDependencies": {
"apiVersion": null,
"kind": null,
"metadata": null,
"spec": null
},
"modified": "2023-09-26T14:11:29.771465Z",
"sourcePosition": "project:///node_modules/.pnpm/@pulumi+kubernetes@4.5.0/node_modules/@pulumi/apiextensions/v1/customResourceDefinition.ts#90,9"
freezing-quill-32178
11/02/2023, 10:27 AMdry-keyboard-94795
11/02/2023, 10:28 AMpulumi update --refresh=false
wide-dress-96388
11/02/2023, 10:29 AMremove node_modules and do a clean install with v4.5.3… even clear npm cache if you can, the new one is not registered properly it seems, still seeing the old oneI already tried to remove node_modules. I don't have any trace of
4.5.0
in my env. This also happens in our CI where we install all deps from scratch.error: could not load provider for resource urn:pulumi:prod::hive::kubernetes:<http://helm.sh/v3:Chart$kubernetes:batch/v1:Job::contour/contour-proxy-contour-certgen|helm.sh/v3:Chart$kubernetes:batch/v1:Job::contour/contour-proxy-contour-certgen>: could not create provider urn:pulumi:prod::hive::pulumi:providers:kubernetes::default_4_5_0::b455c422-8471-431d-990b-76612e505ab7: load plugin for kubernetes provider 'urn:pulumi:prod::hive::pulumi:providers:kubernetes::default_4_5_0': Could not automatically download and install resource plugin 'pulumi-resource-kubernetes' at version v4.5.0, install the plugin using `pulumi plugin install resource kubernetes v4.5.0`: error downloading provider kubernetes to file: failed to download plugin: kubernetes-4.5.0: 403 HTTP error fetching plugin from <https://get.pulumi.com/releases/plugins/pulumi-resource-kubernetes-v4.5.0-darwin-arm64.tar.gz>
preview
also needs the older provider? trying now also with --skip-preview
dry-keyboard-94795
11/02/2023, 10:33 AMpulumi about
pulumi plugin ls
pulumi plugin install
wide-dress-96388
11/02/2023, 10:36 AMpulumi plugin install
has no output--skip-preview
and i got the same error as before.
Seems like Pulumi still tries to download the old provider during update4.5.0
installed... should I try to deploy from it locally? 🤔freezing-quill-32178
11/02/2023, 10:43 AMrefresh
my old plugins are never cleaned after update btw, that might help
kubernetes resource 4.5.3 92 MB 1 day ago 1 day ago
kubernetes resource 4.5.0 92 MB 1 week ago 1 week ago
kubernetes resource 4.4.0 92 MB 1 week ago 1 week ago
kubernetes resource 4.3.0 91 MB 1 week ago 1 week ago
kubernetes resource 4.2.0 91 MB 2 weeks ago 5 days ago
kubernetes resource 4.1.1 90 MB 2 months ago 2 months ago
kubernetes resource 4.1.0 90 MB 2 months ago 2 months ago
kubernetes resource 4.0.3 90 MB 3 months ago 3 months ago
kubernetes resource 4.0.2 90 MB 3 months ago 3 months ago
kubernetes resource 4.0.1 90 MB 3 months ago 3 months ago
kubernetes resource 3.30.2 89 MB 3 months ago 3 months ago
kubernetes resource 3.30.1 89 MB 4 months ago 2 months ago
kubernetes resource 3.30.0 89 MB 4 months ago 4 months ago
kubernetes resource 3.29.0 89 MB 4 months ago 4 months ago
kubernetes resource 3.28.1 89 MB 5 months ago 5 months ago
kubernetes resource 3.27.1 88 MB 5 months ago 5 months ago
kubernetes resource 3.25.0 86 MB 6 months ago 6 months ago
kubernetes resource 3.24.2 86 MB 7 months ago 7 months ago
kubernetes resource 3.24.1 86 MB 8 months ago 8 months ago
kubernetes resource 3.24.0 86 MB 8 months ago 8 months ago
kubernetes resource 3.23.1 83 MB 9 months ago 9 months ago
kubernetes resource 3.23.0 83 MB 10 months ago 10 months ago
wide-dress-96388
11/02/2023, 10:43 AMfreezing-quill-32178
11/02/2023, 10:44 AMdeprecated
on NPM should fix the issue, instead of just nuking it right awaydry-keyboard-94795
11/02/2023, 10:46 AMYeah I'm trying that now. But that's really far from ideal. I think Pulumi should never delete the providers tar files, even if they are having bugs
This has been raised :)
wide-dress-96388
11/02/2023, 10:52 AMpulumi refresh
on the other workstation (that has 4.5.0).
Trying to run up
on that workstation now.
If I understand correctly, this should update the pulumi state and remove references to 4.5.0?dry-keyboard-94795
11/02/2023, 10:57 AMwide-dress-96388
11/02/2023, 11:08 AMdry-keyboard-94795
11/02/2023, 11:52 AM