Attempt to delete archive policy used by archive-policy-rule returns 500 error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnocchi |
Fix Released
|
High
|
Mehdi Abaakouk | ||
2.1 |
In Progress
|
Undecided
|
Julien Danjou |
Bug Description
During attempt to delete archive-policy used by archive-policy-rule got 500 error response:
gnocchi archive-policy delete gabbilive
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
(HTTP 500)
Excerpt from gnocchi/api.log:
2016-04-13 05:16:30.110 7997 DEBUG oslo_policy.policy [-] Reloaded policy file: /etc/gnocchi/
2016-04-13 05:16:30.142 7997 INFO werkzeug [-] 192.168.1.13 - - [13/Apr/2016 05:16:30] "DELETE /v1/archive_
2016-04-13 05:16:30.165 7997 ERROR werkzeug [-] Error on request:
Traceback (most recent call last):
File "/usr/lib/
execute(
File "/usr/lib/
application
File "/usr/lib/
return self.app(environ, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
return self.applicatio
File "/usr/lib/
return self.app(environ, start_response)
File "/usr/lib/
return self.applicatio
File "/usr/lib/
return super(Pecan, self)._
File "/usr/lib/
self.
File "/usr/lib/
result = controller(*args, **kwargs)
File "/usr/lib/
pecan.
ArchivePoli
File "/usr/lib64/
delete_
File "/usr/lib64/
self._do_exec()
File "/usr/lib64/
mapper=
File "/usr/lib64/
bind, close_with_
File "/usr/lib64/
return meth(self, multiparams, params)
File "/usr/lib64/
return connection.
File "/usr/lib64/
compiled_sql, distilled_params
File "/usr/lib64/
context)
File "/usr/lib64/
util.
File "/usr/lib64/
reraise(
File "/usr/lib64/
context)
File "/usr/lib64/
cursor.
File "/usr/lib64/
self.
File "/usr/lib64/
raise errorclass, errorvalue
DBReferenceError: (_mysql_
cy_name_
(self.archive_
Packages:
python-
openstack-
openstack-
python-
openstack-
openstack-
openstack-
openstack-
---
Regards,
Yurii
Changed in gnocchi: | |
importance: | Undecided → High |
Changed in gnocchi: | |
status: | Fix Committed → Fix Released |
milestone: | none → 2.2.0 |
Fix proposed to branch: master /review. openstack. org/305070
Review: https:/