Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

openstack-nova-api is dead & not able to access dashboard after reboot

After controller node reboot openstack-nova-api is dead & that probably causing dashboard inaccessible.

Here is an error

CRITICAL nova [-] [Errno 98] Address already in use 2013-10-16 20:33:57.845 3526 TRACE nova Traceback (most recent call last): 2013-10-16 20:33:57.845 3526 TRACE nova File "/usr/bin/nova-api", line 61, in <module> 2013-10-16 20:33:57.845 3526 TRACE nova server = service.WSGIService(api, use_ssl=should_use_ssl) 2013-10-16 20:33:57.845 3526 TRACE nova File "/usr/lib/python2.6/site-packages/nova/service.py", line 608, in __init__ 2013-10-16 20:33:57.845 3526 TRACE nova max_url_len=max_url_len) 2013-10-16 20:33:57.845 3526 TRACE nova File "/usr/lib/python2.6/site-packages/nova/wsgi.py", line 120, in __init__ 2013-10-16 20:33:57.845 3526 TRACE nova self._socket = eventlet.listen(bind_addr, family, backlog=backlog) 2013-10-16 20:33:57.845 3526 TRACE nova File "/usr/lib/python2.6/site-packages/eventlet/convenience.py", line 38, in listen 2013-10-16 20:33:57.845 3526 TRACE nova sock.bind(addr) 2013-10-16 20:33:57.845 3526 TRACE nova File "<string>", line 1, in bind 2013-10-16 20:33:57.845 3526 TRACE nova error: [Errno 98] Address already in use 2013-10-16 20:33:57.845 3526 TRACE nova 2013-10-16 20:33:57.855 3604 INFO nova.osapi_compute.wsgi.server [-] (3604) wsgi starting up on http://0.0.0.0:8774/

2013-10-16 20:33:58.025 3604 INFO nova.service [-] Parent process has died unexpectedly, exiting 2013-10-16 20:33:58.025 3559 INFO nova.service [-] Parent process has died unexpectedly, exiting 2013-10-16 20:33:58.025 3559 INFO nova.wsgi [-] Stopping WSGI server. 2013-10-16 20:33:58.025 3604 INFO nova.wsgi [-] Stopping WSGI server.

Verified that there is nothing listening on 8774 according to netstat.

Here is an output of openstack-status == Nova services == openstack-nova-api: dead openstack-nova-cert: active openstack-nova-compute: active openstack-nova-network: active openstack-nova-scheduler: active openstack-nova-volume: dead (disabled on boot) openstack-nova-conductor: active == Glance services == openstack-glance-api: active openstack-glance-registry: active == Keystone service == openstack-keystone: active == Horizon service == openstack-dashboard: active == Cinder services == openstack-cinder-api: active openstack-cinder-scheduler: active openstack-cinder-volume: active == Support services == mysqld: active libvirtd: active messagebus: active tgtd: active qpidd: active memcached: active == Keystone users == +----------------------------------+--------+---------+---------------+ | id | name | enabled | email | +----------------------------------+--------+---------+---------------+ | 048abc1d9c934ee793b0e3ec02be1b8a | admin | True | | | a97421c3f3b149d8ad64a5cbf7f3d9ec | cinder | True | cinder@op.com | | 4d85f18b6e2a423bb3b70dca61b68d72 | ec2 | True | | | e761087e32884f52b71d5a259692084f | glance | True | | | 094638859f864120b91c113121f28eb9 | nova | True | | | 8239ac75d91f4885ba6796b3deac3664 | swift | True | | +----------------------------------+--------+---------+---------------+ == Glance images == +--------------------------------------+--------------+-------------+------------------+-----------+--------+ | ID | Name | Disk Format | Container Format | Size | Status | +--------------------------------------+--------------+-------------+------------------+-----------+--------+ | 814e4450-5b73-4595-822b-f41519af6b97 | CirrOS 0.3.1 | qcow2 | bare | 13147648 | active | | 2600ffa8-648d-4d5d-9147-089721baa4c8 | Fedora_19 | qcow2 | bare | 237371392 | active | +--------------------------------------+--------------+-------------+------------------+-----------+--------+ == Nova instance flavors == ERROR: [Errno 111] Connection refused == Nova instances == ERROR: [Errno 111] Connection refused