安装openstack ocata。
当我安装和配置计算节点时,我需要重新启动nova-compute服务,但这给了我下面的错误。
当我在控制器节点中执行管理程序列表时,我没有得到任何输出。
2017-09-02 23:11:52.030 8491 ERROR nova文件" /usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py" ;,第402行,在_send
2017-09-02 23:11:52.030 8491 ERROR nova msg.update({' _reply_q':self._get_reply_q()})
2017-09-02 23:11:52.030 8491错误nova文件" /usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py" ;,第383行,_get_reply_q
2017-09-02 23:11:52.030 8491 ERROR nova conn = self._get_connection(rpc_common.PURPOSE_LISTEN)
2017-09-02 23:11:52.030 8491错误nova文件" /usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py",第374行,在_get_connection中
2017-09-02 23:11:52.030 8491 ERROR nova目的=目的)
2017-09-02 23:11:52.030 8491 ERROR nova File" /usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/common.py" ;,第402行,在 init中
2017-09-02 23:11:52.030 8491 ERROR nova self.connection = connection_pool.create(purpose)
2017-09-02 23:11:52.030 8491 ERROR nova文件" /usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/pool.py" ;,第144行,创建
2017-09-02 23:11:52.030 8491 ERROR nova返回self.connection_cls(self.conf,self.url,purpose)
2017-09-02 23:11:52.030 8491 ERROR nova File" /usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/impl_rabbit.py" ;,第611行,在 init中
2017-09-02 23:11:52.030 8491 ERROR nova self.ensure_connection()
2017-09-02 23:11:52.030 8491 ERROR nova文件" /usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/impl_rabbit.py" ;,第710行,在ensure_connection中
2017-09-02 23:11:52.030 8491 ERROR nova self.ensure(method = lambda:self.connection.connection)
2017-09-02 23:11:52.030 8491 ERROR nova文件" /usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/impl_rabbit.py" ;,第817行,确保
2017-09-02 23:11:52.030 8491 ERROR nova ret,channel = autoretry_method()
2017-09-02 23:11:52.030 8491 ERROR nova File" /usr/lib/python2.7/dist-packages/kombu/connection.py" ;,第436行,在_ensured
2017-09-02 23:11:52.030 8491 ERROR nova返回乐趣(* args,** kwargs)
2017-09-02 23:11:52.030 8491 ERROR nova文件" /usr/lib/python2.7/dist-packages/kombu/connection.py" ;,第507行,电话
2017-09-02 23:11:52.030 8491 ERROR nova self.revive(create_channel())
2017-09-02 23:11:52.030 8491 ERROR nova File" /usr/lib/python2.7/dist-packages/kombu/connection.py" ;,第242行,在频道
2017-09-02 23:11:52.030 8491 ERROR nova chan = self.transport.create_channel(self.connection)
2017-09-02 23:11:52.030 8491 ERROR nova文件" /usr/lib/python2.7/dist-packages/kombu/connection.py" ;,第741行,连接
2017-09-02 23:11:52.030 8491 ERROR nova self._connection = self._establish_connection()
2017-09-02 23:11:52.030 8491 ERROR nova文件" /usr/lib/python2.7/dist-packages/kombu/connection.py" ;,第696行,_establish_connection
2017-09-02 23:11:52.030 8491 ERROR nova conn = self.transport.establish_connection()
2017-09-02 23:11:52.030 8491 ERROR nova File" /usr/lib/python2.7/dist-packages/kombu/transport/pyamqp.py" ;,第116行,在establish_connection中
2017-09-02 23:11:52.030 8491 ERROR nova conn = self.Connection(** opts)
2017-09-02 23:11:52.030 8491 ERROR nova File" /usr/lib/python2.7/dist-packages/amqp/connection.py" ;,第180行, init
2017-09-02 23:11:52.030 8491 ERROR nova(10,30),#tune
2017-09-02 23:11:52.030 8491 ERROR nova File" /usr/lib/python2.7/dist-packages/amqp/abstract_channel.py" ;,第67行,等待
2017-09-02 23:11:52.030 8491 ERROR nova self.channel_id,allowed_methods,timeout)
2017-09-02 23:11:52.030 8491 ERROR nova File" /usr/lib/python2.7/dist-packages/amqp/connection.py" ;,第274行,在_wait_method
2017-09-02 23:11:52.030 8491 ERROR nova wait()
2017-09-02 23:11:52.030 8491 ERROR nova File" /usr/lib/python2.7/dist-packages/amqp/abstract_channel.py" ;,第69行,等待
2017-09-02 23:11:52.030 8491 ERROR nova返回self.dispatch_method(method_sig,args,content)
2017-09-02 23:11:52.030 8491 ERROR nova File" /usr/lib/python2.7/dist-packages/amqp/abstract_channel.py" ;,第87行,在dispatch_method
2017-09-02 23:11:52.030 8491 ERROR nova return amqp_method(self,args)
2017-09-02 23:11:52.030 8491 ERROR nova文件" /usr/lib/python2.7/dist-packages/amqp/connection.py" ;,第530行,在_close
2017-09-02 23:11:52.030 8491 ERROR nova(class_id,method_id),ConnectionError)
2017-09-02 23:11:52.030 8491 ERROR nova AccessRefused:(0,0):( 403)ACCESS_REFUSED - 使用身份验证机制AMQPLAIN拒绝登录。有关详细信息,请参阅代理日志文件。
可以解决这个问题的方法是什么?提前致谢
答案 0 :(得分:0)
NEHA, 1.检查rabbitmq-server服务是否处于活动状态并正在运行 2.确保在nova配置文件
中提供的rabbitmq-server凭据正确无误