Re: [openstack-dev] live-snapshot/cloning of virtual machines

2013-08-19 Thread Bob Ball
I agree with the below from a XenServer perspective. As with vmware, XenServer supports live snapshotting and creating multiple clones from that live snapshot. I understand that there is a XenAPI equivalent in the works and therefore would argue the API changes need to be accepted as a minimum.

[openstack-dev] [Openstack][keystone][LDAP] Error about "enable" and "desc" attribute type undefine.

2013-08-19 Thread Qinglong.Meng
Hi all, I configure keystone with ldap backend followed LDAP section of http://docs.openstack.org/developer/keystone/configuration.html, and when I create tenant in ldap, I got the error about "enable" and "desc" attribute type undefined in keystone.log. Here is keystone.conf:

Re: [openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

2013-08-19 Thread Ben Nemec
On 08/19/13 20:34, Joshua Harlow wrote: > Just a related question, > > Oslo 'incubator' db code I think depends on eventlet. This means any code > that uses the oslo.db code could/would(?) be dependent on eventlet. > > Will there be some refactoring there to not require it (useful for pro

[openstack-dev] [nova][vmware] VMwareAPI sub-team status update 2013-08-19

2013-08-19 Thread Shawn Hartsock
Greetings stackers! August 22nd is fast approaching. Here's the reviews in flight. We have 5 ready for a core reviewer to take a look. One needing some attention from someone who knows VMware's APIs and 8 that are in need of work/discussion. I noticed that there was some issues with Jenkins ea

Re: [openstack-dev] [nova] v3 api remove security_groups extension (was Re: security_groups extension in nova api v3)

2013-08-19 Thread Alex Xu
On 2013年08月17日 00:14, Vishvananda Ishaya wrote: On Aug 15, 2013, at 5:58 PM, Melanie Witt wrote: On Aug 15, 2013, at 1:13 PM, Joe Gordon wrote: +1 from me as long as this wouldn't change anything for the EC2 API's security groups support, which I assume it won't. Correct, it's unrelated to

Re: [openstack-dev] Code review study

2013-08-19 Thread Michael Davies
On Tue, Aug 20, 2013 at 5:14 AM, Jay Buffington wrote: > > This is really interesting. I wish they would have explicitly defined > "lines of code." Is that "git show |wc -l"? Just the new lines which > were added? The sum of the lines changed, removed and added? You can > get vastly different

Re: [openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

2013-08-19 Thread Joshua Harlow
Just a related question, Oslo 'incubator' db code I think depends on eventlet. This means any code that uses the oslo.db code could/would(?) be dependent on eventlet. Will there be some refactoring there to not require it (useful for projects that are trying to move away from eventlet). https:

Re: [openstack-dev] Scheduler sub-group meeting on 8/20 - cancelled

2013-08-19 Thread Dugger, Donald D
Well, no one has stepped up to run the meeting tomorrow so let's just cancel for this week. We'll be back at our regularly scheduled time next Tues., 8/27. -- Don Dugger "Censeo Toto nos in Kansa esse decisse." - D. Gale Ph: 303/443-3786 -Original Message- From: Dugger, Donald D [mailt

Re: [openstack-dev] [Nova] Interested in a mid-Icehouse-cycle Nova meet-up?

2013-08-19 Thread Shawn Hartsock
this is off list. Just FYI. Thanks for putting this up. I was looking forward to going to Hong Kong, but, I have a personal (family life event) reason I can't attend. I'll do my best to participate otherwise. I've asked Tracy Jones (a vmware team member and ATC) to go to Hong Kong in my place.

[openstack-dev] [Neutron] Handling provider removal

2013-08-19 Thread Eugene Nikanorov
Hi folks, I'd like to continue the discussion about this. I think we have the following questions to answer: 1) What should be the workflow of provider removal for the admin? 2) Do we allow 'update' operation on provider attribute? 3) Do we allow removing provider for users? My take on these: 1)

Re: [openstack-dev] Swift, netifaces, PyPy, and cffi

2013-08-19 Thread Alex Gaynor
So, in what can only be described as "extremely embarrassing" and "wow, I thought I knew how to use a computer": netifaces appears to work ok under PyPy! I could have sworn I'd tested it, but apparently not. So, this is no longer a high priority item for me to get swift on pypy (in fact, +/- event

Re: [openstack-dev] [Neutron][VPNaaS] Supporting OpenSwan or StrongSwan or Both?

2013-08-19 Thread Nachi Ueno
Hi Salvatore Thank you for your comment. I'm adding OpenSwan support as additional driver, so it is safe for strongswan. Best Nachi 2013/8/19 Salvatore Orlando : > As I said during the meeting, I am happy to support both as long as the code > churn is reasonably contained and the chances of stro

Re: [openstack-dev] [Neutron][VPNaaS] Supporting OpenSwan or StrongSwan or Both?

2013-08-19 Thread Salvatore Orlando
As I said during the meeting, I am happy to support both as long as the code churn is reasonably contained and the chances of strongswan support introducing bugs into openswan driver are negligible. Openswan should be the default solution, in muy opinion. Salvatore On 20 August 2013 00:15, Nach

[openstack-dev] [Neutron][VPNaaS] Supporting OpenSwan or StrongSwan or Both?

2013-08-19 Thread Nachi Ueno
Hi folks I would like to discuss whether supporting OpenSwan or StrongSwan or Both for ipsec driver? We choose StrongSwan because of the community is active and plenty of docs. However It looks like RHEL is only supporting OpenSwan. so we should choose (A) Support StrongSwan (B) Support OpenSwa

[openstack-dev] [Nova] Interested in a mid-Icehouse-cycle Nova meet-up?

2013-08-19 Thread Russell Bryant
Greetings, Some OpenStack programs have started a nice trend of getting together in the middle of the development cycle. These meetups can serve a number of useful purposes: community building, ramping up new contributors, tackling hard problems by getting together in the same room, and more. I

Re: [openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

2013-08-19 Thread Boris Pavlovic
Mark, But for a variety of reasons, I do not consider the general thrust of "use oslo db code" to be approved. Instead, lets continue to consider features from olso db on a case by case basis, and see what the right resolution is in each case. Absolutely agree with this point (e.g. we removed sha

[openstack-dev] [Infra] Meeting Tuesday August 20th at 19:00 UTC

2013-08-19 Thread Elizabeth Krumbach Joseph
The OpenStack Infrastructure (Infra) team is hosting our weekly meeting tomorrow, Tuesday August 20th, at 19:00 UTC in #openstack-meeting Meeting agenda available here: https://wiki.openstack.org/wiki/Meetings/InfraTeamMeeting (anyone is welcome to to add agenda items) Everyone interested in infr

Re: [openstack-dev] [savanna] tarballs of savanna-extra

2013-08-19 Thread Sergey Lukjanov
Hi Matt, it is not an accident that savanna-extra has no tarballs at tarballs.o.o, because this repo is used for storing some date that is only needed for some stuff like building images for vanilla plugin, storing Swift support patch for Hadoop and etc. So, it looks like that we should not pac

Re: [openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

2013-08-19 Thread John Bresnahan
> All I'm saying is that we should be careful not to swap one set of > problems for another. My 2 cents: I am in agreement with Jay. I am leery of NoSQL being a direct sub in and I fear that this effort can be adding a large workload for little benefit. A somewhat related post: http://www.joelo

[openstack-dev] [savanna] tarballs of savanna-extra

2013-08-19 Thread Matthew Farrellee
Will someone setup a tarballs.os.o release of savanna-extra's master (https://github.com/stackforge/savanna-extra), and make sure it gets an official release for 0.3? Best, matt ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http:

Re: [openstack-dev] [nova] live-snapshot/cloning of virtual machines

2013-08-19 Thread Shawn Hartsock
For what it's worth... this doesn't seem too bad to me... I was planning on using this part of the vSphere API: * https://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.vm.CloneSpec.html ...to accomplish the clone part of the BP. The API contains a "spec" section where

Re: [openstack-dev] Code review study

2013-08-19 Thread Jay Buffington
On Wed, Aug 14, 2013 at 7:12 PM, Robert Collins wrote: > Note specifically the citation of 200-400 lines as the knee of the review > effectiveness curve: that's lower than I thought - I thought 200 was > clearly fine - but no. > This is really interesting. I wish they would have explicitly defin

Re: [openstack-dev] [glance] [ceilometer] Periodic Auditing In Glance

2013-08-19 Thread Sandy Walsh
On 08/16/2013 04:58 PM, Doug Hellmann wrote: > The notification messages don't translate 1:1 to database records. Even > if the notification payload includes multiple resources, we will store > those as multiple individual records so we can query against them. So it > seems like sending individua

Re: [openstack-dev] Continuous deployment - significant process change

2013-08-19 Thread Thierry Carrez
Robert Collins wrote: > [...] > But to answer your points: > - an unreleased feature is an unreleased feature irrespective of what > branch it is in. It's not something you'd pull bug fixes into a frozen > branch for. > - If the codebase knows it's a release branch (can we tell > programmatically

Re: [openstack-dev] [keystone] Help consuming trusts

2013-08-19 Thread Steven Hardy
On Mon, Aug 19, 2013 at 09:15:24AM -0500, Dolph Mathews wrote: > On Mon, Aug 19, 2013 at 6:06 AM, Steven Hardy wrote: > > > On Sun, Aug 18, 2013 at 07:02:04PM +0200, Matthieu Huin wrote: > > > Hi Steve, > > > > > > It might be a bit late for this, but here's a script I wrote when > > experimentin

Re: [openstack-dev] [Heat] How the autoscale API should control scaling in Heat

2013-08-19 Thread Steven Hardy
I think Zane's response pretty much covers it, but here's some comments since you requested my response: On Thu, Aug 15, 2013 at 05:50:19PM -0500, Christopher Armstrong wrote: > *Introduction and Requirements* > > So there's kind of a perfect storm happening around autoscaling in Heat > right now

Re: [openstack-dev] Stats on blueprint design info / creation times

2013-08-19 Thread Thierry Carrez
Daniel P. Berrange wrote: > In this thread about code review: > > http://lists.openstack.org/pipermail/openstack-dev/2013-August/013701.html > > I mentioned that I thought there were too many blueprints created without > sufficient supporting design information and were being used for "tickbox"

Re: [openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

2013-08-19 Thread Mark Washenberger
Thanks for refocusing the discussion on your original questions! Also thanks for this additional summary. I consider the patches you have up for review in glance to have a general direction-level green light at this point (though I've got a question on the specifics in the ultimate review). But f

Re: [openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

2013-08-19 Thread Joshua Harlow
+1 for trying things differently :) On 8/19/13 12:14 AM, "Jay Pipes" wrote: >On 08/18/2013 10:33 PM, Joe Gordon wrote: >> An alternative I think would be better would be to scrap the >>use of >> the SQLAlchemy ORM; keep using the DB engine abstraction >>support. >> >> +1, I am ho

Re: [openstack-dev] [Heat] How the autoscale API should control scaling in Heat

2013-08-19 Thread Christopher Armstrong
On Fri, Aug 16, 2013 at 1:35 PM, Clint Byrum wrote: > Excerpts from Zane Bitter's message of 2013-08-16 09:36:23 -0700: > > On 16/08/13 00:50, Christopher Armstrong wrote: > > > *Introduction and Requirements* > > > > > > So there's kind of a perfect storm happening around autoscaling in Heat > >

Re: [openstack-dev] Blueprint for Amazon VPC API support

2013-08-19 Thread Rudra Rugge
Hi Salvatore, Thanks for reviewing. You are right - there are changes planned in Neutron as well for the Amazon VPC API support. Here is the link referring to the Neutron blueprint. https://blueprints.launchpad.net/neutron/+spec/juniper-plugin-with-extensions All calls except related to Instanc

Re: [openstack-dev] General Question about CentOS

2013-08-19 Thread Miller, Mark M (EB SW Cloud - R&D - Corvallis)
Thank you for the answer and link. Mark From: Shake Chen [mailto:shake.c...@gmail.com] Sent: Friday, August 16, 2013 6:01 PM To: OpenStack Development Mailing List Subject: Re: [openstack-dev] General Question about CentOS Now in Centos 6.x ,the Python is 2.6.6, the Openstack can run it. you can

[openstack-dev] [Murano] Meeting minutes 2013-08-19

2013-08-19 Thread Denis Koryavov
Hello, Below, you can see the meeting minutes from today's Murano meeting. Minutes: http://eavesdrop.openstack.org/meetings/murano/2013/murano.2013-08-19-15.04.html Minutes (text): http://eavesdrop.openstack.org/meetings/murano/2013/murano.2013-08-19-15.04.txt Log: http://eavesdrop.openstack.org/

[openstack-dev] Stats on blueprint design info / creation times

2013-08-19 Thread Daniel P. Berrange
In this thread about code review: http://lists.openstack.org/pipermail/openstack-dev/2013-August/013701.html I mentioned that I thought there were too many blueprints created without sufficient supporting design information and were being used for "tickbox" process compliance only. I based this

Re: [openstack-dev] General Question about CentOS

2013-08-19 Thread Jay Buffington
On Fri, Aug 16, 2013 at 2:51 PM, Miller, Mark M (EB SW Cloud - R&D - Corvallis) wrote: > Is OpenStack supported on CentOS running Python 2.6? > Oh, I forgot to mention, keystone's py2.6 support seems to currently be broken because of this bug: https://bugs.launchpad.net/keystone/+bug/1213284/

Re: [openstack-dev] General Question about CentOS

2013-08-19 Thread Jay Buffington
We're doing continuous deployment on Oracle Linux 6.3, using a RHEL kernel making it almost identical to CentOS 6.3. We're using keystone, glance, neutron and nova. The neutron metadata service doesn't work, nor do overlapping ips: both need network namespace support in the kernel which wasn't in

Re: [openstack-dev] [keystone] Help consuming trusts

2013-08-19 Thread Dolph Mathews
On Mon, Aug 19, 2013 at 6:06 AM, Steven Hardy wrote: > On Sun, Aug 18, 2013 at 07:02:04PM +0200, Matthieu Huin wrote: > > Hi Steve, > > > > It might be a bit late for this, but here's a script I wrote when > experimenting with trusts: > https://github.com/mhuin/keystone_trust/blob/master/tests/sw

Re: [openstack-dev] Continuous deployment - significant process change

2013-08-19 Thread John Griffith
On Sun, Aug 18, 2013 at 11:17 PM, Robert Collins wrote: > On 19 August 2013 16:15, John Griffith > wrote: > > > This was pretty well discussed back in April and May IMO. > > It petered out with no firm consensus AFAICT. Those of us with CD > experience are trying to debug the concerns those of us

Re: [openstack-dev] [Ceilometer] Concerning get_resources/get_meters and the Ceilometer API

2013-08-19 Thread Sandy Walsh
On 08/18/2013 04:04 PM, Jay Pipes wrote: > On 08/17/2013 03:10 AM, Julien Danjou wrote: >> On Fri, Aug 16 2013, Jay Pipes wrote: >> >>> Actually, that's the opposite of what I'm suggesting :) I'm suggesting >>> getting rid of the resource_metadata column in the meter table and >>> using the >>> r

Re: [openstack-dev] [Ceilometer] Concerning get_resources/get_meters and the Ceilometer API

2013-08-19 Thread Sandy Walsh
On 08/19/2013 09:40 AM, Julien Danjou wrote: > On Mon, Aug 19 2013, Sandy Walsh wrote: > >> On 08/19/2013 05:08 AM, Julien Danjou wrote: >>> On Sun, Aug 18 2013, Jay Pipes wrote: >>> I'm proposing that in these cases, a *new* resource would be added to the resource table (and its ID in

Re: [openstack-dev] Proposal oslo.db lib

2013-08-19 Thread Flavio Percoco
On 19/08/13 16:45 +0400, Boris Pavlovic wrote: Flavio, So could you review please patches in Glance? =) Yes, I'll sync with Mark and other folks to make sure all doubts are cleared. -- @flaper87 Flavio Percoco ___ OpenStack-dev mailing list Open

Re: [openstack-dev] Proposal oslo.db lib

2013-08-19 Thread Boris Pavlovic
Flavio, So could you review please patches in Glance? =) Best regards, Boris Pavlovic -- Mirantis Inc. On Mon, Aug 19, 2013 at 4:33 PM, Flavio Percoco wrote: > On 19/08/13 04:33 -0700, Gary Kotton wrote: > >> So are you agree with next points? >> 1) In Havana focus on migrating in all proje

Re: [openstack-dev] [Ceilometer] Concerning get_resources/get_meters and the Ceilometer API

2013-08-19 Thread Julien Danjou
On Mon, Aug 19 2013, Sandy Walsh wrote: > On 08/19/2013 05:08 AM, Julien Danjou wrote: >> On Sun, Aug 18 2013, Jay Pipes wrote: >> >>> I'm proposing that in these cases, a *new* resource would be added to the >>> resource table (and its ID inserted in meter) table with the new >>> flavor/instance

[openstack-dev] VPNaaS API documentation… please review...

2013-08-19 Thread Paul Michali
https://review.openstack.org/#/c/41702/ Thanks! PCM (Paul Michali) MAIL p...@cisco.com IRC pcm_ (irc.freenode.net) TW @pmichali signature.asc Description: Message signed with OpenPGP using GPGMail ___ OpenStack-dev mailing list OpenStack-dev@li

Re: [openstack-dev] Proposal oslo.db lib

2013-08-19 Thread Flavio Percoco
On 19/08/13 04:33 -0700, Gary Kotton wrote: So are you agree with next points? 1) In Havana focus on migrating in all projects to oslo.db code [Gary Kotton] It is worth going for. +1 2) in IceHouse create and move to oslo.db lib [Gary Kotton] I am in favor of this pending the stability

Re: [openstack-dev] [Ceilometer] Concerning get_resources/get_meters and the Ceilometer API

2013-08-19 Thread Sandy Walsh
On 08/19/2013 05:08 AM, Julien Danjou wrote: > On Sun, Aug 18 2013, Jay Pipes wrote: > >> I'm proposing that in these cases, a *new* resource would be added to the >> resource table (and its ID inserted in meter) table with the new >> flavor/instance's metadata. > > Ah I see. Considering we're

[openstack-dev] [Tempest][Neutron] Improving neutron testing

2013-08-19 Thread Salvatore Orlando
Hi, I've been trying to spend some time adding a few (hopefully) useful test scenarios for neutron. I have never commited anything into tempest, so I would appreciate any feedback on the approach I am taking. I have the following goals: 1) enable test_006_check_tenant_network_connectivity for neu

[openstack-dev] Tempest test failing for neutron

2013-08-19 Thread Rajdeep Dua
On submitted a Patch for neutron test case https://review.openstack.org/#/c/42598/  unrelated tests from tempest seem to be failing. http://logs.openstack.org/98/42598/2/check/gate-tempest-devstack-vm-neutron-full/4388bc6/console.html One of the test failure is listed below. Any idea why this i

Re: [openstack-dev] Proposal oslo.db lib

2013-08-19 Thread Gary Kotton
From: Boris Pavlovic [mailto:bo...@pavlovic.me] Sent: Monday, August 19, 2013 2:20 PM To: OpenStack Development Mailing List Subject: Re: [openstack-dev] Proposal oslo.db lib Flavio, I'm sorry if I'm being paranoid, I just think we should first focus on migrating all projects - those that will

Re: [openstack-dev] Proposal oslo.db lib

2013-08-19 Thread Boris Pavlovic
Flavio, I'm sorry if I'm being paranoid, I just think we should first focus on migrating all projects - those that will / should migrate - successfully and then pulling oslo.db out. Absolutely agree Pulling it out during Icehouse won't slow Oslo's db development down. So the only problem is th

Re: [openstack-dev] [keystone] Help consuming trusts

2013-08-19 Thread Steven Hardy
On Sun, Aug 18, 2013 at 07:02:04PM +0200, Matthieu Huin wrote: > Hi Steve, > > It might be a bit late for this, but here's a script I wrote when > experimenting with trusts: > https://github.com/mhuin/keystone_trust/blob/master/tests/swift_example.sh > > I hope it'll help you. Thanks for this!

Re: [openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

2013-08-19 Thread Boris Pavlovic
Mark, Main part of oslo is: 1) common migration testing 2) common sqla.models 3) common hacks around sqla and sqla-migrate 4) common work around engines and sessions All these points are implemented in Glance almost in the same way as in Oslo. Also we are able to use only part of this code in Gl

Re: [openstack-dev] Proposal oslo.db lib

2013-08-19 Thread Flavio Percoco
On 19/08/13 14:17 +0400, Boris Pavlovic wrote: Flavio, Agreed. I'd also like to see other project migrated before pulling oslo.db out from oslo-incubator as I wrote before oslo.db code is used by: Nova, Neutron, Cinder, Ironic, Ceilometer use oslo.db. And we have already patches to switch in

[openstack-dev] Can I Expose the host-aggregate as availability zone?

2013-08-19 Thread sudheesh sk
Hi, 1) Can I Expose the host-aggregate as availability zone? 2) Is there anyway to make the Host Aggregate dynamically growing (with each VM creation- add the host to host aggregate if its not already there)? Thanks, Sudheesh___ OpenStack-dev mail

[openstack-dev] Can I Expose the host-aggregate as availability zone?

2013-08-19 Thread sudheesh sk
Hi, 1) Can I Expose the host-aggregate as availability zone? 2) Is there anyway to make the Host Aggregate dynamically growing (with each VM creation- add the host to host aggregate if its not already there)? Thanks, Sudheesh___ OpenStack-dev mailing

Re: [openstack-dev] Proposal oslo.db lib

2013-08-19 Thread Boris Pavlovic
Flavio, Agreed. I'd also like to see other project migrated before pulling oslo.db out from oslo-incubator as I wrote before oslo.db code is used by: Nova, Neutron, Cinder, Ironic, Ceilometer use oslo.db. And we have already patches to switch in Glance to id. And we are woking in Keystone and H

Re: [openstack-dev] Proposal oslo.db lib

2013-08-19 Thread Flavio Percoco
On 19/08/13 00:34 -0700, Gary Kotton wrote: Hi, I have a number of things to say here: 1. Great work in getting the DB into the common and ironing out the issues +1 2. As far as I know only Neutron and Nova are making use of the common DB code. Neutron has been using this since

Re: [openstack-dev] [nova] live-snapshot/cloning of virtual machines

2013-08-19 Thread Daniel P. Berrange
On Mon, Aug 19, 2013 at 01:28:25AM -0700, Tim Smith wrote: > On Sun, Aug 18, 2013 at 1:28 PM, Robert Collins > wrote: > > > On 17 August 2013 07:01, Russell Bryant wrote: > > > > >> Maybe we've grown up to the point where we have to be more careful and > > >> not introduce > > >> these kind of fe

Re: [openstack-dev] [nova] live-snapshot/cloning of virtual machines

2013-08-19 Thread Daniel P. Berrange
On Mon, Aug 19, 2013 at 08:28:58AM +1200, Robert Collins wrote: > On 17 August 2013 07:01, Russell Bryant wrote: > > >> Maybe we've grown up to the point where we have to be more careful and > >> not introduce > >> these kind of features and the maintenance cost of introducing > >> experimental f

Re: [openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

2013-08-19 Thread Flavio Percoco
On 19/08/13 02:51 -0400, Jay Pipes wrote: On 08/19/2013 12:56 AM, Joshua Harlow wrote: Another good article from an ex-coworker that keeps on making more and more sense the more projects I get into... http://seldo.com/weblog/2011/08/11/orm_is_an_antipattern Your mileage/opinion though may vary

Re: [openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

2013-08-19 Thread Flavio Percoco
On 18/08/13 18:47 -0400, Jay Pipes wrote: On 08/18/2013 06:28 PM, Joe Gordon wrote: On Aug 18, 2013 3:58 PM, "Jay Pipes" mailto:jaypi...@gmail.com>> wrote: > > On 08/18/2013 03:53 AM, Joshua Harlow wrote: >> >> I always just liked SQL as the database abstraction layer ;) >> >> On a more serious

Re: [openstack-dev] [nova] live-snapshot/cloning of virtual machines

2013-08-19 Thread Tim Smith
On Sun, Aug 18, 2013 at 1:28 PM, Robert Collins wrote: > On 17 August 2013 07:01, Russell Bryant wrote: > > >> Maybe we've grown up to the point where we have to be more careful and > >> not introduce > >> these kind of features and the maintenance cost of introducing > >> experimental features i

Re: [openstack-dev] [oslo.db] Proposal: Get rid of deleted column

2013-08-19 Thread Julien Danjou
On Mon, Aug 19 2013, Jay Pipes wrote: > Thoughts? +1 -- Julien Danjou ;; Free Software hacker ; freelance consultant ;; http://julien.danjou.info signature.asc Description: PGP signature ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.o

Re: [openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

2013-08-19 Thread Julien Danjou
On Mon, Aug 19 2013, Jay Pipes wrote: > 2) I highly caution folks who think a No-SQL store is a good storage > solution for any of the data currently used by Nova, Glance (registry), > Cinder (registry), Ceilometer, and Quantum. All of the data stored and > manipulated in those projects is HIGHLY

Re: [openstack-dev] [Ceilometer] Concerning get_resources/get_meters and the Ceilometer API

2013-08-19 Thread Julien Danjou
On Sun, Aug 18 2013, Jay Pipes wrote: > I'm proposing that in these cases, a *new* resource would be added to the > resource table (and its ID inserted in meter) table with the new > flavor/instance's metadata. Ah I see. Considering we're storing metadata as a serialized string (whereas it's a di

Re: [openstack-dev] [oslo.db] Proposal: Get rid of deleted column

2013-08-19 Thread Boris Pavlovic
Hi Jay, When I started working around unique keys, I tried to use deleted_at column. so answer about why we don't use deleted_at column you could read in Devananda's comment on my patch https://review.openstack.org/#/c/16162/ . Also I should mention that this is really huge change and it will ta

Re: [openstack-dev] [oslo.db] Proposal: Get rid of deleted column

2013-08-19 Thread Chris Behrens
'deleted' is used so that we can have proper unique constraints by setting it to `id` on deletion. This was not the case until Grizzly, and before Grizzly I would have agreed completely. - Chris On Aug 19, 2013, at 12:39 AM, Jay Pipes wrote: > I'm throwing this up here to get some feedback o

Re: [openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

2013-08-19 Thread Jay Pipes
OK, cool. I'm in agreement with your explained storage/logic separation below. Cheers, -jay On 08/19/2013 03:12 AM, Robert Collins wrote: On 19 August 2013 18:35, Jay Pipes wrote: http://www.codinghorror.com/blog/2006/06/object-relational-mapping-is-the-vietnam-of-computer-science.html The

[openstack-dev] [oslo.db] Proposal: Get rid of deleted column

2013-08-19 Thread Jay Pipes
I'm throwing this up here to get some feedback on something that's always bugged me about the model base used in many of the projects. There's a mixin class that looks like so: class SoftDeleteMixin(object): deleted_at = Column(DateTime) deleted = Column(Integer, default=0) def sof

Re: [openstack-dev] Proposal oslo.db lib

2013-08-19 Thread Gary Kotton
Hi, I have a number of things to say here: 1. Great work in getting the DB into the common and ironing out the issues 2. As far as I know only Neutron and Nova are making use of the common DB code. Neutron has been using this since the beginning of H2 (this did not resolve all of th

Re: [openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

2013-08-19 Thread Jay Pipes
On 08/18/2013 10:33 PM, Joe Gordon wrote: An alternative I think would be better would be to scrap the use of the SQLAlchemy ORM; keep using the DB engine abstraction support. +1, I am hoping this will provide noticeable performance benefits while being agnostic of what DB back-e

Re: [openstack-dev] [Glance] Replacing Glance DB code to Oslo DB code.

2013-08-19 Thread Robert Collins
On 19 August 2013 18:35, Jay Pipes wrote: >> http://www.codinghorror.com/blog/2006/06/object-relational-mapping-is-the-vietnam-of-computer-science.html >> >> There is no proper use of an ORM. > > > I'm not a super-fan of ORMs, Robert. I'm not sure why you're insisting on > taking me down this roa