Deprecate xinetd service management

We stopped managing this service with the switch containers. This change
starts the removal and deprecated the TripleO management of the service.

Change-Id: Idc35bdfad126f21280444ebffaa5017e73ba8368
This commit is contained in:
Alex Schultz 2019-02-14 12:46:41 -07:00
parent 98ecf97609
commit 78f1901da4
8 changed files with 8 additions and 65 deletions

View File

@ -1,59 +0,0 @@
heat_template_version: rocky
description: >
Drop xinetd if operator requests it.
parameters:
DefaultPasswords:
default: {}
type: json
EndpointMap:
default: {}
description: Mapping of service endpoint -> protocol. Typically set
via parameter_defaults in the resource registry.
type: json
ServiceData:
default: {}
description: Dictionary packing service data
type: json
ServiceNetMap:
default: {}
description: Mapping of service_name -> network name. Typically set
via parameter_defaults in the resource registry. This
mapping overrides those in ServiceNetMapDefaults.
type: json
RoleName:
default: ''
description: Role name on which the service is applied
type: string
RoleParameters:
default: {}
description: Parameters specific to the role
type: json
UpgradeRemoveUnusedPackages:
default: false
type: boolean
description: Remove package if the service is being disabled during upgrade
outputs:
role_data:
description: Remove xinetd since it is not used anymore in containerized environment
value:
service_name: xinetd
docker_config: {}
puppet_config:
config_volume: ''
step_config: ''
config_image: ''
config_settings: {}
upgrade_tasks:
- when: step|int == 3
block:
- name: set remove_xinetd_pkg fact
set_fact:
remove_xinetd_pkg: {get_param: UpgradeRemoveUnusedPackages}
- name: remove xinetd package
package:
name: xinetd
state: removed
when: remove_xinetd_pkg|bool

View File

@ -226,7 +226,7 @@ resource_registry:
OS::TripleO::Services::GnocchiMetricd: docker/services/gnocchi-metricd.yaml
OS::TripleO::Services::GnocchiStatsd: docker/services/gnocchi-statsd.yaml
# Drop Xinetd
OS::TripleO::Services::Xinetd: docker/services/xinetd.yaml
OS::TripleO::Services::Xinetd: OS::Heat::None
# Time sync services
OS::TripleO::Services::Chrony: deployment/timesync/chrony-baremetal-ansible.yaml

View File

@ -0,0 +1,7 @@
---
deprecations:
- |
Xinetd tripleo service is no longer managed. The xinetd service hasn't been
managed since the switch to containers. OS::TripleO::Services::Xinetd is
disabled by default and dropped from the roles. The
OS::TripleO::Services::Xinetd will be removed in Train.

View File

@ -185,4 +185,3 @@
- OS::TripleO::Services::Tuned
- OS::TripleO::Services::Vpp
- OS::TripleO::Services::Zaqar
- OS::TripleO::Services::Xinetd

View File

@ -178,4 +178,3 @@
- OS::TripleO::Services::Tuned
- OS::TripleO::Services::Vpp
- OS::TripleO::Services::Zaqar
- OS::TripleO::Services::Xinetd

View File

@ -96,4 +96,3 @@
- OS::TripleO::Services::UndercloudUpgrade
- OS::TripleO::Services::TripleoValidations
- OS::TripleO::Services::Zaqar
- OS::TripleO::Services::Xinetd

View File

@ -188,7 +188,6 @@
- OS::TripleO::Services::Tuned
- OS::TripleO::Services::Vpp
- OS::TripleO::Services::Zaqar
- OS::TripleO::Services::Xinetd
###############################################################################
# Role: Compute #
###############################################################################

View File

@ -99,5 +99,4 @@
- OS::TripleO::Services::UndercloudUpgrade
- OS::TripleO::Services::TripleoValidations
- OS::TripleO::Services::Zaqar
- OS::TripleO::Services::Xinetd