Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-15 Thread Jim Rollenhagen
On Thu, Jan 14, 2016 at 11:00:16AM +1300, Robert Collins wrote: > On 8 January 2016 at 08:09, Jim Rollenhagen wrote: > > Hi all, > > > > A change to global-requirements[1] introduces mimic, which is an http > > server that can mock various APIs, including nova and ironic, including > > control of

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-13 Thread Robert Collins
On 8 January 2016 at 08:09, Jim Rollenhagen wrote: > Hi all, > > A change to global-requirements[1] introduces mimic, which is an http > server that can mock various APIs, including nova and ironic, including > control of error codes and timeouts. The ironic team plans to use this > for testing py

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-11 Thread Sean Dague
On 01/08/2016 03:52 PM, Jim Rollenhagen wrote: > On Fri, Jan 08, 2016 at 03:39:51PM -0500, Jay Pipes wrote: >> >> No, nothing nefarious there. Sorry for letting my personal frustrations >> bubble over into this. >> >> I am not blocking anything from going forward and I definitely am not asking >> f

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Jim Rollenhagen
On Fri, Jan 08, 2016 at 03:39:51PM -0500, Jay Pipes wrote: > On 01/08/2016 02:52 PM, Jim Rollenhagen wrote: > >On Fri, Jan 08, 2016 at 02:08:04PM -0500, Jay Pipes wrote: > >>On 01/07/2016 07:38 PM, Jim Rollenhagen wrote: > >snippity snip snip > > > >>>We haven't made it a dep for anything yet, only

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Jay Pipes
On 01/08/2016 02:52 PM, Jim Rollenhagen wrote: On Fri, Jan 08, 2016 at 02:08:04PM -0500, Jay Pipes wrote: On 01/07/2016 07:38 PM, Jim Rollenhagen wrote: snippity snip snip We haven't made it a dep for anything yet, only added to g-r. According to Dims, not to g-r, but to u-c, right Dims? No

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Jim Rollenhagen
On Fri, Jan 08, 2016 at 03:13:15PM -0500, Doug Hellmann wrote: > Excerpts from Jim Rollenhagen's message of 2016-01-08 11:52:51 -0800: > > On Fri, Jan 08, 2016 at 02:08:04PM -0500, Jay Pipes wrote: > > > On 01/07/2016 07:38 PM, Jim Rollenhagen wrote: > > snippity snip snip > > > > > >We haven't ma

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Doug Hellmann
Excerpts from Jim Rollenhagen's message of 2016-01-08 12:30:33 -0800: > On Fri, Jan 08, 2016 at 03:13:15PM -0500, Doug Hellmann wrote: > > Excerpts from Jim Rollenhagen's message of 2016-01-08 11:52:51 -0800: > > > On Fri, Jan 08, 2016 at 02:08:04PM -0500, Jay Pipes wrote: > > > > On 01/07/2016 07:

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Doug Hellmann
Excerpts from Jim Rollenhagen's message of 2016-01-08 11:52:51 -0800: > On Fri, Jan 08, 2016 at 02:08:04PM -0500, Jay Pipes wrote: > > On 01/07/2016 07:38 PM, Jim Rollenhagen wrote: > snippity snip snip > > > >We haven't made it a dep for anything yet, only added to g-r. > > > > According to Dims

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Jim Rollenhagen
On Fri, Jan 08, 2016 at 02:39:52PM -0500, Davanum Srinivas wrote: > yes Jay, i have -W on the bot proposed merge, pending this discussion: > https://review.openstack.org/#/c/263592/ Note that this doesn't actually block mimic from being in g-r, or being used. It's already in g-r. You'd need to rev

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Jim Rollenhagen
On Fri, Jan 08, 2016 at 02:08:04PM -0500, Jay Pipes wrote: > On 01/07/2016 07:38 PM, Jim Rollenhagen wrote: snippity snip snip > >We haven't made it a dep for anything yet, only added to g-r. > > According to Dims, not to g-r, but to u-c, right Dims? Not sure if that > makes functionally any diff

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Davanum Srinivas
yes Jay, i have -W on the bot proposed merge, pending this discussion: https://review.openstack.org/#/c/263592/ -- Dims On Fri, Jan 8, 2016 at 2:08 PM, Jay Pipes wrote: > On 01/07/2016 07:38 PM, Jim Rollenhagen wrote: >> >> On Thu, Jan 07, 2016 at 07:18:15PM -0500, Jay Pipes wrote: >>> >>> On 01

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Doug Hellmann
Excerpts from Jim Rollenhagen's message of 2016-01-07 11:09:32 -0800: > Hi all, > > A change to global-requirements[1] introduces mimic, which is an http > server that can mock various APIs, including nova and ironic, including > control of error codes and timeouts. The ironic team plans to use th

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Doug Hellmann
Excerpts from Jim Rollenhagen's message of 2016-01-08 09:56:46 -0800: > On Fri, Jan 08, 2016 at 11:00:35AM +0100, Thierry Carrez wrote: > > Jim Rollenhagen wrote: > > >[...] > > >Here's the catch - mimic is built on twisted. I know twisted was > > >previously removed from OpenStack (or at least peo

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread gord chung
On 08/01/16 04:49 AM, Julien Danjou wrote: On Thu, Jan 07 2016, Jay Pipes wrote: OK, I just watched that. Sorry, still don't see the value that Mimic provides over unit testing the client interfaces and mocking out the HTTP payloads so you have strict control over the expectations. The probl

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Ben Meyer
On 01/08/2016 12:56 PM, Jim Rollenhagen wrote: > On Fri, Jan 08, 2016 at 11:00:35AM +0100, Thierry Carrez wrote: >> Jim Rollenhagen wrote: >>> [...] >>> Here's the catch - mimic is built on twisted. I know twisted was >>> previously removed from OpenStack (or at least people said "pls no", I >>> do

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Jay Pipes
On 01/07/2016 07:38 PM, Jim Rollenhagen wrote: On Thu, Jan 07, 2016 at 07:18:15PM -0500, Jay Pipes wrote: On 01/07/2016 06:42 PM, Jim Rollenhagen wrote: On Thu, Jan 07, 2016 at 03:32:39PM -0500, Jay Pipes wrote: On 01/07/2016 03:01 PM, Jim Rollenhagen wrote: On Thu, Jan 07, 2016 at 02:41:12PM

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Jim Rollenhagen
On Fri, Jan 08, 2016 at 11:00:35AM +0100, Thierry Carrez wrote: > Jim Rollenhagen wrote: > >[...] > >Here's the catch - mimic is built on twisted. I know twisted was > >previously removed from OpenStack (or at least people said "pls no", I > >don't know the full history). We didn't intend to stealt

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Ben Meyer
On 01/07/2016 06:28 PM, Jay Pipes wrote: > On 01/07/2016 06:12 PM, Ben Meyer wrote: >> On 01/07/2016 03:32 PM, Jay Pipes wrote: >>> On 01/07/2016 03:01 PM, Jim Rollenhagen wrote: On Thu, Jan 07, 2016 at 02:41:12PM -0500, Sean Dague wrote: > On 01/07/2016 02:09 PM, Jim Rollenhagen wrote: >>

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Thierry Carrez
Jim Rollenhagen wrote: [...] Here's the catch - mimic is built on twisted. I know twisted was previously removed from OpenStack (or at least people said "pls no", I don't know the full history). We didn't intend to stealth-introduce twisted back into g-r, but it was pointed out to me that it may

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-08 Thread Julien Danjou
On Thu, Jan 07 2016, Jay Pipes wrote: > OK, I just watched that. Sorry, still don't see the value that Mimic provides > over unit testing the client interfaces and mocking out the HTTP payloads so > you have strict control over the expectations. > > The problem that Glyph noted in the video about

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-07 Thread Ian Cordasco
-Original Message- From: David Stanek Reply: OpenStack Development Mailing List (not for usage questions) Date: January 7, 2016 at 18:14:23 To: OpenStack Development Mailing List (not for usage questions) Subject:  Re: [openstack-dev] [all] re-introducing twisted to global

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-07 Thread Jim Rollenhagen
On Thu, Jan 07, 2016 at 07:18:15PM -0500, Jay Pipes wrote: > On 01/07/2016 06:42 PM, Jim Rollenhagen wrote: > >On Thu, Jan 07, 2016 at 03:32:39PM -0500, Jay Pipes wrote: > >>On 01/07/2016 03:01 PM, Jim Rollenhagen wrote: > >>>On Thu, Jan 07, 2016 at 02:41:12PM -0500, Sean Dague wrote: > On 01/0

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-07 Thread Jay Pipes
On 01/07/2016 06:42 PM, Jim Rollenhagen wrote: On Thu, Jan 07, 2016 at 03:32:39PM -0500, Jay Pipes wrote: On 01/07/2016 03:01 PM, Jim Rollenhagen wrote: On Thu, Jan 07, 2016 at 02:41:12PM -0500, Sean Dague wrote: On 01/07/2016 02:09 PM, Jim Rollenhagen wrote: Hi all, A change to global-requi

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-07 Thread David Stanek
On Thu, Jan 7, 2016 at 3:01 PM, Jim Rollenhagen wrote: > We'd be using this for functional tests, not unit, where we can't really > inject mocks. The idea is that we could run a full functional suite > against either mimic or a full ironic environment, just by changing a > test setting. > I'm as

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-07 Thread Jim Rollenhagen
On Thu, Jan 07, 2016 at 03:32:39PM -0500, Jay Pipes wrote: > On 01/07/2016 03:01 PM, Jim Rollenhagen wrote: > >On Thu, Jan 07, 2016 at 02:41:12PM -0500, Sean Dague wrote: > >>On 01/07/2016 02:09 PM, Jim Rollenhagen wrote: > >>>Hi all, > >>> > >>>A change to global-requirements[1] introduces mimic,

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-07 Thread Jay Pipes
On 01/07/2016 06:12 PM, Ben Meyer wrote: On 01/07/2016 03:32 PM, Jay Pipes wrote: On 01/07/2016 03:01 PM, Jim Rollenhagen wrote: On Thu, Jan 07, 2016 at 02:41:12PM -0500, Sean Dague wrote: On 01/07/2016 02:09 PM, Jim Rollenhagen wrote: Hi all, A change to global-requirements[1] introduces mi

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-07 Thread Ben Meyer
On 01/07/2016 03:32 PM, Jay Pipes wrote: > On 01/07/2016 03:01 PM, Jim Rollenhagen wrote: >> On Thu, Jan 07, 2016 at 02:41:12PM -0500, Sean Dague wrote: >>> On 01/07/2016 02:09 PM, Jim Rollenhagen wrote: Hi all, A change to global-requirements[1] introduces mimic, which is an http >>

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-07 Thread Jay Faulkner
issues we might suss out. Thanks, Jay Faulkner From: Dmitry Tantsur Sent: Thursday, January 7, 2016 11:35 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [all] re-introducing twisted to global-requirements 2016-0

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-07 Thread Jay Pipes
On 01/07/2016 03:01 PM, Jim Rollenhagen wrote: On Thu, Jan 07, 2016 at 02:41:12PM -0500, Sean Dague wrote: On 01/07/2016 02:09 PM, Jim Rollenhagen wrote: Hi all, A change to global-requirements[1] introduces mimic, which is an http server that can mock various APIs, including nova and ironic,

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-07 Thread Ben Meyer
On 01/07/2016 02:41 PM, Sean Dague wrote: > On 01/07/2016 02:09 PM, Jim Rollenhagen wrote: >> Hi all, >> >> A change to global-requirements[1] introduces mimic, which is an http >> server that can mock various APIs, including nova and ironic, including >> control of error codes and timeouts. The ir

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-07 Thread Jim Rollenhagen
On Thu, Jan 07, 2016 at 02:41:12PM -0500, Sean Dague wrote: > On 01/07/2016 02:09 PM, Jim Rollenhagen wrote: > > Hi all, > > > > A change to global-requirements[1] introduces mimic, which is an http > > server that can mock various APIs, including nova and ironic, including > > control of error co

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-07 Thread Davanum Srinivas
A bit more information. the dependency for twisted is not in global-requirements.txt, it will be only added to upper-constraints.txt when the CI job/bot proposes it next. Thanks, Dims On Thu, Jan 7, 2016 at 2:09 PM, Jim Rollenhagen wrote: > Hi all, > > A change to global-requirements[1] introduc

Re: [openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-07 Thread Dmitry Tantsur
2016-01-07 20:09 GMT+01:00 Jim Rollenhagen : > Hi all, > > A change to global-requirements[1] introduces mimic, which is an http > server that can mock various APIs, including nova and ironic, including > control of error codes and timeouts. The ironic team plans to use this > for testing python-i

[openstack-dev] [all] re-introducing twisted to global-requirements

2016-01-07 Thread Jim Rollenhagen
Hi all, A change to global-requirements[1] introduces mimic, which is an http server that can mock various APIs, including nova and ironic, including control of error codes and timeouts. The ironic team plans to use this for testing python-ironicclient without standing up a full ironic environment