[Openstack] Cannot start "nova-api" service

Ahmed Al-Mehdi ahmed at coraid.com
Fri Nov 9 07:49:09 UTC 2012



From: Vishvananda Ishaya <vishvananda at gmail.com<mailto:vishvananda at gmail.com>>
Date: Thursday, November 8, 2012 8:18 PM
To: Ahmed Al-Mehdi <ahmed at coraid.com<mailto:ahmed at coraid.com>>
Cc: "openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>" <openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>>
Subject: Re: [Openstack] Cannot start "nova-api" service


On Nov 8, 2012, at 7:01 PM, Ahmed Al-Mehdi <ahmed at coraid.com<mailto:ahmed at coraid.com>> wrote:

Vish,

I am running cinder-api.   The following two lines are present in nova.conf.

volume_api_class=nova.volume.cinder.API
enabled_apis=ec2,osapi_compute,metadata

Do I need to re-sync the db, or add any additional lines to nova.conf?

No that is it. Are you sure a) you don't have another nova-api or nova-metadata or nova-api-os-compute process running? and b) that your nova.conf is being read properly?

Vish

By any chance, could the issue be related to the duplicate entries for nova-volume and cinder in keystone:

root at bodega:~# keystone endpoint-list
+----------------------------------+-----------+-------------------------------------------------+-------------------------------------------------+--------------------------------------------+
|                id                |   region  |                    publicurl                    |                   internalurl                   |                  adminurl                  |
+----------------------------------+-----------+-------------------------------------------------+-------------------------------------------------+--------------------------------------------+
| 1753b8533e474cf0934cd2eb1d23be45 | RegionOne | http://10.176.20.158:8888/v1/AUTH_%(tenant_id)s | http://10.176.20.158:8888/v1/AUTH_%(tenant_id)s |        http://10.176.20.158:8888/v1        |
| 35c19563fce34c04a20cc82952b096b5 | RegionOne |     http://10.176.20.158:8773/services/Cloud    |     http://10.176.20.158:8773/services/Cloud    |  http://10.176.20.158:8773/services/Admin  |
| 36f5a5c3021a485db6b900aee9d7520c | RegionOne |           http://10.176.20.158:9292/v1          |           http://10.176.20.158:9292/v1          |        http://10.176.20.158:9292/v1        |
| 7fdf2e50d29a454897f3c5d395a8326f | RegionOne |    http://10.176.20.158:8774/v2/%(tenant_id)s   |    http://10.176.20.158:8774/v2/%(tenant_id)s   | http://10.176.20.158:8774/v2/%(tenant_id)s |
| 9b1ade95c694401cb61362daf281713b | RegionOne |          http://10.176.20.158:5000/v2.0         |          http://10.176.20.158:5000/v2.0         |      http://10.176.20.158:35357/v2.0       |
| d728f31d9745467aaf53eeeba633ffe4 | RegionOne |    http://10.176.20.158:8776/v1/%(tenant_id)s   |    http://10.176.20.158:8776/v1/%(tenant_id)s   | http://10.176.20.158:8776/v1/%(tenant_id)s |
| e298efba7f0148819c400a26e7f6f448 | RegionOne |    http://10.176.20.158:8776/v1/%(tenant_id)s   |    http://10.176.20.158:8776/v1/%(tenant_id)s   | http://10.176.20.158:8776/v1/%(tenant_id)s |
+----------------------------------+-----------+-------------------------------------------------+-------------------------------------------------+--------------------------------------------+
root at bodega:~# keystone service-list
+----------------------------------+----------+--------------+---------------------------+
|                id                |   name   |     type     |        description        |
+----------------------------------+----------+--------------+---------------------------+
| 083662fed26d490b88172a3aa638107a |  volume  |    volume    |    Nova Volume Service    |
| 3224949d951a4fb3b45adb5778caebfe |  cinder  |    volume    |   Cinder Volume Service   |
| 55f097212ab948e5a2bf13e47ac1be9c |   ec2    |     ec2      |  EC2 Compatibility Layer  |
| 611a8d8380de4671863c2cd59a4d5bd8 |  glance  |    image     |    Glance Image Service   |
| 90eedca2364b4a5bba477be31738c052 | keystone |   identity   | Keystone Identity Service |
| a6552ffaa4904ec09ef399d71dd5e18f |  swift   | object-store |   Object Storage Service  |
| f0f5c38f832f4584b93c562d1d756fa3 |   nova   |   compute    |    Nova Compute Service   |
+----------------------------------+----------+--------------+---------------------------+
root at bodega:~#

Thank you,
Ahmed.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121109/0e35c88c/attachment.html>


More information about the Openstack mailing list