No way to get event id from stack event list

Bug #1691943 reported by Kashif Siddiqui
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-heatclient
New
Undecided
Kashif Siddiqui
python-openstackclient
Invalid
Undecided
Kashif Siddiqui

Bug Description

No way to get event id for an orchestration stack, Hence no way to actually call `openstack stack event show MY_STACK RESOURCE EVENT` after an `openstack event list STACK_NAME`

Calling `openstack stack event list STACK_NAME` gives us

$ openstack stack event list test
2017-05-19 03:53:57Z [test]: CREATE_IN_PROGRESS Stack CREATE started
2017-05-19 03:53:58Z [test.gpb_ext1_port]: CREATE_IN_PROGRESS state changed
2017-05-19 03:53:59Z [test.volumegov]: CREATE_IN_PROGRESS state changed
2017-05-19 03:54:10Z [test.volumegov]: CREATE_COMPLETE state changed
2017-05-19 03:54:11Z [test.gpb_ext1_port]: CREATE_COMPLETE state changed
2017-05-19 03:54:11Z [test.instancegovmain-]: CREATE_IN_PROGRESS state changed
2017-05-19 03:56:14Z [test.instancegovmain-]: CREATE_COMPLETE state changed
2017-05-19 03:56:15Z [test]: CREATE_COMPLETE Stack CREATE completed successfully
2017-05-19 03:58:28Z [test]: UPDATE_IN_PROGRESS Stack UPDATE started
2017-05-19 03:58:30Z [test]: UPDATE_COMPLETE Stack UPDATE completed successfully

The event id should be shown in the response so I can call
$ openstack stack event show test volumegov MY_EVENT_ID

Something like this?

2016-09-05 04:10:24Z: 375c49ae-cefb-4fb3-8f4d-1d5f1b9e3e5d [nested.rg1]: CREATE_IN_PROGRESS state changed
2016-09-05 04:10:24Z: 7e521c84-cd35-4f4c-b0de-962bd3cc40a8 [nested-rg1-m4zxcs4pra6t]: CREATE_IN_PROGRESS Stack CREATE started
2016-09-05 04:10:24Z: c6186c16-94ef-4214-a11a-7e3cc8a17f82 [nested-rg1-m4zxcs4pra6t.1]: CREATE_IN_PROGRESS state changed

Changed in python-openstackclient:
assignee: nobody → Kashif Siddiqui (kashif.siddiqui)
Changed in python-heatclient:
assignee: nobody → Kashif Siddiqui (kashif.siddiqui)
description: updated
Revision history for this message
Dean Troyer (dtroyer) wrote :

This is totally contained in the heat plugin.

Changed in python-openstackclient:
status: New → Invalid
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.