Re: [openstack-dev] [nova] generate_sample.sh

2013-07-26 Thread Tian, Shuangtai
Recently,generate_sample.sh had been changed . look the help. For example, try run "./tools/config/generate_sample.sh -b ./ -p nova -o ./etc/nova" and commit the changes in nova.conf.sample From: Haomai Wang [mailto:hao...@unitedstack.com] Sent: Friday, July 26, 2013 2:50 PM To: OpenStack Develop

Re: [openstack-dev] [nova] generate_sample.sh

2013-07-26 Thread Haomai Wang
2013-7-26,3:11 pm,"Tian, Shuangtai" Wrote: > Recently,generate_sample.sh had been changed . look the help. > For example, try run "./tools/config/generate_sample.sh -b ./ -p nova -o > ./etc/nova" and commit the changes in nova.conf.sample I don't know why I can't run command as expected see belo

Re: [openstack-dev] [nova] generate_sample.sh

2013-07-26 Thread Tian, Shuangtai
Hi, I do not know why , Mybe the patch https://review.openstack.org/#/c/38418/ have someone else to approve , You can try this ./tools/config/generate_sample.sh -b /opt/stack/nova -o ./etc/nova ,that’s ok to me. From: Haomai Wang [mailto:hao...@unitedstack.com] Sent: Friday, July 26, 2013 3:1

Re: [openstack-dev] Usage of mox through out the Openstack project.

2013-07-26 Thread Roman Bogorodskiy
Alex Meade wrote: > +1 to everything Russell just said and of course Blueprints for this. One for > #3 (changing from mox -> Mock) would be good so that anyone who is bored or > finds this urgent can collaborate. Also, we need to make sure reviewers are > aware (Hopefully they are reading thi

Re: [openstack-dev] Python 3

2013-07-26 Thread Doug Hellmann
On Wed, Jul 24, 2013 at 2:43 PM, Brian Curtin wrote: > On Jul 24, 2013, at 1:27 PM, Eric Windisch > wrote: > > > Speaking of preferred ways to port, has there been any discussion about >> which version takes precedence when we have to do different things? For >> example, with imports, should

[openstack-dev] Stuck trying to add a V3 plugin

2013-07-26 Thread Day, Phil
Hi Folks, I'm trying to add a v3 plugin as part of the scheduler hints API BP - but although I've created the file in plugins/v3 and it looks OK compared to all the others in there it doesn't even get turned into a .pyc in Devstack - so its as if the API loaded just doesn't see that file at all

Re: [openstack-dev] [Openstack-dev][nova] Disable per-user rate limiting by default

2013-07-26 Thread Day, Phil
> You mean process/forking API right? Right - proper threading ;-) From: Joshua Harlow [mailto:harlo...@yahoo-inc.com] Sent: 26 July 2013 01:25 To: OpenStack Development Mailing List; Day, Phil Subject: Re: [openstack-dev] [Openstack-dev][nova] Disable per-user rate limiting by default You mean

Re: [openstack-dev] Discussing Amazon API compatibility [Nova][Swift]

2013-07-26 Thread Sean Dague
On 07/25/2013 08:30 PM, Joshua Harlow wrote: When you have so much state to maintain then aren't the APIs incorrect?? Yes, the EC2 APIs are incorrect in being silly and using ints for ids for so many things, also for supporting people to make GET requests with 16k get strings. But there isn't

Re: [openstack-dev] Python overhead for rootwrap

2013-07-26 Thread Sean Dague
On 07/25/2013 05:43 PM, Thierry Carrez wrote: Russell Bryant wrote: On 07/25/2013 04:40 PM, Mike Wilson wrote: In my opinion: 1. Stop using rootwrap completely and get strong argument checking support into sudo (regex). 2. Some sort of long lived rootwrap process, either forked by the service

[openstack-dev] Final decision on scope of v3 API ?

2013-07-26 Thread Day, Phil
Hi Folks, Finally got around to looking at some of the things I've added to the V2 api and wanted to move to V3 - and I'm confused about what is and isn't going to be moved from being an extension. For example: - I added the extended_floating_ip extension to allow an floating IP to

Re: [openstack-dev] Usage of mox through out the Openstack project.

2013-07-26 Thread Russell Bryant
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/26/2013 05:35 AM, Roman Bogorodskiy wrote: > Alex Meade wrote: > >> +1 to everything Russell just said and of course Blueprints for >> this. One for #3 (changing from mox -> Mock) would be good so >> that anyone who is bored or finds this urgent

Re: [openstack-dev] Quick README? (Re: [vmware] VMwareAPI sub-team status update 2013-07-22)

2013-07-26 Thread Davanum Srinivas
Shawn, Dan, What are the versions of ESX and vCenter that should work by the time Havana gets out? Havana Trunk->ESX 4.1 and Havana Trunk->vSphere 4.1->ESX 4.1 do not seem to work. I was only able to get Havana Trunk->vCenter 5.1->ESX 5.1 to work. thanks, dims On Wed, Jul 24, 2013 at 1:10 PM, S

Re: [openstack-dev] Final decision on scope of v3 API ?

2013-07-26 Thread Christopher Yeoh
Hi Phil, On Fri, Jul 26, 2013 at 9:55 PM, Day, Phil wrote: > Hi Folks, > > ** ** > > Finally got around to looking at some of the things I’ve added to the V2 > api and wanted to move to V3 – and I’m confused about what is and isn’t > going to be moved from being an extension. For example:*

Re: [openstack-dev] Stuck trying to add a V3 plugin

2013-07-26 Thread Christopher Yeoh
On Fri, Jul 26, 2013 at 8:58 PM, Day, Phil wrote: > Hi Folks, > > ** ** > > I’m trying to add a v3 plugin as part of the scheduler hints API BP – but > although I’ve created the file in plugins/v3 and it looks OK compared to > all the others in there it doesn’t even get turned into a .pyc in

Re: [openstack-dev] [Heat] Multi region support for Heat

2013-07-26 Thread Zane Bitter
On 25/07/13 19:07, Bartosz Górski wrote: We want to start from something simple. At the beginning we are assuming no dependencies between resources from different region. Our first use case (the one on the wikipage) uses this assumptions. So this is why it can be easily split on two separate sing

[openstack-dev] Swift functional tests on gating

2013-07-26 Thread Chmouel Boudjnah
Hello, Just letting you know all that we have now the swift functional tests gating on jenkins . - They are non-voting. - They are run on devstack (i.e: not swaio). - V2 and V1 are run (and configured) together on that devstack in that order. - The swift configured in devstack is standard using t

Re: [openstack-dev] Swift functional tests on gating

2013-07-26 Thread Sean Dague
On 07/26/2013 09:49 AM, Chmouel Boudjnah wrote: Hello, Just letting you know all that we have now the swift functional tests gating on jenkins . - They are non-voting. - They are run on devstack (i.e: not swaio). - V2 and V1 are run (and configured) together on that devstack in that order. - Th

Re: [openstack-dev] Stuck trying to add a V3 plugin

2013-07-26 Thread Day, Phil
Yep - was missing the need to change setup.cfg - Thanks Chris One to look out for when adding V3 extensions ;-) From: Christopher Yeoh [mailto:cbky...@gmail.com] Sent: 26 July 2013 14:19 To: OpenStack Development Mailing List Subject: Re: [openstack-dev] Stuck trying to add a V3 plugin On Fri, J

Re: [openstack-dev] [Stackalytics] 0.1 release [metrics]

2013-07-26 Thread Thierry Carrez
Stefano Maffulli wrote: > On 07/23/2013 07:25 AM, Roman Prykhodchenko wrote: >> I still think counting lines of code is evil because it might encourage >> some developers to write longer code just for statistics. > > Data becomes evil when you decide to use them for evil purposes :) I > don't thin

Re: [openstack-dev] [nova] generate_sample.sh

2013-07-26 Thread Ben Nemec
This: bnemec@openstack:/opt/stack/nova$ tools/config/generate_sample.sh -b . -p nova -o etc/nova Results in this for me: -#control_exchange=openstack +#control_exchange=nova Which breaks Jenkins. I was thinking I would try to take a look and figure out why it wants to change that since I w

Re: [openstack-dev] A vision for Keystone

2013-07-26 Thread Brad Topol
Agreed, but the history portion of what you wrote that that takes us from the beginning to where we are now today has all been implemented. That portion I thought could be added to the project as it really tells a nice narrative of why what you see in the keystone code base is actually there.

Re: [openstack-dev] [nova] generate_sample.sh

2013-07-26 Thread Ben Nemec
Okay, I found my problem. My dev vm's hostname is "openstack", which causes problems in _sanitize_defaults due to this: elif s == socket.gethostname(): return 'nova' I can just change my hostname to fix it, but I would expect that this is going to come up on a regular basis (I can't be th

Re: [openstack-dev] Python overhead for rootwrap

2013-07-26 Thread Jay Pipes
On 07/25/2013 04:21 PM, Joe Gordon wrote: Hi All, We have recently hit some performance issues with nova-network. It turns out the root cause of this was we do roughly 20 rootwrapped shell commands, many inside of global locks. (https://bugs.launchpad.net/oslo/+bug/1199433) It turns out starti

Re: [openstack-dev] Discussing Amazon API compatibility [Nova][Swift]

2013-07-26 Thread Jay Pipes
On 07/26/2013 08:04 AM, Sean Dague wrote: On 07/25/2013 08:30 PM, Joshua Harlow wrote: When you have so much state to maintain then aren't the APIs incorrect?? Yes, the EC2 APIs are incorrect in being silly and using ints for ids for so many things, also for supporting people to make GET reque

Re: [openstack-dev] Discussing Amazon API compatibility [Nova][Swift]

2013-07-26 Thread Ben Nemec
On 2013-07-26 10:39, Jay Pipes wrote: On 07/26/2013 08:04 AM, Sean Dague wrote: On 07/25/2013 08:30 PM, Joshua Harlow wrote: When you have so much state to maintain then aren't the APIs incorrect?? Yes, the EC2 APIs are incorrect in being silly and using ints for ids for so many things, also

Re: [openstack-dev] [Openstack] Deferred delete(soft delete) reclaim interval

2013-07-26 Thread Tiantian Gao
+1 Good point! Brian, The API looks great! Hoping more stackers agree with it. 2013/7/26 Brian Lamar > Hello! I have some comments below, but you might also consider posting > this question to > openstack-dev@lists.openstack.**orgas I'd > be curious as to the developer opinion on this questi

Re: [openstack-dev] [OpenStack][Cinder] Driver qualification

2013-07-26 Thread Mike Perez
On Thu, Jul 25, 2013 at 5:44 PM, John Griffith wrote: > Hey Everyone, > > Something I've been kicking around for quite a while now but never really > been able to get around to is the idea of requiring that drivers in Cinder > run a qualification test and submit results prior to introduction in to

Re: [openstack-dev] A simple way to improve nova scheduler

2013-07-26 Thread Clint Byrum
Excerpts from Joe Gordon's message of 2013-07-24 11:43:46 -0700: > On Wed, Jul 24, 2013 at 12:24 PM, Russell Bryant wrote: > > > On 07/23/2013 06:00 PM, Clint Byrum wrote: > > > This is really interesting work, thanks for sharing it with us. The > > > discussion that has followed has brought up s

Re: [openstack-dev] A vision for Keystone

2013-07-26 Thread Miller, Mark M (EB SW Cloud - R&D - Corvallis)
Adam, Which Havana Blueprint provides support for the feature you mention in your article below? To move beyond bearer tokens requires multiple steps. In order to link the token to a user, the user needs to use a secure authentication mechanism, and then link the token to that mechanism. A mec

Re: [openstack-dev] [Heat] Multi region support for Heat

2013-07-26 Thread Clint Byrum
Excerpts from Zane Bitter's message of 2013-07-26 06:37:09 -0700: > On 25/07/13 19:07, Bartosz Górski wrote: > > We want to start from something simple. At the beginning we are assuming > > no dependencies between resources from different region. Our first use > > case (the one on the wikipage) use

Re: [openstack-dev] [nova] generate_sample.sh

2013-07-26 Thread Ben Nemec
Fix proposed for the hostname conflict issue: https://review.openstack.org/#/c/38837/ -Ben On 2013-07-26 10:14, Ben Nemec wrote: Okay, I found my problem. My dev vm's hostname is "openstack", which causes problems in _sanitize_defaults due to this: elif s == socket.gethostname(): return

Re: [openstack-dev] A vision for Keystone

2013-07-26 Thread Adam Young
On 07/26/2013 12:26 PM, Miller, Mark M (EB SW Cloud - R&D - Corvallis) wrote: Adam, Which Havana Blueprint provides support for the feature you mention in your article below? https://blueprints.launchpad.net/keystone/+spec/authentication-tied-to-token It has been implemented, so it doesn't

[openstack-dev] [Glance] property protections -- final call for comments

2013-07-26 Thread stuart . mclaren
Hi Brian, Firstly, thanks for all your great work here! Some feedback: 1) Is there a clash with existing user properties? For currently deployed systems a user may have an existing property 'foo: bar'. If we restrict property access (by virtue of allowing only owner_xxx) can the user update th

Re: [openstack-dev] [Openstack-dev][nova] Disable per-user rate limiting by default

2013-07-26 Thread Jay Pipes
On 07/25/2013 08:24 PM, Joshua Harlow wrote: You mean process/forking API right? Honestly I'd sort of think the whole limits.py that is this rate-limiting could also be turned off by default (or a log warn message occurs) when multi-process nova-api is used since the control for that paste modul

Re: [openstack-dev] Discussing Amazon API compatibility [Nova][Swift]

2013-07-26 Thread Jay Pipes
On 07/26/2013 11:53 AM, Ben Nemec wrote: On 2013-07-26 10:39, Jay Pipes wrote: On 07/26/2013 08:04 AM, Sean Dague wrote: On 07/25/2013 08:30 PM, Joshua Harlow wrote: When you have so much state to maintain then aren't the APIs incorrect?? Yes, the EC2 APIs are incorrect in being silly and us

Re: [openstack-dev] A vision for Keystone

2013-07-26 Thread Anne Gentle
On Fri, Jul 26, 2013 at 10:03 AM, Brad Topol wrote: > Agreed, but the history portion of what you wrote that that takes us from > the beginning to where we are now today has all been implemented. That > portion I thought could be added to the project as it really tells a nice > narrative of why

Re: [openstack-dev] Discussing Amazon API compatibility [Nova][Swift]

2013-07-26 Thread George Reese
If you are not representing IDs the same way in both APIs, you are doing it wrong. Two systems need to be able to identify a common reference without knowing what underlying API is in use. -George On Jul 26, 2013, at 12:36 AM, Michael Still wrote: > On Fri, Jul 26, 2013 at 8:30 AM, Russell B

Re: [openstack-dev] Discussing Amazon API compatibility [Nova][Swift]

2013-07-26 Thread Russell Bryant
On 07/26/2013 11:53 AM, Ben Nemec wrote: > On 2013-07-26 10:39, Jay Pipes wrote: >> On 07/26/2013 08:04 AM, Sean Dague wrote: >>> On 07/25/2013 08:30 PM, Joshua Harlow wrote: When you have so much state to maintain then aren't the APIs incorrect?? >>> >>> Yes, the EC2 APIs are incorrect i

Re: [openstack-dev] Discussing Amazon API compatibility [Nova][Swift]

2013-07-26 Thread Justin Santa Barbara
> > I think that there is a new driver > for amazon compatibility that has shown up recently: Netflix's efforts > to make their software stack Open Source[1] > ... > There are a couple of approaches here: one is to change the the other > open source software to use openstack apis natively. I think

Re: [openstack-dev] [Keystone] Alembic support

2013-07-26 Thread Dolph Mathews
Based on the docs, it looks like you need to start with separate sqlalchemy engines with their own metadata instances for each environment you want to migrate. That sounds like a significant refactor from where we are today (everything shares keystone.common.sql.core.ModelBase). On Thu, Jul 25, 2

Re: [openstack-dev] [tripleo] removing sudoers.d rules from disk-image-builder

2013-07-26 Thread Clint Byrum
Excerpts from Robert Collins's message of 2013-07-25 15:39:13 -0700: > On 26 July 2013 10:19, Thierry Carrez wrote: > > Chris Jones wrote: > >> I agree with your analysis of the effects of the sudoers file and I > >> think it makes a great argument for recommending people run the main > >> command

Re: [openstack-dev] [Keystone] Alembic support

2013-07-26 Thread Doug Hellmann
It makes sense, though, if the data is going to be (potentially) coming from separate databases. Is that any different for sqlalchemy-migrate? As far as tracking the separate migrations for the different schemas, that's handled by running "alembic init" for each schema to create a different enviro

Re: [openstack-dev] Discussing Amazon API compatibility [Nova][Swift]

2013-07-26 Thread Mark Collier
Great idea Justin and you're just the stacker to do it :) I believe Everett Toews has done some work on this. On Friday, July 26, 2013 12:44pm, "Justin Santa Barbara" said: I think that there is a new driverfor amazon compatibility that has shown up recently: Netflix's efforts to ma

Re: [openstack-dev] [Openstack-dev][nova] Disable per-user rate limiting by default

2013-07-26 Thread Jonathan Proulx
On Fri, Jul 26, 2013 at 1:01 PM, Jay Pipes wrote: > On 07/25/2013 08:24 PM, Joshua Harlow wrote: > >> You mean process/forking API right? >> >> Honestly I'd sort of think the whole limits.py that is this >> rate-limiting could also be turned off by default (or a log warn message >> occurs) when m

Re: [openstack-dev] [Keystone] Alembic support

2013-07-26 Thread Dolph Mathews
On Fri, Jul 26, 2013 at 12:55 PM, Doug Hellmann wrote: > It makes sense, though, if the data is going to be (potentially) coming > from separate databases. Is that any different for sqlalchemy-migrate? > > As far as tracking the separate migrations for the different schemas, > that's handled by r

Re: [openstack-dev] [Keystone] Alembic support

2013-07-26 Thread Adam Young
On 07/26/2013 01:55 PM, Doug Hellmann wrote: It makes sense, though, if the data is going to be (potentially) coming from separate databases. Is that any different for sqlalchemy-migrate? As far as tracking the separate migrations for the different schemas, that's handled by running "alembic

Re: [openstack-dev] [Keystone] Alembic support

2013-07-26 Thread Doug Hellmann
On Fri, Jul 26, 2013 at 2:04 PM, Adam Young wrote: > On 07/26/2013 01:55 PM, Doug Hellmann wrote: > > It makes sense, though, if the data is going to be (potentially) coming > from separate databases. Is that any different for sqlalchemy-migrate? > > As far as tracking the separate migrations f

Re: [openstack-dev] [Openstack-dev][nova] Disable per-user rate limiting by default

2013-07-26 Thread Jay Pipes
On 07/26/2013 01:59 PM, Jonathan Proulx wrote: On Fri, Jul 26, 2013 at 1:01 PM, Jay Pipes mailto:jaypi...@gmail.com>> wrote: On 07/25/2013 08:24 PM, Joshua Harlow wrote: You mean process/forking API right? Honestly I'd sort of think the whole limits.py that is this

Re: [openstack-dev] Proposal for API version discovery

2013-07-26 Thread Dolph Mathews
On Wed, Jul 24, 2013 at 12:41 AM, Jamie Lennox wrote: > On Thu, 2013-05-02 at 00:46 +, Gabriel Hurley wrote: > > Based on input from several of the PTLs (and others), I'd like to > propose the following outline for how version discovery should be handled > across heterogeneous clouds: > > > >

Re: [openstack-dev] [Glance] property protections -- final call for comments

2013-07-26 Thread Mark Washenberger
On Fri, Jul 26, 2013 at 9:56 AM, wrote: > Hi Brian, > > Firstly, thanks for all your great work here! > > Some feedback: > > 1) Is there a clash with existing user properties? > > For currently deployed systems a user may have an existing property 'foo: > bar'. > If we restrict property access (b

Re: [openstack-dev] Discussing Amazon API compatibility [Nova][Swift]

2013-07-26 Thread Ben Nemec
On 2013-07-26 12:38, Russell Bryant wrote: On 07/26/2013 11:53 AM, Ben Nemec wrote: On 2013-07-26 10:39, Jay Pipes wrote: On 07/26/2013 08:04 AM, Sean Dague wrote: On 07/25/2013 08:30 PM, Joshua Harlow wrote: When you have so much state to maintain then aren't the APIs incorrect?? Yes, the

Re: [openstack-dev] A vision for Keystone

2013-07-26 Thread Miller, Mark M (EB SW Cloud - R&D - Corvallis)
Thank you. From: Adam Young [mailto:ayo...@redhat.com] Sent: Friday, July 26, 2013 9:54 AM To: openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] A vision for Keystone On 07/26/2013 12:26 PM, Miller, Mark M (EB SW Cloud - R&D - Corvallis) wrote: Adam, Which Havana Blueprint provides

Re: [openstack-dev] Python overhead for rootwrap

2013-07-26 Thread Joe Gordon
On Fri, Jul 26, 2013 at 11:34 AM, Jay Pipes wrote: > On 07/25/2013 04:21 PM, Joe Gordon wrote: > >> Hi All, >> >> We have recently hit some performance issues with nova-network. It >> turns out the root cause of this was we do roughly 20 rootwrapped shell >> commands, many inside of global locks

[openstack-dev] Request for feedback on bp-db-slave-handle

2013-07-26 Thread Mike Wilson
Connection and session code in oslo-incubator: https://review.openstack.org/#/c/29464/ Change to Context: https://review.openstack.org/#/c/30363/ Decorator for sqlalchemy api: https://review.openstack.org/#/c/30370/ So back at the Portland summit myself and Jun Park presented about some of our dif

Re: [openstack-dev] [Nova] support for multiple active scheduler policies/drivers

2013-07-26 Thread Joe Gordon
On Wed, Jul 24, 2013 at 6:18 PM, Alex Glikson wrote: > Russell Bryant wrote on 24/07/2013 07:14:27 PM: > > > > > I really like your point about not needing to set things up via a config > > file. That's fairly limiting since you can't change it on the fly via > > the API. > > > True. As I point

[openstack-dev] [Neutron] Neutron Reference FSM difinition

2013-07-26 Thread Nachi Ueno
Hi folks I got review comment from Salvatore about FSM management of resources ### Quote management of PENDING statuses. It would be great if we find an agreement across the LB, VPN, and FW extensions to handle them in the same way. Doing it differently for each extension might confuse use

[openstack-dev] Need feedback for approach on bp-db-slave-handle

2013-07-26 Thread Mike Wilson
So back at the Portland summit myself and Jun Park presented about some of our difficulties scaling Openstack with the Folsom release: http://www.openstack.org/summit/portland-2013/session-videos/presentation/using-openstack-in-a-traditional-hosting-environment . One of the main obstacles we ran i

Re: [openstack-dev] Usage of mox through out the Openstack project.

2013-07-26 Thread Joe Gordon
On Jul 26, 2013 5:53 AM, "Russell Bryant" wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 07/26/2013 05:35 AM, Roman Bogorodskiy wrote: > > Alex Meade wrote: > > > >> +1 to everything Russell just said and of course Blueprints for > >> this. One for #3 (changing from mox -> Mock)

Re: [openstack-dev] cells checks on patches

2013-07-26 Thread Chris Behrens
I have just put up a review here: https://review.openstack.org/#/c/38897/ which should address the exercise.sh issues when n-cell is enabled. Hopefully this works in the gate like it does for me locally. Then we can move on to looking at tempest. - Chris On Jul 15, 2013, at 6:13 AM, Andrew