We have also OpenStack deployment where external network has no availability zone, and we get the same error with 2.2.beta4
06:13:51 DEBUG juju.cloudconfig.instancecfg instancecfg.go:825 Setting numa ctl preference to false
06:13:51 DEBUG juju.service discovery.go:63 discovered init system "systemd" from series "xenial"
06:13:51 DEBUG juju.provider.openstack provider.go:1005 openstack user data; 2484 bytes
06:13:51 DEBUG juju.provider.openstack provider.go:1017 using network id "5c7cd500-c581-4491-86fa-af95a71e8c18"
06:13:51 DEBUG goose <autogenerated>:22 performing API version discovery for "https://lab.openstack.example.com:9696/"
06:13:51 DEBUG goose <autogenerated>:22 discovered API versions: [{Version:{major:2 minor:0} Links:[{Href:http://lab.openstack.example.com:9696/v2.0 Rel:self}] Status:CURRENT}]
06:13:58 INFO juju.provider.openstack provider.go:1141 trying to build instance in availability zone "nova"
06:14:22 INFO juju.provider.openstack provider.go:1184 started instance "92b9c8bc-fa5c-4eee-ad1e-5b9dffb5e229"2
06:14:22 DEBUG juju.provider.openstack provider.go:1188 allocating public IP address for openstack node
06:14:24 INFO cmd bootstrap.go:490 bootstrap failed but --keep-broken was specified so resources are not being destroyed.
When you have finished diagnosing the problem, remember to clean up the failed controller.
See `juju kill-controller`.
ERROR failed to bootstrap model: cannot start bootstrap instance: cannot allocate a public IP as needed: could not find an external network in availablity zone
06:14:24 DEBUG cmd supercommand.go:459 error stack:
github.com/juju/juju/provider/openstack/networking.go:168: could not find an external network in availablity zone
github.com/juju/juju/provider/openstack/provider.go:1190: cannot allocate a public IP as needed
github.com/juju/juju/provider/common/bootstrap.go:185: cannot start bootstrap instance
github.com/juju/juju/provider/common/bootstrap.go:50:
github.com/juju/juju/cmd/juju/commands/bootstrap.go:584: failed to bootstrap model
I'm happy to provide more information when needed.
We have also OpenStack deployment where external network has no availability zone, and we get the same error with 2.2.beta4
06:13:51 DEBUG juju.cloudconfi g.instancecfg instancecfg.go:825 Setting numa ctl preference to false openstack provider.go:1005 openstack user data; 2484 bytes openstack provider.go:1017 using network id "5c7cd500- c581-4491- 86fa-af95a71e8c 18" /lab.openstack. example. com:9696/" lab.openstack. example. com:9696/ v2.0 Rel:self}] Status:CURRENT}] openstack provider.go:1141 trying to build instance in availability zone "nova" openstack provider.go:1184 started instance "92b9c8bc- fa5c-4eee- ad1e-5b9dffb5e2 29"2 openstack provider.go:1188 allocating public IP address for openstack node com/juju/ juju/provider/ openstack/ networking. go:168: could not find an external network in availablity zone com/juju/ juju/provider/ openstack/ provider. go:1190: cannot allocate a public IP as needed com/juju/ juju/provider/ common/ bootstrap. go:185: cannot start bootstrap instance com/juju/ juju/provider/ common/ bootstrap. go:50: com/juju/ juju/cmd/ juju/commands/ bootstrap. go:584: failed to bootstrap model
06:13:51 DEBUG juju.service discovery.go:63 discovered init system "systemd" from series "xenial"
06:13:51 DEBUG juju.provider.
06:13:51 DEBUG juju.provider.
06:13:51 DEBUG goose <autogenerated>:22 performing API version discovery for "https:/
06:13:51 DEBUG goose <autogenerated>:22 discovered API versions: [{Version:{major:2 minor:0} Links:[{Href:http://
06:13:58 INFO juju.provider.
06:14:22 INFO juju.provider.
06:14:22 DEBUG juju.provider.
06:14:24 INFO cmd bootstrap.go:490 bootstrap failed but --keep-broken was specified so resources are not being destroyed.
When you have finished diagnosing the problem, remember to clean up the failed controller.
See `juju kill-controller`.
ERROR failed to bootstrap model: cannot start bootstrap instance: cannot allocate a public IP as needed: could not find an external network in availablity zone
06:14:24 DEBUG cmd supercommand.go:459 error stack:
github.
github.
github.
github.
github.
I'm happy to provide more information when needed.