Hide Forgot
I can run "openstack workflow execution show" with no problems. ----- [stack@osp10 ~]$ openstack workflow execution show 933de0ad-ab59-4e40-9810-e5e792722ae3 +-------------------+--------------------------------------+ | Field | Value | +-------------------+--------------------------------------+ | ID | 933de0ad-ab59-4e40-9810-e5e792722ae3 | | Workflow ID | 9926a3d8-7238-43d8-8bbf-9b327d9e605a | | Workflow name | tripleo.deployment.v1.deploy_plan | | Description | | | Task Execution ID | <none> | | State | SUCCESS | | State info | None | | Created at | 2016-11-28 07:24:15 | | Updated at | 2016-11-28 07:24:55 | +-------------------+--------------------------------------+ ----- But if I try to use "show output" or "show input", I get an error for "openstack workflow execution show" ----- [stack@osp10 ~]$ openstack workflow execution show input 933de0ad-ab59-4e40-9810-e5e792722ae3 usage: openstack workflow execution show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] execution openstack workflow execution show: error: unrecognized arguments: 933de0ad-ab59-4e40-9810-e5e792722ae3 [stack@osp10 ~]$ openstack workflow execution show output 933de0ad-ab59-4e40-9810-e5e792722ae3 usage: openstack workflow execution show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] execution openstack workflow execution show: error: unrecognized arguments: 933de0ad-ab59-4e40-9810-e5e792722ae3 ----- Version: python-mistralclient-2.1.1-1.el7ost.noarch
The standard mistral commands work fine though: ----- [stack@osp10 ~]$ mistral execution-get-input 933de0ad-ab59-4e40-9810-e5e792722ae3 { "queue_name": "02ea7ab2-1a37-4809-b5a9-325eaf96aca9", "container": "overcloud", "timeout": 75 } [stack@osp10 ~]$ mistral execution-get-output 933de0ad-ab59-4e40-9810-e5e792722ae3 { "__task_execution": { "id": "61ef2663-d4ef-4265-ba0e-127ff5552218", "name": "send_message" } } ----- It just seems to be the osc versions that aren't working for me.
Also "openstack workflow show definiton" doesn't seem to work: ----- [stack@osp10 ~]$ openstack workflow show definiton tripleo.plan_management.v1.update_deployment_plan usage: openstack workflow show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] workflow openstack workflow show: error: unrecognized arguments: tripleo.plan_management.v1.update_deployment_plan [stack@osp10 ~]$ mistral workflow-get-definition tripleo.plan_management.v1.update_deployment_plan update_deployment_plan: input: - container - queue_name: tripleo tasks: update_plan: action: tripleo.plan.update container=<% $.container %> on-success: ensure_passwords_exist on-error: update_plan_set_status_failed ... etc ... -----
Also "openstack action execution show output" and "openstack action execution show input" do not work.
This was resolved upstream but wasn't backported to Newton. I think it just missed the deadline and I didn't notice. I have opened a backport for the but. The issue is that some of the commands overlapped - so it looks like "definition" is an argument for "openstack workflow show". This was resolved by reversing the order of a number of commands, so it is now: openstack workflow definition show 9 commands were impacted by this change, which can be seen in the backport: https://review.openstack.org/#/c/404087/1/setup.cfg