project_name should be set to tenant_name if the latter is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet-neutron |
Fix Released
|
High
|
Jerzy Mikolajczak |
Bug Description
When one writes his own manifest using:
class { 'neutron::server':
password => 'p4ssw0rd',
tenant_name => 'my-own-tenant'
}
one ends up with this in neutron.conf:
[keystone_
...
tenant_
project_
username=neutron
password=p4ssw0rd
...
project_name is being set to 'services' as default in puppet-neutron
And project_name is the only one being parsed by neutron-server process and not the tenant_name.
So You get user neutron with p4ssw0rd as a password in tenant 'services' and not in 'my-own-tenant' which ends with failed authentication and 500 Internal Server Error.
Actually, tenant_name variable is not being read/parsed from neutron.conf (tested on devstack liberty/mitaka) at all.
project_name is crucial and tenant_name can be set to anything or can be completely omitted.
I think if puppet-neutron user/operator passes tenant_name variable he should be presented with warning (about using tenant_name) and project_name should be set to tenant_name value.
Changed in puppet-neutron: | |
status: | New → Confirmed |
Changed in puppet-neutron: | |
assignee: | nobody → Jerzy Mikolajczak (jmikolajczak-b) |
Changed in puppet-neutron: | |
importance: | Undecided → High |
Fix proposed to branch: master /review. openstack. org/297028
Review: https:/