When trying to bootstrap juju2 on azure (following instruction in release note of Beta1 the only doc I found :( ):
I got this :
juju bootstrap azure azure --debug --show-log --upload-tools
2016-06-07 09:39:24 INFO juju.cmd supercommand.go:60 running juju [2.0-beta8 gc go1.6]
2016-06-07 09:39:24 DEBUG juju.cmd.juju.commands bootstrap.go:357 preparing controller with config: map[uuid:0c40a983-b91d-4511-8ef7-75e3f5cbd464 controller-uuid:0c40a983-b91d-4511-8ef7-75e3f5cbd464 type:azure name:controller]
2016-06-07 09:39:25 DEBUG juju.provider.azure environprovider.go:74 opening model "controller"
2016-06-07 09:39:25 INFO cmd cmd.go:129 Creating Juju controller "local.azure" on azure/centralus
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_D15_v2"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_F1"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_F2"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_F4"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_F8"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_F16"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_DS1_v2"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_DS2_v2"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_DS3_v2"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_DS4_v2"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_DS5_v2"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_DS11_v2"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_DS12_v2"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_DS13_v2"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_DS14_v2"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_DS15_v2"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_F1s"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_F2s"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_F4s"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_F8s"
2016-06-07 09:39:26 DEBUG juju.provider.azure instancetype.go:100 found unknown VM size "Standard_F16s"
2016-06-07 09:39:26 INFO juju.cmd.juju.commands bootstrap.go:482 combined bootstrap constraints:
2016-06-07 09:39:26 INFO cmd cmd.go:129 Bootstrapping model "controller"
2016-06-07 09:39:26 DEBUG juju.environs.bootstrap bootstrap.go:157 model "controller" supports service/machine networks: false
2016-06-07 09:39:26 DEBUG juju.environs.bootstrap bootstrap.go:159 network management by juju enabled: true
2016-06-07 09:39:26 INFO cmd cmd.go:129 Starting new instance for initial controller
2016-06-07 09:39:26 DEBUG juju.provider.azure environ.go:125 creating resource group "juju-controller-model-0c40a983-b91d-4511-8ef7-75e3f5cbd464"
2016-06-07 09:39:28 DEBUG juju.provider.azure networking.go:91 creating virtual network "juju-internal-network"
2016-06-07 09:39:30 DEBUG juju.provider.azure environ.go:1090 destroying model "controller"
2016-06-07 09:39:30 DEBUG juju.provider.azure environ.go:1092 - deleting resource groups
2016-06-07 09:39:30 DEBUG juju.provider.azure environ.go:1133 - deleting resource group "juju-controller-model-0c40a983-b91d-4511-8ef7-75e3f5cbd464"
2016-06-07 09:40:20 ERROR cmd supercommand.go:448 failed to bootstrap model: creating controller resource group: creating virtual network: creating virtual network "juju-internal-network": autorest:DoErrorUnlessStatusCode PUT https://management.azure.com/subscriptions/5a013e85-417e-4126-8774-be1bd3787261/resourceGroups/juju-controller-model-0c40a983-b91d-4511-8ef7-75e3f5cbd464/providers/Microsoft.Network/virtualnetworks/juju-internal-network?api-version=2015-05-01-preview failed with 409 Conflict
First I see crete ressource group / delete ressource in a matter of second ...
There is no network at all :
ubnet
thomas@thomas-HP-Spectre-Ultrabook-PC:~$ azure network vnet list
info: Executing command network vnet list
+ Looking up virtual networks
warn: No virtual networks found
info: network vnet list command OK
Nicolas, the Azure config doc for 2.0 is here: /jujucharms. com/docs/ devel/help- azure
https:/
I suspect that your subscription is not registered for the Azure networking provider. Can you please confirm that you've run the following commands from the release notes:
azure provider register Microsoft.Compute
azure provider register Microsoft.Network
azure provider register Microsoft.Storage
(They're missing from the above doc, I'll ask the docs team to add it.)
I've just unregistered Microsoft.Network for myself, and doing so yields a 409 Conflict error similar to the one you've listed.