Comment 19 for bug 1425808

Revision history for this message
Matt Jarvis (matt-jarvis) wrote :

@hmlanigan - so with juju 2.2-rc1 from snap the availability zone problem seems to be fixed :

16:01:16 INFO juju.provider.openstack provider.go:1141 trying to build instance in availability zone "Maintenance"
16:01:17 INFO juju.provider.openstack provider.go:1121 Instance "8dd7580e-6d03-48bd-8ec2-84c86b767450" in ERROR state with fault "No valid host was found. There are not enough hosts available."
16:01:17 INFO juju.provider.openstack provider.go:1122 Deleting instance "8dd7580e-6d03-48bd-8ec2-84c86b767450" in ERROR state
16:01:18 INFO juju.provider.openstack provider.go:1150 failed to build instance in availability zone "Maintenance"
16:01:18 INFO juju.provider.openstack provider.go:1141 trying to build instance in availability zone "Production"

However, I now have an issue with assigning a floating IP :

16:01:39 DEBUG juju.provider.openstack provider.go:1188 allocating public IP address for openstack node
16:01:40 ERROR juju.cmd.juju.commands bootstrap.go:492 failed to bootstrap model: cannot start bootstrap instance: cannot allocate a public IP as needed: could not find an external network in availablity zone
16:01:40 DEBUG juju.cmd.juju.commands bootstrap.go:493 (error details: [{github.com/juju/juju/cmd/juju/commands/bootstrap.go:584: failed to bootstrap model} {github.com/juju/juju/provider/common/bootstrap.go:50: } {github.com/juju/juju/provider/common/bootstrap.go:185: cannot start bootstrap instance} {github.com/juju/juju/provider/openstack/provider.go:1190: cannot allocate a public IP as needed} {github.com/juju/juju/provider/openstack/networking.go:168: could not find an external network in availablity zone}])

There is definitely an external network defined in that tenant, and it has floating IP's available. I will have a dig into the code and see if I can work out what it's looking for at that point.