openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #18448
Re: Cannot start "nova-api" service
From: Vishvananda Ishaya <vishvananda@xxxxxxxxx<mailto:vishvananda@xxxxxxxxx>>
Date: Thursday, November 8, 2012 8:18 PM
To: Ahmed Al-Mehdi <ahmed@xxxxxxxxxx<mailto:ahmed@xxxxxxxxxx>>
Cc: "openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>" <openstack@xxxxxxxxxxxxxxxxxxx<mailto:openstack@xxxxxxxxxxxxxxxxxxx>>
Subject: Re: [Openstack] Cannot start "nova-api" service
On Nov 8, 2012, at 7:01 PM, Ahmed Al-Mehdi <ahmed@xxxxxxxxxx<mailto:ahmed@xxxxxxxxxx>> 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@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@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@bodega:~#
Thank you,
Ahmed.
References