diff options
author | Tim Rozet <trozet@redhat.com> | 2015-06-02 13:31:19 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2015-06-02 13:31:19 -0400 |
commit | 0c4e53c303e4de80d6eeb23f851692f297cd2202 (patch) | |
tree | d18e3ad087741f667fde9e8e1bf22717898143eb | |
parent | 84c696507fb513e6a76e6e50e5c65397cb45a381 (diff) |
Adds external router and fixes metadata server
External router is needed for rally to execute correctly even though it
is not required for tenants to access external networks. This patch
creates that router. Also, metadata server was not being used because
password was not set.
JIRA: BGS-55
Change-Id: If25f4f8ee2be3e49193e9e49c370cce68dde45cf
Signed-off-by: Tim Rozet <trozet@redhat.com>
-rw-r--r-- | common/puppet-opnfv/manifests/controller_networker.pp | 1 | ||||
-rw-r--r-- | common/puppet-opnfv/manifests/external_net_setup.pp | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/common/puppet-opnfv/manifests/controller_networker.pp b/common/puppet-opnfv/manifests/controller_networker.pp index 18a876c..157bc8f 100644 --- a/common/puppet-opnfv/manifests/controller_networker.pp +++ b/common/puppet-opnfv/manifests/controller_networker.pp @@ -106,6 +106,7 @@ class opnfv::controller_networker { if !$lb_backend_server_names { $lb_backend_server_names = $controllers_hostnames_array } if !$neutron_db_password { $neutron_db_password = $single_password } if !$neutron_user_password { $neutron_user_password = $single_password } + if !$neutron_metadata_proxy_secret { $neutron_metadata_proxy_secret = $single_password } if !$nova_db_password { $nova_db_password = $single_password } if !$nova_user_password { $nova_user_password = $single_password } if !$pcmk_server_addrs {$pcmk_server_addrs = $controllers_ip_array} diff --git a/common/puppet-opnfv/manifests/external_net_setup.pp b/common/puppet-opnfv/manifests/external_net_setup.pp index df9bdac..af00f20 100644 --- a/common/puppet-opnfv/manifests/external_net_setup.pp +++ b/common/puppet-opnfv/manifests/external_net_setup.pp @@ -73,5 +73,13 @@ class opnfv::external_net_setup { network_name => 'provider_network', tenant_name => 'admin', } + -> + neutron_router { 'provider_router': + ensure => present, + name => 'provider_router', + admin_state_up => true, + gateway_network_name => 'provider_network', + tenant_name => 'admin', + } } } |