[openstack-dev] [metering] flask or openstack style wsgi.py

Angus Salkeld asalkeld at redhat.com
Mon Sep 10 11:58:32 UTC 2012


On 10/09/12 07:23 -0400, Doug Hellmann wrote:
>
>
>On Sep 10, 2012, at 5:23 AM, Julien Danjou <julien at danjou.info> wrote:
>
>> On Mon, Sep 10 2012, Angus Salkeld wrote:
>>
>>> How do you guys feel about me changing flask to a more openstack style
>>> wsgi implementation? So the suggestion is not flask sucks, but it is not
>>> used anywhere else. We should really use it everywhere or nowhere. I think
>>> the consistency across the openstack projects is really nice for people
>>> that work across projects.
>>
>> Sure, one of our principles is to blend with others OS projects, so
>> obviously Flask choice can seem weird.
>>
>> But actually, IIRC, I've discussed this with Doug, and we decided to go
>> with Flask because it seemed that WSGI was a dead-end, and that other
>> projects would be moving away from it. So what's the roadmap for other
>> projects about this?
>
>Not WSGI, paste.deploy. At the last summit we discussed dropping paste because it does not have python 3 support. No timetable was set.
>
>I pushed the use of flask in ceilometer because when I looked at the WSGI libraries in nova they were not available in common and I didn't feel I had time to figure out which bits needed to be extracted to copy them into our project. I also found them to be more complex than I wanted to deal with, since I didn't find any tutorials for using them.

Yea, I was going to start on this blueprint soon:
https://blueprints.launchpad.net/openstack-common/+spec/wsgi-common
but if this is the case (moving away from wsgi.py) then this probably needs to be
scrapped.

Is there a wiki page/blueprint somewhere that explains this decision?

-Angus

>
>Why does openstack have it's own WSGI library? Does it provide special features necessary for making openstack services?
>
>Doug
>
>>
>> --
>> Julien Danjou
>> # Free Software hacker & freelance
>> # http://julien.danjou.info
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>_______________________________________________
>OpenStack-dev mailing list
>OpenStack-dev at lists.openstack.org
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list