writer.commit(request.timestamp)#012AttributeError: 'DiskFileWriter' object has no attribute 'commit'

Bug #1452565 reported by Sasikanth Eda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
swiftonfile
In Progress
Medium
Prashanth Pai

Bug Description

Hi,

I have followed the SAIO, swiftonfile instructions and With the latest swift code, i am getting the following error;

object-server: ERROR __call__ error with PUT /vol/1/AUTH_test/con1/file1 : #012Traceback (most recent call last):#012 File "/home/manojkiran/swift/swift/obj/server.py", line 913, in __call__#012 res = method(req)#012 File "/home/manojkiran/swift/swift/common/ utils.py", line 2648, in wrapped#012 return func(*a, **kw)#012 File "/home/manojkiran/swift/swift/common/utils.py", line 1205, in _timing_stats#012 resp = func(ctrl, *args, **kwargs)#012 File "/home/manojkiran/swiftonfile/swiftonfile/swift/obj/server.py", line 68, in PUT#012 return server.ObjectController.PUT(self, request)#012 File "/home/manojkiran/swift/swift/common/utils.py", line 2648, in wrapped#012 return func(*a, **kw)#012 File "/home/manojkiran/swift/swift/common/utils.py", line 1205, in _timing_stats#012 resp = func(ctrl, *args, ** kwargs)#012 File "/home/manojkiran/swift/swift/obj/server.py", line 647, in PUT#012 writer.commit(request.timestamp)#012AttributeError: 'DiskFileWriter' object has no attribute 'commit' (txn: tx0492aad805f548f4a0fc5-0055420e3c)

object-server: 127.0.0.1 - - [30/Apr/2015:11:13:00 +0000] "PUT /vol/1/AUTH_test/con1/file1" 500 896 "PUT http://127.0.0.1:8080/v1/AUTH_test/con1/file1" "tx0492aad805f548f4a0fc5-0055420e3c" "proxy-server 18858" 0.1506 "-" 18888 3

Revision history for this message
Prashanth Pai (ppai) wrote :

Ah, I already have a fix for this that's out on review:

https://review.openstack.org/180468

Changed in swiftonfile:
importance: Undecided → Medium
assignee: nobody → Prashanth Pai (ppai)
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers