neutron: change default credentials for nova notifications
By default, we should use "admin" tenant to get an admin token and make the VM connectivity working in Nova. Using Nova user will fail since Nova (services tenant) can't get an admin token.
This commit is contained in:
@@ -28,9 +28,9 @@ class cloud::network::controller(
|
||||
$ks_admin_tenant = 'admin',
|
||||
$nova_url = 'http://127.0.0.1:8774/v2',
|
||||
$nova_admin_auth_url = 'http://127.0.0.1:35357/v2.0',
|
||||
$nova_admin_username = 'nova',
|
||||
$nova_admin_tenant_name = 'services',
|
||||
$nova_admin_password = 'novapassword',
|
||||
$nova_admin_username = 'admin',
|
||||
$nova_admin_tenant_name = 'admin',
|
||||
$nova_admin_password = 'adminpassword',
|
||||
$nova_region_name = 'RegionOne'
|
||||
) {
|
||||
|
||||
|
||||
@@ -45,9 +45,9 @@ describe 'cloud::network::controller' do
|
||||
:ks_keystone_public_port => '5000',
|
||||
:nova_url => 'http://127.0.0.1:8774/v2',
|
||||
:nova_admin_auth_url => 'http://127.0.0.1:35357/v2.0',
|
||||
:nova_admin_username => 'nova',
|
||||
:nova_admin_tenant_name => 'services',
|
||||
:nova_admin_password => 'novapassword',
|
||||
:nova_admin_username => 'admin',
|
||||
:nova_admin_tenant_name => 'admin',
|
||||
:nova_admin_password => 'adminpassword',
|
||||
:nova_region_name => 'RegionOne',
|
||||
:api_eth => '10.0.0.1' }
|
||||
end
|
||||
@@ -103,9 +103,9 @@ describe 'cloud::network::controller' do
|
||||
should contain_class('neutron::server::notifications').with(
|
||||
:nova_url => 'http://127.0.0.1:8774/v2',
|
||||
:nova_admin_auth_url => 'http://127.0.0.1:35357/v2.0',
|
||||
:nova_admin_username => 'nova',
|
||||
:nova_admin_tenant_name => 'services',
|
||||
:nova_admin_password => 'novapassword',
|
||||
:nova_admin_username => 'admin',
|
||||
:nova_admin_tenant_name => 'admin',
|
||||
:nova_admin_password => 'adminpassword',
|
||||
:nova_region_name => 'RegionOne'
|
||||
)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user