Error: Failed to create network "test_net": Running without keystone AuthN requires that tenant_id is specified

Asked by Yi Liu

create network by command 'neutron net-create' is ok.

However, create network on havana dashboard failed:
1.user log on dashboard
2.create a network for his project, but failed, an error showed:
Error: Failed to create network "test_net": Running without keystone AuthN requires that tenant_id is specified

Why?
There is no tenant_id to input when create the network. And I think the dashboard should know which tenant the network is created for. Because the create operation is right under the project(tenant).

Do I miss any configuration for dashboard?
(I'm using the havana release.)

Or... Is it a bug?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Dashboard (Horizon) Edit question
Assignee:
No assignee Edit question
Solved by:
Yi Liu
Solved:
Last query:
Last reply:
Revision history for this message
Rob Raymond (rob-raymond) said :
#1

For someone who is familiar with the openstack command line or REST interfaces, it is very useful to see how horizon is accessing the underlying services. Horizon can be configured so that every API request is logged.

If you are running devstack, it may already be available in /var/log/apache2/horizon_error.log .

You can check that you are getting a tenant scoped token when making the neutron request.

Revision history for this message
Yi Liu (ryan-yi-liu) said :
#2

I have resolved the issue.
To indicate Neutron to use keystone as the authentication strategy.(config auth_strategy = keystone in neutron.conf) .

Thanks Rob all the same.