Ask Your Question
0

neutron: publicURL endpoint for network service not found

asked 2014-09-02 08:49:46 -0600

michaellange gravatar image

updated 2014-09-02 10:54:17 -0600

I'm using OpenStack setup with Devstack and get the following output for "neutron subnet-list": Starting new HTTP connection (1): 172.18.0.29 publicURL endpoint for network service not found

After some googling I think the problem is that Devstack hasn't set up a network endpoint as the output of keystone service-list shows:

+----------------------------------+----------+----------------+-----------------------------+
|                id                |   name   |      type      |         description         |
+----------------------------------+----------+----------------+-----------------------------+
| 2d194d10e6ea4f97b68a8b755cd78c8a |  cinder  |     volume     |    Cinder Volume Service    |
| a9c28d095c094c66aa0244a13e426022 | cinderv2 |    volumev2    |   Cinder Volume Service V2  |
| a151baa3953a4586bff64d779107b702 |   ec2    |      ec2       |   EC2 Compatibility Layer   |
| 58a8d73de1cf4e1bab9bf4372458537b |  glance  |     image      |     Glance Image Service    |
| cdcc93b21e054b91990c95aa1c421684 |   heat   | orchestration  |  Heat Orchestration Service |
| e96e9fb6663b4e639f41d3307898dfce |   heat   | cloudformation | Heat CloudFormation Service |
| d558c01b14a34339b7249877edc15fdc | keystone |    identity    |  Keystone Identity Service  |
| 4552b3271a354686b23b5a69ae819bee |   nova   |    compute     |     Nova Compute Service    |
| ef789fa2f8f74791a314e1d4e474ff7d |  novav3  |   computev3    |   Nova Compute Service V3   |
| b582596f59144476ba22a9ec9acbefe1 |    s3    |       s3       |              S3             |
+----------------------------------+----------+----------------+-----------------------------+

However, I couldn't find out how to set up this endpoint. Is anybody able to help?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-09-02 13:50:40 -0600

SamYaple gravatar image

I am not so familiar with Devstack as to say whether it installed the neutron services or not, but you should check that you indeed have the services installed and you are only missing your endpoint.

To answer your question, to create your service and endpoint the commands look like:

keystone service-create --name neutron --type network --description "OpenStack Networking"

keystone endpoint-create keystone endpoint-create --service-id $(keystone service-list | awk '/ network / {print $2}') --publicurl http://controller:9696 --adminurl http://controller:9696 --internalurl http://controller:9696

For more information on setting up neutron, you can view the docs.

edit flag offensive delete link more

Comments

Thank you! Devstack is indeed not installing Neutron by default. I'm going to post the problems I have with setting it up if there are any.

michaellange gravatar imagemichaellange ( 2014-09-03 08:36:09 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-09-02 08:49:46 -0600

Seen: 7,643 times

Last updated: Sep 02 '14