Let users know which workflows are private

Bug #1766900 reported by Dougal Matthews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Won't Fix
Medium
Toure Dunnon

Bug Description

The workflows don't have a clear convention about which are private and which are public. Some with underscores are private, but others which are only used by Heat don't follow this convention.

We should find a way to improve this, it would make it clearer how the workflows should be used.

It is possible that we could do this with keystone users/policies or Mistral namespaces?

Tags: workflows
Changed in tripleo:
milestone: none → rocky-2
Toure Dunnon (toure)
Changed in tripleo:
assignee: nobody → Toure Dunnon (toure)
Revision history for this message
Toure Dunnon (toure) wrote :

I would propose the use of the namespace in regards to there intended use, that is to create a structured convention with dictates the category in which the workflow belongs. A category could have a hierarchy of parent namespaces with children:

mistral workflow-create --namespace "private, undercloud" test_workflow.yaml

(undercloud) [stack@undercloud ~]$ mistral workflow-get 39986028-d1be-4688-9871-11d698bf2461
+------------+--------------------------------------+
| Field | Value |
+------------+--------------------------------------+
| ID | 39986028-d1be-4688-9871-11d698bf2461 |
| Name | create_vm |
| Namespace | private, undercloud |
| Project ID | 15490e4a28af44d093de308afa0028c4 |
| Tags | <none> |
| Input | vm_name, image_ref, flavor_ref |
| Created at | 2018-05-24 18:04:34 |
| Updated at | None |
+------------+--------------------------------------+

So, in this case, the parent level could denote whether it is public or private followed by the functional grouping, in this case, undercloud or overcloud.

Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Revision history for this message
Dougal Matthews (d0ugal) wrote :

I don't think this is worth doing anymore with the reduced Mistral usage.

Changed in tripleo:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.