euca-describe-images: UnknownError: An unknown error has occurred. Please try your request again.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I was following the tutorial(http://
euca-describe-
UnknownError: An unknown error has occurred. Please try your request again.
running uec-publish-tarball also failed:
Unable to run euca-describe-
euca2ools environment has been set up by running 'source novarc'.
in the log file,
(nova.api): TRACE: File "/usr/local/
(nova.api): TRACE: raise exception.NotFound
these are lines around line 146:
117 if hasattr(body, 'read') and method.lower() in ('post', 'put'):
118 # Chunk it, baby...
119 c.putrequest(
120
121 for header, value in headers.items():
122 c.putheader(header, value)
123 c.putheader(
124 c.endheaders()
125
126 chunk = body.read(
127 while chunk:
128 c.send(
129 chunk = body.read(
130 c.send('0\r\n\r\n')
131 else:
132 # Simple request...
133 c.request(method, action, body, headers)
134 res = c.getresponse()
135 status_code = self.get_
136 if status_code in (httplib.OK,
137 httplib.CREATED,
138 httplib.ACCEPTED,
139 httplib.
140 return res
141 elif status_code == httplib.
142 raise exception.
143 elif status_code == httplib.FORBIDDEN:
144 raise exception.
145 elif status_code == httplib.NOT_FOUND:
146 raise exception.NotFound
147 elif status_code == httplib.CONFLICT:
148 raise exception.
149 elif status_code == httplib.
150 raise exception.
151 elif status_code == httplib.
152 raise Exception("Internal Server error: %s" % res.read())
153 else:
154 raise Exception("Unknown error occurred! %s" % res.read())
but I do not kown whats not found.
this is the full log:
2011-07-31 14:47:07,994 DEBUG nova.auth.manager [-] Looking up user: '2b447c65-
2011-07-31 14:47:07,996 DEBUG nova.auth.manager [-] user: User('swsuser', 'swsuser', '2b447c65-
2011-07-31 14:47:08,006 DEBUG nova.signer [-] using _calc_signature_2 from (pid=19204) _calc_signature_2 /home/joychan/
2011-07-31 14:47:08,006 DEBUG nova.signer [-] query string: AWSAccessKeyId=
2011-07-31 14:47:08,007 DEBUG nova.signer [-] string_to_sign: GET
192.168.1.106:8773
/services/Cloud/
AWSAccessKeyId=
2011-07-31 14:47:08,007 DEBUG nova.signer [-] len(b64)=44 from (pid=19204) _calc_signature_2 /home/joychan/
2011-07-31 14:47:08,007 DEBUG nova.signer [-] base64 encoded digest: f/J9EZgXGncf79T
2011-07-31 14:47:08,007 DEBUG nova.auth.manager [-] user.secret: d6671681-
2011-07-31 14:47:08,007 DEBUG nova.auth.manager [-] expected_signature: f/J9EZgXGncf79T
2011-07-31 14:47:08,007 DEBUG nova.auth.manager [-] signature: f/J9EZgXGncf79T
2011-07-31 14:47:08,008 AUDIT nova.api [c759a440-
2011-07-31 14:47:08,008 DEBUG nova.api [-] action: DescribeImages from (pid=19204) __call__ /home/joychan/
2011-07-31 14:47:08,008 DEBUG nova.api [-] arg: Owner.1 val: self from (pid=19204) __call__ /home/joychan/
2011-07-31 14:47:08,011 ERROR nova.api [c759a440-
(nova.api): TRACE: Traceback (most recent call last):
(nova.api): TRACE: File "/home/
(nova.api): TRACE: result = api_request.
(nova.api): TRACE: File "/home/
(nova.api): TRACE: result = method(context, **args)
(nova.api): TRACE: File "/home/
(nova.api): TRACE: images = self.image_
(nova.api): TRACE: File "/home/
(nova.api): TRACE: return self.service.
(nova.api): TRACE: File "/home/
(nova.api): TRACE: limit=limit)
(nova.api): TRACE: File "/usr/local/
(nova.api): TRACE: res = self.do_
(nova.api): TRACE: File "/usr/local/
(nova.api): TRACE: headers, params)
(nova.api): TRACE: File "/usr/local/
(nova.api): TRACE: raise exception.NotFound
(nova.api): TRACE: NotFound: None
(nova.api): TRACE:
2011-07-31 14:47:08,012 ERROR nova.api [c759a440-
2011-07-31 14:47:08,012 ERROR nova.api [c759a440-
2011-07-31 14:47:08,013 INFO nova.api [c759a440-
This tutorial applies to Cactus. What version are you trying to install ?