~ubuntu-branches/ubuntu/vivid/heat/vivid

« back to all changes in this revision

Viewing changes to doc/source/getting_started/on_devstack.rst

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Chuck Short, Corey Bryant
  • Date: 2015-01-06 08:55:22 UTC
  • mfrom: (1.1.21)
  • Revision ID: package-import@ubuntu.com-20150106085522-4o3hnaff5lacvtrf
Tags: 2015.1~b1-0ubuntu1
[ Chuck Short ]
* Open up for vivid.
* debian/control: Update bzr branch. 
* debian/control: Add python-saharaclient,
  python-osprofiler, python-oslo.middleware, python-oslo.serialization.
* debian/patches/fix-reqirements.patch: Refreshed.
* debian/patches/skip-tests.patch: Updated to skip more tests.
* debian/rules: Skip integration tests.

[ Corey Bryant ]
* New upstream release.
  - d/control: Align requirements with upstream.
  - d/watch: Update uversionmangle for kilo beta naming.
  - d/rules: Generate heat.conf.sample and apply patch before copy.
  - d/rules: Run base tests instead of integration tests.
  - d/p/fix-requirements.patch: Refreshed.
  - d/p/remove-gettextutils-import.patch: Cherry picked from master.
* d/control: Bumped Standards-Version to 3.9.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    enable_service ceilometer-acompute ceilometer-acentral ceilometer-collector ceilometer-api
42
42
    enable_service ceilometer-alarm-notifier ceilometer-alarm-evaluator
43
43
 
 
44
Configure Devstack to enable OSprofiler
 
45
---------------------------------------
 
46
 
 
47
Add the profiler notifier to your Ceilometer to your config::
 
48
 
 
49
  CEILOMETER_NOTIFICATION_TOPICS=notifications,profiler
 
50
 
 
51
Enable the profiler in /etc/heat/heat.conf::
 
52
 
 
53
  $ echo -e "[profiler]\nprofiler_enabled = True\ntrace_sqlalchemy = True\n" >> /etc/heat/heat.conf
 
54
 
 
55
Change the default hmac_key in /etc/heat/api-paste.ini::
 
56
 
 
57
  $ sed -i "s/hmac_keys =.*/hmac_keys = SECRET_KEY/" /etc/heat/api-paste.ini
 
58
 
 
59
Run any command with --profile SECRET_KEY::
 
60
 
 
61
  $ heat --profile SECRET_KEY stack-list
 
62
  # it will print <Trace ID>
 
63
 
 
64
Get pretty HTML with traces::
 
65
 
 
66
  $ osprofiler trace show --html <Profile ID>
 
67
 
 
68
Note that osprofiler should be run with the admin user name & tenant.
 
69
 
44
70
 
45
71
Confirming Heat is responding
46
72
-----------------------------