heat-api-cloudwatch is not listed in OpenStack service catalog
Environment
- Red Hat OpenStack Platform 8
- Red Hat OpenStack Platform 9
- Red Hat OpenStack Platform 10
- Red Hat OpenStack Platform 11
- Red Hat OpenStack Platform 12
Issue
- There is no heat-api-cloudwatch service in overcloud catalog;
- heat-api-cloudwatch service is running on controller nodes, but doesn't shown when listing the OpenStack catalog of services.
Resolution
Heat CloudWatch API, a AWS CloudWatch compatible API, was deprecated in Havana, Red Hat OpenStack Platform 4, and was finally removed in Queens, Red Hat OpenStack Platform 13.
After Havana and before Queens it was used for backward compatibility, its only goal was to provide the ability to push metrics to Ceilometer via Heat, using a presigned URL for CloudWatch API endpoint to certain pre-defined resources. As a result, there are not catalog records for heat-api-cloudwatch
as it works with presigned URLs only.
The service is enabled for backward compatibility and it is not removed until Red Hat OpenStack 13, as it would be a customization against upstream and could break certain pre-defined heat resources.
Diagnostic Steps
Checking process listening port 8003, default for the AWS CloudWatch compatible API called heat-api-cloudwatch
, it can be seen that several process are listening against that port.
[root@osp10-cc01p heat-admin]# lsof -i:8003
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
heat-api- 200558 heat 4u IPv4 85402177 0t0 TCP osp10-cc01p.example.com:mcreport (LISTEN)
heat-api- 200653 heat 4u IPv4 85402177 0t0 TCP osp10-cc01p.example.com:mcreport (LISTEN)
heat-api- 200655 heat 4u IPv4 85402177 0t0 TCP osp10-cc01p.example.com:mcreport (LISTEN)
heat-api- 200656 heat 4u IPv4 85402177 0t0 TCP osp10-cc01p.example.com:mcreport (LISTEN)
heat-api- 200657 heat 4u IPv4 85402177 0t0 TCP osp10-cc01p.example.com:mcreport (LISTEN)
heat-api- 200658 heat 4u IPv4 85402177 0t0 TCP osp10-cc01p.example.com:mcreport (LISTEN)
heat-api- 200659 heat 4u IPv4 85402177 0t0 TCP osp10-cc01p.example.com:mcreport (LISTEN)
haproxy 286041 haproxy 21u IPv4 86353691 0t0 TCP overcloud.internalapi.localdomain:mcreport (LISTEN)
[root@osp10-cc01p heat-admin]#
Checking catalog list it can be seen that heat-api-cloudwatch
doesn't show. In this example a catalog list of a common RHOSP10 installation is shown.
[heat-admin@osp10-cc01p ~]$ openstack catalog list
+------------+----------------+--------------------------------------------------------------------------------------+
| Name | Type | Endpoints |
+------------+----------------+--------------------------------------------------------------------------------------+
| cinder | volume | regionOne |
| | | public: https://lab.service.example.com:13776/v1/a43af2cc34cd45b693ce297dffcc5607 |
| | | regionOne |
| | | admin: http://10.10.5.7:8776/v1/a43af2cc34cd45b693ce297dffcc5607 |
| | | regionOne |
| | | internal: http://10.10.5.7:8776/v1/a43af2cc34cd45b693ce297dffcc5607 |
| | | |
| heat | orchestration | regionOne |
| | | internal: http://10.10.5.7:8004/v1/a43af2cc34cd45b693ce297dffcc5607 |
| | | regionOne |
| | | admin: http://10.10.5.7:8004/v1/a43af2cc34cd45b693ce297dffcc5607 |
| | | regionOne |
| | | public: https://lab.service.example.com:13004/v1/a43af2cc34cd45b693ce297dffcc5607 |
| | | |
| gnocchi | metric | regionOne |
| | | admin: http://10.10.5.7:8041 |
| | | regionOne |
| | | internal: http://10.10.5.7:8041 |
| | | regionOne |
| | | public: https://lab.service.example.com:13041 |
| | | |
| heat-cfn | cloudformation | regionOne |
| | | internal: http://10.10.5.7:8000/v1 |
| | | regionOne |
| | | public: https://lab.service.example.com:13005/v1 |
| | | regionOne |
| | | admin: http://10.10.5.7:8000/v1 |
| | | |
| cinderv3 | volumev3 | regionOne |
| | | internal: http://10.10.5.7:8776/v3/a43af2cc34cd45b693ce297dffcc5607 |
| | | regionOne |
| | | public: https://lab.service.example.com:13776/v3/a43af2cc34cd45b693ce297dffcc5607 |
| | | regionOne |
| | | admin: http://10.10.5.7:8776/v3/a43af2cc34cd45b693ce297dffcc5607 |
| | | |
| cinderv2 | volumev2 | regionOne |
| | | public: https://lab.service.example.com:13776/v2/a43af2cc34cd45b693ce297dffcc5607 |
| | | regionOne |
| | | internal: http://10.10.5.7:8776/v2/a43af2cc34cd45b693ce297dffcc5607 |
| | | regionOne |
| | | admin: http://10.10.5.7:8776/v2/a43af2cc34cd45b693ce297dffcc5607 |
| | | |
| keystone | identity | regionOne |
| | | public: https://lab.service.example.com:13000/v2.0 |
| | | regionOne |
| | | admin: http://10.10.4.6:35357/v2.0 |
| | | regionOne |
| | | internal: http://10.10.5.7:5000/v2.0 |
| | | |
| glance | image | regionOne |
| | | internal: http://10.10.5.7:9292 |
| | | regionOne |
| | | admin: http://10.10.5.7:9292 |
| | | regionOne |
| | | public: https://lab.service.example.com:13292 |
| | | |
| nova | compute | regionOne |
| | | public: https://lab.service.example.com:13774/v2.1 |
| | | regionOne |
| | | admin: http://10.10.5.7:8774/v2.1 |
| | | regionOne |
| | | internal: http://10.10.5.7:8774/v2.1 |
| | | |
| ceilometer | metering | regionOne |
| | | admin: http://10.10.5.7:8777 |
| | | regionOne |
| | | internal: http://10.10.5.7:8777 |
| | | regionOne |
| | | public: https://lab.service.example.com:13777 |
| | | |
| aodh | alarming | regionOne |
| | | internal: http://10.10.5.7:8042 |
| | | regionOne |
| | | admin: http://10.10.5.7:8042 |
| | | regionOne |
| | | public: https://lab.service.example.com:13042 |
| | | |
| neutron | network | regionOne |
| | | internal: http://10.10.5.7:9696 |
| | | regionOne |
| | | public: https://lab.service.example.com:13696 |
| | | regionOne |
| | | admin: http://10.10.5.7:9696 |
| | | |
+------------+----------------+--------------------------------------------------------------------------------------+
[heat-admin@osp10-cc01p ~]$
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments