Re: [openstack-dev] Event Service

2013-07-12 Thread Qing He
Thanks Michael! I found it: https://wiki.openstack.org/wiki/NotificationEventExamples -Original Message- From: Michael Still [mailto:mi...@stillhq.com] Sent: Friday, July 12, 2013 6:38 PM To: OpenStack Development Mailing List Subject: Re: [openstack-dev] Event Service OpenStack has a sy

[openstack-dev] Not good idea to specify host in EVACUATE API

2013-07-12 Thread Chaoyi Huang
Hello, I found it's not good idea to specify host in calling EVACUATE API for HA purpose. In my case, one application includes many VMs, and each of them should run on seperate host, eg. co-location of VMs is not allowed for application robust purpose. The VM is created with scheduler hint to av

Re: [openstack-dev] Event Service

2013-07-12 Thread Michael Still
OpenStack has a system called notifications which does what you're looking for. I've never used it, but I am sure its documented. Cheers, Michael On Sat, Jul 13, 2013 at 10:12 AM, Qing He wrote: > All, > > Does open stack have pub/sub event service? I would like to be notified of > the event of

Re: [openstack-dev] [Review] Use of exception for non-exceptional cases

2013-07-12 Thread Mark Washenberger
I'm curious if folks know about this? import sys def foo(): raise Exception('Foo Exception') def bar(): try: foo() except Exception: exc_info = sys.exc_info() raise Exception('Bar Exception'), None, exc_info[2] bar() """ Traceback (most recent call last):

[openstack-dev] Event Service

2013-07-12 Thread Qing He
All, Does open stack have pub/sub event service? I would like to be notified of the event of VM creation/deletion/Migration etc. What is the best way to do this? Thanks, Qing ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists

Re: [openstack-dev] [OSLO] Comments/Questions on Messaging Wiki

2013-07-12 Thread William Henry
Sent from my iPhone On Jul 12, 2013, at 5:27 PM, Doug Hellmann wrote: > > > > On Fri, Jul 12, 2013 at 5:40 PM, William Henry wrote: >> Hi all, >> >> I've been reading through the Messaging Wiki and have some comments. Not >> criticisms, just comments and questions. >> I have found this

Re: [openstack-dev] [OSLO] Comments/Questions on Messaging Wiki

2013-07-12 Thread Doug Hellmann
On Fri, Jul 12, 2013 at 5:40 PM, William Henry wrote: > Hi all, > > I've been reading through the Messaging Wiki and have some comments. Not > criticisms, just comments and questions. > I have found this to be a very useful document. Thanks. > > 1. "There are multiple backend transport drivers w

Re: [openstack-dev] [Review] Use of exception for non-exceptional cases

2013-07-12 Thread Doug Hellmann
On Fri, Jul 12, 2013 at 2:40 PM, Brant Knudson wrote: > > Somewhat offtopic, but others might find it interesting. On another > project I used a different technique for exceptions, where the original > exception is "enhanced" with new fields as it propagates up the stack to > where it's handled.

Re: [openstack-dev] AMQP Version upgrade plans?

2013-07-12 Thread William Henry
- Original Message - > On 07/11/2013 12:06 PM, William Henry wrote: > > > > > > - Original Message - > >> On 07/08/2013 10:51 AM, Ted Ross wrote: > >>> If someone from the Qpid community were to work on integrating the new > >>> AMQP 1.0 technology into OpenStack, where would be

Re: [openstack-dev] [OSLO] Comments/Questions on Messaging Wiki

2013-07-12 Thread William Henry
Woops the wiki I am referring to is: https://wiki.openstack.org/wiki/Oslo/Messaging William - Original Message - > Hi all, > I've been reading through the Messaging Wiki and have some comments. Not > criticisms, just comments and questions. > I have found this to be a very useful do

[openstack-dev] [OSLO] Comments/Questions on Messaging Wiki

2013-07-12 Thread William Henry
Hi all, I've been reading through the Messaging Wiki and have some comments. Not criticisms, just comments and questions. I have found this to be a very useful document. Thanks. 1. "There are multiple backend transport drivers which implement the API semantics using different messaging syste

Re: [openstack-dev] [keystone] sqlite doesn't support migrations

2013-07-12 Thread Monty Taylor
On 07/11/2013 01:12 PM, Dolph Mathews wrote: > Just as a general statement, outside the scope of openstack, I don't > think sqlite is intended to support schema evolution. From the sqlite > docs [1]: "SQLite supports a limited subset of ALTER TABLE. [...] It is > not possible to rename a column,

Re: [openstack-dev] Revert Pass instance host-id to Quantum using port bindings extension.

2013-07-12 Thread Aaron Rosen
Hi, On Fri, Jul 12, 2013 at 6:47 AM, Robert Kukura wrote: > On 07/11/2013 04:30 PM, Aaron Rosen wrote: > > Hi, > > > > I think we should revert this patch that was added here > > (https://review.openstack.org/#/c/29767/). What this patch does is when > > nova-compute calls into quantum to creat

Re: [openstack-dev] savanna version 0.3 - added UI mockups for EDP workflow

2013-07-12 Thread Alexander Kuznetsov
On the tab with parameters, we see case for Hadoop streaming API. Could you please add more examples for parameters tab including cases for Hadoop jar, Pig and Hive scripts? Thanks, Alexander Kuznetsov. On Fri, Jul 12, 2013 at 7:14 PM, Chad Roberts wrote: > I have added some initial UI mockups

[openstack-dev] Program Description for OpenStack QA

2013-07-12 Thread Sean Dague
For general review (took us a little longer, we needed to elected a PTL first). Official Program Name: OpenStack Quality Assurance PTL: Sean Dague Mission Statement: Develop, maintain, and initiate tools and plans to ensure the upstream stability and quality of OpenStack, and its release readi

Re: [openstack-dev] [Review] Use of exception for non-exceptional cases

2013-07-12 Thread Brant Knudson
Somewhat offtopic, but others might find it interesting. On another project I used a different technique for exceptions, where the original exception is "enhanced" with new fields as it propagates up the stack to where it's handled. In this way all the information needed to handle the exception is

[openstack-dev] [Savanna-all] Cluster scaling discussion

2013-07-12 Thread Matthew Farrellee
A comment on how you go about this. I believe you've already run into issues w/ using the start/stop-*.sh scripts as a foundation for this feature. Long term I believe that an active cluster need not mean every instance is up and running. The core infrastructure must be (ambari + jt + nn), an

Re: [openstack-dev] Tempest testing for optional middlewares

2013-07-12 Thread Sean Dague
On 07/12/2013 02:15 PM, Joe Hakim Rahme wrote: Hello everyone, I'm addressing this email to the dev list because I couldn't find a way to get in touch with the testing team. Hopefully someone here will have the answer to my question or can point me to the correct people to ask. I am writing Tem

[openstack-dev] Tempest testing for optional middlewares

2013-07-12 Thread Joe Hakim Rahme
Hello everyone, I'm addressing this email to the dev list because I couldn't find a way to get in touch with the testing team. Hopefully someone here will have the answer to my question or can point me to the correct people to ask. I am writing Tempest tests that cover the behavior of some option

Re: [openstack-dev] [TripleO] mid-cycle sprint?

2013-07-12 Thread Clint Byrum
Excerpts from Devananda van der Veen's message of 2013-07-12 09:02:49 -0700: > Neither week is possible for me. There's that thing in the desert... So > while I'd like to attend, I don't think my absence will affect the rest of > you being productive :) > I see no reason to write off the Mojave d

Re: [openstack-dev] [Review] Use of exception for non-exceptional cases

2013-07-12 Thread Nachi Ueno
Hi folks > Monty Thank you for your adding good topic for this. I agree, hiding true cause by exception get hard to debug For, example, Sqlalchemy gives me this error for general sql errors.. "exceptions must be old-style classes or derived from BaseException, not str" (It should be hidden from

Re: [openstack-dev] [TripleO] mid-cycle sprint?

2013-07-12 Thread Devananda van der Veen
Neither week is possible for me. There's that thing in the desert... So while I'd like to attend, I don't think my absence will affect the rest of you being productive :) Cheers, Devananda On Wed, Jul 10, 2013 at 8:54 PM, Robert Collins wrote: > Clint suggested we do a mid-cycle sprint at the

Re: [openstack-dev] [TripleO] mid-cycle sprint?

2013-07-12 Thread Chris Jones
Hey I'm away from 5th-15th August and if possible I would prefer to be at home for 11th September. I'll start putting out feelers for family to come and stay to help with childcare while I'm out :) No preferences on the location. Cheers, Chris On 12 July 2013 17:02, Devananda van der Veen wrot

Re: [openstack-dev] [Review] Use of exception for non-exceptional cases

2013-07-12 Thread Dolph Mathews
On Fri, Jul 12, 2013 at 10:09 AM, Monty Taylor wrote: > > > On 07/11/2013 05:20 AM, Mark McLoughlin wrote: > > On Wed, 2013-07-10 at 19:49 -0400, Monty Taylor wrote: > >> I'd like top-post and hijack this thread for another exception related > >> thing: > >> > >> a) Anyone writing code such as: >

Re: [openstack-dev] The danger of capping python-*clients in core projects, and forbidding it in the future

2013-07-12 Thread Gareth
There're still keystone client conflict issues: https://review.openstack.org/#/c/36684/ It seems uncapping keystone client(remove upper bound) in some else project first is needed? On Fri, Jul 12, 2013 at 7:25 PM, Sean Dague wrote: > We are working towards uncapping all the clients, with the ex

Re: [openstack-dev] [Review] Use of exception for non-exceptional cases

2013-07-12 Thread Thomas Hervé
On Fri, Jul 12, 2013 at 5:33 PM, Monty Taylor wrote: > > > On 07/11/2013 05:43 AM, Thomas Hervé wrote: > > > > > > On Thu, Jul 11, 2013 at 1:49 AM, Monty Taylor > > wrote: > > > > I'd like top-post and hijack this thread for another exception > related > > th

Re: [openstack-dev] SQLAlchemy-migrate needs a new maintainer

2013-07-12 Thread David Ripton
On 07/12/2013 07:31 AM, Sean Dague wrote: On 07/12/2013 04:29 AM, Thierry Carrez wrote: Monty Taylor wrote: This brings us to the most important question: Who wants to be on the core team? That's the important question indeed. Accepting it (permanently or temporarily) under stackforge is an

Re: [openstack-dev] [Review] Use of exception for non-exceptional cases

2013-07-12 Thread Monty Taylor
On 07/11/2013 06:22 AM, Sean Dague wrote: > On 07/11/2013 05:43 AM, Thomas Hervé wrote: >> >> >> On Thu, Jul 11, 2013 at 1:49 AM, Monty Taylor > > wrote: >> >> I'd like top-post and hijack this thread for another exception >> related >> thing: >> >> a) Any

Re: [openstack-dev] [Review] Use of exception for non-exceptional cases

2013-07-12 Thread Monty Taylor
On 07/11/2013 05:43 AM, Thomas Hervé wrote: > > > On Thu, Jul 11, 2013 at 1:49 AM, Monty Taylor > wrote: > > I'd like top-post and hijack this thread for another exception related > thing: > > a) Anyone writing code such as: > > try: > blah

Re: [openstack-dev] [Review] Use of exception for non-exceptional cases

2013-07-12 Thread Monty Taylor
On 07/11/2013 05:43 AM, Thomas Hervé wrote: > > > On Thu, Jul 11, 2013 at 1:49 AM, Monty Taylor > wrote: > > I'd like top-post and hijack this thread for another exception related > thing: > > a) Anyone writing code such as: > > try: > blah

[openstack-dev] savanna version 0.3 - added UI mockups for EDP workflow

2013-07-12 Thread Chad Roberts
I have added some initial UI mockups for version 0.3. Any comments are appreciated. https://wiki.openstack.org/wiki/Savanna/UIMockups/JobCreation Thanks, Chad ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/

Re: [openstack-dev] [Review] Use of exception for non-exceptional cases

2013-07-12 Thread Monty Taylor
On 07/11/2013 05:20 AM, Mark McLoughlin wrote: > On Wed, 2013-07-10 at 19:49 -0400, Monty Taylor wrote: >> I'd like top-post and hijack this thread for another exception related >> thing: >> >> a) Anyone writing code such as: >> >> try: >> blah() >> except SomeException: >> raise SomeOtherExc

Re: [openstack-dev] SQLAlchemy-migrate needs a new maintainer

2013-07-12 Thread Monty Taylor
On 07/12/2013 07:37 AM, Boris Pavlovic wrote: > Hi Sean, > > I agree to help with sqlalchemy-migrate until we remove it. > But probably there should be one more person mikal Done. https://github.com/stackforge/sqlalchemy-migrate This is up and active, and it will run unittests. Right now it

Re: [openstack-dev] [Openstack] Improve inject network configuration

2013-07-12 Thread Russell Bryant
On 07/12/2013 04:43 AM, Thierry Carrez wrote: > Brian Lamar wrote: >>> Honestly, I think network injection is evil and I'd rather remove it >>> completely. I'm certainly not too interested in trying to add more >>> features to it. >> >> Can you elaborate on this a little more? Do you not like file

Re: [openstack-dev] Revert Pass instance host-id to Quantum using port bindings extension.

2013-07-12 Thread Robert Kukura
On 07/11/2013 04:30 PM, Aaron Rosen wrote: > Hi, > > I think we should revert this patch that was added here > (https://review.openstack.org/#/c/29767/). What this patch does is when > nova-compute calls into quantum to create the port it passes in the > hostname on which the instance was booted

Re: [openstack-dev] [Openstack] Improve inject network configuration

2013-07-12 Thread Russell Bryant
On 07/12/2013 01:10 AM, Brian Lamar wrote: > > > Russell Bryant wrote: >> On 07/11/2013 08:53 PM, Jae Sang Lee wrote: >>> Hi, stackers. >>> >>> When creating vm using multi nics, User should power up the second >>> interface on the instance manually for use second IP. >>> http://docs.openstack.or

Re: [openstack-dev] SQLAlchemy-migrate needs a new maintainer

2013-07-12 Thread Boris Pavlovic
Hi Sean, I agree to help with sqlalchemy-migrate until we remove it. But probably there should be one more person mikal Best regards, Boris Pavlovic On Fri, Jul 12, 2013 at 3:31 PM, Sean Dague wrote: > On 07/12/2013 04:29 AM, Thierry Carrez wrote: > >> Monty Taylor wrote: >> >>> This brings u

Re: [openstack-dev] SQLAlchemy-migrate needs a new maintainer

2013-07-12 Thread Sean Dague
On 07/12/2013 04:29 AM, Thierry Carrez wrote: Monty Taylor wrote: This brings us to the most important question: Who wants to be on the core team? That's the important question indeed. Accepting it (permanently or temporarily) under stackforge is an easy decision. But it's useless unless we h

Re: [openstack-dev] The danger of capping python-*clients in core projects, and forbidding it in the future

2013-07-12 Thread Sean Dague
We are working towards uncapping all the clients, with the exception of neutron client, because they need to make some incompatible changes on their next major release. On 07/12/2013 12:12 AM, Gareth wrote: so, what's the final conclusion about this issue? On Fri, Jul 12, 2013 at 12:11 PM, G

Re: [openstack-dev] [TripleO] mid-cycle sprint?

2013-07-12 Thread Ghe Rivero
On Thu, Jul 11, 2013 at 9:43 AM, Clint Byrum wrote: > Excerpts from Robert Collins's message of 2013-07-10 20:54:26 -0700: > > Clint suggested we do a mid-cycle sprint at the weekly meeting a > > fortnight ago, but ETIME and stuff - so I'm following up. > > > > HP would be delighted to host a get

Re: [openstack-dev] [Savanna-all] installation problem

2013-07-12 Thread Ruslan Kamaldinov
That's ok. You need to specify tenant id and provide auth token in headers. You can find detailed how-tos here https://savanna.readthedocs.org/en/latest/devref/quickstart.html btw, please use openstack-dev mail-list for Savanna-related questions. Just prefix mail subject with [Savanna]. Rusla

Re: [openstack-dev] [Neutron] Campus Network Blueprint

2013-07-12 Thread Zang MingJie
Hi Filipe: I disagree your ml2-external-port BP It is unsuitable to connect multiple l2 networks directly, there may be ip conflict, dhcp conflict and other problems. although neutron dhcp agent won't respond dhcp request from unknown source, an external dhcp may respond vm dhcp request. If we mo

Re: [openstack-dev] [Savanna-all] installation problem

2013-07-12 Thread Ruslan Kamaldinov
It seems that you're using the latest code from Savanna v0.2, but following instructions from Savanna v0.1. Please follow these docs: https://savanna.readthedocs.org/en/latest/ Ruslan On Friday, July 12, 2013 at 1:19 PM, Arindam Choudhury wrote: > Hi, > > While installing savanna I am getti

Re: [openstack-dev] [Openstack] Improve inject network configuration

2013-07-12 Thread Robert Collins
On 12 July 2013 20:43, Thierry Carrez wrote: > Brian Lamar wrote: >>> Honestly, I think network injection is evil and I'd rather remove it >>> completely. I'm certainly not too interested in trying to add more >>> features to it. >> >> Can you elaborate on this a little more? Do you not like file

Re: [openstack-dev] [nova] volume affinity filter for nova scheduler

2013-07-12 Thread Robert Collins
On 11 July 2013 02:39, Russell Bryant wrote: >> We'll probably need something like this for Ironic with persistent >> volumes on machines - yes its a rare case, but when it matters, it >> matters a great deal. > > I believe you, but I guess I'd like to better understand how this works > to make s

Re: [openstack-dev] [Openstack] Improve inject network configuration

2013-07-12 Thread Thierry Carrez
Brian Lamar wrote: >> Honestly, I think network injection is evil and I'd rather remove it >> completely. I'm certainly not too interested in trying to add more >> features to it. > > Can you elaborate on this a little more? Do you not like file injection > or dynamic network allocation? It's an

[openstack-dev] Nova service(s) prolem when using Mysql behind HAProxy

2013-07-12 Thread Chu Duc Minh
Hi, when using Mysql behind Haproxy, i have a problem on reboot when some nova services start after Haproxy service, but before Mysql service. These service failed: (i re-checked for sure in /var/log/boot.log) * Starting Nova cert [fail] * Starting Nova conductor [fail] * Starting Nova scheduler

Re: [openstack-dev] SQLAlchemy-migrate needs a new maintainer

2013-07-12 Thread Thierry Carrez
Monty Taylor wrote: > This brings us to the most important question: > > Who wants to be on the core team? That's the important question indeed. Accepting it (permanently or temporarily) under stackforge is an easy decision. But it's useless unless we have a set of people sufficiently interested

Re: [openstack-dev] Bug #1194026

2013-07-12 Thread Nachi Ueno
Hi folks I think I found possible cause of this problems. so we expected all RPC call is executed serialized way on l3-agent However it is executed in random order. http://paste.openstack.org/show/40156/ line starts from Get is RPC message log. line starts from [ Process is when l3-agen

[openstack-dev] [Neutron] please review LBaaS agent scheduling

2013-07-12 Thread Oleg Bondarev
Hi folks, While havana 2 is approaching I can't get a review from core devs for more than 2 weeks. That fact makes me a little nervous :) Could anyone please review? https://review.openstack.org/#/c/32137/ Thanks, Oleg ___ OpenStack-dev mailing list Open

[openstack-dev] [Savanna] Savanna meeting minutes

2013-07-12 Thread Sergey Lukjanov
Thanks everyone who have joined today's Savanna meeting. Here are the logs from the last meeting (July, 11): Minutes: http://eavesdrop.openstack.org/meetings/savanna/2013/savanna.2013-07-11-18.05.html Minutes (text): http://eavesdrop.openstack.org/meetings/savanna/2013/savanna.2013-07-11-18.05.