Since i'm using Essex at the moment, the command doesn't work. The only output it produces is below. If you want to check the output of this command, you can find a sample of Xen and libvirt in this commit log
send: u'GET /v2/4ebf76425efa4d01bc54a182185444a6/servers/9313c838-e004-4993-96c0-e75c0e3efb77/diagnostics HTTP/1.1\r\nHost:
10.0.107.2:8774\r\nx-auth-project-id: project\r\nx-auth-token: 5e9ef4cb0d1b43c8b832e2032b7eaf78\r\naccept-encoding: gzip, deflate\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n'
reply: 'HTTP/1.1 500 Internal Server Error\r\n'
header: Content-Length: 128
header: Content-Type: application/json; charset=UTF-8
header: X-Compute-Request-Id: req-097428e6-356d-46da-b497-3919caf08762
header: Date: Tue, 16 Oct 2012 15:34:17 GMT
RESP:{'date': 'Tue, 16 Oct 2012 15:34:17 GMT', 'status': '500', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-097428e6-356d-46da-b497-3919caf08762'} {"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}
DEBUG (shell:534) The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-097428e6-356d-46da-b497-3919caf08762)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 531, in main
OpenStackComputeShell().main(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 467, in main
args.func(self.cs, args)
File "/usr/local/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 819, in do_diagnostics
utils.print_dict(cs.servers.diagnostics(server)[1])
File "/usr/local/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 425, in diagnostics
base.getid(server))
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 199, in get
return self._cs_request(url, 'GET', **kwargs)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 186, in _cs_request
**kwargs)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 168, in _time_request
resp, body = self.request(url, method, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 162, in request
raise exceptions.from_response(resp, body)
ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-097428e6-356d-46da-b497-3919caf08762)
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-097428e6-356d-46da-b497-3919caf08762)