Bug 1480277 - HeatApiCloudwatch status for rhos 12
HeatApiCloudwatch status for rhos 12
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
medium Severity medium
: beta
: 13.0 (Queens)
Assigned To: Alex Schultz
Ronnie Rasouli
: Triaged
Depends On:
  Show dependency treegraph
Reported: 2017-08-10 11:00 EDT by Gurenko Alex
Modified: 2018-04-09 11:42 EDT (History)
10 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-8.0.0-0.20180122224017.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1720865 None None None 2017-10-02 14:21 EDT
OpenStack gerrit 508964 None master: MERGED tripleo-heat-templates: Remove Heat Cloudwatch API (I322979c34a92565a7dd54248c312b692e9c83f74) 2018-02-07 09:21 EST

  None (edit)
Description Gurenko Alex 2017-08-10 11:00:20 EDT
Description of problem:

 During RHOS 12 deployment with containers I'm getting error that HeatApiCloudwatch container does not exists. A brief comment here: https://bugzilla.redhat.com/show_bug.cgi?id=1468256#c5 shows that it might be depricated for RHOS 12.

Should it be removed for all role definitions starting RHOS 12? Or will it be containerized and added later in the cycle?

Version-Release number of selected component (if applicable):

How reproducible: 100%

Steps to Reproduce:

Actual results:

Expected results:

Additional info:
Comment 1 Thomas Hervé 2017-09-28 06:41:13 EDT
I'm not sure what we should do here. CW is deprecated and will be removed in 13, but it doesn't really need to go in 12, even though the container is gone (unless that creates a problem with upgrades?). Nobody should have it deployed.
Comment 2 Gurenko Alex 2017-10-01 04:58:15 EDT
Based on what you said it just need to be removed from all references in both InfraRed (for 12+) and tripleo, as of right now it's still been generated and added to the composable deployment for example:

[stack@undercloud-0 ~]$ openstack overcloud role show Controller | grep HeatApiCloudwatch
 * OS::TripleO::Services::HeatApiCloudwatch
Comment 3 Alex Schultz 2017-10-02 10:21:36 EDT
We probably just need to remove the references from the roles files in THT/roles/*.yaml.
Comment 4 Alex Schultz 2017-11-29 17:04:59 EST
Since this was merged upstream for 13, I've updated the bug to reflect it's current status.
Comment 8 Gurenko Alex 2018-04-09 05:30:06 EDT
So I had look at default roles in recent puddle and it's still there.

[stack@undercloud-0 roles]$ cat /etc/rhosp-release

Red Hat OpenStack Platform release 13.0 Beta (Queens)

[stack@undercloud-0 roles]$ cat ~/core_puddle_version


[stack@undercloud-0 roles]$ rpm -q openstack-tripleo-heat-templates


[stack@undercloud-0 roles]$ grep -i heatapicloudwatch ./Controller*

./ControllerAllNovaStandalone.yaml:    - OS::TripleO::Services::HeatApiCloudwatch
./ControllerNoCeph.yaml:    - OS::TripleO::Services::HeatApiCloudwatch
./ControllerNovaStandalone.yaml:    - OS::TripleO::Services::HeatApiCloudwatch
./ControllerOpenstack.yaml:    - OS::TripleO::Services::HeatApiCloudwatch
./ControllerStorageNfs.yaml:    - OS::TripleO::Services::HeatApiCloudwatch
./Controller.yaml:    - OS::TripleO::Services::HeatApiCloudwatch
Comment 9 Thomas Hervé 2018-04-09 05:34:38 EDT
The role is still present for upgrade purposes, but the service shouldn't be there.
Comment 10 Gurenko Alex 2018-04-09 11:42:48 EDT
I don't see cloudwatch container on a new deployment on controllers, so it seems like it's working as expected.

[heat-admin@controller-0 ~]$ sudo docker ps | grep heat
251cc64f9636                    "kolla_start"            14 minutes ago      Up 14 minutes                                   heat_api_cron
a49c5733e1e0                "kolla_start"            14 minutes ago      Up 14 minutes (healthy)                         heat_api_cfn
f2c81d9b0138                 "kolla_start"            14 minutes ago      Up 14 minutes (healthy)                         heat_engine
971abc7bf307                    "kolla_start"            15 minutes ago      Up 15 minutes (healthy)                         heat_api

Note You need to log in before you can comment on or make changes to this bug.