Ask Your Question
1

metadata-api restart failed

asked 2013-10-16 05:18:58 -0500

Anand TS gravatar image

updated 2014-01-22 15:12:21 -0500

Evgeny gravatar image

When I tried to create a volume from horizon-->volume it ends up with an error. I checked whether any nova-service is down. All are up and working fine.

I manually tried to restart each and every services by /etc/init.d/openstack/nova-(services) restart, but nova-metadata-api is showing failed when restarting.

but I can crate images, launch instances, able to take ssh. What could be the problem??

Regards, Anand

edit retag flag offensive close merge delete

Comments

AFAIK, the volume creation error has nothing to do with the metadata-api service start up error. Are you using nova-volume or cinder? Please provide the nova-volume/cinder-volume service log at the time of volume creation. Also, please provide the nova-metadata-api service error logs.

unmesh-gurjar gravatar imageunmesh-gurjar ( 2013-10-16 23:26:15 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-10-22 16:15:51 -0500

As I know you shouldn't run metadata-api on the same host as nova-api. The metadata service is implemented by either the nova-api service or the nova-api-metadata service.

edit flag offensive delete link more
0

answered 2013-10-18 02:03:18 -0500

sngirame gravatar image

Check if you have following setting in nova.conf [DEFAULT] & restart nova-api

enabled_apis=ec2,osapi_compute

edit flag offensive delete link more

Comments

Also check if you have Cinder user created

sngirame gravatar imagesngirame ( 2013-10-18 02:04:13 -0500 )edit

When I tried to restart nova metadata service I am getting this. #/etc/init.d/openstack-nova-metadata-api restart Stopping openstack-nova-metadata-api: [FAILED] Starting openstack-nova-metadata-api: [ OK ] In my nova.conf file enabled_apis=ec2,osapi_compute,metadata I am getting this when check the status, [root@bfsiopenstack ~]# /etc/init.d/openstack-nova-metadata-api status openstack-nova-metadata-api dead but pid file exists What can be the issue. I am able to create volume through horizon-->projects-->volume. I am using cinder volume as i got this when I give command , [root@bfsiopenstack ~]# cinder list +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | ID | Status | Display Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+ | 1256a381-8ab8-4fc4-bc93-451bc8bfd4a8 | available | test | 10 | None | false | | +--------------------------------------+-----------+--------------+------+-------------+----------+-------------+

Anand TS gravatar imageAnand TS ( 2013-10-21 06:55:28 -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

2 followers

Stats

Asked: 2013-10-16 05:18:58 -0500

Seen: 1,517 times

Last updated: Oct 22 '13