neutron: revert some changes for nova notifications
It seems we need to use "services" tenant to send notifications to Nova API, using Nova user.
This commit is contained in:
parent
dfb6109c88
commit
7e05b76998
@ -27,10 +27,10 @@ class cloud::network::controller(
|
||||
$api_eth = '127.0.0.1',
|
||||
$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 = 'admin',
|
||||
$nova_admin_tenant_name = 'admin',
|
||||
$nova_admin_password = 'adminpassword',
|
||||
$nova_admin_auth_url = 'http://127.0.0.1:5000/v2.0',
|
||||
$nova_admin_username = 'nova',
|
||||
$nova_admin_tenant_name = 'services',
|
||||
$nova_admin_password = 'novapassword',
|
||||
$nova_region_name = 'RegionOne'
|
||||
) {
|
||||
|
||||
|
@ -44,10 +44,10 @@ describe 'cloud::network::controller' do
|
||||
:ks_keystone_admin_host => '10.0.0.1',
|
||||
: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 => 'admin',
|
||||
:nova_admin_tenant_name => 'admin',
|
||||
:nova_admin_password => 'adminpassword',
|
||||
:nova_admin_auth_url => 'http://127.0.0.1:5000/v2.0',
|
||||
:nova_admin_username => 'nova',
|
||||
:nova_admin_tenant_name => 'services',
|
||||
:nova_admin_password => 'novapassword',
|
||||
:nova_region_name => 'RegionOne',
|
||||
:api_eth => '10.0.0.1' }
|
||||
end
|
||||
@ -102,10 +102,10 @@ describe 'cloud::network::controller' do
|
||||
it 'configure neutron server notifications to nova' 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 => 'admin',
|
||||
:nova_admin_tenant_name => 'admin',
|
||||
:nova_admin_password => 'adminpassword',
|
||||
:nova_admin_auth_url => 'http://127.0.0.1:5000/v2.0',
|
||||
:nova_admin_username => 'nova',
|
||||
:nova_admin_tenant_name => 'services',
|
||||
:nova_admin_password => 'novapassword',
|
||||
:nova_region_name => 'RegionOne'
|
||||
)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user