Ask Your Question
0

havana (nova-network separate node 1 control & 1compute) installation failed in running nova-api,nova-cert,nova-network service. Help needed from who have installed havana

asked 2013-12-13 01:27:45 -0500

anonymous user

Anonymous

Please help me - Issue description : I install havana ( with nova-network as i am very new to it) 1 controller node and 1 compute node. This topology and script i used to install grizzly which got installed. So very minor changes in script were made. Now for havana few minor changes i made in conf files -

Nova.conf - [database] connection is used rather sql_connection Cinder - Same as nova.conf. Nova.Conf file shown below of this post 

Now when I launch script it runs and on controller service shown using nova-manage service list

Binary                       Host                                 Zone             Status     State     Updated_At
nova-conductor     control                              internal         enabled     :-)        2013-12-13 06:36:41
nova-consoleauth control                               internal         enabled     :-)       2013-12-13 06:36:41
nova-scheduler      control                              internal         enabled     :-)        2013-12-13 06:36:42
root@control:/etc# *ps aux | grep nova*
nova      1471  0.0  1.6  67772 ?        Ss   Dec12   0:35 /usr/bin/python /usr/bin/nova-consoleauth --config-file=/etc/nova/nova.conf
nova      1472  0.0  1.6  67808 ?        Ss   Dec12   0:35 /usr/bin/python /usr/bin/nova-conductor --config-file=/etc/nova/nova.conf
nova      1474  0.0  1.6  68416 ?        Ss   Dec12   0:40 /usr/bin/python /usr/bin/nova-scheduler --config-file=/etc/nova/nova.conf
nova      1476  0.0  0.7  32276 ?        Ss   Dec12   0:12 /usr/bin/python /usr/bin/nova-novncproxy --config-file=/etc/nova/nova.conf
root      4479  0.0  0.0  13588   912 pts/2    S+   12:08   0:00 grep --color=auto nova

Same way on compute Node script runs well but nova-compute, nova-network,nova-meata-api does not start. When restarted service on controller node result is like below-

**root@control:/etc# cd /etc/init.d/; for i in $( ls nova-* ); do sudo service $i restart; done**
*stop: Unknown instance: 
nova-api start/running, process 4497
stop: Unknown instance: 
nova-cert start/running, process 4508
nova-conductor stop/waiting
nova-conductor start/running, process 4519
nova-consoleauth stop/waiting
nova-consoleauth start/running, process 4530
nova-novncproxy stop/waiting
nova-novncproxy start/running, process 4541
nova-scheduler stop/waiting
nova-scheduler start/running, process 4556*

so i find nova-api, nova-cert, nova-network,nova-metadata-api services are not running. though rabbitmq is restarted and status success. Now the Log and Conf files- Log first

1. nova-api -

2013-12-12 16:27:43.068 11954 INFO nova.wsgi [-] osapi_compute listening on 0.0.0.0:8774
2013-12-12 16:27:43.068 11954 INFO nova.openstack.common.service [-] Starting 1 workers
2013-12-12 16:27:43.070 11954 INFO nova.openstack.common.service [-] Started child 12085
2013-12-12 16:27:43.082 11954 INFO nova.network.driver [-] Loading network driver 'nova.network.linux_net'
2013-12-12 16:27:43.088 11954 INFO nova.wsgi [-] metadata listening on 0.0.0.0:8775
2013-12-12 16:27:43.093 11954 INFO nova.openstack.common.service [-] Starting 1 workers
2013-12-12 16:27:43.095 11954 INFO nova.openstack.common.service [-] Started child 12086
2013-12-12 16:27:43.075 12085 INFO nova.osapi_compute.wsgi.server [-] (12085) wsgi starting up on http://0.0.0.0:8774/
2013-12-12 16:27:44.005 12086 INFO nova.metadata.wsgi.server [-] (12086) wsgi starting up on http ...
(more)
edit retag flag offensive close merge delete

Comments

Can you be precise on what exactly is the problem and help needed. I felt there any many questions which are criss-crossing across compute and controller.

dheeru gravatar imagedheeru ( 2013-12-13 02:37:07 -0500 )edit

As stated- on controller node service installed- nova-api,nova-cert,nova-conductor,nova-consoleauth,nova-novncproxy,nova-scheduler. only nova-api,nova-cert does not running. On compute node nova-api-meatdata,nova-network, nova-compute installed but not running. Log are given. from logs what will be the issue ?

Yashjit gravatar imageYashjit ( 2013-12-13 03:03:37 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-12-13 14:21:31 -0500

smaffulli gravatar image

From the logs you posted:

  2013-12-12 16:53:01.274 7884 ERROR nova.openstack.common.rpc.common [req-349ea2aa-763b-4fef-ab67-a79900bb5cce None None] AMQP server on localhost:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.

if you search this site there are lots of questions with similar issues. Try the solutions suggested there.

edit flag offensive delete link more

Comments

does not find any promising solution on havana installation. Where to check and What change i should make for rabbitmq connection. I tried suggestions made for this problem here but no success.

Yashjit gravatar imageYashjit ( 2013-12-16 02:56:38 -0500 )edit

My rabbitmq -
root@control:/etc/init.d# rabbitmqctl list_users
Listing users ...
guest	[administrator]
...done.
root@control:/etc/init.d# rabbitmqctl list_vhosts
Listing vhosts ...
/
...done.
root@control:/etc/init.d# rabbitmqctl status
Status of node rabbit@control ...
[{pid,26319},
 {running_applications,[{rabbit,"RabbitMQ","2.7.1"},
{os_mon,"CPO  CXC 138 46","2.2.7"}, {sasl,"SASL  CXC 138 11","2.1.10"},
                        {mnesia,"MNESIA  CXC 138 12","4.5"}, {stdlib,"ERTS  CXC 138 10","1.17.5"},
                        {kernel,"ERTS  CXC 138 10","2.14.5"}]},
 {os,{unix,linux}},
 {erlang_version,"Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:4:4] [rq:4] [async-threads:30] [kernel-poll:true]\n"},
 {memory,[{total,25656008}, {processes,10565536},
          {processes_used,10559624},
{system,15090472},
{atom,1124441},
{atom_used,1120349},{binary,90248},

Yashjit gravatar imageYashjit ( 2013-12-16 03:48: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

1 follower

Stats

Asked: 2013-12-13 01:27:45 -0500

Seen: 2,167 times

Last updated: Dec 13 '13