【求助】怎么开启openstack的8042和8041端口,有没有在知道设置,或者怎么监听呢

30 篇文章 1 订阅
29 篇文章 7 订阅

openstack的主要端口如下

22 SSH

3306 MariaDB(MySQL)

27017 MongoDB

5672、25672 RabbitMQ

4369 Erlang端口映射守护进程(Erlang Port Mapper Daemon)

11211 Memcached

35357 OpenStack Identity Service of Apache HTTP Server(Admin)

5000 OpenStack Identity Service of Apache HTTP Server(User)

9191 OpenStack Image Service of Glance Registry

9292 OpenStack Image Service of Glance API

8774、8775 OpenStack Compute Service of Nova API

6080 OpenStack Compute Service of Nova Proxy

9696 OpenStack Networking Service of Neutron Server

80 OpenStack Dashboard Service of Apache HTTP Server

8776 OpenStack Block Storage Service of Cinder API

8786 OpenStack Shared File Systems Service of Manila API

8080 OpenStack Object Storage Service of Swift Proxy

8000 OpenStack Orchestration Service of Heat API (CloudFormation)

8004 OpenStack Orchestration Service of Heat API

8777 OpenStack Telemetry Alarming Service of Ceilometer API

8042 OpenStack Telemetry Alarming Service of Aodh API

8779 OpenStack Database Service of Trove API

8386 OpenStack Data Processing Service of Sahara API

53 Libvirt Dnsmasq

3260 OpenStack Block Storage Service of Tgtd(iSCSI target后台服务)

873 OpenStack Object Storage Service of Remote Sync

6000 OpenStack Object Storage Service of Object

6001 OpenStack Object Storage Service of Container

6002 OpenStack Object Storage Service of Account

6379 redis-server

gnocchi的端口是8041,aodh是8042,我安装好,照着官网配置的,都正常。我的尝试:
 

1、将8042、8041端口用http服务监听,修改vim /etc/httpd/conf.d/wsgi-keystone.conf,但是端口是打开了,但是又报更离谱的错误

2、使用防火墙iptables 或者firewalld服务,来开启端口,reload后查询端口输出yes,但是用ss -ltpn |grep 8041 没有结果,运行gnnocchi和aodh服务还是报同样的错误

错误如下:

 [root@controller aodh]#  gnocchi resource list

Unable to establish connection to http://controller:8041/v1/resource/generic?: HTTPConnectionPool(host='controller', port=8041): Max retries exceeded with url: /v1/resource/generic (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fbdbc7e7210>: Failed to establish a new connection: [Errno 111] Connection refused',))

[root@controller aodh]# aodh alarm create --name cpu_hi --type gnocchi_resources_threshold --metric cpu_util --threshold 70.0  --comparison-operator gt   --aggregation-method mean   --granularity 600   --evaluation-periods 3   --alarm-action 'log://'  --resource-id d6cdcd9c-be3d-4e21-8c34-08aba348963a --resource-type instance

Unable to establish connection to http://controller:8042/v2/alarms: HTTPConnectionPool(host='controller', port=8042): Max retries exceeded with url: /v2/alarms (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f733c6f62d0>: Failed to establish a new connection: [Errno 111] Connection refused',)) 

 有点不知所措了,我觉得就是端口的问题,但是不知道怎么配置,怎么监听,请问各位大佬?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值