diff --git a/docs/packstack.rst b/docs/packstack.rst index a5637d02a..e50a56269 100755 --- a/docs/packstack.rst +++ b/docs/packstack.rst @@ -954,9 +954,6 @@ Heat Config parameters **CONFIG_HEAT_KS_PW** Password to use for the Orchestration service to authenticate with the Identity service. -**CONFIG_HEAT_CLOUDWATCH_INSTALL** - Specify 'y' to install the Orchestration CloudWatch API. ['y', 'n'] - **CONFIG_HEAT_CFN_INSTALL** Specify 'y' to install the Orchestration CloudFormation API. ['y', 'n'] diff --git a/packstack/plugins/heat_650.py b/packstack/plugins/heat_650.py index 38990c2d8..c05c07e16 100644 --- a/packstack/plugins/heat_650.py +++ b/packstack/plugins/heat_650.py @@ -74,18 +74,6 @@ def initConfig(controller): "NEED_CONFIRM": True, "CONDITION": False}, - {"CMD_OPTION": "os-heat-cloudwatch-install", - "PROMPT": "Should Packstack install Heat CloudWatch API", - "OPTION_LIST": ["y", "n"], - "VALIDATORS": [validators.validate_options], - "DEFAULT_VALUE": "n", - "MASK_INPUT": False, - "LOOSE_VALIDATION": False, - "CONF_NAME": "CONFIG_HEAT_CLOUDWATCH_INSTALL", - "USE_DEFAULT": False, - "NEED_CONFIRM": False, - "CONDITION": False}, - {"CMD_OPTION": "os-heat-cfn-install", "PROMPT": "Should Packstack install Heat CloudFormation API", "OPTION_LIST": ["y", "n"], @@ -155,10 +143,6 @@ def initSequences(controller): 'functions': [create_manifest]}, ] - if config.get('CONFIG_HEAT_CLOUDWATCH_INSTALL', 'n') == 'y': - steps.append( - {'title': 'Preparing Heat CloudWatch API entries', - 'functions': [create_cloudwatch_manifest]}) if config.get('CONFIG_HEAT_CFN_INSTALL', 'n') == 'y': steps.append( {'title': 'Preparing Heat CloudFormation API entries', @@ -192,18 +176,6 @@ def create_manifest(config, messages): config['FIREWALL_HEAT_RULES'] = fw_details -def create_cloudwatch_manifest(config, messages): - fw_details = dict() - key = "heat_api_cloudwatch" - fw_details.setdefault(key, {}) - fw_details[key]['host'] = "ALL" - fw_details[key]['service_name'] = "heat api cloudwatch" - fw_details[key]['chain'] = "INPUT" - fw_details[key]['ports'] = ['8003'] - fw_details[key]['proto'] = "tcp" - config['FIREWALL_HEAT_CLOUDWATCH_RULES'] = fw_details - - def create_cfn_manifest(config, messages): fw_details = dict() key = "heat_cfn" diff --git a/packstack/puppet/modules/packstack/manifests/heat/cloudwatch.pp b/packstack/puppet/modules/packstack/manifests/heat/cloudwatch.pp deleted file mode 100644 index bc6d7b02a..000000000 --- a/packstack/puppet/modules/packstack/manifests/heat/cloudwatch.pp +++ /dev/null @@ -1,8 +0,0 @@ -class packstack::heat::cloudwatch () -{ - create_resources(packstack::firewall, hiera('FIREWALL_HEAT_CLOUDWATCH_RULES', {})) - - class { '::heat::api_cloudwatch': - workers => hiera('CONFIG_SERVICE_WORKERS'), - } -} diff --git a/packstack/puppet/templates/controller.pp b/packstack/puppet/templates/controller.pp index e945056eb..999fc11bf 100644 --- a/packstack/puppet/templates/controller.pp +++ b/packstack/puppet/templates/controller.pp @@ -138,9 +138,6 @@ if hiera('CONFIG_HEAT_INSTALL') == 'y' { include '::packstack::keystone::heat' include '::packstack::heat::rabbitmq' include '::packstack::heat' - if hiera('CONFIG_HEAT_CLOUDWATCH_INSTALL') == 'y' { - include '::packstack::heat::cloudwatch' - } if hiera('CONFIG_HEAT_CFN_INSTALL') == 'y' { include '::packstack::heat::cfn' } diff --git a/releasenotes/notes/Remove-Heat-Cloudwatch-07e55f1c35a16ee4.yaml b/releasenotes/notes/Remove-Heat-Cloudwatch-07e55f1c35a16ee4.yaml new file mode 100644 index 000000000..15befeefd --- /dev/null +++ b/releasenotes/notes/Remove-Heat-Cloudwatch-07e55f1c35a16ee4.yaml @@ -0,0 +1,6 @@ +--- +deprecations: + - | + The Heat CloudWatch API was removed from the project in + https://review.openstack.org/534660. Packstack has also removed all + references to the API.