HTTP/1.1 500 Internal Server Error
date: Thu, 17 Oct 2013 04:59:46 GMT
content-length: 243
content-type: application/json; charset=UTF-8
{"explanation": "The server has either erred or is incapable of performing the requested operation.", "code": 500, "error": {"message": "", "traceback": " in \"<string>\", position 1", "type": "ReaderError"}, "title": "Internal Server Error"}
DEBUG (http:124)
HTTP/1.1 500 Internal Server Error
date: Thu, 17 Oct 2013 04:59:46 GMT
content-length: 243
content-type: application/json; charset=UTF-8
{"explanation": "The server has either erred or is incapable of performing the requested operation.", "code": 500, "error": {"message": "", "traceback": " in \"<string>\", position 1", "type": "ReaderError"}, "title": "Internal Server Error"}
ERROR:
(no error message above)
-----------------------------------------------------------------------------------------------------------
2013-10-17 15:59:46.041 INFO requests.packages.urllib3.connectionpool [-] Starting new HTTPS connection (1): raw.github.com
2013-10-17 15:59:46.980 DEBUG requests.packages.urllib3.connectionpool [-] "GET /openstack/heat-templates/master/cfn/F17/WordPress_Single_Instance.template HTTP/1.1" 200 1706 from (pid=2955) _make_request /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:289
2013-10-17 15:59:46.982 ERROR root [-] Unexpected error occurred serving API: 'utf8' codec can't decode byte #x8b: invalid start byte
in "<string>", position 1
2013-10-17 15:59:46.982 TRACE root Traceback (most recent call last):
2013-10-17 15:59:46.982 TRACE root File "/home/asalkeld/work/heat/heat/common/wsgi.py", line 661, in __call__
2013-10-17 15:59:46.982 TRACE root request, **action_args)
2013-10-17 15:59:46.982 TRACE root File "/home/asalkeld/work/heat/heat/common/wsgi.py", line 729, in dispatch
2013-10-17 15:59:46.982 TRACE root return method(*args, **kwargs)
2013-10-17 15:59:46.982 TRACE root File "/home/asalkeld/work/heat/heat/api/openstack/v1/util.py", line 30, in handle_stack_method
2013-10-17 15:59:46.982 TRACE root return handler(controller, req, **kwargs)
2013-10-17 15:59:46.982 TRACE root File "/home/asalkeld/work/heat/heat/api/openstack/v1/stacks.py", line 219, in create
2013-10-17 15:59:46.982 TRACE root data.template(),
2013-10-17 15:59:46.982 TRACE root File "/home/asalkeld/work/heat/heat/api/openstack/v1/stacks.py", line 107, in template
2013-10-17 15:59:46.982 TRACE root return self.format_parse(template_data, 'Template')
2013-10-17 15:59:46.982 TRACE root File "/home/asalkeld/work/heat/heat/api/openstack/v1/stacks.py", line 73, in format_parse
2013-10-17 15:59:46.982 TRACE root return template_format.parse(data)
2013-10-17 15:59:46.982 TRACE root File "/home/asalkeld/work/heat/heat/common/template_format.py", line 68, in parse
2013-10-17 15:59:46.982 TRACE root tpl = yaml.load(tmpl_str, Loader=yaml_loader)
2013-10-17 15:59:46.982 TRACE root File "/usr/lib64/python2.7/site-packages/yaml/__init__.py", line 69, in load
2013-10-17 15:59:46.982 TRACE root loader = Loader(stream)
2013-10-17 15:59:46.982 TRACE root File "/usr/lib64/python2.7/site-packages/yaml/loader.py", line 24, in __init__
2013-10-17 15:59:46.982 TRACE root Reader.__init__(self, stream)
2013-10-17 15:59:46.982 TRACE root File "/usr/lib64/python2.7/site-packages/yaml/reader.py", line 79, in __init__
2013-10-17 15:59:46.982 TRACE root self.determine_encoding()
2013-10-17 15:59:46.982 TRACE root File "/usr/lib64/python2.7/site-packages/yaml/reader.py", line 135, in determine_encoding
2013-10-17 15:59:46.982 TRACE root self.update(1)
2013-10-17 15:59:46.982 TRACE root File "/usr/lib64/python2.7/site-packages/yaml/reader.py", line 165, in update
2013-10-17 15:59:46.982 TRACE root exc.encoding, exc.reason)
2013-10-17 15:59:46.982 TRACE root ReaderError: 'utf8' codec can't decode byte #x8b: invalid start byte
2013-10-17 15:59:46.982 TRACE root in "<string>", position 1
2013-10-17 15:59:46.982 TRACE root
2013-10-17 15:59:46.983 DEBUG root [-] JSON response : {"explanation": "The server has either erred or is incapable of performing the requested operation.", "code": 500, "error": {"message": "", "traceback": " in \"<string>\", position 1", "type": "ReaderError"}, "title": "Internal Server Error"} from (pid=2955) to_json /home/asalkeld/work/heat/heat/common/wsgi.py:562
Some more debug:
heat -d create wp-url -u https:/ /raw.github. com/openstack/ heat-templates/ master/ cfn/F17/ WordPress_ Single_ Instance. template -P "KeyName= dropbear_ angus;InstanceT ype=m1. tiny" openstack- controller- vip.eng. bne.redhat. com:5000/ v2.0' -H 'X-Auth-User: asalkeld' -H 'User-Agent: python-heatclient' -d '{"stack_name": "wp-url", "disable_rollback": true, "template_url": "https:/ /raw.github. com/openstack/ heat-templates/ master/ cfn/F17/ WordPress_ Single_ Instance. template", "parameters": {"KeyName": "dropbear_angus", "InstanceType": "m1.tiny"}, "timeout_mins": 60}' http:// 192.168. 1.101:8004/ v1/1027066049c0 49beb2422586d19 59d1b/stacks openstack- controller- vip.eng. bne.redhat. com:5000/ v2.0' -H 'X-Auth-User: asalkeld' -H 'User-Agent: python-heatclient' -d '{"stack_name": "wp-url", "disable_rollback": true, "template_url": "https:/ /raw.github. com/openstack/ heat-templates/ master/ cfn/F17/ WordPress_ Single_ Instance. template", "parameters": {"KeyName": "dropbear_angus", "InstanceType": "m1.tiny"}, "timeout_mins": 60}' http:// 192.168. 1.101:8004/ v1/1027066049c0 49beb2422586d19 59d1b/stacks
curl -i -X POST -H 'X-Auth-Key: menticaquaci' -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'X-Auth-Url: http://
DEBUG (http:114) curl -i -X POST -H 'X-Auth-Key: menticaquaci' -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'X-Auth-Url: http://
HTTP/1.1 500 Internal Server Error
date: Thu, 17 Oct 2013 04:59:46 GMT
content-length: 243
content-type: application/json; charset=UTF-8
{"explanation": "The server has either erred or is incapable of performing the requested operation.", "code": 500, "error": {"message": "", "traceback": " in \"<string>\", position 1", "type": "ReaderError"}, "title": "Internal Server Error"}
DEBUG (http:124)
HTTP/1.1 500 Internal Server Error
date: Thu, 17 Oct 2013 04:59:46 GMT
content-length: 243
content-type: application/json; charset=UTF-8
{"explanation": "The server has either erred or is incapable of performing the requested operation.", "code": 500, "error": {"message": "", "traceback": " in \"<string>\", position 1", "type": "ReaderError"}, "title": "Internal Server Error"}
ERROR:
(no error message above)
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -- packages. urllib3. connectionpool [-] Starting new HTTPS connection (1): raw.github.com packages. urllib3. connectionpool [-] "GET /openstack/ heat-templates/ master/ cfn/F17/ WordPress_ Single_ Instance. template HTTP/1.1" 200 1706 from (pid=2955) _make_request /usr/lib/ python2. 7/site- packages/ requests/ packages/ urllib3/ connectionpool. py:289 asalkeld/ work/heat/ heat/common/ wsgi.py" , line 661, in __call__ asalkeld/ work/heat/ heat/common/ wsgi.py" , line 729, in dispatch asalkeld/ work/heat/ heat/api/ openstack/ v1/util. py", line 30, in handle_stack_method asalkeld/ work/heat/ heat/api/ openstack/ v1/stacks. py", line 219, in create asalkeld/ work/heat/ heat/api/ openstack/ v1/stacks. py", line 107, in template parse(template_ data, 'Template') asalkeld/ work/heat/ heat/api/ openstack/ v1/stacks. py", line 73, in format_parse format. parse(data) asalkeld/ work/heat/ heat/common/ template_ format. py", line 68, in parse python2. 7/site- packages/ yaml/__ init__. py", line 69, in load python2. 7/site- packages/ yaml/loader. py", line 24, in __init__ __init_ _(self, stream) python2. 7/site- packages/ yaml/reader. py", line 79, in __init__ encoding( ) python2. 7/site- packages/ yaml/reader. py", line 135, in determine_encoding python2. 7/site- packages/ yaml/reader. py", line 165, in update work/heat/ heat/common/ wsgi.py: 562
2013-10-17 15:59:46.041 INFO requests.
2013-10-17 15:59:46.980 DEBUG requests.
2013-10-17 15:59:46.982 ERROR root [-] Unexpected error occurred serving API: 'utf8' codec can't decode byte #x8b: invalid start byte
in "<string>", position 1
2013-10-17 15:59:46.982 TRACE root Traceback (most recent call last):
2013-10-17 15:59:46.982 TRACE root File "/home/
2013-10-17 15:59:46.982 TRACE root request, **action_args)
2013-10-17 15:59:46.982 TRACE root File "/home/
2013-10-17 15:59:46.982 TRACE root return method(*args, **kwargs)
2013-10-17 15:59:46.982 TRACE root File "/home/
2013-10-17 15:59:46.982 TRACE root return handler(controller, req, **kwargs)
2013-10-17 15:59:46.982 TRACE root File "/home/
2013-10-17 15:59:46.982 TRACE root data.template(),
2013-10-17 15:59:46.982 TRACE root File "/home/
2013-10-17 15:59:46.982 TRACE root return self.format_
2013-10-17 15:59:46.982 TRACE root File "/home/
2013-10-17 15:59:46.982 TRACE root return template_
2013-10-17 15:59:46.982 TRACE root File "/home/
2013-10-17 15:59:46.982 TRACE root tpl = yaml.load(tmpl_str, Loader=yaml_loader)
2013-10-17 15:59:46.982 TRACE root File "/usr/lib64/
2013-10-17 15:59:46.982 TRACE root loader = Loader(stream)
2013-10-17 15:59:46.982 TRACE root File "/usr/lib64/
2013-10-17 15:59:46.982 TRACE root Reader.
2013-10-17 15:59:46.982 TRACE root File "/usr/lib64/
2013-10-17 15:59:46.982 TRACE root self.determine_
2013-10-17 15:59:46.982 TRACE root File "/usr/lib64/
2013-10-17 15:59:46.982 TRACE root self.update(1)
2013-10-17 15:59:46.982 TRACE root File "/usr/lib64/
2013-10-17 15:59:46.982 TRACE root exc.encoding, exc.reason)
2013-10-17 15:59:46.982 TRACE root ReaderError: 'utf8' codec can't decode byte #x8b: invalid start byte
2013-10-17 15:59:46.982 TRACE root in "<string>", position 1
2013-10-17 15:59:46.982 TRACE root
2013-10-17 15:59:46.983 DEBUG root [-] JSON response : {"explanation": "The server has either erred or is incapable of performing the requested operation.", "code": 500, "error": {"message": "", "traceback": " in \"<string>\", position 1", "type": "ReaderError"}, "title": "Internal Server Error"} from (pid=2955) to_json /home/asalkeld/