getting some weird things.. I updated to pulumi/az...
# general
b
getting some weird things.. I updated to pulumi/azure 16.9
Copy code
azure:role:Assignment (a082706b-3006-0000-0000-000000000000):                                                                                                                                                                                                                                                               
    error: Plan apply failed: all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:38105: connect: connection refused"
Copy code
`pulumi:pulumi:Stack (core-msi-core-msi-stage):                                                                                                                                                                                                                                                                              
    panic: fatal: An assertion has failed: expected non-nil error with nil state during Create                                                                                                                                                                                                                                
    goroutine 175 [running]:                                                                                                                                                                                                                                                                                                  
    <http://github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/pkg/util/contract.failfast(0xc0005f0ff0|github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/pkg/util/contract.failfast(0xc0005f0ff0>, 0x4c)                                                                                                                                                                                                             
/home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/pkg/util/contract/failfast.go:23 +0xe9                                                                                                                                                                                         
    <http://github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/pkg/util/contract.Assertf(0xc0006b3300|github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/pkg/util/contract.Assertf(0xc0006b3300>, 0x27c24a5, 0x33, 0x0, 0x0, 0x0)                                                                                                                                                                                    
    /home/travis/gopath/src/github.com/pulumi/pulumi-azure/vendor/github.com/pulumi/pulumi/pkg/util/contract/assert.go:33 +0x126
w
Cc @stocky-spoon-28903 is there an issue with the recently released Azure provider? @brave-angle-33257 if you downgrade to previous version and Pulumi plugin rm the newer plugin, do things work again?
b
i tried 16.8 also.. not sure what is going on
im running inside of docker, ive rebuilt it a few times, cleaned up NPM
im gathering a full error log for you
w
Did you
Pulumi plugin rm
the newer azure plugin? You may need to ensure you’ve cleaned that out.
s
Nothing I’m aware of, it passed CI ok.
b
it's a new container build, so it shouldnt have any pulumi plugins except the ones that are installed at container build time
s
But this doesn’t look good
w
Run https://pulumi.io/reference/cli/pulumi_plugin_ls.html to get a list of your currently installed plugins.
b
Copy code
root@4e6e0cb5f192:/data/pulumi/infra/azure/core-msi# pulumi plugin ls
NAME   KIND      VERSION  SIZE    INSTALLED  LAST USED
aws    resource  0.16.8   155 MB  n/a        22 minutes ago
azure  resource  0.16.8   90 MB   n/a        22 minutes ago

TOTAL plugin cache size: 244 MB
i reverted back to 16.8, and rebuilt, same error
w
What version were you using successfully previously?
b
ive been on 16.7 for a long time.. i have tons of stacks, i havent updated this one for a while
went to update it, keyvault permissions on azure and got this
i can see if other stacks apply ok
s
Key vault had a bug in the last release
But that is supposed to be fixed upstream
b
other stacks seem ok
s
You want 16.9 @brave-angle-33257
b
i first hit this bug on 16.9
then reverted, and its still there on 16.8 it seems
probably was 16.7 or lower last time I ran this stack
s
Hmm, this is likely an unreported upstream regression then: 16.7 is likely the quickest way to get working again
b
ok let me try that
s
16.8 is known bad for keyvault
b
ok
container building on 16.7
Copy code
root@0bfa410d7bed:/data# pulumi plugin ls
NAME   KIND      VERSION  SIZE    INSTALLED  LAST USED
aws    resource  0.16.8   155 MB  n/a        4 minutes ago
azure  resource  0.16.7   89 MB   n/a        4 minutes ago
seems like that's working
so 16.8 and 16.9 still have issues with keyvault
should i add this as a bug somewhere? pulumi-azure? terraform/azurerm ?
w
An issue in Pulumi-Azure would be good so we can track there.
b
ok.. i'll just describe a bit what i was doing and the pastebin code
thanks @stocky-spoon-28903 - in the future is there any good place to see regressions like that for different versions?
it may be necessary for us to juggle multiple versions if we run into something like this again, the api is updating quickly, lot of recently deprecated paramters, so we're moving code forward on those
might require us to have certain stacks marked with required npm version
Confirmed an issue still with 16.9 - issue here: https://github.com/pulumi/pulumi-azure/issues/183