[Openstack] [neutron] all agents are dead

Alexandr Porunov alexandr.porunov at gmail.com
Sat Feb 27 11:46:28 UTC 2016


Hello, Nasir

If I restart all agents then they become working.
E.g. :
Controller node:
systemctl restart neutron-linuxbridge-agent.service
neutron-dhcp-agent.service neutron-metadata-agent.service
neutron-l3-agent.service

Compute node.
systemctl restart neutron-linuxbridge-agent.service

But it is strange because they all are enabled and are started on boot. But
after boot only "L3 agent" works. Also On compute node "Linux bridge agent"
works several seconds and then dies.

Also problem that even if I restart all agents I can't  watch networks
through the "horizon dashboard". Horizon works nice but when I click on
"Networks" it shows:

"Something went wrong!
An unexpected error has occurred. Try refreshing the page. If that doesn't
help, contact your local administrator."

Console shows:
"Failed to load resource: the server responded with a status of 500
(INTERNAL SERVER ERROR)"

Dashboard logs on the controller node are empty.

Do you know why it can happens?

Best Regards, Alexandr

On Sat, Feb 27, 2016 at 1:13 PM, Nasir Mahmood <nasir.mahmood at gmail.com>
wrote:

> Looks looks your message queue server is nit responding , try restating
> the services on controller node
> On Feb 27, 2016 3:24 PM, "Alexandr Porunov" <alexandr.porunov at gmail.com>
> wrote:
>
>> Hello everyone,
>>
>> I am trying to install neutron. I have passed all steps except the verify
>> step:
>>
>> http://docs.openstack.org/liberty/install-guide-rdo/neutron-verify-option2.html
>>
>> "neutron agent-list" shows agents but all agents aren't alive. All agents
>> have parameter alive: xxx.
>>
>> But in the verify step we must have parameter alive: :-)
>>
>> I have looked all logs and found nothing special. Some errors like:
>> 2016-02-27 13:36:17.250 846 ERROR oslo.messaging._drivers.impl_rabbit
>> [req-62205e8a-47e6-49b5-accc-f774070a9b9b - - - - -] AMQP server on
>> controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1
>> seconds.
>> 2016-02-27 13:36:18.269 846 ERROR oslo.messaging._drivers.impl_rabbit
>> [req-62205e8a-47e6-49b5-accc-f774070a9b9b - - - - -] AMQP server on
>> controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 2
>> seconds.
>> 2016-02-27 13:36:20.309 846 ERROR oslo.messaging._drivers.impl_rabbit
>> [req-62205e8a-47e6-49b5-accc-f774070a9b9b - - - - -] AMQP server on
>> controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 2
>> seconds.
>>
>> But after errors all agents are connected:
>> 2016-02-27 13:36:22.358 846 INFO oslo.messaging._drivers.impl_rabbit
>> [req-62205e8a-47e6-49b5-accc-f774070a9b9b - - - - -] Reconnected to AMQP
>> server on controller:5672
>> 2016-02-27 13:36:22.358 846 INFO oslo.messaging._drivers.impl_rabbit
>> [req-62205e8a-47e6-49b5-accc-f774070a9b9b - - - - -] Connected to AMQP
>> server on controller:5672
>> 2016-02-27 13:36:22.376 846 INFO oslo.messaging._drivers.impl_rabbit
>> [req-62205e8a-47e6-49b5-accc-f774070a9b9b - - - - -] Connecting to AMQP
>> server on controller:5672
>> 2016-02-27 13:36:22.383 846 INFO oslo.messaging._drivers.impl_rabbit [-]
>> Connecting to AMQP server on controller:5672
>> 2016-02-27 13:36:22.526 846 INFO oslo.messaging._drivers.impl_rabbit [-]
>> Connected to AMQP server on controller:5672
>> 2016-02-27 13:36:22.526 846 INFO oslo.messaging._drivers.impl_rabbit
>> [req-62205e8a-47e6-49b5-accc-f774070a9b9b - - - - -] Connected to AMQP
>> server on controller:5672
>>
>> How to bring agents to life?
>>
>> Please, help me figure out what is going on
>>
>> Sincerely, Alexandr
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160227/8eef4c06/attachment.html>


More information about the Openstack mailing list