https://pulumi.com logo
b

better-rainbow-14549

04/23/2019, 2:13 PM
Copy code
error: could not load plugin for azure provider 'urn:pulumi:subscription::subscription::pulumi:providers:azure::default': no resource plugin 'azure-v0.17.3' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource azure v0.17.3`
i'm getting that for a
pulumi refresh
on CI - never had it do this before with package updates. Any solution?
w

white-balloon-205

04/23/2019, 2:16 PM
What do you see in
pulumi plugin ls
? What version of the
@pulumi/azure
package are you installing in your
package.json
and lock file? Also cc @incalculable-sundown-82514
b

better-rainbow-14549

04/23/2019, 2:16 PM
one second let me shell in
the state file was last changed with 0.17.3
but i've had this with azure 0.17.4 and again today with 0.18.0
w

white-balloon-205

04/23/2019, 2:19 PM
I see. Did this start happening at the same time as you moved from
0.17.3
to a newer version?
b

better-rainbow-14549

04/23/2019, 2:19 PM
yes
root@vsts-agent-pulumi-bu7tvpjv-57bcff7bbc-4bqb2:/vsts# pulumi plugin ls NAME KIND VERSION SIZE INSTALLED LAST USED azure resource 0.18.0 135 MB n/a 1 hour ago azure resource 0.17.4 93 MB n/a 1 hour ago kubernetes resource 0.22.2 45 MB n/a 14 minutes ago kubernetes resource 0.21.1 45 MB n/a 1 hour ago random resource 0.5.2 36 MB n/a 13 minutes ago random resource 0.5.1 28 MB n/a 1 hour ago
am i best just manually installing it and see if i get it again?
i also rebuilt the CI server from scratch so i guess it had no historic plugins installed
seems strange it a) doesnt install any required earlier plugin versions automatically b) wont use a bug-fix version bump
w

white-balloon-205

04/23/2019, 2:22 PM
Yes - a workaround is to manually install it (
pulumi plugin install resource azure 0.17.3
). But that should not be necessary. We'll look into what would cause this. What version of the
pulumi
CLI are you installing? We added support for automatically acquiring these plugins recently to help with this.
b

better-rainbow-14549

04/23/2019, 2:22 PM
root@vsts-agent-pulumi-bu7tvpjv-57bcff7bbc-4bqb2:/vsts# pulumi version v0.17.5
We'll look into this.
b

better-rainbow-14549

04/23/2019, 2:23 PM
yeah i had it back then too but it did seem to be fixed
not sure if it's a regression or what
great thanks!
installed it manually so i assume itll be fin enow
hmm no still not..
also, is it v0.17.3 or just 0.17.3 - does my state file contain an erroneous 'v' or something?
w

white-balloon-205

04/23/2019, 2:26 PM
I just checked - and it appears both should work.
b

better-rainbow-14549

04/23/2019, 2:27 PM
confusing
Copy code
azure       resource  0.17.3   93 MB   n/a        1 minute ago
w

white-balloon-205

04/23/2019, 2:27 PM
You get the same error, even with the plugin installed?
b

better-rainbow-14549

04/23/2019, 2:27 PM
but still getting the CI error
seems that way i need to check i'm not doing something dumb
weird on the second pass it worked ok... but seemingly only after i'd also done
Copy code
pulumi plugin install resource azure v0.17.3
w

white-balloon-205

04/23/2019, 2:30 PM
Hmm - it would be very surprising if that
v
made a difference.
b

better-rainbow-14549

04/23/2019, 2:30 PM
haha yeah
w

white-balloon-205

04/23/2019, 2:30 PM
But we'll look into this more generally.
b

better-rainbow-14549

04/23/2019, 2:31 PM
i installed the plugin manually with 0.17.3 then immediately scheduled a build which failed, then did install v0.17.3 and scheduled another that passed
but yeah it does seem very strange
ok i seem to be unblocked though so thanks a lot
if you need any state history or something let me know i have it all in git