<div dir="ltr"><br>
hi,<br>
<br>
I'm using ubuntu 11.04 and <u><span style="color: rgb(51, 102, 255);"><a href="http://cloudbuilders.github.com/deploy.sh/hacking-nova.html">http://cloudbuilders.github.com/deploy.sh/hacking-nova.html</a></span></u> link to run openstack nova.<br>


On executing <b style="color: rgb(51, 51, 255);">"euca-run-instances -k test -t m1.tiny ami-tty"</b> command I am getting the following error:<br>
<br>
<span style="color: rgb(0, 0, 153);">Warning: failed to parse error message from AWS: <unknown>:1:0: syntax error</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">BotoServerError: 500 Internal Server Error</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">Traceback (most recent call last):</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">  File "/usr/lib/python2.7/dist-packages/eventlet/wsgi.py", line 336, in handle_one_response</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">    result = self.application(self.environ, start_response)</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">  File "/usr/lib/pymodules/python2.7/paste/urlmap.py", line 203, in __call__</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">    return app(environ, start_response)</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">  File "/usr/lib/pymodules/python2.7/webob/dec.py", line 147, in __call__</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">    resp = self.call_func(req, *args, **self.kwargs)</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">  File "/usr/lib/pymodules/python2.7/webob/dec.py", line 208, in call_func</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">    return self.func(req, *args, **kwargs)</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">  File "/root/nova/nova/api/ec2/__init__.py", line 59, in __call__</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">    rv = req.get_response(self.application)</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">  File "/usr/lib/pymodules/python2.7/webob/request.py", line 1053, in get_response</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">    application, catch_exc_info=False)</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">  File "/usr/lib/pymodules/python2.7/webob/request.py", line 1022, in call_application</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">    app_iter = application(self.environ, start_response)</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">  File "/usr/lib/pymodules/python2.7/webob/dec.py", line 147, in __call__</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">    resp = self.call_func(req, *args, **self.kwargs)</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">  File "/usr/lib/pymodules/python2.7/webob/dec.py", line 208, in call_func</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">    return self.func(req, *args, **kwargs)</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">  File "/root/nova/nova/api/ec2/__init__.py", line 173, in __call__</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">    body=utils.dumps(creds))</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 991, in request</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">    headers = self._normalize_headers(headers)</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 959, in _normalize_headers</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">    return _normalize_headers(headers)</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">  File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line 217, in _normalize_headers</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">    return dict([ (key.lower(), NORMALIZE_SPACE.sub(value, ' ').strip())  for (key, value) in headers.iteritems()])</span><br style="color: rgb(0, 0, 153);">
<span style="color: rgb(0, 0, 153);">AttributeError: 'tuple' object has no attribute 'iteritems'</span><br>
<br>
Please suggest some solution.<br>
<br>
Thanks,<br>
Bhaskar<br><br><br>
</div>