中文
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助

Heat运行服务提示Unable to connect to AMQP server的解决方法

问题现象描述

Heat组件运行时无法连接到rabbit server,并且干扰到其他组件与rabbit server的对接,提示“Unable to connect to AMQP server”。

关键过程、根本原因分析

在默认配置中,Heat组件过多的进程超过了AMQP server处理的范畴。

结论、解决方案及效果

修改rabbitMQ server以及Heat的配置。

  1. 打开文件“/etc/rabbitmq/rabbitmq.config”。
    vim /etc/rabbitmq/rabbitmq.config
    并修改delegate_count配置为如下信息:
    {delegate_count, 96}
  2. 打开文件“/etc/heat/heat.conf”。
    vim /etc/heat/heat.conf
    并新增以下配置:
    [heat_api]
    workers = 4
    [DEFAULT]
    num_engine_workers = 4
  3. 重启Heat服务。
    systemctl restart openstack-heat-api.service openstack-heat-api-cfn.service openstack-heat-engine.service