2020-08-11 19:43:34 |
Jason Hobbs |
description |
2020-08-11-19:11:44 root DEBUG ['juju', 'bootstrap', '--config', 'bootstrap-timeout=1800', '--model-default', '/home/ubuntu/project/generated/model_defaults.yaml', 'openstack_cloud', 'foundation-openstack']
2020-08-11-19:11:44 root DEBUG [localhost]: juju bootstrap --config bootstrap-timeout=1800 --model-default /home/ubuntu/project/generated/model_defaults.yaml openstack_cloud foundation-openstack
Creating Juju controller "foundation-openstack" on openstack_cloud/RegionOne
Looking for packaged Juju agent version 2.8.1 for amd64
Launching controller instance(s) on openstack_cloud/RegionOne...
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-timeout=1800 --model-default /home/ubuntu/project/generated/model_defaults.yaml openstack_cloud foundation-openstack
2020-08-11-19:12:31 root ERROR [localhost] STDOUT follows:
Creating Juju controller "foundation-openstack" on openstack_cloud/RegionOne
Looking for packaged Juju agent version 2.8.1 for amd64
Launching controller instance(s) on openstack_cloud/RegionOne...
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@production-cpe-07d59674-95e9-4406-9d05-8f25282eb455:~/project$ cat generated/model_defaults.yaml
apt-http-proxy: http://squid.internal:3128/
apt-https-proxy: http://squid.internal:3128/
automatically-retry-hooks: false
logging-config: <root>=DEBUG
network: cd2e264c-5c66-4fb7-89f7-9498fceff487
snap-http-proxy: http://squid.internal:3128/
snap-https-proxy: http://squid.internal:3128/
use-floating-ip: true
openstack network info, showing the network above is connected to an external network with a router:
http://paste.ubuntu.com/p/yNkGwrph5c/ |
2020-08-11-19:11:44 root DEBUG ['juju', 'bootstrap', '--config', 'bootstrap-timeout=1800', '--model-default', '/home/ubuntu/project/generated/model_defaults.yaml', 'openstack_cloud', 'foundation-openstack']
2020-08-11-19:11:44 root DEBUG [localhost]: juju bootstrap --config bootstrap-timeout=1800 --model-default /home/ubuntu/project/generated/model_defaults.yaml openstack_cloud foundation-openstack
Creating Juju controller "foundation-openstack" on openstack_cloud/RegionOne
Looking for packaged Juju agent version 2.8.1 for amd64
Launching controller instance(s) on openstack_cloud/RegionOne...
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-timeout=1800 --model-default /home/ubuntu/project/generated/model_defaults.yaml openstack_cloud foundation-openstack
2020-08-11-19:12:31 root ERROR [localhost] STDOUT follows:
Creating Juju controller "foundation-openstack" on openstack_cloud/RegionOne
Looking for packaged Juju agent version 2.8.1 for amd64
Launching controller instance(s) on openstack_cloud/RegionOne...
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@production-cpe-07d59674-95e9-4406-9d05-8f25282eb455:~/project$ cat generated/model_defaults.yaml
apt-http-proxy: http://squid.internal:3128/
apt-https-proxy: http://squid.internal:3128/
automatically-retry-hooks: false
logging-config: <root>=DEBUG
network: cd2e264c-5c66-4fb7-89f7-9498fceff487
snap-http-proxy: http://squid.internal:3128/
snap-https-proxy: http://squid.internal:3128/
use-floating-ip: true
openstack network info, showing the network above is connected to a single external network with a router:
http://paste.ubuntu.com/p/yNkGwrph5c/
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.yaml. |
|