Ask Your Question
2

ERROR: Not found (HTTP 404)

asked 2014-11-20 11:03:06 -0500

updated 2014-11-21 04:41:49 -0500

hi, i am trying to install icehouse in ubuntu 14.04 got struck at nova.

if i type nova image-list the following error occur

ERROR: Not found (HTTP 404)

All the services i restarted keystone,glance working good.

nova.conductor.log

2014-11-20 00:51:30.277 20717 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2014-11-20 00:51:30.284 20717 INFO nova.openstack.common.service [-] Starting 4 workers
2014-11-20 00:51:30.286 20717 INFO nova.openstack.common.service [-] Started child 20730
2014-11-20 00:51:30.288 20717 INFO nova.openstack.common.service [-] Started child 20731
2014-11-20 00:51:30.290 20730 AUDIT nova.service [-] Starting conductor node (version 2014.1.3)
2014-11-20 00:51:30.292 20717 INFO nova.openstack.common.service [-] Started child 20732
2014-11-20 00:51:30.294 20731 AUDIT nova.service [-] Starting conductor node (version 2014.1.3)
2014-11-20 00:51:30.296 20717 INFO nova.openstack.common.service [-] Started child 20733
2014-11-20 00:51:30.298 20732 AUDIT nova.service [-] Starting conductor node (version 2014.1.3)
2014-11-20 00:51:30.307 20733 AUDIT nova.service [-] Starting conductor node (version 2014.1.3)
2014-11-20 00:51:34.297 20731 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 1 seconds.
2014-11-20 00:51:34.305 20733 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 1 seconds.
2014-11-20 00:51:34.307 20730 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 1 seconds.
2014-11-20 00:51:34.398 20732 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 1 seconds.
2014-11-20 00:51:35.301 20731 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2014-11-20 00:51:35.302 20731 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2014-11-20 00:51:35.307 20733 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2014-11-20 00:51:35.308 20733 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2014-11-20 00:51:35.308 20730 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2014-11-20 00:51:35.310 20730 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2014-11-20 00:51:35.399 20732 INFO oslo.messaging._drivers.impl_rabbit [-] Reconnecting to AMQP server on localhost:5672
2014-11-20 00:51:35.401 20732 INFO oslo.messaging._drivers.impl_rabbit [-] Delaying reconnect for 1.0 seconds...
2014-11-20 00:51:39.325 20731 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 3 seconds.
2014-11-20 00:51:39.332 20733 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost:5672 is unreachable: Socket closed. Trying again in 3 seconds.
2014-11-20 00:51:39.334 20730 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on localhost ...
(more)
edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2014-11-20 11:06:06 -0500

help me how to fix it. i don wanna reinstall all the things

edit flag offensive delete link more

Comments

Hello,

AMQP server on localhost:5672 is unreachable: Socket closed.

Check that your rabbitmq service is running: service rabbitmq-server start/restart/status

Check also that you don't have qpidd running in the same time.

GLaupre gravatar imageGLaupre ( 2014-11-20 11:45:02 -0500 )edit
2

answered 2014-11-21 04:45:16 -0500

updated 2014-11-21 04:51:39 -0500

According to your log, the problem is related to rabbitmq server. The controller can not connect to rabbitmq maybe due to your credental problem or networking issues.

At first check whether rabbitmq is up or down:

rabbitmqctl status

If the service was at runing state, and the output be something like here, go to the next step. If not, try to start this service.

After you sure that the rabbitmq server is start, you should test the rabbitmq authentication. So, to make sure about authentication mechanism, change the RabbitMQ guest password:

sudo rabbitmqctl change_password guest password

Restart RabbitMQ service:

sudo service rabbitmq restart

If the problem didn't fix, then execute:

sudo rabbitmqctl change-password guest guest

Restart it again:

sudo service rabbitmq restart

If again the problem didn't fixed by the above steps, check your firewall rules:

iptables-save | grep 5672

Make sure that the port is open and is listen.

netstat -lntp | grep 5672
edit flag offensive delete link more

Comments

hello Mzoorikh

Thank you for your valuable comments. i checked rabbitmq-server status is working fine.

i figured out what exactly the problem is, i made a mismatch in creating the nova-endpoint.

PradeepNaik gravatar imagePradeepNaik ( 2014-11-25 01:07:07 -0500 )edit
1

answered 2014-11-21 03:28:40 -0500

Manoj Krishnan gravatar image

Log itself clearly states the issue is with messaging server reachability.

First check the messaging service is running or not. If it is not restart it.

Then try again, if it doesn't help. Then follow these steps,

Change the RabbitMQ guest password: sudo rabbitmqctl change_password guest <password> Restart RabbitMQ service: sudo service rabbitmq restart

edit flag offensive delete link more

Comments

thank you manoj, problem was actually with the nova-endpoint.

PradeepNaik gravatar imagePradeepNaik ( 2014-11-25 01:25:30 -0500 )edit
1

answered 2014-11-21 04:27:13 -0500

This is the problem with RabbitMQ service on your environment.

You can restart it using "service rabbitmq-server restart" and then check the status of it "service rabbitmq-server status"

edit flag offensive delete link more

Comments

hello

i fixed it, the problem was actually at nova endpoint where i mismatched some id's. thank you for your valuable comments

PradeepNaik gravatar imagePradeepNaik ( 2014-11-25 01:08:50 -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: 2014-11-20 10:57:54 -0500

Seen: 2,068 times

Last updated: Nov 21 '14