openstack ocata版本无法创建vm,nova-conductor.log报错信息,求高手指点
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server [req-4c5a281d-f76e-4fe7-b64b-922e9d086476 033ea1568b8e40b5b11c1db2a7b442a1 d28a590ce62d408d9739b32da6731c35 - - -] Exception during message handling
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 962, in schedule_and_build_instances
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server limits=host['limits'])
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/nova/compute/rpcapi.py", line 1083, in build_and_run_instance
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server limits=limits)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 147, in cast
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server self.transport._send(self.target, msg_ctxt, msg, retry=self.retry)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 97, in _send
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server timeout=timeout, retry=retry)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 458, in send
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server retry=retry)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 419, in _send
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server with self._get_connection(rpc_common.PURPOSE_SEND) as conn:
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 374, in _get_connection
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server purpose=purpose)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/common.py", line 399, in __init__
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server self.cOnnection= connection_pool.get()
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/pool.py", line 107, in get
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server return self.create()
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/pool.py", line 144, in create
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server return self.connection_cls(self.conf, self.url, purpose)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 611, in __init__
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server self.ensure_connection()
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 710, in ensure_connection
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server self.ensure(method=lambda: self.connection.connection)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/impl_rabbit.py", line 817, in ensure
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server ret, channel = autoretry_method()
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 436, in _ensured
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server return fun(*args, **kwargs)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 507, in __call__
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server self.revive(create_channel())
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 242, in channel
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server chan = self.transport.create_channel(self.connection)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 741, in connection
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server self._cOnnection= self._establish_connection()
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/kombu/connection.py", line 696, in _establish_connection
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server cOnn= self.transport.establish_connection()
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/kombu/transport/pyamqp.py", line 116, in establish_connection
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server cOnn= self.Connection(**opts)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/amqp/connection.py", line 180, in __init__
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server (10, 30), # tune
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/amqp/abstract_channel.py", line 67, in wait
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server self.channel_id, allowed_methods)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/amqp/connection.py", line 273, in _wait_method
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server self.wait()
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/amqp/abstract_channel.py", line 69, in wait
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server return self.dispatch_method(method_sig, args, content)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/amqp/abstract_channel.py", line 87, in dispatch_method
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server return amqp_method(self, args)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server File "/usr/lib/python2.7/site-packages/amqp/connection.py", line 529, in _close
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server (class_id, method_id), ConnectionError)
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server AccessRefused: (0, 0): (403) ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile.
2017-07-23 21:46:19.118 5680 ERROR oslo_messaging.rpc.server
openstack ocata版本无法创建vm,nova-conductor.log报错信息,求高手指点
controller-nova.conf关键配置:
[DEFAULT]
enabled_apis = osapi_compute,metadata
transport_url = rabbit://openstack:h3c.com@controller
my_ip = 172.16.0.100
use_neutron = True
linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
firewall_driver = nova.virt.firewall.NoopFirewallDriver
verbose = True
#
(0)
最佳答案
RPC通信有问题,检查下mq的状态和通信。
(0)
mq服务正常
AccessRefused 服务是正常的,但是业务不正常啊,日志提示禁止接入
密码什么的是不是不对
原因及解决: Rabbitmq未创建成功openstack用户,出现认证错误,创建后重启正常 # rabbitmqctl list_users Listing users ... guest[administrator]
这个问题已经检查过了,是有openstack账户的,也尝试过删除重新创建、重启服务器
这个估计大家看不懂,建议联系800看下吧
(0)
400应该不处理这种openstack的问题吧
400应该不处理这种openstack的问题吧
您好 您的问题解决了吗?我的问题和你的一模一样
2017-08-28 23:09:12.349 4266 ERROR oslo_messaging.rpc.server AccessRefused: (0, 0): (403) ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile.
2017-08-28 23:09:12.349 4266 ERROR oslo_messaging.rpc.server
rabbitmq日志
=ERROR REPORT==== 28-Aug-2017::23:09:12 ===
Error on AMQP connection <0.24411.0> (10.10.32.50:46244 -> 10.10.32.50:5672, state: starting):
AMQPLAIN login refused: user 'openstack' - invalid credentials
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
这个问题已经检查过了,是有openstack账户的,也尝试过删除重新创建、重启服务器