Ask Your Question
0

Could not find Service or Region in Service Catalog.

asked 2014-07-07 10:16:13 -0500

subhashkalwal gravatar image

Hi Team,

I have configured GRE network on 3 nodes(controller , compute and network node), configuration went success.

when i tried to Create a network admin tenants by using below command neutron net-create - tenant-id $ id_of_tenant - router: external = True net_admin

it throwing error Could not find Service or Region in Service Catalog

Please help me, i am strucking in last step.

Thanks Subhash kumar.D

edit retag flag offensive close merge delete

Comments

For instance :- Find the tenant_id of services tenant

      $ keystone tenant-list | grep services | awk '{print $2;}'
      a04e8158c9974f2699185994791e78c1

    Create an external network

      $ neutron net-create --tenant-id a04e8158c9974f2699185994791e78c1 \
        ext --router:external=True
dbaxps gravatar imagedbaxps ( 2014-07-07 10:31:58 -0500 )edit

Before doing so source admin credentials.

dbaxps gravatar imagedbaxps ( 2014-07-07 10:37:46 -0500 )edit

Hi,

i have tried but no use giving same errror

root@eis-bri-network:~# source openrc.sh root@eis-bri-network:~# keystone tenant-list +----------------------------------+---------+---------+ | id | name | enabled | +----------------------------------+---------+---------+ | 0846f45417ed42448b12b6643036663e | admin | True | | de670454b8a34aea97ffbfe102222624 | service | True | +----------------------------------+---------+---------+

root@eis-bri-network:~# neutron net-create --tenant-id de670454b8a34aea97ffbfe102222624 ext --router:external=True

Could not find Service or Region in Service Catalog. root@eis-bri-network:~#

subhashkalwal gravatar imagesubhashkalwal ( 2014-07-07 23:12:27 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-07-07 10:39:49 -0500

dbaxps gravatar image

updated 2014-07-08 02:46:05 -0500

Source admin credentials.

For instance :- Find the tenant_id of services tenant

      $ keystone tenant-list | grep services | awk '{print $2;}'
      a04e8158c9974f2699185994791e78c1

    Create an external network

      $ neutron net-create --tenant-id a04e8158c9974f2699185994791e78c1 \
        ext --router:external=True



   From thread bellow follows that  "Identity service credentials for Networking" have not been created
    $ keystone service-create --name neutron --type network \
    --description "Neutron Network Service"
  +-------------+----------------------------------+
  |   Property  |              Value               |
  +-------------+----------------------------------+
  | description |     Neutron Network Service      |
  |   enabled   |               True               |
  |      id     | 07b430bf22584da39bd8e17fd006c8f4 |
  |     name    |             neutron              |
  |     type    |             network              |
  +-------------+----------------------------------+
edit flag offensive delete link more

Comments

Hi,

i tried but no use giving same error

root@eis-bri-network:~# keystone tenant-list +----------------------------------+---------+---------+ | id | name | enabled | +----------------------------------+---------+---------+ | 0846f45417ed42448b12b6643036663e | admin | True | | de670454b8a34aea97ffbfe102222624 | service | True | +----------------------------------+---------+---------+ root@eis-bri-network:~# neutron net-create --tenant-id de670454b8a34aea97ffbfe102222624 ext --router:external=True Could not find Service or Region in Service Catalog.

root@eis-bri-network:~# neutron net-create --tenant-id de670454b8a34aea97ffbfe102222624 ext --router:external=True Could not find Service or Region in Service Catalog.

Thanks, Subhash Kumar.D``

subhashkalwal gravatar imagesubhashkalwal ( 2014-07-07 23:04:07 -0500 )edit

What says /var/log/neutron/server.log ?
$ neutron agent-list

dbaxps gravatar imagedbaxps ( 2014-07-07 23:23:11 -0500 )edit

Make sure nova.conf has an entry :-
neutron_admin_tenant_name=service

dbaxps gravatar imagedbaxps ( 2014-07-08 00:06:37 -0500 )edit

Also get report :-

[root@icehouse1 nova(keystone_admin)]# keystone service-list 
+----------------------------------+------------+----------+----------------------------+
|                id                |    name    |   type   |        description         |
+----------------------------------+------------+----------+----------------------------+
| e4424bc3c2ec4ccdba2ca468f45e80cd | ceilometer | metering | Openstack Metering Service |
| f02c81a9dd884f86a05e166b29109be9 |   cinder   |  volume  |       Cinder Service       |
| f1a89f6a3960423ba55ccea57bf5458d | cinder_v2  | volumev2 |     Cinder Service v2      |
| 333db0371203461da20abd6f436cf2f9 |   glance   |  image   |  Openstack Image Service   |
| 5b863d3d77b1406f8e730980ccd0feca |  keystone  | identity | OpenStack Identity Service |
| a7f80d5f957f4c5fb488d23c93a24b30 |  neutron   | network  | Neutron Networking Service |
| 75ccd5264aa74922ba70ee7c9769d57c |    nova    | compute  | Openstack Compute Service  |
| 567285313dd84abe9fa171883a5da299 |  nova_ec2  |   ec2    |        EC2 Service         |
+----------------------------------+------------+----------+----------------------------+
dbaxps gravatar imagedbaxps ( 2014-07-08 00:10:24 -0500 )edit

Thanks for quick look but i tried with your steps looks everything is green

please find below answers

1) Question Ans

      #neutron agent-list
     Could not find Service or Region in Service Catalog.

     giving same error

2) Question Ans

       /var/log/neutron/server.log

     root@eis-bri-controller:/var/log/neutron# tail server.log
     2014-07-07 23:36:55.131 57256 TRACE neutron.service     return dialect.connect(*cargs, **cparams)
     2014-07-07 23:36:55.131 57256 TRACE neutron.service   File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 283, in connect
    2014-07-07 23:36:55.131 57256 TRACE neutron.service     return self.dbapi.connect(*cargs, **cparams)
    2014-07-07 23:36:55.131 57256 TRACE neutron.service   File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect
   2014-07-07 23:36:55.131 57256 TRACE neutron.service     return Connection(*args, **kwargs)
  2014-07-07 23:36:55.131 57256 TRACE neutron.service   File "/usr/lib ...
(more)
subhashkalwal gravatar imagesubhashkalwal ( 2014-07-08 01:47:12 -0500 )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-07-07 10:16:13 -0500

Seen: 2,179 times

Last updated: Jul 08 '14