Ask Your Question
0

boto.exception.BotoServerError: BotoServerError: 500 Internal Server Error

asked 2011-02-28 08:21:08 -0500

janson071 gravatar image

I am trying to doing : euca-upload-bundle -m /tmp/kernel.manifest.xml -b mybucket

errors occurs as follows:

[root@localhost dowmload]# euca-upload-bundle -m /tmp/kernel.manifest.xml -b mybucket Checking bucket: mybucket 12Warning: failed to parse error message from AWS: <unknown>:130:75: undefined entity Traceback (most recent call last): File "/usr/bin/euca-upload-bundle", line 262, in <module> main() File "/usr/bin/euca-upload-bundle", line 240, in main bucket_instance = ensure_bucket(conn, bucket, canned_acl) File "/usr/bin/euca-upload-bundle", line 95, in ensure_bucket bucket_instance = connection.get_bucket(bucket) File "/usr/lib/python2.5/site-packages/boto/s3/connection.py", line 275, in get_bucket rs = bucket.get_all_keys(headers, maxkeys=0) File "/usr/lib/python2.5/site-packages/boto/s3/bucket.py", line 204, in get_all_keys headers=headers, query_args=s) File "/usr/lib/python2.5/site-packages/boto/s3/connection.py", line 342, in make_request data, host, auth_path, sender) File "/usr/lib/python2.5/site-packages/boto/connection.py", line 459, in make_request return self._mexe(method, path, data, headers, host, sender) File "/usr/lib/python2.5/site-packages/boto/connection.py", line 435, in _mexe raise BotoServerError(response.status, response.reason, body) boto.exception.BotoServerError: BotoServerError: 500 Internal Server Error <html><head><title>web.Server Traceback (most recent call last)</title></head><body>web.Server Traceback (most recent call last):

<style type="text/css"> p.error { color: red; font-family: Verdana, Arial, helvetica, sans-serif; font-weight: bold; }

div {
  font-family: Verdana, Arial, helvetica, sans-serif;
}

div.stackTrace {
}

div.frame {
  padding: 1em;
  background: white;
  border-bottom: thin black dashed;
}

div.firstFrame {
  padding: 1em;
  background: white;
  border-top: thin black dashed;
  border-bottom: thin black dashed;
}

div.location {
}

div.snippet {
  margin-bottom: 0.5em;
  margin-left: 1em;
  background: #FFFFDD;
}

div.snippetHighlightLine {
  color: red;
}

span.code {
  font-family: "Courier New", courier, monotype;
}

span.function {
  font-weight: bold;
  font-family: "Courier New", courier, monotype;
}

table.variables {
  border-collapse: collapse;
  margin-left: 1em;
}

td.varName {
  vertical-align: top;
  font-weight: bold;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

td.varValue {
  padding-left: 0.5em;
  padding-right: 0.5em;
}

div.variables {
  margin-bottom: 0.5em;
}

span.heading {
  font-weight: bold;
}

div.dict {
  background: #cccc99;
  padding: 2px;
  float: left;
}

td.dictKey {
  background: #ffff99;
  font-weight: bold;
}

td.dictValue {
  background: #ffff99;
}

div.list {
  background: #7777cc;
  padding: 2px;
  float: left;
}

div.listItem {
  background: #9999ff;
}

div.instance {
  background: #cc7777;
  padding: 2px;
  float: left;
}

span.instanceName {
  font-weight: bold;
  display: block;
}

span.instanceRepr {
  background: #ff9999;
  font-family: "Courier New", courier, monotype;
}

div.function {
  background: orange;
  font-weight: bold;
  float: left;
}

</style>

<type 'exceptions.AttributeError'>: 'module' object has no attribute 'provider'

/usr/lib64/python2.6/site-packages/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/web/server.py, line 124 in process
122    self.postpath = map(unquote, string.split(self.path[1:], '/'))
123    try:
124      resrc = self.site.getResourceFor(self)
125      self.render(resrc)

Self

site
twisted.web.server.Site instance @ 0x6aea680 <twisted.web.server.Site instance at 0x6aea680>
path'/mybucket/'
postpath
List instance @ 0x6bc70e0
''
Locals
self
twisted.web.server.Request instance @ 0x6ae8f80 <GET /mybucket/?max-keys=0 HTTP/1.1>
Globals

unquote<built-in function unquote>
string<module 'string' from '/usr/lib64/python2.6/string.pyc'>

/usr/lib64/python2.6/site-packages/Twisted-10.2.0-py2.6-linux-x86_64.egg/twisted/web/server.py, line 523 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2011-02-28 09:00:04 -0500

janson071 gravatar image

It is just the version of boto, it must to be 1.9b

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-02-28 08:21:08 -0500

Seen: 852 times

Last updated: Feb 28 '11