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

2013-07-29 Thread Zane Bitter
On 29/07/13 02:04, Angus Salkeld wrote: On 26/07/13 09:43 -0700, Clint Byrum wrote: 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 res

Re: [openstack-dev] Python overhead for rootwrap

2013-07-29 Thread Thierry Carrez
Thomas Goirand wrote: > On 07/26/2013 05:43 AM, Thierry Carrez wrote: >> I would rather support solution 3: create a single, separate executable >> that does those 20 things that need to be done (can be a shell script >> with some logic in it), and have rootwrap call that *once*. That way you >> i

Re: [openstack-dev] Python overhead for rootwrap

2013-07-29 Thread John Garbutt
> Joe Gordon wrote: > time python -c "print 'test'" Is this a fair test, because I assume we don't need to compile rootwrap each time? Having said that, I believe you that there is overhead in starting python. >>> Mike Wilson wrote: In my opinion: 1. Stop using rootwrap completely

[openstack-dev] Pecan - PATCH not working on nested REST

2013-07-29 Thread Endre Karlson
What am I doing wrong here? doing http patch http://localhost:9091/v2/merchants/ currency=nok < works fine http patch http://localhost:9091/v2/merchants//customers/ currency=nok < fails and doesn't seem to be finding the patch method there even though it's exposed https://review.openstack.org/#/

Re: [openstack-dev] Grenade issues

2013-07-29 Thread Davanum Srinivas
I see lots of green. Looks like reverting the jsonschema did the trick. https://jenkins.openstack.org/job/gate-grenade-devstack-vm/ -- dims On Sun, Jul 28, 2013 at 9:47 PM, Sean Dague wrote: > On 07/28/2013 09:42 PM, Sean Dague wrote: >> >> On 07/28/2013 09:28 PM, Davanum Srinivas wrote: >>> >>>

[openstack-dev] [Murano] The mailing list address is changed

2013-07-29 Thread Denis Koryavov
Hi folks, We decided to use [email protected] mailing list (ML) instead of [email protected] for all Murano-related communications. The old one ML will be closed and we’ll monitor it and forward all emails from it to the correct mailing list. Additionally it means that

Re: [openstack-dev] Python overhead for rootwrap

2013-07-29 Thread Thierry Carrez
John Garbutt wrote: > I tend to agree that (option 3) aggregating all of the calls to > rootwrap may be impractical: >> Sean Dague wrote: >> The reason there are 20 different call outs is that they aren't all in the >> same place. There are phases that happen here, and different kind of errors >> n

[openstack-dev] Fwd: detail design of configurable-ip-allocation

2013-07-29 Thread Ofer Blaut
Hi I didn't took a look on the patch status What should we do with Abandoned patches ? close the RFE bug ? Thanks Ofer - Forwarded Message - From: "Mark McLoughlin" To: "Ofer Blaut" Cc: "Perry Myers" Sent: Monday, July 29, 2013 1:00:20 PM Subject: Re: detail design of configurab

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

2013-07-29 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] [Keystone] Alembic support

2013-07-29 Thread Alexei Kornienko
Hello, This conversion is actually quite simple. We are currently working to support alembic migrations in ceilometer: https://blueprints.launchpad.net/ceilometer/+spec/convert-to-alembic For now we agreed that conversion process will be the following: 1) Create folder for alembic migrations a

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

2013-07-29 Thread Jay Pipes
On 07/28/2013 08:04 PM, Angus Salkeld wrote: On 26/07/13 09:43 -0700, Clint Byrum wrote: 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 betwee

[openstack-dev] Use of XML xi:include with xpointer

2013-07-29 Thread Sean Roberts
I'm working on reusing content from remote XML formatted sources to create new content. I'm using xi:include xpointer to a section of an existing XML file. Using the editor oxygen I can see the remote content, so I know my href is valid. But maven fails to build the html from the xml returning b

[openstack-dev] [Neutron][LBaaS][VPNaaS][FWaaS] Dealing with logical logical configurations

2013-07-29 Thread Eugene Nikanorov
Hi folks, Recently we've been discussing with Nachi Ueno some specific use case of deployments with multiple providers for particular advanced service. What If admin wants to remove certain provider from configuration file? The following handling was proposed: 1) Before restarting neutron-server

Re: [openstack-dev] [Openstack-docs] Use of XML xi:include with xpointer

2013-07-29 Thread Anne Gentle
Hi Sean, It sounds like you're trying to xi:include HTML-marked-up content? I don't know if DocBook will do that. Does anyone else know? Anne On Mon, Jul 29, 2013 at 9:27 AM, Sean Roberts wrote: > I'm working on reusing content from remote XML formatted sources to create > new content. I'm us

Re: [openstack-dev] Pecan - PATCH not working on nested REST

2013-07-29 Thread Ryan Petrello
Endre, Pecan's RestController doesn't seem to provide support for an explicit `patch` method in the manner you're attempting to use it: http://pecan.readthedocs.org/en/latest/rest.html#url-mapping On Jul 29, 2013, at 6:32 AM, Endre Karlson wrote: > What am I doing wrong here? > > doing > >

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

2013-07-29 Thread Bartosz Górski
On 07/29/2013 09:51 AM, Zane Bitter wrote: On 29/07/13 02:04, Angus Salkeld wrote: On 26/07/13 09:43 -0700, Clint Byrum wrote: 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 w

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

2013-07-29 Thread Alex Glikson
It is certainly an interesting idea to have a policy service managed via APIs, and to have scheduler as a potential consumer of such as service. However, I suspect that this requires more discussion, and certainly can't be added for Havana (you can count on me to suggest it as a topic for the u

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

2013-07-29 Thread Clint Byrum
Excerpts from Zane Bitter's message of 2013-07-29 00:51:38 -0700: > On 29/07/13 02:04, Angus Salkeld wrote: > > On 26/07/13 09:43 -0700, Clint Byrum wrote: > >> 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

Re: [openstack-dev] [Nova][Oslo-incubator] Automatic retry db.api query if database connection lost

2013-07-29 Thread Victor Sergeyev
Hello. Any suggestions, please? On Mon, Jul 22, 2013 at 11:39 AM, Victor Sergeyev wrote: > Hi All. > > There is a blueprint ( > https://blueprints.launchpad.net/nova/+spec/db-reconnect) by Devananda > van der Veen, which goal is to implement reconnection to a database and > retrying of the last

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

2013-07-29 Thread Zane Bitter
On 29/07/13 17:16, Bartosz Górski wrote: I want to be sure that we are on the same page. By master template you mean a template that has only nested stacks as resources? Or also other types of resources (like single server) which will be created in the region where heat engine is located to which

Re: [openstack-dev] [Openstack-docs] Use of XML xi:include with xpointer

2013-07-29 Thread Diane Fleming
I don't know if this will work, but this is how I used xpointer to pull in content from one file to another: Target file (pulls in content) Overview Source file Overview Cloud Networks Cloud Networks lets you create a virtual Layer 2 network, known as an isola

[openstack-dev] generate ec2 keypairs from a token

2013-07-29 Thread Matthieu Huin
Hello Steven, I am moving this discussion to openstack-dev as requested. As stated earlier, the purpose is to improve this blueprint: https://blueprints.launchpad.net/keystone/+spec/ec2-keypairs-from-tokens First, thanks for your explanations, they made the problem much clearer. I've updated t

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

2013-07-29 Thread Zane Bitter
On 29/07/13 17:40, Clint Byrum wrote: Excerpts from Zane Bitter's message of 2013-07-29 00:51:38 -0700: >On 29/07/13 02:04, Angus Salkeld wrote: > >On 26/07/13 09:43 -0700, Clint Byrum wrote: > >> > >>These are all predictable limitations and can be handled at the parsing > >>level. You will

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

2013-07-29 Thread Jay Pipes
On 07/29/2013 01:21 PM, Zane Bitter wrote: On 29/07/13 17:40, Clint Byrum wrote: There's an entirely good use case for cross-region volumes and if it is ever implemented that way, and cinderclient got some multi-region features, we wouldn't want users to be faced with a big rewrite of their te

[openstack-dev] [Infra] Meeting Tuesday July 30th at 19:00 UTC

2013-07-29 Thread Elizabeth Krumbach Joseph
The OpenStack Infrastructure (Infra) team is hosting our weekly meeting tomorrow, Tuesday July 30th, 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 infras

Re: [openstack-dev] [Oslo] Blocker for API translation changes

2013-07-29 Thread Luis A. Garcia
Oslo-Cores, Friendly reminder about this one: https://review.openstack.org/#/c/38201/ Thank you, On 7/24/2013 10:21 AM, Luis A. Garcia wrote: Hi Oslos, I have a refactoring for common code needed to implement REST API translations. The change is a bit of a blocker for multiple other changes

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

2013-07-29 Thread Clint Byrum
Excerpts from Zane Bitter's message of 2013-07-29 10:21:29 -0700: > On 29/07/13 17:40, Clint Byrum wrote: > > Excerpts from Zane Bitter's message of 2013-07-29 00:51:38 -0700: > >> >On 29/07/13 02:04, Angus Salkeld wrote: > >>> > >On 26/07/13 09:43 -0700, Clint Byrum wrote: > > >> > > >>T

Re: [openstack-dev] Grenade issues

2013-07-29 Thread Adalberto Medeiros
Hi! I would suggest to add somewhere on code best practices that changes on requirements (pip) and configuration files (conf, paste-ini) might cause upgrade issues when running grenade. A few fixes that I needed to apply on grenade were usually related to those. Regards, Adalberto Medeiros

Re: [openstack-dev] Python overhead for rootwrap

2013-07-29 Thread Fox, Kevin M
How about a hybrid C/Python approach? The biggest performance issue seems to be python startup overhead, not the actual code execution time. Caching the python process could be used to solve the issue. You need to be able to execute the command quickly, so that says the command executed can't

[openstack-dev] [Horizon][Neutron] Security groups call to Neutron instead of Nova

2013-07-29 Thread Edgar Magana
Using devstack with security-groups in Neutron disabled and instead of that using nova. Horizon is calling neutron client for security-groups API instead of Nova client, is this expected? If security-groups are not implemented, this behaviors will be broken for many plugins. Thanks, Edgar __

[openstack-dev] [Infra] Nominations for Jenkins Job Builder Core

2013-07-29 Thread James E. Blair
Hi, Jenkins Job Builder project (part of the Infrastructure program) has proven to be quite popular! There are a number of folks who contribute valuable reviews to the project, and among those, four in particular have stood out recently. Therefore, I'd like to spin off a new core team to manage

Re: [openstack-dev] Python overhead for rootwrap

2013-07-29 Thread Sill, Alan
Speed considerations could be driven not only by the length of the python script, but also by the number of simultaneous calls to it on a distributed (or virtualized( file system. Alternatives to running the script in normal python execution mode would be to pre-compile (and possibly pre-distri

Re: [openstack-dev] [Infra] Nominations for Jenkins Job Builder Core

2013-07-29 Thread Jay Pipes
On 07/29/2013 04:29 PM, James E. Blair wrote: Hi, Jenkins Job Builder project (part of the Infrastructure program) has proven to be quite popular! There are a number of folks who contribute valuable reviews to the project, and among those, four in particular have stood out recently. Therefore,

Re: [openstack-dev] [Infra] Nominations for Jenkins Job Builder Core

2013-07-29 Thread Jeremy Stanley
On 2013-07-29 13:29:38 -0700 (-0700), James E. Blair wrote: [...] > I'd like to spin off a new core team to manage acceptance to > Jenkins Job Builder, and in addition to the current Infrastructure core > team, nominate the following people to the team: > > Khai Do > Arnaud Fabre > Mathieu Gagné >

Re: [openstack-dev] [Infra] Nominations for Jenkins Job Builder Core

2013-07-29 Thread Anita Kuno
On 13-07-29 04:29 PM, James E. Blair wrote: Hi, Jenkins Job Builder project (part of the Infrastructure program) has proven to be quite popular! There are a number of folks who contribute valuable reviews to the project, and among those, four in particular have stood out recently. Therefore, I

Re: [openstack-dev] Python overhead for rootwrap

2013-07-29 Thread Joe Gordon
On Mon, Jul 29, 2013 at 5:51 AM, Thierry Carrez wrote: > John Garbutt wrote: > > I tend to agree that (option 3) aggregating all of the calls to > > rootwrap may be impractical: > >> Sean Dague wrote: > >> The reason there are 20 different call outs is that they aren't all in > the > >> same place

Re: [openstack-dev] [Infra] Nominations for Jenkins Job Builder Core

2013-07-29 Thread Clark Boylan
On Mon, Jul 29, 2013 at 1:29 PM, James E. Blair wrote: > Hi, > > Jenkins Job Builder project (part of the Infrastructure program) has > proven to be quite popular! > > There are a number of folks who contribute valuable reviews to the > project, and among those, four in particular have stood out r

Re: [openstack-dev] Python overhead for rootwrap

2013-07-29 Thread Joe Gordon
Going forward I think we should support two approaches: 1) some faster mostly python based (because we are a python project) rootwrap solution, there are many good ideas proposed above. Although Robert Collins comments have yet to be addressed. 2) Also support just using sudo. Assuming any sort

Re: [openstack-dev] [Horizon][Neutron] Security groups call to Neutron instead of Nova

2013-07-29 Thread Akihiro MOTOKI
Hi Edgar, If Neutron plugin without Neutron Security Group support, please set 'enable_security_group' in OPENSTACK_NEUTRON_NETWORK to True in /opt/stack/horizon/openstack_dashboard/local/local_settings.py after stack.sh and restart apache. (Or edit local/local_settings.py.example before stack.sh

Re: [openstack-dev] [Horizon][Neutron] Security groups call to Neutron instead of Nova

2013-07-29 Thread Edgar Magana
You just confirmed what I found! I was wondering if I could add update that variable in devstack, I was planning to add into lib/neutron: _horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_security_group False What do you think? Edgar On 7/29/13 1:59 PM, "Akihiro MOTOKI" wrot

[openstack-dev] amending Trove incubation to support NRDB

2013-07-29 Thread Michael Basnight
Rackspace is interested in creating a redis implementation for Trove, as well as haomai wang is looking to leverage Trove for leveldb integration. Ive done a proof of concept for redis and it was ~200 lines of guest impl code and I had to make one small change to the core create API, but one tha

Re: [openstack-dev] [Horizon][Neutron] Security groups call to Neutron instead of Nova

2013-07-29 Thread Akihiro MOTOKI
How about adding the following in lib/horizon around q-lbaas in init_horizon()? if is_service_enabled quantum; then _horizon_config_set $local_settings OPENSTACK_NEUTRON_NETWORK enable_security_group $Q_USE_SECGROUP fi On Tue, Jul 30, 2013 at 6:02 AM, Edgar Magana wrote: > You just confirmed w

[openstack-dev] Glance Image List

2013-07-29 Thread Jacob Godin
Hey all, Does anyone know if there is builtin functionality to list images for all tenants? If not, is there a best practice? I'm using Python APIs. Thanks! ___ OpenStack-dev mailing list [email protected] http://lists.openstack.org/cgi-

[openstack-dev] [Keystone] Reviews needed: Normalize datetimes to account for tz

2013-07-29 Thread Nikhil Komawar
Hi, There is a patch in review which resolves bug [https://bugs.launchpad.net/python-keystoneclient/+bug/1195924] 1195924 - link [https://review.openstack.org/#/c/35403/] https://review.openstack.org/#/c/35403/. To ensure appropriate timezone offsets are considered while checking the token

Re: [openstack-dev] [Horizon][Neutron] Security groups call to Neutron instead of Nova

2013-07-29 Thread Edgar Magana
I already filed a bug: https://bugs.launchpad.net/devstack/+bug/1206271 I am proposing this: In lib/neutron: if [[ "$Q_USE_SECGROUP" == "True" ]]; then LIBVIRT_FIREWALL_DRIVER=nova.virt.firewall.NoopFirewallDriver iniset $NOVA_CONF DEFAULT security_group_api quantum +else +_horizon

Re: [openstack-dev] Glance Image List

2013-07-29 Thread Nikhil Komawar
you could always try using the user as an admin or an admin user itself! thanks, -Nikhil -Original Message- From: "Jacob Godin" Sent: Monday, July 29, 2013 5:22pm To: "[email protected]" Subject: [openstack-dev] Glance Image List Hey all, Does anyone know if there

[openstack-dev] Keystone Split Backend Debugging

2013-07-29 Thread Miller, Mark M (EB SW Cloud - R&D - Corvallis)
Hello, Summary: I am attempting to configure the Keystone H-2 release to use an Enterprise Directory as the Identity backend and SQL as the Assignment backend (without TLS for now). I first installed Keystone H-2 on an Ubuntu vm server and got it up and running using a local SQL database for b

Re: [openstack-dev] [neutron] Neutron Network Statistics

2013-07-29 Thread Mellquist, Peter
Hi Nachi, I have created a blueprint ... https://blueprints.launchpad.net/neutron/+spec/neutron-network-statistics Thanks, Peter. -Original Message- From: Nachi Ueno [mailto:[email protected]] Sent: Monday, July 22, 2013 5:41 PM To: OpenStack Development Mailing List Subject: Re: [opens

Re: [openstack-dev] Python overhead for rootwrap

2013-07-29 Thread Jay Buffington
I haven't closely looked at rootwrap, but it seems to me that you could use the rootwrap config files to generate a gigantic sudoers config file which would not necessarily be human readable. That would have the flexibility and maintainability of rootwrap with the speed and audibility sudo. On T

[openstack-dev] [horizon] namespace error in unit test

2013-07-29 Thread Kuang-Ching Wang
I got the following error in running unit test. == ERROR: Failure: NoReverseMatch (u'firewalls' is not a registered namespace inside 'horizon:project') -- Trace

Re: [openstack-dev] [Murano] The mailing list address is changed

2013-07-29 Thread Stefano Maffulli
I have created a mailman topic for Murano too, so people interested only in receiving messages with "[Murano]" in the subject line can subscribe to the topic only. How to use Mailman topics: http://www.gnu.org/software/mailman/mailman-member/node31.html http://lists.openstack.org/cgi-bin/mailma

Re: [openstack-dev] amending Trove incubation to support NRDB

2013-07-29 Thread Jay Pipes
On 07/29/2013 05:12 PM, Michael Basnight wrote: Rackspace is interested in creating a redis implementation for Trove, as well as haomai wang is looking to leverage Trove for leveldb integration. Ive done a proof of concept for redis and it was ~200 lines of guest impl code and I had to make on

Re: [openstack-dev] Article on Improving Openstack's Parallel Performance

2013-07-29 Thread Aaron Rosen
Hi Peter, Great article. Any interest in pushing your N-work quantum-server patch upstream? Thanks, Aaron On Mon, Jul 22, 2013 at 8:44 AM, Peter Feiner wrote: > Hello, > > I've written an article about my ongoing work on improving OpenStack's > parallel performance: > > > http://blog.gridcen

Re: [openstack-dev] [horizon] namespace error in unit test

2013-07-29 Thread Kuang-Ching Wang
I solved my own problem - I missed to enable my service in test/settings.py. Thanks, KC On Jul 29, 2013, at 3:45 PM, Kuang-Ching Wang wrote: > I got the following error in running unit test. > > == > ERROR: Failure: NoReverse

Re: [openstack-dev] [Horizon][Neutron] Security groups call to Neutron instead of Nova

2013-07-29 Thread Edgar Magana
I push this fix: https://review.openstack.org/#/c/39181/ Let me know if you are fine with it. Edgar On 7/29/13 2:19 PM, "Akihiro MOTOKI" wrote: >How about adding the following in lib/horizon around q-lbaas in >init_horizon()? > >if is_service_enabled quantum; then > _horizon_config_set $loca

Re: [openstack-dev] [Openstack-docs] Use of XML xi:include with xpointer

2013-07-29 Thread Sean Roberts
Ah hah, the element syntax was missing. Thanks, I owe you a beer! ~sean On Jul 29, 2013, at 9:34, "Diane Fleming" wrote: > I don't know if this will work, but this is how I used xpointer to pull in > content from one file to another: > > > Target file (pulls in content) > > Overview >

[openstack-dev] Scheduler sub-group meeting agenda 7/30

2013-07-29 Thread Dugger, Donald D
Let's try and complete the topics from last week so we'll do them in a different order: 1) Multiple active scheduler policies/drivers 2) A simple way to improve Nova scheduler (I think we bottomed out on the Ceilometer issues at the last meeting and we probably don't need to go over it again.)