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

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(': 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(': Failed to establish a new connection: [Errno 111] Connection refused',)) 

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

你可能感兴趣的:(心得,指南,排错,运维,openstack,云计算)