Role - edpm_tripleo_cleanup

Role stops and disables all systemd units enumerated to it. If the role doesn’t recieve list of services, it will instead stop and disable all units containing string “tripleo” in their name.

This way we can effectivelly prevent any leftovers of original tripleo based deployment from interfering with post-adoption setup.

osp.edpm.edpm_tripleo_cleanup role – The main entry point for the edpm_tripleo_cleanup role.

Entry point main – The main entry point for the edpm_tripleo_cleanup role.

Synopsis

Parameters

Parameter

Comments

edpm_old_tripleo_services

list / elements=string

List of tripleo services to be disabled and stopped. If the list is empty, all services containing string ‘tripleo’ in their names will be disabled, stopped and masked.

Default: []

edpm_remove_tripleo_unit_files

boolean

Remove unit files after disabling services. This operation is irreversible. Furthermore, issues may occur, if the unit files are managed by package manager.

Choices:

  • false

  • true ← (default)

edpm_service_removal_skip_list

list / elements=string

List of services to be kept during cleanup. By default these are services related to Swift storag.

Default: ["tripleo_swift_account_auditor", "tripleo_swift_account_reaper", "tripleo_swift_account_replicator", "tripleo_swift_account_server", "tripleo_swift_container_auditor", "tripleo_swift_container_replicator", "tripleo_swift_container_server", "tripleo_swift_container_updater", "tripleo_swift_object_auditor", "tripleo_swift_object_expirer", "tripleo_swift_object_replicator", "tripleo_swift_object_server", "tripleo_swift_object_updater"]