AMQP server on c ontroller:5672 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 2 seconds.

问题描述:

centos7安装多节点opentack时,nova-compute总是起不来,计算节点的nova-compute日志如下:

2015-06-15 07:20:48.565 16036 INFO nova.virt.driver [-] Loading compute driver ‘libvirt.LibvirtDriver‘
2015-06-15 07:20:48.571 16036 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval i
s negative
2015-06-15 07:20:48.625 16036 INFO oslo_messaging._drivers.impl_rabbit [req-95a14e35-5e44-49d1-af35-baf3e317be72 - - - - -] Connecting to AMQ
P server on controller:5672
2015-06-15 07:20:48.632 16036 ERROR oslo_messaging._drivers.impl_rabbit [req-95a14e35-5e44-49d1-af35-baf3e317be72 - - - - -] AMQP server on c
ontroller:5672 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 1 seconds.
2015-06-15 07:20:49.646 16036 ERROR oslo_messaging._drivers.impl_rabbit [req-95a14e35-5e44-49d1-af35-baf3e317be72 - - - - -] AMQP server on c
ontroller:5672 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 2 seconds.
2015-06-15 07:20:50.660 16036 ERROR oslo_messaging._drivers.impl_rabbit [req-95a14e35-5e44-49d1-af35-baf3e317be72 - - - - -] AMQP server on c
ontroller:5672 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 2 seconds.
2015-06-15 07:20:51.674 16036 ERROR oslo_messaging._drivers.impl_rabbit [req-95a14e35-5e44-49d1-af35-baf3e317be72 - - - - -] AMQP server on c
ontroller:5672 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 2 seconds.
2015-06-15 07:20:52.688 16036 ERROR oslo_messaging._drivers.impl_rabbit [req-95a14e35-5e44-49d1-af35-baf3e317be72 - - - - -] AMQP server on c
ontroller:5672 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 2 seconds.

其他地方无异常,配置文档无异常,防火墙都是关着的

问题解决

启用iptables,在rabbitmq server端加入如下规则,开放rabbitmq端口(5672),允许其他主机访问rabbitmq server:

 # iptables -I INPUT -p tcp --dport 5672 -j ACCEPT
 #添加规则
 # service iptables save
 #保存设置
 # service iptables restart
 # 重启iptables,生效规则

现在再次重启nova-compute服务,发现他可以起来了,问题解决

时间: 2024-10-31 06:16:50

AMQP server on c ontroller:5672 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 2 seconds.的相关文章

Openstack:计算节点没法启动的一次排查过程

openstack的控制节点和计算节点重启后,在控制节点上查看计算资源的状态: [[email protected] ~]# openstack compute service list +----+------------------+------------------------+----------+---------+-------+---------------------- | ID | Binary           | Host                   | Zon

centos 7 安装openstack kilo in three node

教程请参考官方教程 只是罗列了一些遇到的问题与解决方法 1.keystone 无法启动可以先执行以下操作 # keystone-manage pki_setup --keystone-user keystone --keystone-group keystone # chown -R keystone:keystone /var/log/keystone # chown -R keystone:keystone /etc/keystone/ssl # chmod -R o-rwx /etc/ke

openstack对接vcenter问题集合

1.启动openstack-nova-compute时提示找不到vmwareapi模块 [问题现象] 2015-01-07 12:17:43.445 5861 INFO nova.virt.driver [-] Loading compute driver 'vmwareapi.VMwareVCDriver' 2015-01-07 12:17:43.449 5861 ERROR nova.virt.driver [-] Unable to load the virtualization driv

[IaaS与数据中心] centos7下安装openstack juno

最近不忙,安装了一下openstack juno与大家分享一下.根据以下安装步骤http://docs.openstack.org/juno/i ... ent/ch_preface.html                                openstack-install-guide-yum-juno.pdf                (1.03 MB, 下载次数: 313)先看一下安装完的效果.cryboy2001  2014-12-18一.整体效果,有两台实例aa与bb

What is AMQP? and the architecture

What is AMQP? (Advanced Message Queuing Protocol) When two applications need to communicate there are a lot of solutions like IPC, if these applications are remote we can use RPC. When two or more applications communicate with each other we can use E

SQL Server 磁盘请求超时的833错误原因分析以及解决

本文出处:http://www.cnblogs.com/wy123/p/6984885.html 最近遇到一个SQL Server服务器响应极度缓慢,并且出现客户端请求报错的情况,在数据库中的errorlog中出现磁盘请求超过一定时间才完成的error消息.对于此类问题,到底是存储系统或者磁盘的故障,还是SQL Server 自己的问题,亦或是应用程序引发的呢?又要如何解决?本文将对引起此问题的某一方面的因素进行简单的分析,但是无法涵盖所有潜在的可能性,因此遇到类似问题还要做具体的分析. SQL

Microsoft SQL Server 2008 安装图解(Windows 7)

简介 本文详细记录了一次完整的Microsoft SQL Server 2008在Windows 7操作系统上的安装过程.注意:Microsoft SQL Server 2008与Windows 7操作系统存在一定的兼容性问题,在完成安装之后需要为Microsoft SQL Server 2008安装SP1补丁.下面将详细说明整个安装过程. 安装日志 在Windows7操作系统系,启动Microsoft SQL 2008安装程序后,系统兼容性助手将提示软件存在兼容性问题,在安装完成之后必须安装S

openstack排错

一.排错方法: 1.查看日志路径为/var/log,具体哪个组件出了问题进入其目录查看. 2.debug [email protected]:~# keystone --debug user-list [email protected]:~# nova --debug list 3.grep [email protected]:~# grep -ri error /var/log/* 二.具体错误: 1.登录dashboard显示错误, 查看日志/var/log/upstart/neutron-

Openstack云计算项目实施

Openstack 云计算架构 Version Icehouse 项目实施 目录 1 前言 ............................................................................................. 2 环境说明 ........................................................................................ 2.1 硬件环境说明 ...