Ensure that keystone_host is provided before trying to configure

quantum
This commit is contained in:
James Page 2012-12-04 21:58:13 +00:00
parent 0242d8de14
commit b6b4cff68b
2 changed files with 4 additions and 1 deletions

View File

@ -109,6 +109,9 @@ function configure_network_manager {
set_or_update ec2_dmz_host $ec2_host
;;
"Quantum")
local keystone_host=$(relation-get keystone_host)
[[ -z $keystone_host ]] && juju-log "nova-compute: Missing keystone host" \
&& exit 0
set_or_update "network_api_class" "nova.network.quantumv2.api.API"
set_or_update "quantum_auth_strategy" "keystone"
set_or_update "quantum_url" "http://$(relation-get quantum_host):9696"

View File

@ -1 +1 @@
76
77