Skip to content

Instantly share code, notes, and snippets.

@jethrosun
Created April 15, 2017 19:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jethrosun/f96827e2065ad6045519396bcb2a63ad to your computer and use it in GitHub Desktop.
Save jethrosun/f96827e2065ad6045519396bcb2a63ad to your computer and use it in GitHub Desktop.
[root@cluster centos(keystone_demo)]# cinder --profile 123 create --name jethro 1
+------------------------------+--------------------------------------+
| Property | Value |
+------------------------------+--------------------------------------+
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2017-04-15T19:01:35.000000 |
| description | None |
| encrypted | False |
| id | 54628fc9-c897-449c-9333-a3147795fa8b |
| metadata | {} |
| multiattach | False |
| name | jethro |
| os-vol-tenant-attr:tenant_id | 9cb70dc9f6ce4366b2b5578a9154f434 |
| replication_status | None |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| updated_at | None |
| user_id | f08a6b32dbf2485fb794c9218fccb014 |
| volume_type | iscsi |
+------------------------------+--------------------------------------+
Trace ID: b88e8173-c946-4a5b-ae7f-7b59a723e11c
To display trace use next command:
osprofiler trace show --html b88e8173-c946-4a5b-ae7f-7b59a723e11c
[root@cluster centos(keystone_demo)]# source ~/keystonerc_admin
[root@cluster centos(keystone_admin)]# osprofiler trace show --htmlb88e8173-c946-4a5b-ae7f-7b59a723e11c --out list_test --connection-string mongodb://192.168.0.70:27017
usage: osprofiler trace show [-h] [--connection-string CONN_STR] [--json]
[--html] [--dot]
[--render-dot RENDER_DOT_FILENAME]
[--out FILE_NAME]
trace
osprofiler trace show: error: too few arguments
[root@cluster centos(keystone_admin)]# osprofiler trace show --html b88e8173-c946-4a5b-ae7f-7b59a723e11c --out list_test --connection-string mongodb://192.168.0.70:27017
Trace with UUID b88e8173-c946-4a5b-ae7f-7b59a723e11c not found. There are 3 possible reasons:
1) You are using not admin credentials
2) You specified wrong trace id
3) You specified wrong HMAC Key in original calling
4) Ceilometer didn't enable profiler notification topic
[root@cluster centos(keystone_admin)]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment