[openstack-dev] openstack-dev] [vitrage] vitrage alarms list

dong.wenjuan at zte.com.cn dong.wenjuan at zte.com.cn
Tue Apr 19 12:29:26 UTC 2016


Hi vitrage folks,

I install virtage by devstack, but "vitrage --debug alarms list" cli 
doesn't works.
I trace the code, and find where the code[1] caused the server error. 
Does anyone have the problems? Thanks~

[1]https://github.com/openstack/vitrage/blob/master/vitrage/api/controllers/v1/alarms.py#L55

The cli log is as follows:
stack at OS:~/vitrage/vitrage/api/controllers/v1$ vitrage --debug alarms list
REQ: curl -g -i -X GET http://192.168.122.250:5000/ -H "Accept: 
application/json" -H "User-Agent: keystoneauth1/2.4.0 
python-requests/2.9.1 CPython/2.7.6"
Starting new HTTP connection (1): 192.168.122.250
"GET / HTTP/1.1" 300 599
RESP: [300] Content-Length: 599 Vary: X-Auth-Token Keep-Alive: timeout=5, 
max=100 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive Date: Tue, 19 
Apr 2016 12:40:59 GMT Content-Type: application/json 
RESP BODY: {"versions": {"values": [{"status": "stable", "updated": 
"2016-04-04T00:00:00Z", "media-types": [{"base": "application/json", 
"type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.6", 
"links": [{"href": "http://192.168.122.250:5000/v3/", "rel": "self"}]}, 
{"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": 
[{"base": "application/json", "type": 
"application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": 
[{"href": "http://192.168.122.250:5000/v2.0/", "rel": "self"}, {"href": 
"http://docs.openstack.org/", "type": "text/html", "rel": 
"describedby"}]}]}}

Making authentication request to http://192.168.122.250:5000/v2.0/tokens
"POST /v2.0/tokens HTTP/1.1" 200 4217
REQ: curl -g -i -X GET http://192.168.122.250:8999/v1/alarms/ -H 
"User-Agent: keystoneauth1/2.4.0 python-requests/2.9.1 CPython/2.7.6" -H 
"Accept: application/json" -H "X-Auth-Token: 
{SHA1}2796e3695d7d641a96680ced6e85b55581745673"
Starting new HTTP connection (1): 192.168.122.250
"GET /v1/alarms/?vitrage_id=all HTTP/1.1" 500 613
RESP: [500] Date: Tue, 19 Apr 2016 12:40:59 GMT Content-Length: 613 
Content-Type: text/html; charset=iso-8859-1 Connection: close Server: 
Apache/2.4.7 (Ubuntu) 
RESP BODY: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at 
 [no address given] to inform them of the time this error occurred,
 and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at 192.168.122.250 Port 
8999</address>
</body></html>
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160419/ab426f4f/attachment.html>


More information about the OpenStack-dev mailing list