Enable osprofiler interface in glanceclient shell

Bug #1358977 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Won't Fix
Medium
Unassigned

Bug Description

https://review.openstack.org/111184
commit 9a53c1fdcb5168043e7edbdfa1bd15e323a3b914
Author: Zhi Yan Liu <email address hidden>
Date: Fri Aug 1 15:02:22 2014 +0800

    Enable osprofiler interface in glanceclient shell

    To help end user uses profiling by glanceclient CLI directly, the
    change added '--profile <HMAC_KEY>' argument to the shell.

    This change also fixed a function regression, it was used to pass
    necessary trace info to glance server via http header:
    https://github.com/openstack/python-glanceclient/commit/dbb242b776908ca50ed8557ebfe7cfcd879366c8#diff-740dd7d9149f46fe4c01ef0ab7eb3bfbL196

    In addition:
    1. If client app want to enable profiling feature for glanceclient
    object, please see: http://paste.openstack.org/show/85722/
    2. Afer adding more trace point into Client object, as fundamental
    requirement of osprofiler, what we need to notice caller is providing
    correct messaging notifier in the context code.

    The relevant change for glance server is ready at:
    I45a19f5eb5304c2b78a9e12cbc0744941a807304

    DocImpact

    Change-Id: If42b69b2695a5f88536ecbc2c1b3592d9dbd880a
    Signed-off-by: Zhi Yan Liu <email address hidden>

Revision history for this message
Andreas Jaeger (jaegerandi) wrote :

Once a new release of python-glanceclient happens, we should regenerated the glance cli chapter.

Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
tags: added: cli-reference
Revision history for this message
Christian Berendt (berendt) wrote :

We first have to clarify how to handle this parameter, because the parameter is only available after manually installing the package osprofiler. The parameter is not available on a default installation.

Revision history for this message
Tom Fifield (fifieldt) wrote :

As this relates mainly to development - an area we traditionally don't document, and it relies on an external library meaning our autotools will not work, I think we should close this bug.

Changed in openstack-manuals:
status: Confirmed → 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.