Merge lp:~soren/nova/twisted-web-s3-server into lp:~hudson-openstack/nova/trunk
| Status: | Merged |
|---|---|
| Approved by: | Monty Taylor on 2010-07-18 |
| Approved revision: | no longer in the revision history of the source branch. |
| Merged at revision: | 146 |
| Proposed branch: | lp:~soren/nova/twisted-web-s3-server |
| Merge into: | lp:~hudson-openstack/nova/trunk |
| Diff against target: |
618 lines (+225/-259) 7 files modified
bin/nova-objectstore (+13/-14) debian/control (+1/-1) debian/nova-objectstore.install (+0/-1) debian/nova-objectstore.links (+0/-1) debian/nova-objectstore.nginx.conf (+0/-17) nova/flags.py (+0/-1) nova/objectstore/handler.py (+211/-224) |
| To merge this branch: | bzr merge lp:~soren/nova/twisted-web-s3-server |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| justinsb (community) | Needs Fixing on 2010-07-19 | ||
| Vish Ishaya (community) | 2010-07-18 | Approve on 2010-07-18 | |
|
Review via email:
|
|||
Commit Message
Replace tornado objectstore with twisted web.
Description of the Change
This branch replaces the tornado driven objectstore with a twisted web based one.
| Soren Hansen (soren) wrote : | # |
Merge errors? I don't see them, sorry.
Yes, I've tested this and it works great.
| Soren Hansen (soren) wrote : | # |
Oh, wow, yeah, I see them now. *blush* I'll fix.
| Soren Hansen (soren) wrote : | # |
Uh... I don't know what's going on, but I seriously don't see those merge problems when I check out the code.
| Vish Ishaya (vishvananda) wrote : | # |
checkout newest lp:nova and merge it into your branch and you should see the merge errors
| Soren Hansen (soren) wrote : | # |
Apparantly, it's intentional. It shows the merge conflicts that would appear when merging with the target branch. Kind of cool, kind of surprising :) I've merged with the trunk and pushed again. Please re-review.
- 146. By Soren Hansen on 2010-07-18
-
Replace tornado objectstore with twisted web.
| justinsb (justin-fathomdb) wrote : | # |
Bug in line 537?
images = [i for i in image.Image.all() if i.is_authorized
Shouldn't this be...
images = [i for i in image.Image.all() if i.is_authorized
| justinsb (justin-fathomdb) wrote : | # |
Inherited from the old code, but this is probably the time to clean it up:
1) If the Authorization header is not set, this throws a 500 error, where it should raise exception.
Presumably the except clause needs to be broader than "except exception.Error, ex:"
2) Should we be using the 'modern' exception syntax "exception exception.Error as ex"? http://
3) There's a pretty big FIXME in there "# FIXME: check signature here!" - presumably we should open a bug for that...
| justinsb (justin-fathomdb) wrote : | # |
Missing call to request.finish() in render_GET in ImageResource
+ request.finish()
return server.NOT_DONE_YET


Looks good aside from the merge errors. Have you tested to make sure running instances still works with the twisted version?