API returns UnknownError: An unknown error has occurred. Please try your request again. when describing instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Vish Ishaya |
Bug Description
When describing instances the following stack occurs:
2011-02-10 22:04:07,814 ERROR nova.api [OSE5QAE9DVBA9B
(nova.api): TRACE: Traceback (most recent call last):
(nova.api): TRACE: File "/usr/lib/
(nova.api): TRACE: result = api_request.
(nova.api): TRACE: File "/usr/lib/
(nova.api): TRACE: return {'reservationSet': self._format_
(nova.api): TRACE: File "/usr/lib/
(nova.api): TRACE: floating_addr = fixed['
(nova.api): TRACE: File "/usr/lib/
(nova.api): TRACE: return getattr(self, key)
(nova.api): TRACE: File "/usr/lib/
(nova.api): TRACE: instance_
(nova.api): TRACE: File "/usr/lib/
(nova.api): TRACE: value = callable_
(nova.api): TRACE: File "/usr/lib/
(nova.api): TRACE: (mapperutil.
(nova.api): TRACE: DetachedInstanc
(nova.api): TRACE:
2011-02-10 22:04:07,816 ERROR nova.api [OSE5QAE9DVBA9B
2011-02-10 22:04:07,816 ERROR nova.api [OSE5QAE9DVBA9B
2011-02-10 22:04:07,817 ERROR nova.api [OSE5QAE9DVBA9B
2011-02-10 22:04:07,817 ERROR nova.api [OSE5QAE9DVBA9B
2011-02-10 22:04:07,817 INFO nova.api [OSE5QAE9DVBA9B
2011-02-10 22:04:07,817 INFO nova.api [OSE5QAE9DVBA9B
It only seems to happen with around 7 or more instances running per project, and happens much more frequently with users who do not have is_admin = 1.
Vishy provided the following patch, which appears to fix the issue:
Related branches
- Soren Hansen (community): Approve
- Rick Harris (community): Approve
- Jay Pipes (community): Approve
-
Diff: 51 lines (+6/-0)1 file modifiednova/db/sqlalchemy/api.py (+6/-0)
Changed in nova: | |
importance: | Undecided → High |
status: | New → In Progress |
assignee: | nobody → Vish Ishaya (vishvananda) |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → 2011.2 |
status: | Fix Committed → Fix Released |