tripleoclient events aren't always informative

Bug #1619415 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-heatclient
Fix Released
High
Steve Baker
tripleo
Fix Released
High
Steve Baker

Bug Description

For ResourceGroup and ResourceChain resource, we do this:

2016-09-01 17:47:42 [56]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [58]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [52]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [38]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [28]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [63]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [39]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [64]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [51]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [44]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [22]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [16]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [29]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [55]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [21]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [41]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [0]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [4]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [32]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [12]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [59]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [42]: CREATE_COMPLETE state changed
2016-09-01 17:47:42 [62]: CREATE_COMPLETE state changed

We need some way to better surface the owning resource, or ideally the fully qualified path to the resource, e.g openstack.ControllerServiceChain.ServiceChain.59

Steven Hardy (shardy)
Changed in tripleo:
milestone: none → newton-rc1
status: New → Triaged
importance: Undecided → High
Changed in tripleo:
assignee: nobody → Steve Baker (steve-stevebaker)
Steven Hardy (shardy)
tags: added: tripleoclient
Changed in python-heatclient:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Steve Baker (steve-stevebaker)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-heatclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/364667

Changed in python-heatclient:
status: Triaged → In Progress
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-heatclient (master)

Reviewed: https://review.openstack.org/364667
Committed: https://git.openstack.org/cgit/openstack/python-heatclient/commit/?id=b28d8c610147b2830930da532d6b42233d8cd468
Submitter: Jenkins
Branch: master

commit b28d8c610147b2830930da532d6b42233d8cd468
Author: Steve Baker <email address hidden>
Date: Fri Sep 2 05:13:29 2016 +0000

    Show resource name path in event log formatter

    The resource name path was introduced in the 'openstack stack failures'
    command and is a user-friendly way of referring to a deeply nested
    resource.

    This change modifies the event log formatter to build and display the
    resource name path for each event based only off data in previous
    events.

    For building the full resource path, and omitting ugly stack names
    from the resource path, the following heat change is needed
    Ib8feb7752bd5736785d142216312bb35629b3601. However the output is still
    improved slightly when running against an older heat which does not
    have this change.

    Change-Id: I86b687fc516da215a6baeef8b365a520d12a8ab1
    Closes-Bug: #1619415

Changed in python-heatclient:
status: In Progress → Fix Released
Changed in tripleo:
milestone: newton-rc1 → newton-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-heatclient (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/373531

Changed in python-heatclient:
milestone: none → 1.4.1
Revision history for this message
Steven Hardy (shardy) wrote :

I think the tripleo part of this was fixed by https://review.openstack.org/#/c/368844/ which means when folks pick up the new released version of heatclient containing stevebaker's fix, we'll get more informative events \o/

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-heatclient (stable/newton)

Reviewed: https://review.openstack.org/373531
Committed: https://git.openstack.org/cgit/openstack/python-heatclient/commit/?id=e9757b09fd17ab99d1faad24e36b99d25292221e
Submitter: Jenkins
Branch: stable/newton

commit e9757b09fd17ab99d1faad24e36b99d25292221e
Author: Steve Baker <email address hidden>
Date: Fri Sep 2 05:13:29 2016 +0000

    Show resource name path in event log formatter

    The resource name path was introduced in the 'openstack stack failures'
    command and is a user-friendly way of referring to a deeply nested
    resource.

    This change modifies the event log formatter to build and display the
    resource name path for each event based only off data in previous
    events.

    For building the full resource path, and omitting ugly stack names
    from the resource path, the following heat change is needed
    Ib8feb7752bd5736785d142216312bb35629b3601. However the output is still
    improved slightly when running against an older heat which does not
    have this change.

    Change-Id: I86b687fc516da215a6baeef8b365a520d12a8ab1
    Closes-Bug: #1619415
    (cherry picked from commit b28d8c610147b2830930da532d6b42233d8cd468)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-heatclient 1.5.0

This issue was fixed in the openstack/python-heatclient 1.5.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-heatclient 1.6.0

This issue was fixed in the openstack/python-heatclient 1.6.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-heatclient 1.5.0

This issue was fixed in the openstack/python-heatclient 1.5.0 release.

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.