deploying juju on top of ussuri-ovn openstack results in error "ERROR failed to bootstrap model: cannot start bootstrap instance: cannot allocate a public IP as needed: could not find an external network in availability zone [] not found", unless external-network is supplied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Heather Lanigan |
Bug Description
2020-08-11-19:11:44 root DEBUG ['juju', 'bootstrap', '--config', 'bootstrap-
2020-08-11-19:11:44 root DEBUG [localhost]: juju bootstrap --config bootstrap-
Creating Juju controller "foundation-
Looking for packaged Juju agent version 2.8.1 for amd64
Launching controller instance(s) on openstack_
ERROR failed to bootstrap model: cannot start bootstrap instance: cannot allocate a public IP as needed: could not find an external network in availability zone [] not found
2020-08-11-19:12:31 root ERROR [localhost] Command failed: juju bootstrap --config bootstrap-
2020-08-11-19:12:31 root ERROR [localhost] STDOUT follows:
Creating Juju controller "foundation-
Looking for packaged Juju agent version 2.8.1 for amd64
Launching controller instance(s) on openstack_
ERROR failed to bootstrap model: cannot start bootstrap instance: cannot allocate a public IP as needed: could not find an external network in availability zone [] not found
model defaults:
ubuntu@
apt-http-proxy: http://
apt-https-proxy: http://
automatically-
logging-config: <root>=DEBUG
network: cd2e264c-
snap-http-proxy: http://
snap-https-proxy: http://
use-floating-ip: true
openstack network info, showing the network above is connected to a single external network with a router:
http://
This setup worked on ussuri-ovs so I think it's a OVN related issue. Since there is only a single external network connected to the network given, juju should be able to discover it and use it.
It works if we provide the external network ID in model_defaults.
summary: |
deploying juju on top of ussuri-ovn openstack results in error "ERROR failed to bootstrap model: cannot start bootstrap instance: cannot allocate a public IP as needed: could not find an external network in - availability zone [] not found" + availability zone [] not found", unless external-network is supplied |
description: | updated |
Changed in juju: | |
assignee: | nobody → Heather Lanigan (hmlanigan) |
Changed in juju: | |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
This feels like a dupe of #1891561, probably due to the same issue w/ Rocky+ accepting an empty string on searches.
That issue is fixed in the latest candidate. If you see this again, please re-open/unmark as a dupe.