Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

osprofiler "something has gone wrong"

I want to try Osprofiler:

$ cinder --profile osprofiler-secret create 1
...
To display trace use next command:
osprofiler trace show --html 8871c235-7337-4e14-a81c-0c83e404c74f
$ osprofiler trace show --html 8871c235-7337-4e14-a81c-0c83e404c74f
Something has gone wrong. See ceilometer logs for more details

This error message is generated when osprofiler fails to retrieve the ceilometer client and, not surprisingly, there is no trace in the ceilometer logs. Can I fix this? How?

osprofiler "something has gone wrong"

I want to try Osprofiler:Osprofiler on Packstack/Ocata:

$ cinder --profile osprofiler-secret create 1
...
To display trace use next command:
osprofiler trace show --html 8871c235-7337-4e14-a81c-0c83e404c74f
$ osprofiler trace show --html 8871c235-7337-4e14-a81c-0c83e404c74f
Something has gone wrong. See ceilometer logs for more details

This error message is generated when osprofiler fails to retrieve the ceilometer client and, not surprisingly, there is no trace in the ceilometer logs. Can I fix this? How?

osprofiler "something has gone wrong"

I want to try Osprofiler on Packstack/Ocata:

$ source demo
$ cinder --profile osprofiler-secret create 1
...
To display trace use next command:
osprofiler trace show --html 8871c235-7337-4e14-a81c-0c83e404c74f
$ source admin
$ osprofiler trace show --html 8871c235-7337-4e14-a81c-0c83e404c74f
Something has gone wrong. See ceilometer logs for more details

This error message is generated when osprofiler fails to retrieve the ceilometer client and, not surprisingly, there is no trace in the ceilometer logs. Can I fix this? How?

osprofiler "something has gone wrong"

I want to try Osprofiler on Packstack/Ocata:

$ source demo
$ cinder --profile osprofiler-secret create 1
...
To display trace use next command:
osprofiler trace show --html 8871c235-7337-4e14-a81c-0c83e404c74f
$ source admin
$ osprofiler trace show --html 8871c235-7337-4e14-a81c-0c83e404c74f
Something has gone wrong. See ceilometer logs for more details

This error message is generated in osprofiler/drivers/ceilometer.py when osprofiler fails to retrieve the ceilometer client and, not client. Not surprisingly, there is no trace in the ceilometer logs. Can I fix this? How?

EDIT I added code to the osprofiler command to print exception details. This is what I get:

$ osprofiler trace show 8b62c09d-ba71-4ea6-8f77-694aa7b58381
Exception:
Authentication failed. Missing options: token, endpoint, tenant_id, tenant_name
Something has gone wrong. See ceilometer logs for more details

The ceilometer client wants authentication. What can I do to satisfy it?

osprofiler "something has gone wrong"

I want to try Osprofiler on Packstack/Ocata:

$ source demo
$ cinder --profile osprofiler-secret create 1
...
To display trace use next command:
osprofiler trace show --html 8871c235-7337-4e14-a81c-0c83e404c74f
$ source admin
$ osprofiler trace show --html 8871c235-7337-4e14-a81c-0c83e404c74f
Something has gone wrong. See ceilometer logs for more details

This error message is generated in osprofiler/drivers/ceilometer.py when osprofiler fails to retrieve the ceilometer client. Not surprisingly, there is no trace in the ceilometer logs. Can I fix this? How?

EDIT I added code to the osprofiler command to print exception details. This is what I get:

$ osprofiler trace show 8b62c09d-ba71-4ea6-8f77-694aa7b58381
Exception:
Authentication failed. Missing options: token, endpoint, tenant_id, tenant_name
Something has gone wrong. See ceilometer logs for more details

The ceilometer client wants authentication. What can I do to satisfy it?

EDIT there is a four-months old bug https://bugs.launchpad.net/osprofiler/+bug/1646295