Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

Unable to install azurenextgen plugin for Windows #70

Closed
orteme opened this issue Oct 16, 2020 · 5 comments · Fixed by pulumi/pulumi-azure-native#321
Closed

Unable to install azurenextgen plugin for Windows #70

orteme opened this issue Oct 16, 2020 · 5 comments · Fixed by pulumi/pulumi-azure-native#321
Assignees
Labels
bug Something isn't working
Milestone

Comments

@orteme
Copy link

orteme commented Oct 16, 2020

Issue description

Staring today 10/16/2020 I am unable to install azurenextgen plugin anymore.
pulumi plugin install or pulumi plugin install resource azurenextgen 0.2.2 fails with error HTTP 403

>pulumi plugin install resource azurenextgen 0.2.2
[resource plugin azurenextgen-0.2.2] installing
error: [resource plugin azurenextgen-0.2.2] downloading from : 403 HTTP error fetching plugin from https://get.pulumi.com/releases/plugins/pulumi-resource-azurenextgen-v0.2.2-windows-amd64.tar.gz

The same behavior with other plugin versions:

  • 0.2.1
  • 0.2.0
  • 0.1.0

Steps to reproduce

  1. Install Pulumi CLI v2.12.0 for Windows
  2. Run pulumi plugin install resource azurenextgen 0.2.2
@mikhailshilkov
Copy link
Member

mikhailshilkov commented Oct 16, 2020

Try pulumi plugin install resource azure-nextgen 0.2.2 (azure-nextgen with a dash)

@stack72 stack72 added this to the current milestone Oct 16, 2020
@tusharshahrs
Copy link

I can replicate the behavior with:
$ pulumi plugin install
running 'dotnet build -nologo .'
Determining projects to restore...
All projects are up-to-date for restore.
temp3temp3 -> ../temp3/bin/Debug/netcoreapp3.1/temp3temp3.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.84
'dotnet build -nologo .' completed successfully
[resource plugin azurenextgen-0.2.2] installing
error: [resource plugin azurenextgen-0.2.2] downloading from : 403 HTTP error fetching plugin from https://get.pulumi.com/releases/plugins/pulumi-resource-azurenextgen-v0.2.2-darwin-amd64.tar.g

When I run
$ pulumi plugin install resource azure-nextgen 0.2.2
[resource plugin azure-nextgen-0.2.2] installing

@mikhailshilkov mikhailshilkov added the bug Something isn't working label Oct 16, 2020
@mikhailshilkov
Copy link
Member

@tusharshahrs Thanks for the repro, I can also see this now. It looks like our .NET plugin discovery is broken here.

@jaxxstorm
Copy link

@tusharshahrs can you also include the pulumi program you used to repro?

@tusharshahrs
Copy link

@jaxxstorm Here you go:

$ mkdir ~/temp/temp4
$ cd ~/temp/temp4
$ pulumi new azure-nextgen-csharp
~/temp/temp4 $ pulumi plugin install resource azure-nextgen 0.2.2
[resource plugin azure-nextgen-0.2.2] installing
tusharshah@Tushars-MBP ~/temp/temp4 $ pulumi plugin install
running 'dotnet build -nologo .'
Determining projects to restore...
All projects are up-to-date for restore.

temp4 -> ...temp/temp4/bin/Debug/netcoreapp3.1/temp4.dll

Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.80

'dotnet build -nologo .' completed successfully
[resource plugin azurenextgen-0.2.2] installing

error: [resource plugin azurenextgen-0.2.2] downloading from : 403 HTTP error fetching plugin from https://get.pulumi.com/releases/plugins/pulumi-resource-azurenextgen-v0.2.2-darwin-amd64.tar.gz

These are the files that are generated:
MyStack.cs Program.cs Pulumi.yaml bin obj temp4.csproj

pulumi version
v2.12.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants