Merge "Deprecates tripleo.roles.list action"

This commit is contained in:
Zuul 2018-04-09 16:01:10 +00:00 committed by Gerrit Code Review
commit 9aad28b691
3 changed files with 10 additions and 2 deletions

View File

@ -0,0 +1,6 @@
---
deprecations:
- |
The tripleo.roles.list action is deprecated. Please use the
tripleo.plan_management.v1.list_roles workflow instead. Calling actions
directly is no longer supported.

View File

@ -120,7 +120,6 @@ mistral.actions =
tripleo.logging_to_swift.format_messages = tripleo_common.actions.logging_to_swift:FormatMessagesAction
tripleo.logging_to_swift.publish_ui_log_to_swift = tripleo_common.actions.logging_to_swift:PublishUILogToSwiftAction
tripleo.logging_to_swift.prepare_log_download = tripleo_common.actions.logging_to_swift:PrepareLogDownloadAction
tripleo.role.list = tripleo_common.actions.plan:ListRolesAction
tripleo.scale.delete_node = tripleo_common.actions.scale:ScaleDownAction
tripleo.swift.tempurl = tripleo_common.actions.swifthelper:SwiftTempUrlAction
tripleo.swift.swift_information = tripleo_common.actions.swifthelper:SwiftInformationAction
@ -152,4 +151,5 @@ mistral.actions =
tripleo.ansible = tripleo_common.actions.ansible:AnsibleAction
tripleo.ansible-playbook = tripleo_common.actions.ansible:AnsiblePlaybookAction
tripleo.templates.upload_default = tripleo_common.actions.templates:UploadTemplatesAction
# deprecated for rocky release, will be removed in the "S" cycle
tripleo.role.list = tripleo_common.actions.plan:ListRolesAction

View File

@ -137,6 +137,8 @@ class DeletePlanAction(base.TripleOAction):
class ListRolesAction(base.TripleOAction):
"""Returns a deployment plan's roles
DEPRECATED, please use tripleo.plan_management.v1.list_roles workflow
Parses roles_data.yaml and returns the names of all available roles.
:param container: name of the Swift container / plan name