Re: [openstack-dev] [neutron][ovo] NeutronDbObject concurrency issues

2016-05-23 Thread Gary Kotton
Hi,
We have used tooz to enable concurrency. Zookeeper and Redis worked well. I 
think that it is certainly something that we need to consider. The challenge 
becomes a deployment.
Thanks
Gary

From: Damon Wang 
Reply-To: OpenStack List 
Date: Tuesday, May 24, 2016 at 5:58 AM
To: OpenStack List 
Subject: Re: [openstack-dev] [neutron][ovo] NeutronDbObject concurrency issues

Hi,

I want to add an option which handle by another project Tooz.

https://github.com/openstack/tooz

with redis or some other drivers, it seems pretty a good choice.

Any comments?

Wei Wang

2016-05-17 6:53 GMT+08:00 Ilya Chukhnakov 
>:

On 16 May 2016, at 20:01, Michał Dulko 
> wrote:

It's not directly related, but this reminds me of tests done by geguileo
[1] some time ago that were comparing different methods of preventing DB
race conditions in concurrent environment. Maybe you'll also find them
useful as you'll probably need to do something like conditional update
to increment a revision number.

[1] 
https://github.com/Akrog/test-cinder-atomic-states

Thanks for the link. The SQLA revisions are similar to the 
'solutions/update_with_where',
but they use the dedicated column for that [2]. And as long as it is properly 
configured,
it happens 'automagically' (SQLA will take care of adding proper 'where' to 
'update').

[2] 
http://docs.sqlalchemy.org/en/latest/orm/versioning.html

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: 
openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Geoff O'Callaghan

> On 24 May 2016, at 3:13 PM, Clint Byrum  wrote:
> 
> 
[snip]

> those other needs. Grab a python developer, land some code, and your
> feature is there.

s/python/whateverlanguage/

> 
>> I also never said, ship the source code and say ‘good luck’.   What I did 
>> imply  was, due to a relaxing of coding platform requirements we might be 
>> able to deliver a function at this performance point that  we may not have 
>> been able to do otherwise.   We should always provide support and the code,  
>> but as to what language it’s written it i’m personally not fussed and I have 
>> to deal with a variety of languages already so maybe that’s why I don’t see 
>> it as a big problem.
> 
> This again assumes that one only buys software and does not ever
> participate in its development in an ongoing basis. There's nothing
> wrong with that, but this particular community is highly focused on
> people who do want to participate and think that the ability to
> adapt this cloud they've invested in to their changing business needs is
> more important than any one feature.

No I didn’t say that at all and I don’t believe it’s assumed.I just said I 
wasn’t fussed about what language it’s written in and just wanted developers to 
be able to contribute if they had something to contribute.   

> 
>> 
>> I understand there will be integration challenges and I agree with 
>> cohesiveness being a good thing, but I also believe we must deliver value 
>> more than cohesiveness.   The value is what operators want,  the 
>> cohesiveness is what the developers may or may not want.
>> 
> 
> We agree that delivering value to end users and operators is the #1
> priority. I think we just disagree on the value of an open development
> model and cohesion in the _community_.

It’s not open if you restrict developers based on programming language.
Trust me I get cohesion and it’s value, we’ve reached the stage now where 
cohesion is being questioned.  The questioning is a good thing and it is a 
measure of the health of the community.

> 
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [tacker] Cancelling Tacker weekly IRC meeting on Tuesday 05/24

2016-05-23 Thread Sridhar Ramaswamy
Please continue to get the spec reviews going and reach out in #tacker
channel to flag any issues.

- Sridhar

On Mon, May 23, 2016 at 2:01 PM, Sridhar Ramaswamy 
wrote:

> Tackers -
>
> Does anyone have a specific agenda item for tomorrow's IRC weekly meeting?
> I know many specs are in flight and reviews are happening in gerrit. If I
> don't hear any specific topics to discuss by 10:00 UTC I'll cancel the
> meeting and give an hour back.
>
> - Sridhar
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Clint Byrum
Excerpts from Geoff O'Callaghan's message of 2016-05-24 14:34:46 +1000:
> 
> > On 24 May 2016, at 2:04 PM, Clint Byrum  wrote:
> > 
> > Excerpts from Geoff O'Callaghan's message of 2016-05-24 10:59:13 +1000:
> >> Surely openstack is defined by it’s capabilities and interfaces rather 
> >> than it’s internals.  Given the simplistic view that openstack is a 
> >> collection of micro services connected by well defined api’s does it 
> >> really matter what code is used inside that micro service (or macro 
> >> service )?   If there is a community willing to bring and support code in 
> >> language ‘x’,  isn’t that better than worrying about the off chance of 
> >> existing developers wishing to move projects and not knowing the target 
> >> language?Is there a fear that we’ll end up with a fork of nova (or 
> >> others) written in rust ?
> >> If we’re not open to evolving then we’ll die.
> >> 
> >> Just throwing in a different perspective.
> > 
> > Thanks Geoff. Your perspective is one that has been considered many
> > times. That is an engineering perspective though, and ignores the people
> > and businesses that are the users of OpenStack. We don't just shove the
> > code out the door and say "good luck!”.
> 
> Hey Clint,  That is exactly what I wasn’t saying.   Businesses and people out 
> there want the platform to have the features they want and work.  They could 
> care less about what it’s written in.   You tend to care when it doesn’t work 
> and / or it doesn’t have the features you want.   So I can understand for 
> operators now they have a vested interest in making sure they can debug what 
> is given to them as we don’t meet Geoff’s rule # 1 - the code must work and 
> it must do what I want.
> 

I completely respect that you may be in a situation where you can
actually define all of the things you want for your IT department today.

My experience is that those things change constantly, and there is no
product that will ever add all of the features that everyone needs. But
if one can hit 80%, and 100% of the startup features, then being open
source, there's no worry that some vendor will simply refuse to respect
those other needs. Grab a python developer, land some code, and your
feature is there.

> I also never said, ship the source code and say ‘good luck’.   What I did 
> imply  was, due to a relaxing of coding platform requirements we might be 
> able to deliver a function at this performance point that  we may not have 
> been able to do otherwise.   We should always provide support and the code,  
> but as to what language it’s written it i’m personally not fussed and I have 
> to deal with a variety of languages already so maybe that’s why I don’t see 
> it as a big problem.

This again assumes that one only buys software and does not ever
participate in its development in an ongoing basis. There's nothing
wrong with that, but this particular community is highly focused on
people who do want to participate and think that the ability to
adapt this cloud they've invested in to their changing business needs is
more important than any one feature.

> 
> I understand there will be integration challenges and I agree with 
> cohesiveness being a good thing, but I also believe we must deliver value 
> more than cohesiveness.   The value is what operators want,  the cohesiveness 
> is what the developers may or may not want.
> 

We agree that delivering value to end users and operators is the #1
priority. I think we just disagree on the value of an open development
model and cohesion in the _community_.

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Swift3] improve multi-delete performance

2016-05-23 Thread Kirubakaran Kaliannan
Hi,



The multi_delete in swift3, perform sequential DELETE.  In my 3
storage-node configuration to delete a 1000 objects, it took 30 second.



Following code change to create 100 thread pool to delete 1000 object took
only 12 second. (This may even reduce if more storage nodes in picture).



If the following code change look fine, How can we formally
(propose/review/commit) take this to the swift3 github code base ?





*Code diff:*



diff --git a/swift3/swift-plugin-s3/swift3/controllers/multi_delete.py
b/swift3/swift-plugin-s3/swift3/controllers/multi_delete.py

index 1bfde1d..5140529 100644

--- a/swift3/swift-plugin-s3/swift3/controllers/multi_delete.py

+++ b/swift3/swift-plugin-s3/swift3/controllers/multi_delete.py

@@ -21,9 +21,9 @@ from swift3.response import HTTPOk, S3NotImplemented,
NoSuchKey, \

from swift3.cfg import CONF

from swift3.utils import LOGGER

-# Zadara-Begin

+from eventlet import GreenPool

+import copy

MAX_MULTI_DELETE_BODY_SIZE = 262144

-# Zadara-End



 class MultiObjectDeleteController(Controller):

@@ -44,6 +44,24 @@ class MultiObjectDeleteController(Controller):

 return tostring(elem)

+def async_delete(self, reqs, key, elem):

+req = copy.copy(reqs)

+req.object_name = key

+try:

+req.get_response(self.app, method='DELETE')

+except NoSuchKey:

+pass

+except ErrorResponse as e:

+error = SubElement(elem, 'Error')

+SubElement(error, 'Key').text = key

+SubElement(error, 'Code').text = e.__class__.__name__

+SubElement(error, 'Message').text = e._msg

+return

+

+if not self.quiet:

+deleted = SubElement(elem, 'Deleted')

+SubElement(deleted, 'Key').text = key

+

 @bucket_operation

 def POST(self, req):

 """

@@ -90,27 +108,17 @@ class MultiObjectDeleteController(Controller):

 body = self._gen_error_body(error, elem, delete_list)

 return HTTPOk(body=body)

+parallel_delete = 100

+run_pool = GreenPool(size=parallel_delete)

 for key, version in delete_list:

 if version is not None:

 # TODO: delete the specific version of the object

 raise S3NotImplemented()

-req.object_name = key

-

-try:

-req.get_response(self.app, method='DELETE')

-except NoSuchKey:

-pass

-except ErrorResponse as e:

-error = SubElement(elem, 'Error')

-SubElement(error, 'Key').text = key

-SubElement(error, 'Code').text = e.__class__.__name__

-SubElement(error, 'Message').text = e._msg

-continue

-

-if not self.quiet:

-deleted = SubElement(elem, 'Deleted')

-SubElement(deleted, 'Key').text = key

+run_pool.spawn(self.async_delete, req, key, elem)

+

+# Wait for all the process to complete

+run_pool.waitall()

 body = tostring(elem)
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Geoff O'Callaghan

> On 24 May 2016, at 2:04 PM, Clint Byrum  wrote:
> 
> Excerpts from Geoff O'Callaghan's message of 2016-05-24 10:59:13 +1000:
>> Surely openstack is defined by it’s capabilities and interfaces rather than 
>> it’s internals.  Given the simplistic view that openstack is a collection of 
>> micro services connected by well defined api’s does it really matter what 
>> code is used inside that micro service (or macro service )?   If there is a 
>> community willing to bring and support code in language ‘x’,  isn’t that 
>> better than worrying about the off chance of existing developers wishing to 
>> move projects and not knowing the target language?Is there a fear that 
>> we’ll end up with a fork of nova (or others) written in rust ?
>> If we’re not open to evolving then we’ll die.
>> 
>> Just throwing in a different perspective.
> 
> Thanks Geoff. Your perspective is one that has been considered many
> times. That is an engineering perspective though, and ignores the people
> and businesses that are the users of OpenStack. We don't just shove the
> code out the door and say "good luck!”.

Hey Clint,  That is exactly what I wasn’t saying.   Businesses and people out 
there want the platform to have the features they want and work.  They could 
care less about what it’s written in.   You tend to care when it doesn’t work 
and / or it doesn’t have the features you want.   So I can understand for 
operators now they have a vested interest in making sure they can debug what is 
given to them as we don’t meet Geoff’s rule # 1 - the code must work and it 
must do what I want.

I also never said, ship the source code and say ‘good luck’.   What I did imply 
 was, due to a relaxing of coding platform requirements we might be able to 
deliver a function at this performance point that  we may not have been able to 
do otherwise.   We should always provide support and the code,  but as to what 
language it’s written it i’m personally not fussed and I have to deal with a 
variety of languages already so maybe that’s why I don’t see it as a big 
problem.

I understand there will be integration challenges and I agree with cohesiveness 
being a good thing, but I also believe we must deliver value more than 
cohesiveness.   The value is what operators want,  the cohesiveness is what the 
developers may or may not want.

> 
> So, each new aspect of the internals that the people and business must
> evaluate is another hurdle to adoption at some level. If OpenStack is
> the fastest open source cloud platform ever, but only gets adopted by
> the 5 largest cloud users on the planet, and smaller organizations are
> forced to invest their money in closed source appliance based clouds,
> then we'll all suffer, as neither of those options will stand a chance
> against the large scale efforts of the established players like Amazon,
> Google, and Microsoft.
> 
> Likewise, if OpenStack is adopted by the bulk of small/medium businesses
> needing clouds, but nobody can run it at scale, we will also be crushed
> as users develop elastic workloads that need to be moved onto a large
> scale cloud.
> 
> And if there are simply two, one for big clouds, and one for small,
> they'll never be fully compatible. It will be like POSIX... moderately
> useful for a limited set of applications, but most things will have to
> be optimized for each different implementation, wasting everyone's time
> porting when they should be developing.
> 
> So, while this doesn't mean we should just force everything onto Python,
> it does mean that we should remain as cohesive as we can when making
> choices like this. So the question "What is OpenStack" needs to be
> asked, so we can evaluate what should be kept close together, and what
> might be better off as an independent component.

I thought that had already been asked and answered.  The question becomes :- is 
what openstack is written in a core part of openstack?

Thanks for the reply.
Geoff


> 
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [OVN] [networking-ovn] [networking-sfc] SFC and OVN

2016-05-23 Thread Ryan Moats
John McDowall  wrote on 05/18/2016 03:55:14
PM:

> From: John McDowall 
> To: Ryan Moats/Omaha/IBM@IBMUS
> Cc: "disc...@openvswitch.org" , "OpenStack
> Development Mailing List" 
> Date: 05/18/2016 03:55 PM
> Subject: Re: [OVN] [networking-ovn] [networking-sfc] SFC and OVN
>
> Ryan,
>
> OK all three repos and now aligned with their masters. I have done
> some simple level system tests and I can steer traffic to a single
> VNF.  Note: some additional changes to networking-sfc to catch-up
> with their changes.
>
> https://github.com/doonhammer/networking-sfc
> https://github.com/doonhammer/networking-ovn
> https://github.com/doonhammer/ovs
>
> The next tasks I see are:
>
> 1. Decouple networking-sfc and networking-ovn. I am thinking that I
> will pass a nested port-chain dictionary holding port-pairs/port-
> pair-groups/flow-classifiers from networking-sfc to networking-ovn.
> 2. Align the interface between networking-ovn and ovs/ovn to match
> the nested dictionary in 1.
> 3. Modify the ovn-nb schema and ovn-northd.c to march the port-chain
model.
> 4. Add ability to support chain of port-pairs
> 5. Think about flow-classifiers and how best to map them, today I
> just map the logical-port and ignore everything else.
>
> Any other suggestions/feedback?
>
> Regards
>
> John

John-

(Sorry for sending this twice, but I forgot that text/html is not liked
by the mailing lists ...)

My apologies for not answering this sooner - I was giving a two day
training on Tues/Wed last week and came back to my son graduating
from HS the next day, so things have been a bit of a whirlwind here.

Looking at the github repos, I like the idea of passing a dictionary
from networking-sfc to networking-ovn. The flow classifiers should
be relatively straightforward to map to ovs match rules (famous last
words)...

I've probably missed an orbit here, but in the ovn-northd implementation,
I was expecting to find service chains in the egress and router pipelines
in addition to the ingress pipeline (see below for why I think a service
chain stage in the egress pipeline makes sense ...)

Also, in the ovn-northd implementation, I'm a little disturbed to see the
ingress side of the service chain sending packets to output ports - I
think that a more scalable (and more "ovs-like" approach) would be to
match the egress side of a port pair in the chaining stage of the
ingress pipeline, with an action that  set the input port register.
Then the egress pipeline would have a chaining stage where the output
port register would be set based on the ingress port of the next port
pair in the chain and the packet being punted to the proper output port
in the last table.  That should automagically build your function chain
and provide the basis for bucketizing multiple ingress ports for the
next port group to support hash based load balancing.

Does that make sense?

Ryan
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Clint Byrum
Excerpts from Geoff O'Callaghan's message of 2016-05-24 10:59:13 +1000:
> Surely openstack is defined by it’s capabilities and interfaces rather than 
> it’s internals.  Given the simplistic view that openstack is a collection of 
> micro services connected by well defined api’s does it really matter what 
> code is used inside that micro service (or macro service )?   If there is a 
> community willing to bring and support code in language ‘x’,  isn’t that 
> better than worrying about the off chance of existing developers wishing to 
> move projects and not knowing the target language?Is there a fear that 
> we’ll end up with a fork of nova (or others) written in rust ?
> If we’re not open to evolving then we’ll die.
> 
> Just throwing in a different perspective.

Thanks Geoff. Your perspective is one that has been considered many
times. That is an engineering perspective though, and ignores the people
and businesses that are the users of OpenStack. We don't just shove the
code out the door and say "good luck!".

So, each new aspect of the internals that the people and business must
evaluate is another hurdle to adoption at some level. If OpenStack is
the fastest open source cloud platform ever, but only gets adopted by
the 5 largest cloud users on the planet, and smaller organizations are
forced to invest their money in closed source appliance based clouds,
then we'll all suffer, as neither of those options will stand a chance
against the large scale efforts of the established players like Amazon,
Google, and Microsoft.

Likewise, if OpenStack is adopted by the bulk of small/medium businesses
needing clouds, but nobody can run it at scale, we will also be crushed
as users develop elastic workloads that need to be moved onto a large
scale cloud.

And if there are simply two, one for big clouds, and one for small,
they'll never be fully compatible. It will be like POSIX... moderately
useful for a limited set of applications, but most things will have to
be optimized for each different implementation, wasting everyone's time
porting when they should be developing.

So, while this doesn't mean we should just force everything onto Python,
it does mean that we should remain as cohesive as we can when making
choices like this. So the question "What is OpenStack" needs to be
asked, so we can evaluate what should be kept close together, and what
might be better off as an independent component.

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Morgan Fainberg
On Mon, May 23, 2016 at 4:28 PM, Gregory Haynes  wrote:

> On Mon, May 23, 2016, at 05:24 PM, Morgan Fainberg wrote:
>
>
>
> On Mon, May 23, 2016 at 2:57 PM, Gregory Haynes 
> wrote:
>
> On Fri, May 20, 2016, at 07:48 AM, Thierry Carrez wrote:
> > John Dickinson wrote:
> > > [...]
> > >> So the real question we need to answer is... where does OpenStack
> > >> stop, and where does the wider open source community start ? If
> > >> OpenStack is purely an "integration engine", glue code for other
> > >> lower-level technologies like hypervisors, databases, or distributed
> > >> block storage, then the scope is limited, Python should be plenty
> > >> enough, and we don't need to fragment our community. If OpenStack is
> > >> "whatever it takes to reach our mission", then yes we need to add one
> > >> language to cover lower-level/native optimization, because we'll
> > >> need that... and we need to accept the community cost as a
> > >> consequence of that scope choice. Those are the only two options on
> > >> the table.
> > >>
> > >> I'm actually not sure what is the best answer. But I'm convinced we,
> > >> as a community, need to have a clear answer to that. We've been
> > >> avoiding that clear answer until now, creating tension between the
> > >> advocates of an ASF-like collection of tools and the advocates of a
> > >> tighter-integrated "openstack" product. We have created silos and
> > >> specialized areas as we got into the business of developing time-
> > >> series databases or SDNs. As a result, it's not "one community"
> > >> anymore. Should we further encourage that, or should we focus on
> > >> what the core of our mission is, what we have in common, this
> > >> integration engine that binds all those other open source projects
> > >> into one programmable infrastructure solution ?
> > >
> > > You said the answer in your question. OpenStack isn't defined as an
> > > integration engine[3]. The definition of OpenStack is whatever it
> > > takes to fulfill our mission[4][5]. I don't mean that as a tautology.
> > > I mean that we've already gone to the effort of defining OpenStack.
> It's
> > > our mission statement. We're all about building a cloud platform upon
> > > which people can run their apps ("cloud-native" or otherwise), so we
> > > write the software needed to do that.
> > >
> > > So where does OpenStack stop and the wider community start? OpenStack
> > > includes the projects needed to fulfill its mission.
> >
> > I'd totally agree with you if OpenStack was developed in a vacuum. But
> > there is a large number of open source projects and libraries that
> > OpenStack needs to fulfill its mission that are not in "OpenStack": they
> > are external open source projects we depend on. Python, MySQL, libvirt,
> > KVM, Ceph, OpenvSwitch, RabbitMQ... We are not asking that those should
> > be included in OpenStack, and we are not NIHing replacements for those
> > in OpenStack either.
> >
> > So it is not as clear-cut as you present it, and you can approach this
> > dependency question from two directions.
> >
> > One is community-centric: "anything produced by our community is
> > OpenStack". If we are missing a lower-level piece to achieve our mission
> > and are developing it ourselves as a result, then it is OpenStack, even
> > if it ends up being a message queue or a database.
> >
> > The other approach is product-centric: "lower-level pieces are OpenStack
> > dependencies, rather than OpenStack itself". If we are missing a
> > lower-level piece to achieve our mission and are developing it as a
> > result, it could be developed on OpenStack infrastructure by members of
> > the OpenStack community but it is not "OpenStack the product", it's an
> > OpenStack *dependency*. It is not governed by the TC, it can use any
> > language and tool deemed necessary.
> >
> > On this second approach, there is the obvious question of where
> > "lower-level" starts, which as you explained above is not really
> > clear-cut. A good litmus test for it could be whenever Python is not
> > enough. If you can't develop it effectively with the language that is
> > currently sufficient for the rest of OpenStack, then developing it as an
> > OpenStack dependency in whatever language is appropriate might be the
> > solution...
> >
> > That is what I mean by 'scope': where does "OpenStack" stop, and where
> > do "OpenStack dependencies" start ? It is a lot easier and a lot less
> > community-costly to allow additional languages in OpenStack dependencies
> > (we already have plenty there).
> >
>
> I strongly agree with both of the points about what OpenStack is defined
> as. We are  a set of projects attempting to fulfill our mission. In
> doing so, we try to use outside dependencies to help us as much as
> possible. Sometimes we cannot find an outside dependency to satisfy a
> need whether due to optimization needs, licensing issues, usability
> problems, or simply because an 

Re: [openstack-dev] [glance] [defcore] [interop] Proposal for a virtual sync dedicated to Import Refactor May 26th

2016-05-23 Thread Mike Perez
On 18:00 May 20, Nikhil Komawar wrote:
> Hello all,
> 
> 
> I want to propose having a dedicated virtual sync next week Thursday May
> 26th at 1500UTC for one hour on the Import Refactor work [1] ongoing in
> Glance. We are making a few updates to the spec; so it would be good to
> have everyone on the same page and soon start merging those spec changes.
> 
> 
> Also, I would like for this sync to be cross project one so that all the
> different stakeholders are aware of the updates to this work even if you
> just want to listen in.
> 
> 
> Please vote with +1, 0, -1. Also, if the time doesn't work please
> propose 2-3 additional time slots.
> 
> 
> We can decide later on the tool and I will setup agenda if we have
> enough interest.

+1

-- 
Mike Perez

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [javascript] Seeking contributors, js-generator-openstack

2016-05-23 Thread Zhang Yujun
Hi, all

I'm happy to join the js-generator-openstack project.

We have listed the todos in story board on
https://storyboard.openstack.org/#!/project/842

Please feel free to take them and make contribution.

--
Yujun Zhang

On Mon, May 23, 2016 at 11:46 PM Michael Krotscheck 
wrote:

> Good idea. Since we've already got a storyboard project, let's start there.
>
> Michael
>
> On Fri, May 20, 2016 at 4:02 PM Zhang Yujun 
> wrote:
>
>> Hi, Michael
>>
>> As you are no longer alone now, we'd better to put things in your head
>> onto documents so that everybody who wish to contribute will know where to
>> go.
>>
>> Besides the technical roadmap, I think we shall need a space for issue
>> tracking and proposal discussion. After we make the project more open to
>> the community, it won't be long that more developers join this project.
>>
>> That's my basic thoughts for the moment.
>>
>> --
>> Yujun
>>
>> On Sat, May 21, 2016 at 1:10 AM Michael Krotscheck 
>> wrote:
>>
>>> Hi there!
>>>
>>> Well, the first thing we need is other reviewers, which is the fastest
>>> way to become a core :). The project page right now is the README.md
>>> file in the project itself. The main reason for this is that the target
>>> audience - javascript engineers - usually find that first via NPM. Most of
>>> the Todo items there have already been done, actually, so the next step
>>> would be to really identify what this project needs to accomplish, group it
>>> into major categories, and start working on it. Off the top of my head,
>>> here's a list:
>>>
>>>
>>>1. Dependency synchronization: Keep a list of semver
>>>global-dependencies.json at the root of the project, and update a 
>>> project's
>>>dependencies if the versions are out of sync.
>>>2. Eslint invocation. Infra's Common Testing Interface states that
>>>all javascript projects must support 'npm run lint', using
>>>eslint-config-openstack. The generator should add/update this to any
>>>project it's run in.
>>>3. nsp invocation. Not strictly necessary, but a postinstall scan of
>>>the project for publicly known vulnerabilities is always a good thing.
>>>
>>> After these pieces, the next step becomes more complicated, as we need
>>> to choose whether the user is creating a web application, or a node
>>> application. This then allows us to switch out which test harness and
>>> runner we're using, so that the `npm test` command can be consistent. Once
>>> this lands, we can start talking about project src/dist directories, how to
>>> best use gulp in each project type, and actual project templates :).
>>>
>>> Is there something in particular you'd like to work on?
>>>
>>> Michael
>>>
>>>
>>> On Thu, May 19, 2016 at 12:39 AM Zhang Yujun 
>>> wrote:
>>>
 Hi, Michael,

 I have several project experience in JavaScript and please let me know
 how I could help on this project?

 Is there a project page?

 Or we shall getting started with gerrit review?

 --
 Yujun

 On Wed, May 18, 2016 at 11:45 PM Michael Krotscheck <
 krotsch...@gmail.com> wrote:

> Hello everyone!
>
> The js-generator-openstack project has been incubated under
> openstack-infra, and is seeking contributors (and cores). The purpose of
> the project is as follows:
>
>- Help manage common project configuration aspects, such as
>licenses, gerrit, authors, and more.
>- Assist in keeping dependencies up-to-date and synchronized
>across javascript projects (JS equivalent of global requirements).
>- Provide all the necessary hooks for OpenStack's JavaScript
>Common Testing Interface.
>- Suggest common tools to use for tasks such as linting, unit
>testing, functional testing, and more.
>- (Newton Stretch) Provide a quick way of bootstrapping a new
>CORS-consuming OpenStack UI.
>
> I'm looking for help- firstly, because right now I'm the only person
> who's willing to review JavaScript amongst the various infra cores, and 
> I'd
> really like more eyeballs on this project. Secondly, because I know that
> I'm not the only person who has opinions about how we should be doing
> JavaScript things.
>
> Come on over to
> https://review.openstack.org/#/q/project:openstack-infra/js-generator-openstack+status:open
>  and
> help me out, would ya? If you've got questions, I'm active in the
> #openstack-javascript channel.
>
> Michael
>

> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe:
> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

 

Re: [openstack-dev] [neutron][ovo] NeutronDbObject concurrency issues

2016-05-23 Thread Damon Wang
Hi,

I want to add an option which handle by another project Tooz.

https://github.com/openstack/tooz

with redis or some other drivers, it seems pretty a good choice.

Any comments?

Wei Wang

2016-05-17 6:53 GMT+08:00 Ilya Chukhnakov :

>
> On 16 May 2016, at 20:01, Michał Dulko  wrote:
>
> It's not directly related, but this reminds me of tests done by geguileo
> [1] some time ago that were comparing different methods of preventing DB
> race conditions in concurrent environment. Maybe you'll also find them
> useful as you'll probably need to do something like conditional update
> to increment a revision number.
>
> [1] https://github.com/Akrog/test-cinder-atomic-states
>
>
> Thanks for the link. The SQLA revisions are similar to the
> 'solutions/update_with_where',
> but they use the dedicated column for that [2]. And as long as it is
> properly configured,
> it happens 'automagically' (SQLA will take care of adding proper 'where'
> to 'update').
>
> [2] http://docs.sqlalchemy.org/en/latest/orm/versioning.html
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [OVN] [networking-ovn] [networking-sfc] SFC and OVN

2016-05-23 Thread Ryan Moats
John-
 
My apologies for not answering this sooner - I was giving a two day training on Tues/Wed last week and came back to my son graduating from HS the next day, so thiings have been a bit of a whirlwind here.
 
Looking at the github repos, I like the idea of passing a dictionary from networking-sfc to networking-ovn.  The flow classifiers should be relatively straightforward to map to ovs match rules (famous last words)...
 
I've probably missed an orbit here, but in the ovn-northd implementation, I was expecting to find service chains in the egress and router pipelines in addition to the ingress pipeline (see below for why I think a service chain stage in the egress pipeline makes sense ...)
 
Also, in the ovn-northd implementation, I'm a little disturbed to see the ingress side of the service chain sending packets to output ports - I think that a more
scalable (and more "ovs" approach) would be to match the egress side of a port pair in the chaining stage of the ingress pipeline, with an action that  set the input port register.  Then the egress pipeline would have a chaining stage where the output port register would be set based on the ingress port of the next port pair in the chain and the packet being punted to the proper output port in the last table.  That should automagically build your function chain and provider the bases for bucketizing multiple ingress ports for the next port group to support hash based load balancing.
 
Does that make sense?
 
Ryan
 
- Original message -From: John McDowall To: Ryan Moats/Omaha/IBM@IBMUSCc: "disc...@openvswitch.org" , "OpenStack Development Mailing List" Subject: Re: [OVN] [networking-ovn] [networking-sfc] SFC and OVNDate: Wed, May 18, 2016 3:55 PM 
Ryan,
 
OK all three repos and now aligned with their masters. I have done some simple level system tests and I can steer traffic to a single VNF.  Note: some additional changes to networking-sfc to catch-up with their changes.
 
https://github.com/doonhammer/networking-sfc 
https://github.com/doonhammer/networking-ovn
https://github.com/doonhammer/ovs 
 
The next tasks I see are:
 
 
Decouple networking-sfc and networking-ovn. I am thinking that I will pass a nested port-chain dictionary holding port-pairs/port-pair-groups/flow-classifiers from networking-sfc to networking-ovn.Align the interface between networking-ovn and ovs/ovn to match the nested dictionary in 1.Modify the ovn-nb schema and ovn-northd.c to march the port-chain model.Add ability to support chain of port-pairsThink about flow-classifiers and how best to map them, today I just map the logical-port and ignore everything else.
 
Any other suggestions/feedback?
 
Regards
 
John
  
From: Ryan Moats Date: Wednesday, May 11, 2016 at 1:39 PMTo: John McDowall Cc: "disc...@openvswitch.org" , OpenStack Development Mailing List Subject: Re: [OVN] [networking-ovn] [networking-sfc] SFC and OVN 
  
John McDowall  wrote on 05/11/2016 12:37:40 PM:> From: John McDowall > To: Ryan Moats/Omaha/IBM@IBMUS> Cc: "disc...@openvswitch.org" , "OpenStack> Development Mailing List" > Date: 05/11/2016 12:37 PM> Subject: Re: [OVN] [networking-ovn] [networking-sfc] SFC and OVN>> Ryan,>> I have done networking-sfc the files that I see as changed/added are:>> devstack/settings   Modified Runtime setting to pick up OVN Driver> networking_sfc/db/migration/alembic_migrations/versions/mitaka/> expand/5a475fc853e6_ovs_data_model.py Hack to work around> flow_classifier issue – need to resolve with SFC team.> networking_sfc/services/sfc/drivers/ovn/__init__.py   Added for OVN Driver> networking_sfc/services/sfc/drivers/ovn/driver.py     Added ovn driver file> setup.cfg Inserted OVN driver entry>> I am currently working to clean up ovs/ovn.>> Regards>> JohnI can confirm that the networking-sfc rebase goes in clean againstmaster for me :) - Looking forward to ovs ...Ryan 
 


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Magnum][Octavia] Need help for LBaaS v2

2016-05-23 Thread 王华
Hi Michael,

Thank you for your help. Do you need any other logs to debug this problem?

Regards,
Wanghua

On Tue, May 24, 2016 at 12:31 AM, Michael Johnson 
wrote:

> Hi Wanghua,
>
> From the o-cw log, it looks like the amphora service VM did not boot
> properly or the network is not configured correctly.  We can see that
> Nova said the VM went active, but the amphora-agent inside the image
> never became reachable.  I would check the nova instance console log
> to make sure the instance finished booting and check that the octavia
> management network is properly setup such that the amphora-agent can
> be reached.
>
> Michael
>
>
> On Sun, May 22, 2016 at 8:31 PM, 王华  wrote:
> > Hi all,
> >
> > Previously Magnum used LBaaS v1. Now LBaaS v1 is deprecated, so we want
> to
> > replace it by LBaaS v2. But I met a problem in my patch
> > https://review.openstack.org/#/c/314060/. I could not figure out why it
> > didn't work. It seems there are some errors in
> >
> http://logs.openstack.org/60/314060/5/check/gate-functional-dsvm-magnum-k8s/6e3795e/logs/screen-o-cw.txt.gz
> .
> > Can anyone in Octavia team help me to figure out why my patch doesn't
> work
> > in the gate?  Thank you.
> >
> > Regards,
> > Wanghua
> >
> >
> __
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [openstack-operators][cinder] max_concurrent_builds in Cinder

2016-05-23 Thread John Griffith
On Mon, May 23, 2016 at 8:32 AM, Ivan Kolodyazhny  wrote:

> Hi developers and operators,
> I would like to get any feedback from you about my idea before I'll start
> work on spec.
>
> In Nova, we've got max_concurrent_builds option [1] to set 'Maximum number
> of instance builds to run concurrently' per each compute. There is no
> equivalent Cinder.
>
> Why do we need it for Cinder? IMO, it could help us to address following
> issues:
>
>- Creation of N volumes at the same time increases a lot of resource
>usage by cinder-volume service. Image caching feature [2] could help us a
>bit in case when we create volume form image. But we still have to upload N
>images to the volumes backend at the same time.
>- Deletion on N volumes at parallel. Usually, it's not very hard task
>for Cinder, but if you have to delete 100+ volumes at once, you can fit
>different issues with DB connections, CPU and memory usages. In case of
>LVM, it also could use 'dd' command to cleanup volumes.
>- It will be some kind of load balancing in HA mode: if cinder-volume
>process is busy with current operations, it will not catch message from
>RabbitMQ and other cinder-volume service will do it.
>- From users perspective, it seems that better way is to create/delete
>N volumes a bit slower than fail after X volumes were created/deleted.
>
>
> [1]
> https://github.com/openstack/nova/blob/283da2bbb74d0a131a66703516d16698a05817c7/nova/conf/compute.py#L161-L163
> [2]
> https://specs.openstack.org/openstack/cinder-specs/specs/liberty/image-volume-cache.html
>
> Regards,
> Ivan Kolodyazhny,
> http://blog.e0ne.info/
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
> ​Just curious about a couple things:  Is this attempting to solve a
problem in the actual Cinder Volume Service or is this trying to solve
problems with backends that can't keep up and deliver resources under heavy
load?  I get the copy-image to volume, that's a special case that certainly
does impact Cinder services and the Cinder node itself, but there's already
throttling going on there, at least in terms of IO allowed.

Also, I'm curious... would the exiting API Rate Limit configuration achieve
the same sort of thing you want to do here?  Granted it's not selective but
maybe it's worth mentioning.

If we did do something like this I would like to see it implemented as a
driver config; but that wouldn't help if the problem lies in the Rabbit or
RPC space.  That brings me back to wondering about exactly where we want to
solve problems and exactly which.  If delete is causing problems like you
describe I'd suspect we have an issue in our DB code (too many calls to
start with) and that we've got some overhead elsewhere that should be
eradicated.  Delete is a super simple operation on the Cinder side of
things (and most back ends) so I'm a bit freaked out thinking that it's
taxing resources heavily.

Thanks,
John
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [nova] Suggest to not deprecate os-migrations API

2016-05-23 Thread Zhenyu Zheng
Hi All,

According to
https://github.com/openstack/nova/blob/master/releasenotes/notes/os-migrations-ef225e5b309d5497.yaml
, we are going to deprecate the old os-migrations API, and two new APIs:
/servers/{server uuid}/migrations and /servers/{server
uuid}/migrations/{migration id} is added.

As we can see, the newly added APIs cannot work if we don't know which
instance is migrating. If our user uses HA applications or DRS applications
such as openstack-watcher, automatic migrations can take place, we may not
know which instance is migrating. And an API like the old os-migrations
will be a really good choice to use, we can get all the current running
migrations in simply one call. So I suggest not deprecate this API.

Any thoughts?

BR,
Kevin Zheng
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tricircle] Launch work group for cross-pod L2 networking feature

2016-05-23 Thread Yipei Niu
Hi, all,

Since I have to attend the dissertation defense of my master degree on
Wednesday morning, I cannot attend the group meeting. Sorry about that. If
it is inconvenient to reschedule the meeting, I will keep online in
#openstack-tricircle so as to receive the meeting log.

Best regards,
Yipei
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [PTLs][all][mentoring] Mentors needed in specific technical areas

2016-05-23 Thread Sean McGinnis
Hi Emily,

You have a couple spots in your message that look like they were
supposed to be hyperlinks. Do you have those links to the guidelines and
sign up form?

Great program - glad to see it's taking off!

Thanks,
Sean

On Mon, May 23, 2016 at 10:24:57AM -0400, Emily K Hugenbruch wrote:
> 
> 
> Hi,
> The lightweight mentoring program sponsored by the Women of OpenStack has
> really taken off, and we have about 35 mentees looking for technical help
> that we don't have mentors for.  We're asking for help from the PTLs to
> announce the mentoring program in team meetings then direct people to the
> guidelines (here and here) and signup form if they're interested.
> 
> Mentors should be regular contributors to a project, with an interest in
> helping new people and about 4 hours a month for mentoring.  They do not
> have to be women; the program is just sponsored by WoO, we welcome all
> mentees and mentors.
> 
> These are the projects/areas where we especially need mentors:
>   Cinder
>   Containers
>   Documentation
>   Glance
>   Keystone
>   Murano
>   Neutron
>   Nova
>   Ops
>   Searchlight
>   Telemetry
>   TripleO
>   Trove
> 
> If you have any questions you can contact me, or ask on openstack-women
> where the mentoring committee hangs out.
> Thanks!
> Emily Hugenbruch
> IRC: ekhugen

> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [openstack-operators][cinder] max_concurrent_builds in Cinder

2016-05-23 Thread Sean McGinnis
On Mon, May 23, 2016 at 05:32:45PM +0300, Ivan Kolodyazhny wrote:
> Hi developers and operators,
> I would like to get any feedback from you about my idea before I'll start
> work on spec.
> 
> In Nova, we've got max_concurrent_builds option [1] to set 'Maximum number
> of instance builds to run concurrently' per each compute. There is no
> equivalent Cinder.

I do think it would be worth having some sort of operation throttling.

So are you thinking something more the "maximum number of volume builds
to run concurrently"? As you point out below, there are other operations
besides the creation that can cause problems when run in bulk.

I do like the idea!

> 
> Why do we need it for Cinder? IMO, it could help us to address following
> issues:
> 
>- Creation of N volumes at the same time increases a lot of resource
>usage by cinder-volume service. Image caching feature [2] could help us a
>bit in case when we create volume form image. But we still have to upload N
>images to the volumes backend at the same time.
>- Deletion on N volumes at parallel. Usually, it's not very hard task
>for Cinder, but if you have to delete 100+ volumes at once, you can fit
>different issues with DB connections, CPU and memory usages. In case of
>LVM, it also could use 'dd' command to cleanup volumes.
>- It will be some kind of load balancing in HA mode: if cinder-volume
>process is busy with current operations, it will not catch message from
>RabbitMQ and other cinder-volume service will do it.
>- From users perspective, it seems that better way is to create/delete N
>volumes a bit slower than fail after X volumes were created/deleted.
> 
> 
> [1]
> https://github.com/openstack/nova/blob/283da2bbb74d0a131a66703516d16698a05817c7/nova/conf/compute.py#L161-L163
> [2]
> https://specs.openstack.org/openstack/cinder-specs/specs/liberty/image-volume-cache.html
> 
> Regards,
> Ivan Kolodyazhny,
> http://blog.e0ne.info/

> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [neutron] DHCP Agent Scheduling for Segments

2016-05-23 Thread Carl Baldwin
It would be worth looking at the code that adds AZ awareness to DHCP
scheduling.  There might be something to learn.

However, by design, segments and AZs are orthogonal concepts that don't
force any kind of correlation.  There are segments that span AZs and AZs
that span segments.  I really want to be careful not to make assumptions.

Another very important distinction is that with multiple AZs today, each
DHCP server is generally available to other AZs.  We just wanted a way to
have multiple servers in different failure domains.  With routed segments,
it is different, we need to be sure there is a DHCP server in each segment
with a DHCP enabled subnet.  Otherwise, DHCP will be unreachable from it.

Carl
On May 22, 2016 7:32 AM, "Gary Kotton"  wrote:

> Today the DHCP schedulers have support for ‘AZ hints’. My understanding is
> that a segment is a subset of an AZ. So why are we not able to leverage
> that logic or make it more generic?
> Thanks
> Gary
>
> On 5/22/16, 4:02 AM, "Carl Baldwin"  wrote:
>
> >On Fri, May 20, 2016 at 1:44 PM, Brandon Logan
> > wrote:
> >> On Thu, 2016-05-19 at 14:16 -0600, Carl Baldwin wrote:
> >>> On Wed, May 18, 2016 at 1:36 PM, Kevin Benton 
> wrote:
> >>> >>I may have wrongly assumed that segments MAY have the possibility of
> being
> >>> >> l2 adjacent, even if the entire network they are in is not, which
> would mean
> >>> >> that viewing and scheduling these in the context of a segment could
> be
> >>> >> useful.
> >>> >
> >>> > Segments could be L2 adjacent, but I think it would be pretty
> uncommon for a
> >>> > DHCP agent to have access to multiple L2 adjacent segments for the
> same
> >>> > network. But even if that happens, the main use case I see for the
> scheduler
> >>> > API is taking networks off of dead agents, agents going under
> maintenance,
> >>> > or agents under heavy load. With the introduction of segments, all
> of those
> >>> > are still possible via the network-based API.
> >>>
> >>> I think I agree with this.  Let's not change the API at all to begin
> >>> with.  I do think this means that the current API should work with or
> >>> without segments.  I'm not sure that the current approach of doing
> >>> scheduling for segments completely independently of scheduling for
> >>> networks works for this.  Does it?
> >>>
> >>
> >> I still think it does, but we can make it work without making them
> >> separate.  My original plan was to keep them together, but that ended up
> >> causing some unclean code and also the possibility of requiring an
> >> interface change, which would break out-of-tree schedulers like bgp,
> >> that just got moved out of tree.  If I can devise an alternative to
> >> breaking that interface, then I'll go forward without separate
> >> schedulers.
> >
> >I think we've got a general idea of how it should behave.  Let's see
> >what you come up with.
> >
> >Carl
> >
> >__
> >OpenStack Development Mailing List (not for usage questions)
> >Unsubscribe:
> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> >http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Geoff O'Callaghan
Surely openstack is defined by it’s capabilities and interfaces rather than 
it’s internals.  Given the simplistic view that openstack is a collection of 
micro services connected by well defined api’s does it really matter what code 
is used inside that micro service (or macro service )?   If there is a 
community willing to bring and support code in language ‘x’,  isn’t that better 
than worrying about the off chance of existing developers wishing to move 
projects and not knowing the target language?Is there a fear that we’ll end 
up with a fork of nova (or others) written in rust ?
If we’re not open to evolving then we’ll die.

Just throwing in a different perspective.

Sorry about the top-post but it applies in general to the below discussion
Tks
Geoff

> On 24 May 2016, at 9:28 AM, Gregory Haynes  wrote:
> 
> On Mon, May 23, 2016, at 05:24 PM, Morgan Fainberg wrote:
>>  
>>  
>> On Mon, May 23, 2016 at 2:57 PM, Gregory Haynes > > wrote:
>> On Fri, May 20, 2016, at 07:48 AM, Thierry Carrez wrote:
>> > John Dickinson wrote:
>> > > [...]
>> > >> So the real question we need to answer is... where does OpenStack
>> > >> stop, and where does the wider open source community start ? If
>> > >> OpenStack is purely an "integration engine", glue code for other
>> > >> lower-level technologies like hypervisors, databases, or distributed
>> > >> block storage, then the scope is limited, Python should be plenty
>> > >> enough, and we don't need to fragment our community. If OpenStack is
>> > >> "whatever it takes to reach our mission", then yes we need to add one
>> > >> language to cover lower-level/native optimization, because we'll
>> > >> need that... and we need to accept the community cost as a
>> > >> consequence of that scope choice. Those are the only two options on
>> > >> the table.
>> > >>
>> > >> I'm actually not sure what is the best answer. But I'm convinced we,
>> > >> as a community, need to have a clear answer to that. We've been
>> > >> avoiding that clear answer until now, creating tension between the
>> > >> advocates of an ASF-like collection of tools and the advocates of a
>> > >> tighter-integrated "openstack" product. We have created silos and
>> > >> specialized areas as we got into the business of developing time-
>> > >> series databases or SDNs. As a result, it's not "one community"
>> > >> anymore. Should we further encourage that, or should we focus on
>> > >> what the core of our mission is, what we have in common, this
>> > >> integration engine that binds all those other open source projects
>> > >> into one programmable infrastructure solution ?
>> > >
>> > > You said the answer in your question. OpenStack isn't defined as an
>> > > integration engine[3]. The definition of OpenStack is whatever it
>> > > takes to fulfill our mission[4][5]. I don't mean that as a tautology.
>> > > I mean that we've already gone to the effort of defining OpenStack. It's
>> > > our mission statement. We're all about building a cloud platform upon
>> > > which people can run their apps ("cloud-native" or otherwise), so we
>> > > write the software needed to do that.
>> > >
>> > > So where does OpenStack stop and the wider community start? OpenStack
>> > > includes the projects needed to fulfill its mission.
>> >
>> > I'd totally agree with you if OpenStack was developed in a vacuum. But
>> > there is a large number of open source projects and libraries that
>> > OpenStack needs to fulfill its mission that are not in "OpenStack": they
>> > are external open source projects we depend on. Python, MySQL, libvirt,
>> > KVM, Ceph, OpenvSwitch, RabbitMQ... We are not asking that those should
>> > be included in OpenStack, and we are not NIHing replacements for those
>> > in OpenStack either.
>> >
>> > So it is not as clear-cut as you present it, and you can approach this
>> > dependency question from two directions.
>> >
>> > One is community-centric: "anything produced by our community is
>> > OpenStack". If we are missing a lower-level piece to achieve our mission
>> > and are developing it ourselves as a result, then it is OpenStack, even
>> > if it ends up being a message queue or a database.
>> >
>> > The other approach is product-centric: "lower-level pieces are OpenStack
>> > dependencies, rather than OpenStack itself". If we are missing a
>> > lower-level piece to achieve our mission and are developing it as a
>> > result, it could be developed on OpenStack infrastructure by members of
>> > the OpenStack community but it is not "OpenStack the product", it's an
>> > OpenStack *dependency*. It is not governed by the TC, it can use any
>> > language and tool deemed necessary.
>> >
>> > On this second approach, there is the obvious question of where
>> > "lower-level" starts, which as you explained above is not really
>> > clear-cut. A good litmus test for it could be whenever Python is not
>> > enough. If you can't develop it 

Re: [openstack-dev] [all] when are your mid-cycle meetups?

2016-05-23 Thread Nikhil Komawar


On 5/23/16 5:57 PM, Anita Kuno wrote:
> On 05/23/2016 05:36 PM, Nikhil Komawar wrote:
>> FYI,
>>
>> Glance one was cancelled (so can't put on the wiki), as we are
>> preferring the virtual one for more participation.
>>
>> http://lists.openstack.org/pipermail/openstack-dev/2016-May/095591.html
> Did you add it to the wiki page for virtual sprints?
> https://wiki.openstack.org/wiki/VirtualSprints

idnk. thanks!

>
>> On 5/23/16 5:18 PM, Doug Hellmann wrote:
>>> We are trying to help the organizers of the community bug squash event
>>> choose good dates for their Newton event. We would like to avoid any
>>> sprints or mid-cycles, but there aren't very many listed in the wiki
>>> [1]. If your team is planning an event, please list it so we can do our
>>> best to avoid scheduling conflicts.
>>>
>>> Thanks,
>>> Doug
>>>
>>> [1] https://wiki.openstack.org/wiki/Sprints
>>>
>>> __
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-- 

Thanks,
Nikhil


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Erno Kuvaja
On Tue, May 24, 2016 at 12:28 AM, Gregory Haynes 
wrote:

> On Mon, May 23, 2016, at 05:24 PM, Morgan Fainberg wrote:
>
>
>
> On Mon, May 23, 2016 at 2:57 PM, Gregory Haynes 
> wrote:
>
> On Fri, May 20, 2016, at 07:48 AM, Thierry Carrez wrote:
> > John Dickinson wrote:
> > > [...]
> > >> So the real question we need to answer is... where does OpenStack
> > >> stop, and where does the wider open source community start ? If
> > >> OpenStack is purely an "integration engine", glue code for other
> > >> lower-level technologies like hypervisors, databases, or distributed
> > >> block storage, then the scope is limited, Python should be plenty
> > >> enough, and we don't need to fragment our community. If OpenStack is
> > >> "whatever it takes to reach our mission", then yes we need to add one
> > >> language to cover lower-level/native optimization, because we'll
> > >> need that... and we need to accept the community cost as a
> > >> consequence of that scope choice. Those are the only two options on
> > >> the table.
> > >>
> > >> I'm actually not sure what is the best answer. But I'm convinced we,
> > >> as a community, need to have a clear answer to that. We've been
> > >> avoiding that clear answer until now, creating tension between the
> > >> advocates of an ASF-like collection of tools and the advocates of a
> > >> tighter-integrated "openstack" product. We have created silos and
> > >> specialized areas as we got into the business of developing time-
> > >> series databases or SDNs. As a result, it's not "one community"
> > >> anymore. Should we further encourage that, or should we focus on
> > >> what the core of our mission is, what we have in common, this
> > >> integration engine that binds all those other open source projects
> > >> into one programmable infrastructure solution ?
> > >
> > > You said the answer in your question. OpenStack isn't defined as an
> > > integration engine[3]. The definition of OpenStack is whatever it
> > > takes to fulfill our mission[4][5]. I don't mean that as a tautology.
> > > I mean that we've already gone to the effort of defining OpenStack.
> It's
> > > our mission statement. We're all about building a cloud platform upon
> > > which people can run their apps ("cloud-native" or otherwise), so we
> > > write the software needed to do that.
> > >
> > > So where does OpenStack stop and the wider community start? OpenStack
> > > includes the projects needed to fulfill its mission.
> >
> > I'd totally agree with you if OpenStack was developed in a vacuum. But
> > there is a large number of open source projects and libraries that
> > OpenStack needs to fulfill its mission that are not in "OpenStack": they
> > are external open source projects we depend on. Python, MySQL, libvirt,
> > KVM, Ceph, OpenvSwitch, RabbitMQ... We are not asking that those should
> > be included in OpenStack, and we are not NIHing replacements for those
> > in OpenStack either.
> >
> > So it is not as clear-cut as you present it, and you can approach this
> > dependency question from two directions.
> >
> > One is community-centric: "anything produced by our community is
> > OpenStack". If we are missing a lower-level piece to achieve our mission
> > and are developing it ourselves as a result, then it is OpenStack, even
> > if it ends up being a message queue or a database.
> >
> > The other approach is product-centric: "lower-level pieces are OpenStack
> > dependencies, rather than OpenStack itself". If we are missing a
> > lower-level piece to achieve our mission and are developing it as a
> > result, it could be developed on OpenStack infrastructure by members of
> > the OpenStack community but it is not "OpenStack the product", it's an
> > OpenStack *dependency*. It is not governed by the TC, it can use any
> > language and tool deemed necessary.
> >
> > On this second approach, there is the obvious question of where
> > "lower-level" starts, which as you explained above is not really
> > clear-cut. A good litmus test for it could be whenever Python is not
> > enough. If you can't develop it effectively with the language that is
> > currently sufficient for the rest of OpenStack, then developing it as an
> > OpenStack dependency in whatever language is appropriate might be the
> > solution...
> >
> > That is what I mean by 'scope': where does "OpenStack" stop, and where
> > do "OpenStack dependencies" start ? It is a lot easier and a lot less
> > community-costly to allow additional languages in OpenStack dependencies
> > (we already have plenty there).
> >
>
> I strongly agree with both of the points about what OpenStack is defined
> as. We are  a set of projects attempting to fulfill our mission. In
> doing so, we try to use outside dependencies to help us as much as
> possible. Sometimes we cannot find an outside dependency to satisfy a
> need whether due to optimization needs, licensing issues, usability
> problems, or simply because an 

Re: [openstack-dev] [oslo.service] Lifecycle Hooks

2016-05-23 Thread Joshua Harlow

Doug Hellmann wrote:

Excerpts from Kanagaraj Manickam's message of 2016-05-18 19:48:13 +0530:

DIms,

Use case could be anything, which would needed by either
operator/community, who wants to perform an required task before and

after

service is started. This requirement is very generic by nature, and I
believe it will be very useful.

Would like to give the sample use cases from from Operator&  OpenStack
community side as below.
Operator side, any pre/post actions could be hooked which is the
requirement for them. Simple example would be, one who wants to create an
journal of start/stop details like time, number of worker,

configurations,

etc in a common portal, this life-cycle hook would help.

Is that information not available in the logs?

[Kanagaraj M] its available in log, but one who wants to collect these info
in centralized portal,
it would help.


OpenStack community side, sample use cases would be:
1. Most of the OpenStack components starts TextGuruMeditation, logging
while those components are get started. These tasks could be provided as
life cycle hooks and all OpenStack components could start to leverage it.
All of those are things that need to be built into the app in a way that
they are started at the right time, rather than at an arbitrary point
defined by the plugin order a deployer has specified.

[Kanagaraj M] while i investigated the OpenStack service cmd, mostly
it follows the similar pattern on use these utils, so i thought, it would be
good to provide an plugin, which take care of it instead every service
code does take care of it. helps to reduces maintenance effort.


Except that we don't want deployers to turn them off, and we need to
control the initialization order, and so we don't want them to be
specified through a configuration option.


2. For automatically discovering the OpenStack deployment, this hooks

will

be very useful. Auto-discover-hook would report to pre-defined

destinations

while starting/stopping the service.

Doing that usefully is going to require passing information to the hook
so it knows where it is running (what service, what port, etc.). None of
the APIs for doing this have been described yet. Do you have any plans
put together?

[Kanagaraj M] I am trying to get all of these information from oslo.confg
global config variable. As we discussed about namos during austin summit,
namos does collect these details
https://github.com/openstack/os-namos/blob/master/os_namos/sync.py#L124


There are 2 issues with having a plugin access config values directly.

Configuration options are owned by the code that defines them, and
are not considered a public "API" for other parts of the code. That
means an application or library developer is free to change the
name or location of a configuration option, without regard to code
that might be trying to use it from outside of the owning module.
oslo.config has support for renames so that *deployers* aren't
broken, but we don't do anything to prevent code that accesses
private values from breaking.  So, you don't want to build any
assumptions into the plugins that they will be able to see configuration
values.

Second, options do not "exist" as far as oslo.config is concerned
until they are registered.  The registration step may happen at
runtime in code that has not executed before the plugin is loaded. So
even if we ignore the "private" nature of the option, there is a timing
issue.


It feels very much like you're advocating that we create a thing like
paste-deploy for non-WSGI apps: allow anyone to insert anything into
the executing process for any purpose and with little control on the
application authors' part. That introduces potential stability issues,
and a lot of questions that haven't been answered. For example:
Does service startup block until all of the plugins are done? If not,
do we need to have a timeout management system built in or do we run
the plugins in their own thread/subprocess so they can run in the
background?
Can a plugin change the execution of the service in some way (you
mentioned having a plugin download config files when we spoke at the
summit, is that still something you want to slip in this way instead of
putting it into oslo.config)?
Can a plugin cause the service to not start at all by exiting?
What happens if one plugin fails but others succeed? Do we keep running?
What information about the service can a plugin see? It's running in the
same process, so it could see the configuration object, for example.
It would only be able to see configuration options it adds (yes, that
would work) or that were registered by the application before the plugin
is run. So, not necessarily all options but potentially many, with more
and more as apps shift to pre-registering all of their options in one
place. Assuming these are things the deployer has selectively installed,
maybe that's OK. OTOH, it does open another security surface.
What happens when a service is told to restart its workers? Do 

Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Gregory Haynes
On Mon, May 23, 2016, at 05:24 PM, Morgan Fainberg wrote:
>
>
> On Mon, May 23, 2016 at 2:57 PM, Gregory Haynes
>  wrote:
>> On Fri, May 20, 2016, at 07:48 AM, Thierry Carrez wrote:
>> > John Dickinson wrote:
>> > > [...]
>> > >> So the real question we need to answer is... where does
>> > >> OpenStack
>> > >> stop, and where does the wider open source community start ? If
>> > >> OpenStack is purely an "integration engine", glue code for other
>> > >> lower-level technologies like hypervisors, databases, or
>> > >> distributed
>> > >> block storage, then the scope is limited, Python should be
>> > >> plenty
>> > >> enough, and we don't need to fragment our community. If
>> > >> OpenStack is
>> > >> "whatever it takes to reach our mission", then yes we need to
>> > >> add one
>> > >> language to cover lower-level/native optimization, because we'll
>> > >> need that... and we need to accept the community cost as a
>> > >> consequence of that scope choice. Those are the only two options
>> > >> on
>> > >> the table.
>> > >>
>> > >> I'm actually not sure what is the best answer. But I'm convinced
>> > >> we,
>> > >> as a community, need to have a clear answer to that. We've been
>> > >> avoiding that clear answer until now, creating tension between
>> > >> the
>> > >> advocates of an ASF-like collection of tools and the advocates
>> > >> of a
>> > >> tighter-integrated "openstack" product. We have created silos
>> > >> and
>> > >> specialized areas as we got into the business of developing time-
>> > >> series databases or SDNs. As a result, it's not "one community"
>> > >> anymore. Should we further encourage that, or should we focus on
>> > >> what the core of our mission is, what we have in common, this
>> > >> integration engine that binds all those other open source
>> > >> projects
>> > >> into one programmable infrastructure solution ?
>> > >
>> > > You said the answer in your question. OpenStack isn't defined
>> > > as an
>> > > integration engine[3]. The definition of OpenStack is whatever it
>> > > takes to fulfill our mission[4][5]. I don't mean that as a
>> > > tautology.
>> > > I mean that we've already gone to the effort of defining
>> > > OpenStack. It's
>> > > our mission statement. We're all about building a cloud platform
>> > > upon
>> > > which people can run their apps ("cloud-native" or otherwise),
>> > > so we
>> > > write the software needed to do that.
>> > >
>> > > So where does OpenStack stop and the wider community start?
>> > > OpenStack
>> > > includes the projects needed to fulfill its mission.
>> >
>> > I'd totally agree with you if OpenStack was developed in a
>> > vacuum. But
>> > there is a large number of open source projects and libraries that
>> > OpenStack needs to fulfill its mission that are not in
>> > "OpenStack": they
>> > are external open source projects we depend on. Python, MySQL,
>> > libvirt,
>> > KVM, Ceph, OpenvSwitch, RabbitMQ... We are not asking that those
>> > should
>> > be included in OpenStack, and we are not NIHing replacements for
>> > those
>> > in OpenStack either.
>> >
>> > So it is not as clear-cut as you present it, and you can
>> > approach this
>> > dependency question from two directions.
>> >
>> > One is community-centric: "anything produced by our community is
>> > OpenStack". If we are missing a lower-level piece to achieve our
>> > mission
>> > and are developing it ourselves as a result, then it is
>> > OpenStack, even
>> > if it ends up being a message queue or a database.
>> >
>> > The other approach is product-centric: "lower-level pieces are
>> > OpenStack
>> > dependencies, rather than OpenStack itself". If we are missing a
>> > lower-level piece to achieve our mission and are developing it as a
>> > result, it could be developed on OpenStack infrastructure by
>> > members of
>> > the OpenStack community but it is not "OpenStack the product",
>> > it's an
>> > OpenStack *dependency*. It is not governed by the TC, it can
>> > use any
>> > language and tool deemed necessary.
>> >
>> > On this second approach, there is the obvious question of where
>> > "lower-level" starts, which as you explained above is not really
>> > clear-cut. A good litmus test for it could be whenever Python
>> > is not
>> > enough. If you can't develop it effectively with the language
>> > that is
>> > currently sufficient for the rest of OpenStack, then developing it
>> > as an
>> > OpenStack dependency in whatever language is appropriate might
>> > be the
>> > solution...
>> >
>> > That is what I mean by 'scope': where does "OpenStack" stop, and
>> > where
>> > do "OpenStack dependencies" start ? It is a lot easier and a
>> > lot less
>> > community-costly to allow additional languages in OpenStack
>> > dependencies
>> > (we already have plenty there).
>> >
>>
>> I strongly agree with both of the points about what OpenStack is
>> defined
>> as. We are  a set of projects attempting to fulfill our mission. In
>> doing so, we try to use 

Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Morgan Fainberg
On Mon, May 23, 2016 at 2:57 PM, Gregory Haynes  wrote:

> On Fri, May 20, 2016, at 07:48 AM, Thierry Carrez wrote:
> > John Dickinson wrote:
> > > [...]
> > >> So the real question we need to answer is... where does OpenStack
> > >> stop, and where does the wider open source community start ? If
> > >> OpenStack is purely an "integration engine", glue code for other
> > >> lower-level technologies like hypervisors, databases, or distributed
> > >> block storage, then the scope is limited, Python should be plenty
> > >> enough, and we don't need to fragment our community. If OpenStack is
> > >> "whatever it takes to reach our mission", then yes we need to add one
> > >> language to cover lower-level/native optimization, because we'll
> > >> need that... and we need to accept the community cost as a
> > >> consequence of that scope choice. Those are the only two options on
> > >> the table.
> > >>
> > >> I'm actually not sure what is the best answer. But I'm convinced we,
> > >> as a community, need to have a clear answer to that. We've been
> > >> avoiding that clear answer until now, creating tension between the
> > >> advocates of an ASF-like collection of tools and the advocates of a
> > >> tighter-integrated "openstack" product. We have created silos and
> > >> specialized areas as we got into the business of developing time-
> > >> series databases or SDNs. As a result, it's not "one community"
> > >> anymore. Should we further encourage that, or should we focus on
> > >> what the core of our mission is, what we have in common, this
> > >> integration engine that binds all those other open source projects
> > >> into one programmable infrastructure solution ?
> > >
> > > You said the answer in your question. OpenStack isn't defined as an
> > > integration engine[3]. The definition of OpenStack is whatever it
> > > takes to fulfill our mission[4][5]. I don't mean that as a tautology.
> > > I mean that we've already gone to the effort of defining OpenStack.
> It's
> > > our mission statement. We're all about building a cloud platform upon
> > > which people can run their apps ("cloud-native" or otherwise), so we
> > > write the software needed to do that.
> > >
> > > So where does OpenStack stop and the wider community start? OpenStack
> > > includes the projects needed to fulfill its mission.
> >
> > I'd totally agree with you if OpenStack was developed in a vacuum. But
> > there is a large number of open source projects and libraries that
> > OpenStack needs to fulfill its mission that are not in "OpenStack": they
> > are external open source projects we depend on. Python, MySQL, libvirt,
> > KVM, Ceph, OpenvSwitch, RabbitMQ... We are not asking that those should
> > be included in OpenStack, and we are not NIHing replacements for those
> > in OpenStack either.
> >
> > So it is not as clear-cut as you present it, and you can approach this
> > dependency question from two directions.
> >
> > One is community-centric: "anything produced by our community is
> > OpenStack". If we are missing a lower-level piece to achieve our mission
> > and are developing it ourselves as a result, then it is OpenStack, even
> > if it ends up being a message queue or a database.
> >
> > The other approach is product-centric: "lower-level pieces are OpenStack
> > dependencies, rather than OpenStack itself". If we are missing a
> > lower-level piece to achieve our mission and are developing it as a
> > result, it could be developed on OpenStack infrastructure by members of
> > the OpenStack community but it is not "OpenStack the product", it's an
> > OpenStack *dependency*. It is not governed by the TC, it can use any
> > language and tool deemed necessary.
> >
> > On this second approach, there is the obvious question of where
> > "lower-level" starts, which as you explained above is not really
> > clear-cut. A good litmus test for it could be whenever Python is not
> > enough. If you can't develop it effectively with the language that is
> > currently sufficient for the rest of OpenStack, then developing it as an
> > OpenStack dependency in whatever language is appropriate might be the
> > solution...
> >
> > That is what I mean by 'scope': where does "OpenStack" stop, and where
> > do "OpenStack dependencies" start ? It is a lot easier and a lot less
> > community-costly to allow additional languages in OpenStack dependencies
> > (we already have plenty there).
> >
>
> I strongly agree with both of the points about what OpenStack is defined
> as. We are  a set of projects attempting to fulfill our mission. In
> doing so, we try to use outside dependencies to help us as much as
> possible. Sometimes we cannot find an outside dependency to satisfy a
> need whether due to optimization needs, licensing issues, usability
> problems, or simply because an outside project doesn't exist. That is
> when things become less clear-cut and we might need to develop software
> not purely/directly related to 

Re: [openstack-dev] [all] when are your mid-cycle meetups?

2016-05-23 Thread Anita Kuno
On 05/23/2016 05:36 PM, Nikhil Komawar wrote:
> FYI,
> 
> Glance one was cancelled (so can't put on the wiki), as we are
> preferring the virtual one for more participation.
> 
> http://lists.openstack.org/pipermail/openstack-dev/2016-May/095591.html

Did you add it to the wiki page for virtual sprints?
https://wiki.openstack.org/wiki/VirtualSprints

> 
> On 5/23/16 5:18 PM, Doug Hellmann wrote:
>> We are trying to help the organizers of the community bug squash event
>> choose good dates for their Newton event. We would like to avoid any
>> sprints or mid-cycles, but there aren't very many listed in the wiki
>> [1]. If your team is planning an event, please list it so we can do our
>> best to avoid scheduling conflicts.
>>
>> Thanks,
>> Doug
>>
>> [1] https://wiki.openstack.org/wiki/Sprints
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 
> 
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Gregory Haynes
On Fri, May 20, 2016, at 07:48 AM, Thierry Carrez wrote:
> John Dickinson wrote:
> > [...]
> >> So the real question we need to answer is... where does OpenStack
> >> stop, and where does the wider open source community start ? If
> >> OpenStack is purely an "integration engine", glue code for other
> >> lower-level technologies like hypervisors, databases, or distributed
> >> block storage, then the scope is limited, Python should be plenty
> >> enough, and we don't need to fragment our community. If OpenStack is
> >> "whatever it takes to reach our mission", then yes we need to add one
> >> language to cover lower-level/native optimization, because we'll
> >> need that... and we need to accept the community cost as a
> >> consequence of that scope choice. Those are the only two options on
> >> the table.
> >>
> >> I'm actually not sure what is the best answer. But I'm convinced we,
> >> as a community, need to have a clear answer to that. We've been
> >> avoiding that clear answer until now, creating tension between the
> >> advocates of an ASF-like collection of tools and the advocates of a
> >> tighter-integrated "openstack" product. We have created silos and
> >> specialized areas as we got into the business of developing time-
> >> series databases or SDNs. As a result, it's not "one community"
> >> anymore. Should we further encourage that, or should we focus on
> >> what the core of our mission is, what we have in common, this
> >> integration engine that binds all those other open source projects
> >> into one programmable infrastructure solution ?
> >
> > You said the answer in your question. OpenStack isn't defined as an
> > integration engine[3]. The definition of OpenStack is whatever it
> > takes to fulfill our mission[4][5]. I don't mean that as a tautology.
> > I mean that we've already gone to the effort of defining OpenStack. It's
> > our mission statement. We're all about building a cloud platform upon
> > which people can run their apps ("cloud-native" or otherwise), so we
> > write the software needed to do that.
> >
> > So where does OpenStack stop and the wider community start? OpenStack
> > includes the projects needed to fulfill its mission.
> 
> I'd totally agree with you if OpenStack was developed in a vacuum. But 
> there is a large number of open source projects and libraries that 
> OpenStack needs to fulfill its mission that are not in "OpenStack": they 
> are external open source projects we depend on. Python, MySQL, libvirt, 
> KVM, Ceph, OpenvSwitch, RabbitMQ... We are not asking that those should 
> be included in OpenStack, and we are not NIHing replacements for those 
> in OpenStack either.
> 
> So it is not as clear-cut as you present it, and you can approach this 
> dependency question from two directions.
> 
> One is community-centric: "anything produced by our community is 
> OpenStack". If we are missing a lower-level piece to achieve our mission 
> and are developing it ourselves as a result, then it is OpenStack, even 
> if it ends up being a message queue or a database.
> 
> The other approach is product-centric: "lower-level pieces are OpenStack 
> dependencies, rather than OpenStack itself". If we are missing a 
> lower-level piece to achieve our mission and are developing it as a 
> result, it could be developed on OpenStack infrastructure by members of 
> the OpenStack community but it is not "OpenStack the product", it's an 
> OpenStack *dependency*. It is not governed by the TC, it can use any 
> language and tool deemed necessary.
> 
> On this second approach, there is the obvious question of where 
> "lower-level" starts, which as you explained above is not really 
> clear-cut. A good litmus test for it could be whenever Python is not 
> enough. If you can't develop it effectively with the language that is 
> currently sufficient for the rest of OpenStack, then developing it as an 
> OpenStack dependency in whatever language is appropriate might be the 
> solution...
> 
> That is what I mean by 'scope': where does "OpenStack" stop, and where 
> do "OpenStack dependencies" start ? It is a lot easier and a lot less 
> community-costly to allow additional languages in OpenStack dependencies 
> (we already have plenty there).
> 

I strongly agree with both of the points about what OpenStack is defined
as. We are  a set of projects attempting to fulfill our mission. In
doing so, we try to use outside dependencies to help us as much as
possible. Sometimes we cannot find an outside dependency to satisfy a
need whether due to optimization needs, licensing issues, usability
problems, or simply because an outside project doesn't exist. That is
when things become less clear-cut and we might need to develop software
not purely/directly related to fulfilling our mission.

In the product-centric approach I worry that we are going to be paying
many of the costs which the existing TC resolutions hoped to prevent. We
still will have to maintain and debug these 

Re: [openstack-dev] [all] when are your mid-cycle meetups?

2016-05-23 Thread Nikhil Komawar
FYI,

Glance one was cancelled (so can't put on the wiki), as we are
preferring the virtual one for more participation.

http://lists.openstack.org/pipermail/openstack-dev/2016-May/095591.html

On 5/23/16 5:18 PM, Doug Hellmann wrote:
> We are trying to help the organizers of the community bug squash event
> choose good dates for their Newton event. We would like to avoid any
> sprints or mid-cycles, but there aren't very many listed in the wiki
> [1]. If your team is planning an event, please list it so we can do our
> best to avoid scheduling conflicts.
>
> Thanks,
> Doug
>
> [1] https://wiki.openstack.org/wiki/Sprints
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-- 

Thanks,
Nikhil

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [all] when are your mid-cycle meetups?

2016-05-23 Thread Doug Hellmann
We are trying to help the organizers of the community bug squash event
choose good dates for their Newton event. We would like to avoid any
sprints or mid-cycles, but there aren't very many listed in the wiki
[1]. If your team is planning an event, please list it so we can do our
best to avoid scheduling conflicts.

Thanks,
Doug

[1] https://wiki.openstack.org/wiki/Sprints

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] profiling - eg neutron-vpn-agent

2016-05-23 Thread Rick Jones

On 05/23/2016 01:33 PM, Kevin Benton wrote:

I've found that the issue is that if you interrupt with ctrl-C it won't
write the profile. However, sending it a SIGTERM with the 'kill' command
did the trick when I was using cprofile. I think oslo service calls
os.exit right on SIGINT so the profiler doesn't get a chance to write out.


SIGTERM does seem to result in a file being written-out.  Thanks.  That 
gets me one step closer.


happy benchmarking,

rick jones


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [tacker] any agenda item for tomorrow's IRC meeting ?

2016-05-23 Thread Sridhar Ramaswamy
Tackers -

Does anyone have a specific agenda item for tomorrow's IRC weekly meeting?
I know many specs are in flight and reviews are happening in gerrit. If I
don't hear any specific topics to discuss by 10:00 UTC I'll cancel the
meeting and give an hour back.

- Sridhar
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Gregory Haynes

On Mon, May 23, 2016, at 02:57 PM, Sean Dague wrote:
> On 05/23/2016 03:34 PM, Gregory Haynes wrote:
> > 
> > On Mon, May 23, 2016, at 11:48 AM, Doug Hellmann wrote:
> >> Excerpts from Chris Dent's message of 2016-05-23 17:07:36 +0100:
> >>> On Mon, 23 May 2016, Doug Hellmann wrote:
>  Excerpts from Chris Dent's message of 2016-05-20 14:16:15 +0100:
> > I don't think language does (or should) have anything to do with it.
> >
> > The question is whether or not the tool (whether service or
> > dependent library) is useful to and usable outside the openstack-stack.
> > For example gnocchi is useful to openstack but you can use it with other
> > stuff, therefore _not_ openstack. More controversially: swift can be
> > usefully used all by its lonesome: _not_ openstack.
> 
> > 
> > Making a tool which is useful outside of the OpenStack context just
> > seems like good software engineering - it seems odd that we would try
> > and ensure our tools do not fit this description. Fortunately, many (or
> > even most) of the tools we create *are* useful outside of the OpenStack
> > world - pbr, git-review, diskimage-builder, (I hope) many of the oslo
> > libraries. This is really a question of defining useful interfaces more
> > than anything else, not a statement of whether a tool is part of our
> > community.
> 
> Only if you are willing to pay the complexity and debt cost of having
> optional backends all over the place.
> 
> For instance, I think we're well beyond that point that Keystone being
> optional should be a thing anywhere (and it is a thing in a number of
> places). Keystone should be our auth system, all projects 100% depend on
> it, and if you have different site needs, put that into a Keystone
> backend.
> 

Services and Projects seem to be getting conflated here. IIUC Your two
points apply only to services - we certainly aren't paying any
complexity costs for making pbr optional and the same could be said for
many of our tools.

I don't have a ton of context for why some services are electing to pay
the cost of making Keystone optional. The point I was hoping to make is
that there is value in defining an interface which is useful outside of
OpenStack, and this is a very common pattern with many of our tools. I
completely agree that there are additional costs to doing so at times,
and obviously they have to be weighed against the benefits. That is
really a problem-specific issue, though.

> Most of the oslo libraries require other oslo libraries, which is fine.
> They aren't trying to solve the general purpose case of logging or
> configuration or db access. They are trying to solve a specific set of
> patterns that are applicable to OpenStack projects.
> 

This is true up to a point - there isn't any inherent value in
overfitting a problem to be OpenStack specific. To beat on the pbr
hammer some more - we created a tool that fulfills our needs and making
it in a way where others can use it didn't cost us anything. This isn't
always the case but sometimes it is, and there is absolutely value in
making a tool which others can use.

>   -Sean
> 
> -- 
> Sean Dague
> http://dague.net

Cheers,
Greg

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Chris Dent

On Mon, 23 May 2016, Gregory Haynes wrote:

Excerpts from Chris Dent's message of 2016-05-20 14:16:15 +0100:

I don't think language does (or should) have anything to do with it.

The question is whether or not the tool (whether service or
dependent library) is useful to and usable outside the openstack-stack.
For example gnocchi is useful to openstack but you can use it with other
stuff, therefore _not_ openstack. More controversially: swift can be
usefully used all by its lonesome: _not_ openstack.


Making a tool which is useful outside of the OpenStack context just
seems like good software engineering - it seems odd that we would try
and ensure our tools do not fit this description. Fortunately, many (or
even most) of the tools we create *are* useful outside of the OpenStack
world - pbr, git-review, diskimage-builder, (I hope) many of the oslo
libraries. This is really a question of defining useful interfaces more
than anything else, not a statement of whether a tool is part of our
community.


Defining what the community is is what we're trying to do here, yes?

Based on conversations I've had without people _outside_ the
community, those people think that OpenStack is a community building
a thing called OpenStack but they are universally confused about
what OpenStack _is_.

Despite the great usefulness of those things I'm pretty sure the
OpenStack those people are looking for is neither pbr, not git-review
nor diskimage-builder. Those tools are critical to the development
of OpenStack, our attention to them is critical. But now much to
they impact the definition of OpenStack?

So, yet another way to frame the original question (in a loaded way)
may be: Are we trying to come up with a way of defining the community
that lets us carry on doing what we've been doing, haphazardly, or
are we trying to get the process of defining the community to bring
us to a point where we have some useful constraints that allow us to
more effectively reach goal X?

Begging, of course: What's X?

(To me, an unfettered big tent is a great way to keep riding the
great OpenStack enterprise boondoggle, but I'm not sure it's
resulting in a great experience for humans who aren't on that
train.)

--
Chris Dent   (╯°□°)╯︵┻━┻http://anticdent.org/
freenode: cdent tw: @anticdent__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] profiling - eg neutron-vpn-agent

2016-05-23 Thread Kevin Benton
I've found that the issue is that if you interrupt with ctrl-C it won't
write the profile. However, sending it a SIGTERM with the 'kill' command
did the trick when I was using cprofile. I think oslo service calls os.exit
right on SIGINT so the profiler doesn't get a chance to write out.
On May 23, 2016 13:23, "Rick Jones"  wrote:

> Folks -
>
> I'm looking for suggestions on how to go about profiling the likes of
> neutron-vpn-agent from Liberty.  I have a simple little test - nothing
> stressful - just create 1000 ports with floating IPs on a single private
> network with a CVR router :)  This seems to put the Liberty
> neutron-vpn-agent in situations where it will spend 100% of its time in
> user space doing something.  As the number of ports increases, so too does
> the length of time in this mode.  It ends up spending tens of minutes
> therein t the exclusion of doing anything else.
>
> So, I'd like to profile it.  To see what it thinks it is doing.
>
> I have tried running neutron-vpn-agent "by hand" on the controller hosting
> the vrouter using the "A typical profiling session with python 2.5 loos
> like this" part of
> https://wiki.python.org/moin/PythonSpeed/PerformanceTips#Profiling_Code
> (no, I'm not using Python 2.5, that is simply where web searching has lead
> me from the peanut gallery :) )
>
> Alas, it seems that ^C'ing it doesn't have the profile written-out.
>
> So I'm looking for other methods.
>
> happy benchmarking,
>
> rick jones
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Joshua Harlow

Sean Dague wrote:

On 05/23/2016 03:34 PM, Gregory Haynes wrote:

On Mon, May 23, 2016, at 11:48 AM, Doug Hellmann wrote:

Excerpts from Chris Dent's message of 2016-05-23 17:07:36 +0100:

On Mon, 23 May 2016, Doug Hellmann wrote:

Excerpts from Chris Dent's message of 2016-05-20 14:16:15 +0100:

I don't think language does (or should) have anything to do with it.

The question is whether or not the tool (whether service or
dependent library) is useful to and usable outside the openstack-stack.
For example gnocchi is useful to openstack but you can use it with other
stuff, therefore _not_ openstack. More controversially: swift can be
usefully used all by its lonesome: _not_ openstack.

Making a tool which is useful outside of the OpenStack context just
seems like good software engineering - it seems odd that we would try
and ensure our tools do not fit this description. Fortunately, many (or
even most) of the tools we create *are* useful outside of the OpenStack
world - pbr, git-review, diskimage-builder, (I hope) many of the oslo
libraries. This is really a question of defining useful interfaces more
than anything else, not a statement of whether a tool is part of our
community.


Only if you are willing to pay the complexity and debt cost of having
optional backends all over the place.


We seem to do this quite well even without building tools/projects that 
work outside of openstack ;)


Or are you saying that using such library/project(s) u have to accept 
that there will be many optional backends that you will likely not/never 
use that exist in said library/project (and thus are akin to dead weight)?




For instance, I think we're well beyond that point that Keystone being
optional should be a thing anywhere (and it is a thing in a number of
places). Keystone should be our auth system, all projects 100% depend on
it, and if you have different site needs, put that into a Keystone backend.

Most of the oslo libraries require other oslo libraries, which is fine.
They aren't trying to solve the general purpose case of logging or
configuration or db access. They are trying to solve a specific set of
patterns that are applicable to OpenStack projects.


I just took a quick stab at annotating which ones (I think are) useable 
outside of openstack (without say bringing in the configuration 
ideology/pattern that oslo.config adds) and made the following:


automaton (useable)
cliff (useable)
cookiecutter (useable)
debtcollector (useable)
futurist (useable)
osprofiler (useable?)
oslo.cache
oslo.concurrency
oslo.context
oslo.config
oslo-cookiecutter
oslo.db
oslo.i18n
oslo.log
oslo.messaging
oslo.middleware
oslo.policy (useable?)
oslo.privsep (useable?)
oslo.reports
oslo.rootwrap
oslo.serialization (useable)
oslo.service
oslosphinx
oslotest (useable)
oslo.utils (useable)
oslo.versionedobjects
oslo.vmware
hacking (useable)
pbr (useable)
pyCADF (useable?)
stevedore (useable)
taskflow (useable)
tooz (useable)

So out of 33 that's about half (~17) that I think are useable outside 
without to many patterns/ideologies being forced on non-openstack folks 
(if your external project accepts the pattern of oslo.config then the 
number increases).




-Sean



__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] profiling - eg neutron-vpn-agent

2016-05-23 Thread Rick Jones

Folks -

I'm looking for suggestions on how to go about profiling the likes of 
neutron-vpn-agent from Liberty.  I have a simple little test - nothing 
stressful - just create 1000 ports with floating IPs on a single private 
network with a CVR router :)  This seems to put the Liberty 
neutron-vpn-agent in situations where it will spend 100% of its time in 
user space doing something.  As the number of ports increases, so too 
does the length of time in this mode.  It ends up spending tens of 
minutes therein t the exclusion of doing anything else.


So, I'd like to profile it.  To see what it thinks it is doing.

I have tried running neutron-vpn-agent "by hand" on the controller 
hosting the vrouter using the "A typical profiling session with python 
2.5 loos like this" part of 
https://wiki.python.org/moin/PythonSpeed/PerformanceTips#Profiling_Code 
(no, I'm not using Python 2.5, that is simply where web searching has 
lead me from the peanut gallery :) )


Alas, it seems that ^C'ing it doesn't have the profile written-out.

So I'm looking for other methods.

happy benchmarking,

rick jones

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Sean Dague
On 05/23/2016 03:34 PM, Gregory Haynes wrote:
> 
> On Mon, May 23, 2016, at 11:48 AM, Doug Hellmann wrote:
>> Excerpts from Chris Dent's message of 2016-05-23 17:07:36 +0100:
>>> On Mon, 23 May 2016, Doug Hellmann wrote:
 Excerpts from Chris Dent's message of 2016-05-20 14:16:15 +0100:
> I don't think language does (or should) have anything to do with it.
>
> The question is whether or not the tool (whether service or
> dependent library) is useful to and usable outside the openstack-stack.
> For example gnocchi is useful to openstack but you can use it with other
> stuff, therefore _not_ openstack. More controversially: swift can be
> usefully used all by its lonesome: _not_ openstack.

> 
> Making a tool which is useful outside of the OpenStack context just
> seems like good software engineering - it seems odd that we would try
> and ensure our tools do not fit this description. Fortunately, many (or
> even most) of the tools we create *are* useful outside of the OpenStack
> world - pbr, git-review, diskimage-builder, (I hope) many of the oslo
> libraries. This is really a question of defining useful interfaces more
> than anything else, not a statement of whether a tool is part of our
> community.

Only if you are willing to pay the complexity and debt cost of having
optional backends all over the place.

For instance, I think we're well beyond that point that Keystone being
optional should be a thing anywhere (and it is a thing in a number of
places). Keystone should be our auth system, all projects 100% depend on
it, and if you have different site needs, put that into a Keystone backend.

Most of the oslo libraries require other oslo libraries, which is fine.
They aren't trying to solve the general purpose case of logging or
configuration or db access. They are trying to solve a specific set of
patterns that are applicable to OpenStack projects.

-Sean

-- 
Sean Dague
http://dague.net

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [new][oslo] pbr 1.10.0 release

2016-05-23 Thread no-reply
We are psyched to announce the release of:

pbr 1.10.0: Python Build Reasonableness

With source available at:

http://git.openstack.org/cgit/openstack-dev/pbr

With package available at:

https://pypi.python.org/pypi/pbr

Please report issues through launchpad:

http://bugs.launchpad.net/pbr

For more details, please see below.

Changes in pbr 1.9.1..1.10.0


7f02669 File is wrongly marked as executable
8778c64 Fix wsgiref script use with oslo.config
dcc49c5 Update Preversioning explanation to avoid double that
ef759ed Correct server test
b87e4c0 Fix soabi tests with pypy

Diffstat (except docs and test files)
-

pbr/packaging.py  |  17 ++-
6 files changed, 107 insertions(+), 94 deletions(-)




__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [ironic] No meeting next monday, May 30

2016-05-23 Thread Jim Rollenhagen
Hi team,

There's a US holiday next Monday (May 30) and as such I'm cancelling the
corresponding weekly ironic meeting.

See you all the following week.

// jim

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Gregory Haynes

On Mon, May 23, 2016, at 11:48 AM, Doug Hellmann wrote:
> Excerpts from Chris Dent's message of 2016-05-23 17:07:36 +0100:
> > On Mon, 23 May 2016, Doug Hellmann wrote:
> > > Excerpts from Chris Dent's message of 2016-05-20 14:16:15 +0100:
> > >> I don't think language does (or should) have anything to do with it.
> > >>
> > >> The question is whether or not the tool (whether service or
> > >> dependent library) is useful to and usable outside the openstack-stack.
> > >> For example gnocchi is useful to openstack but you can use it with other
> > >> stuff, therefore _not_ openstack. More controversially: swift can be
> > >> usefully used all by its lonesome: _not_ openstack.
> > >

Making a tool which is useful outside of the OpenStack context just
seems like good software engineering - it seems odd that we would try
and ensure our tools do not fit this description. Fortunately, many (or
even most) of the tools we create *are* useful outside of the OpenStack
world - pbr, git-review, diskimage-builder, (I hope) many of the oslo
libraries. This is really a question of defining useful interfaces more
than anything else, not a statement of whether a tool is part of our
community.

> > > Add keystone, cinder, and ironic to that list.
> > 
> > Hmmm. You can, but would people want to (that is, would it be a sound
> > choice?)? Or _do_ people? Maybe that's the distinction? As far as I
> 
> Yes, I'm aware of cases of each of those projects being used without
> "the rest" of OpenStack. I used keystone like that to secure some
> internal APIs myself.
> 

This has become  a very popular way of using Ironic as well. We even
have an OpenStack project (bifrost) which is used to deploy Ironic in
this fashion.

Cheers,
Greg

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Keystone] Welcome Keystone to the World of Python 3

2016-05-23 Thread Morgan Fainberg
On Mon, May 23, 2016 at 12:03 PM, Doug Hellmann 
wrote:

> Excerpts from Morgan Fainberg's message of 2016-05-23 11:55:48 -0700:
> > On Mon, May 23, 2016 at 7:54 AM, Doug Hellmann 
> > wrote:
> >
> > > Excerpts from Morgan Fainberg's message of 2016-05-20 20:58:00 -0700:
> > > > We've gone through all of our test cases and all of our code base. At
> > > this
> > > > point Keystone is no longer skipping any of the tests (which do tend
> to
> > > > test the entire request stack) and we are properly gating on being
> > > > Python3.4 compatible.
> > > >
> > > > I want to thank everyone who has put in effort in the last few weeks
> to
> > > > punt the last of the patches though the gate. It would not have been
> > > doable
> > > > without those hacking on LdapPool, doing test cleanup, and those
> > > > reviewing/trying the code out.
> > > >
> > > > If you run across issues with Keystone and Python3, please let us
> know.
> > > >
> > > > A sincere thanks to the entire Keystone team involved in this
> multicycle
> > > > effort.
> > > >
> > > > --Morgan
> > >
> > > Is this for unit or functional tests?
> > >
> > >
> > Our unit tests and functional tests cross over significantly. The
> majority
> > of keystone's unit tests are really "stand up a full keystone and test
> the
> > API as though you were a client".
> >
> > This is not DSVM and true "functional" tests (most of the restful test
> > cases will move over to "functional" once it's working) are not fully
> setup
> > yet.
> >
> > In short "unit tests", except our unit tests are mostly "functional" in
> > nature.
> >
> > --Morgan
>
> Ah, OK, I was wondering if you were using the python 3 features of
> devstack and how well they were working for you.
>
>
Thats the next plan, of course.


> Doug
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Keystone] Welcome Keystone to the World of Python 3

2016-05-23 Thread Doug Hellmann
Excerpts from Morgan Fainberg's message of 2016-05-23 11:55:48 -0700:
> On Mon, May 23, 2016 at 7:54 AM, Doug Hellmann 
> wrote:
> 
> > Excerpts from Morgan Fainberg's message of 2016-05-20 20:58:00 -0700:
> > > We've gone through all of our test cases and all of our code base. At
> > this
> > > point Keystone is no longer skipping any of the tests (which do tend to
> > > test the entire request stack) and we are properly gating on being
> > > Python3.4 compatible.
> > >
> > > I want to thank everyone who has put in effort in the last few weeks to
> > > punt the last of the patches though the gate. It would not have been
> > doable
> > > without those hacking on LdapPool, doing test cleanup, and those
> > > reviewing/trying the code out.
> > >
> > > If you run across issues with Keystone and Python3, please let us know.
> > >
> > > A sincere thanks to the entire Keystone team involved in this multicycle
> > > effort.
> > >
> > > --Morgan
> >
> > Is this for unit or functional tests?
> >
> >
> Our unit tests and functional tests cross over significantly. The majority
> of keystone's unit tests are really "stand up a full keystone and test the
> API as though you were a client".
> 
> This is not DSVM and true "functional" tests (most of the restful test
> cases will move over to "functional" once it's working) are not fully setup
> yet.
> 
> In short "unit tests", except our unit tests are mostly "functional" in
> nature.
> 
> --Morgan

Ah, OK, I was wondering if you were using the python 3 features of
devstack and how well they were working for you.

Doug

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [openstack-operators][cinder] max_concurrent_builds in Cinder

2016-05-23 Thread Alex Meade
This sounds like a good idea to me. The queue doesn't handle this since we
just read everything off immediately anyways. I have seen issues where
customers have to write scripts that build 5 volumes, sleep, then build
more until they get >100 volumes. Just because a Cinder volume service will
clobber itself.

-Alex

On Mon, May 23, 2016 at 10:32 AM, Ivan Kolodyazhny  wrote:

> Hi developers and operators,
> I would like to get any feedback from you about my idea before I'll start
> work on spec.
>
> In Nova, we've got max_concurrent_builds option [1] to set 'Maximum number
> of instance builds to run concurrently' per each compute. There is no
> equivalent Cinder.
>
> Why do we need it for Cinder? IMO, it could help us to address following
> issues:
>
>- Creation of N volumes at the same time increases a lot of resource
>usage by cinder-volume service. Image caching feature [2] could help us a
>bit in case when we create volume form image. But we still have to upload N
>images to the volumes backend at the same time.
>- Deletion on N volumes at parallel. Usually, it's not very hard task
>for Cinder, but if you have to delete 100+ volumes at once, you can fit
>different issues with DB connections, CPU and memory usages. In case of
>LVM, it also could use 'dd' command to cleanup volumes.
>- It will be some kind of load balancing in HA mode: if cinder-volume
>process is busy with current operations, it will not catch message from
>RabbitMQ and other cinder-volume service will do it.
>- From users perspective, it seems that better way is to create/delete
>N volumes a bit slower than fail after X volumes were created/deleted.
>
>
> [1]
> https://github.com/openstack/nova/blob/283da2bbb74d0a131a66703516d16698a05817c7/nova/conf/compute.py#L161-L163
> [2]
> https://specs.openstack.org/openstack/cinder-specs/specs/liberty/image-volume-cache.html
>
> Regards,
> Ivan Kolodyazhny,
> http://blog.e0ne.info/
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Keystone] Welcome Keystone to the World of Python 3

2016-05-23 Thread Morgan Fainberg
On Mon, May 23, 2016 at 7:54 AM, Doug Hellmann 
wrote:

> Excerpts from Morgan Fainberg's message of 2016-05-20 20:58:00 -0700:
> > We've gone through all of our test cases and all of our code base. At
> this
> > point Keystone is no longer skipping any of the tests (which do tend to
> > test the entire request stack) and we are properly gating on being
> > Python3.4 compatible.
> >
> > I want to thank everyone who has put in effort in the last few weeks to
> > punt the last of the patches though the gate. It would not have been
> doable
> > without those hacking on LdapPool, doing test cleanup, and those
> > reviewing/trying the code out.
> >
> > If you run across issues with Keystone and Python3, please let us know.
> >
> > A sincere thanks to the entire Keystone team involved in this multicycle
> > effort.
> >
> > --Morgan
>
> Is this for unit or functional tests?
>
>
Our unit tests and functional tests cross over significantly. The majority
of keystone's unit tests are really "stand up a full keystone and test the
API as though you were a client".

This is not DSVM and true "functional" tests (most of the restful test
cases will move over to "functional" once it's working) are not fully setup
yet.

In short "unit tests", except our unit tests are mostly "functional" in
nature.

--Morgan


> Doug
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [craton] meeting notes

2016-05-23 Thread sean roberts
Hello project team members. We have one week until M1. We need to discuss
some details of what should be in the Newton release of Craton. Since no
one has commented on the project name, I am going to assume we all agree to
the name Craton. I will push the meeting patch to get it published.



On Mon, May 16, 2016 at 8:51 AM, sean roberts 
wrote:

> first team meeting notes here
> https://etherpad.openstack.org/p/craton-meeting-2016-05-16
>
> We have two weeks until M1, which is a good date to finalize what features
> we will have in the newton release.
>
> We proposed the project name Craton to stick. Let's propose an alternative
> here quickly if anyone wants.
>
> We agreed to hold meetbot IRC meetings 07:30 PDT. The #openstack-meeting-4
> slot is available.
>
> We agreed to move all email to openstack-dev@lists.openstack.org with the
> subject starting with [craton]
>
> The chat.freenode.net IRC channel #craton is up and running, but not
> logged yet.
>
> We want to target getting together face to face around the time of the yet
> to be scheduled Operators Mid-Cycle. 19 July Watcher mid-cycle in
> hillsboro, OR may be the area and time.
>
> I am happy to patch both the IRC meeting and craton logging patches, as
> soon as we decide.
>
> I would recommend that we decide on these items today or tomorrow, so we
> can get started on important project work.
>
> ~ sean
>



-- 

~ sean
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [craton] meeting notes

2016-05-23 Thread sean roberts
yes it is.

On Mon, May 16, 2016 at 9:36 AM, Tim Bell  wrote:

> Thanks for the notes.
>
>
>
> Is the agreement to work using Craton as a base for the fleet management ?
>
>
>
> Tim
>
>
>
> *From: *sean roberts 
> *Reply-To: *"OpenStack Development Mailing List (not for usage
> questions)" 
> *Date: *Monday 16 May 2016 at 17:51
> *To: *"openstack-dev@lists.openstack.org" <
> openstack-dev@lists.openstack.org>
> *Subject: *[openstack-dev] [craton] meeting notes
>
>
>
> first team meeting notes here
> https://etherpad.openstack.org/p/craton-meeting-2016-05-16
>
>
>
> We have two weeks until M1, which is a good date to finalize what features
> we will have in the newton release.
>
>
>
> We proposed the project name Craton to stick. Let's propose an alternative
> here quickly if anyone wants.
>
>
>
> We agreed to hold meetbot IRC meetings 07:30 PDT. The #openstack-meeting-4
> slot is available.
>
>
>
> We agreed to move all email to openstack-dev@lists.openstack.org with the
> subject starting with [craton]
>
>
>
> The chat.freenode.net IRC channel #craton is up and running, but not
> logged yet.
>
>
>
> We want to target getting together face to face around the time of the yet
> to be scheduled Operators Mid-Cycle. 19 July Watcher mid-cycle in
> hillsboro, OR may be the area and time.
>
>
>
> I am happy to patch both the IRC meeting and craton logging patches, as
> soon as we decide.
>
>
>
> I would recommend that we decide on these items today or tomorrow, so we
> can get started on important project work.
>
>
>
> ~ sean
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 

~ sean
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [new][ironic] ironic-python-agent 1.2.1 release (mitaka)

2016-05-23 Thread no-reply
We are jazzed to announce the release of:

ironic-python-agent 1.2.1: Ironic Python Agent Ramdisk

This release is part of the mitaka stable release series.

For more details, please see below.

1.2.1
^


New Features


* The "has_carrier" flag was added to the network interface
  information.


Bug Fixes
*

* Fixes bug where the user specified disk_label is ignored with
  partition images in agent drivers.

* Inspection code now waits up to 1 minute for all NICs to get their
  IP addresses. Otherwise inspection fails for some users due to race
  between DIB DHCP code and IPA startup. See
  https://bugs.launchpad.net/bugs/1564954 for details.

* During inspection wait only for a PXE booting NIC to get its IP by
  default. Introduce a new "inspection_dhcp_all_interfaces" option to
  enable waiting for all interfaces instead.

* Stop checking the "has_carrier" field when waiting for NIC's to
  get IP addresses, as it might be set to "False" when the interface
  is being configured.

Changes in ironic-python-agent 1.2.0..1.2.1
---

f5b7ea2 Add script to install missing tinyipa dependencies
ed978f3 [inspection] wait for the PXE DHCP by default and remove the carrier 
check
aa9c061 Stop using git:// and be nice to people behind proxy servers
6ece00d Install qemu-image from backports repo
3fba1ee Wait for the interfaces to get IP addresses before inspection
88f33a3 Correct link to enabling agent drivers
237b76e Fix full_trusty_build once and for all
d3e112c Append BRANCH_PATH to filenames of build output
e949a1e Add disk_label support for partition images
8910634 Update .gitreview for stable/mitaka

Diffstat (except docs and test files)
-

.gitreview |   1 +
Dockerfile |   7 +-
imagebuild/coreos/full_trusty_build.sh |  24 -
imagebuild/tinyipa/Makefile|   8 +-
imagebuild/tinyipa/build-iso.sh|   2 +-
imagebuild/tinyipa/build-tinyipa.sh|   5 +-
imagebuild/tinyipa/finalise-tinyipa.sh |   2 +
imagebuild/tinyipa/install-deps.sh |  17 
ironic_python_agent/cmd/agent.py   |  15 +++
ironic_python_agent/extensions/standby.py  |   6 +-
ironic_python_agent/hardware.py|  20 +++-
ironic_python_agent/inspector.py   |  58 +++
.../notes/disk-label-fix-536897e41a4d817f.yaml |   5 +
.../inspection-wait-for-ips-223e39b65fef31bd.yaml  |   7 ++
...nspection-wait-for-ips-v2-146016f758d7010c.yaml |   8 ++
20 files changed, 366 insertions(+), 27 deletions(-)




__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [new][keystone] keystonemiddleware 4.4.1 release (mitaka)

2016-05-23 Thread no-reply
We are pleased to announce the release of:

keystonemiddleware 4.4.1: Middleware for OpenStack Identity

This release is part of the mitaka stable release series.

With source available at:

http://git.openstack.org/cgit/openstack/keystonemiddleware

With package available at:

https://pypi.python.org/pypi/keystonemiddleware

Please report issues through launchpad:

http://bugs.launchpad.net/keystonemiddleware

For more details, please see below.

Changes in keystonemiddleware 4.4.0..4.4.1
--

0997d44 Updated from global requirements
b1c8fa9 Updated from global requirements
fa8ac82 Remove bandit.yaml in favor of defaults
c34f4cc Create signing_dir upon first usage

Diffstat (except docs and test files)
-

bandit.yaml| 119 -
keystonemiddleware/audit.py|  13 ++-
keystonemiddleware/auth_token/__init__.py  |   4 +-
keystonemiddleware/auth_token/_request.py  |   3 +-
keystonemiddleware/auth_token/_signing_dir.py  |  21 ++--
keystonemiddleware/echo/__main__.py|   3 +-
requirements.txt   |   2 +-
test-requirements.txt  |   2 +-
tox.ini|   7 +-
10 files changed, 56 insertions(+), 148 deletions(-)


Requirements updates


diff --git a/requirements.txt b/requirements.txt
index 0a9f2f3..aa2d0c1 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -14 +14 @@ pycadf!=2.0.0,>=1.1.0 # Apache-2.0
-python-keystoneclient!=1.8.0,!=2.1.0,>=1.6.0 # Apache-2.0
+python-keystoneclient!=1.8.0,!=2.1.0,<3.0.0,>=1.6.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 357d49e..35bb567 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -8 +8 @@ coverage>=3.6 # Apache-2.0
-fixtures>=1.3.1 # Apache-2.0/BSD
+fixtures<2.0,>=1.3.1 # Apache-2.0/BSD



__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [new][keystone] keystoneauth1 2.4.1 release (mitaka)

2016-05-23 Thread no-reply
We are jazzed to announce the release of:

keystoneauth1 2.4.1: Authentication Library for OpenStack Identity

This release is part of the mitaka stable release series.

With source available at:

http://git.openstack.org/cgit/openstack/keystoneauth

With package available at:

https://pypi.python.org/pypi/keystoneauth1

Please report issues through launchpad:

http://bugs.launchpad.net/keystoneauth

For more details, please see below.

Changes in keystoneauth1 2.4.0..2.4.1
-

dd58541 Updated from global requirements
bc2354d Swap the order of username deprecation
73475f0 fix OrderedDict mutated during iteration

Diffstat (except docs and test files)
-

keystoneauth1/fixture/keystoneauth_betamax.py  | 2 +-
keystoneauth1/loading/_plugins/identity/generic.py | 5 ++---
keystoneauth1/loading/_plugins/identity/v2.py  | 7 +++
keystoneauth1/loading/_plugins/identity/v3.py  | 5 ++---
setup.cfg  | 2 +-
test-requirements.txt  | 2 +-
7 files changed, 11 insertions(+), 14 deletions(-)


Requirements updates


diff --git a/test-requirements.txt b/test-requirements.txt
index ad06c08..bf7f328 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -10 +10 @@ discover # BSD
-fixtures>=1.3.1 # Apache-2.0/BSD
+fixtures<2.0,>=1.3.1 # Apache-2.0/BSD



__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] Gerrit downtime on Friday 2016-06-03 at 20:00 UTC

2016-05-23 Thread Elizabeth K. Joseph
Hi everyone,

On Friday, June 3, from approximately 20:00 through 24:00 UTC Gerrit
will be unavailable while we rename some projects.

Currently, we plan on renaming the following projects:

openstack/openstack-ansible-ironic -> openstack/openstack-ansible-os_ironic

openstack-infra/ansible-puppet -> openstack-infra/ansible-role-puppet

This list is subject to change. If you need a rename, please be sure
to get your change in soon so we can review it and add it to
https://wiki.openstack.org/wiki/Meetings/InfraTeamMeeting#Upcoming_Project_Renames

Existing reviews, project watches, etc, should all be carried over.

If you have any questions about the maintenance, please reply here or
contact us in #openstack-infra on freenode.

-- 
Elizabeth Krumbach Joseph || Lyz || pleia2

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Infra] Meeting Tuesday May 24th at 19:00 UTC

2016-05-23 Thread Elizabeth K. Joseph
Hi everyone,

The OpenStack Infrastructure (Infra) team is having our next weekly
meeting on Tuesday May 24th, at 19:00 UTC in #openstack-meeting

Meeting agenda available here:
https://wiki.openstack.org/wiki/Meetings/InfraTeamMeeting#Agenda_for_next_meeting

Anyone is welcome to to add agenda items and everyone interested in
the project infrastructure and process surrounding automated testing
and deployment is encouraged to attend.

In case you missed it or would like a refresher, the meeting minutes
and full logs from our last meeting are available:

Minutes: 
http://eavesdrop.openstack.org/meetings/infra/2016/infra.2016-05-17-19.01.html
Minutes (text):
http://eavesdrop.openstack.org/meetings/infra/2016/infra.2016-05-17-19.01.txt
Log: 
http://eavesdrop.openstack.org/meetings/infra/2016/infra.2016-05-17-19.01.log.html

-- 
Elizabeth Krumbach Joseph || Lyz || pleia2

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [new][neutron] neutron-lib 0.2.0 release (newton)

2016-05-23 Thread no-reply
We are delighted to announce the release of:

neutron-lib 0.2.0: Neutron shared routines and utilities

This release is part of the newton release series.

With source available at:

http://git.openstack.org/cgit/openstack/neutron-lib

With package available at:

https://pypi.python.org/pypi/neutron-lib

Please report issues through launchpad:

http://bugs.launchpad.net/neutron

For more details, please see below.

Changes in neutron-lib 0.1.0..0.2.0
---

4dcbeb2 Updated from global requirements
d70cb29 Add IPv6_LLA_PREFIX constant
c09ff0b Remove ICMPV6_ALLOWED_TYPES
d33b62b Maintain ATTR_NOT_SPECIFIED constant with deepcopy
da9870c Add constants for additional ICMPv6 types
55498ff Define legacy ICMPv6 protocol name 'icmpv6' for backward compaty

Diffstat (except docs and test files)
-

neutron_lib/constants.py | 55 +---
requirements.txt |  4 ++--
2 files changed, 49 insertions(+), 10 deletions(-)


Requirements updates


diff --git a/requirements.txt b/requirements.txt
index e91e710..388462c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6 +6 @@ pbr>=1.6 # Apache-2.0
-Babel!=2.3.0,!=2.3.1,!=2.3.2,!=2.3.3,>=1.3 # BSD
+Babel>=2.3.4 # BSD
@@ -14 +14 @@ oslo.messaging>=4.5.0 # Apache-2.0
-oslo.service>=1.0.0 # Apache-2.0
+oslo.service>=1.10.0 # Apache-2.0



__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [puppet] weekly meeting #82

2016-05-23 Thread Emilien Macchi
Hi Puppeteers!

We'll have our weekly meeting tomorrow at 3pm UTC on
#openstack-meeting-4.

Here's a first agenda:
https://etherpad.openstack.org/p/puppet-openstack-weekly-meeting-20160524

Feel free to add more topics, and any outstanding bug and patch.

See you tomorrow!
Thanks,
-- 
Emilien Macchi

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [neutron] [networking-sfc] Adding use case to wiki?

2016-05-23 Thread Duarte Cardoso, Igor
Thanks Louis,

Best regards,
Igor.

From: Henry Fourie [mailto:louis.fou...@huawei.com]
Sent: Monday, May 23, 2016 5:59 PM
To: OpenStack Development Mailing List (not for usage questions) 

Subject: Re: [openstack-dev] [neutron] [networking-sfc] Adding use case to wiki?

Igor,
   Add them here https://wiki.openstack.org/wiki/Neutron/ServiceChainUseCases

-  Louis

From: Duarte Cardoso, Igor [mailto:igor.duarte.card...@intel.com]
Sent: Monday, May 23, 2016 9:14 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [neutron] [networking-sfc] Adding use case to wiki?

Hi networking-sfc,

As discussed at the last meeting I was to add the SFC Encapsulation use case to 
the networking-sfc wiki:
#action paul, john igor to add use-cases to wiki

Where exactly is the place to insert use cases in the wiki? Is there one 
already?
None of these seem to have any section for that purpose:
https://wiki.openstack.org/wiki/Neutron/ServiceInsertionAndChaining
https://wiki.openstack.org/wiki/Meetings/ServiceFunctionChainingMeeting
https://wiki.openstack.org/wiki/Neutron/APIForServiceChaining

Best regards,
Igor.

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [mistral] Team meeting minues/log - 05/23/2016

2016-05-23 Thread Renat Akhmerov
Thanks for joining today’s meeting!

Meeting minutes and log:
http://eavesdrop.openstack.org/meetings/mistral/2016/mistral.2016-05-23-16.01.html
 

http://eavesdrop.openstack.org/meetings/mistral/2016/mistral.2016-05-23-16.01.log.html
 


The next meeting will be on May 30th.

Renat Akhmerov
@Nokia

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [neutron] [networking-sfc] Adding use case to wiki?

2016-05-23 Thread Henry Fourie
Igor,
   Add them here https://wiki.openstack.org/wiki/Neutron/ServiceChainUseCases

-Louis

From: Duarte Cardoso, Igor [mailto:igor.duarte.card...@intel.com]
Sent: Monday, May 23, 2016 9:14 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev] [neutron] [networking-sfc] Adding use case to wiki?

Hi networking-sfc,

As discussed at the last meeting I was to add the SFC Encapsulation use case to 
the networking-sfc wiki:
#action paul, john igor to add use-cases to wiki

Where exactly is the place to insert use cases in the wiki? Is there one 
already?
None of these seem to have any section for that purpose:
https://wiki.openstack.org/wiki/Neutron/ServiceInsertionAndChaining
https://wiki.openstack.org/wiki/Meetings/ServiceFunctionChainingMeeting
https://wiki.openstack.org/wiki/Neutron/APIForServiceChaining

Best regards,
Igor.

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Doug Hellmann
Excerpts from Chris Dent's message of 2016-05-23 17:07:36 +0100:
> On Mon, 23 May 2016, Doug Hellmann wrote:
> > Excerpts from Chris Dent's message of 2016-05-20 14:16:15 +0100:
> >> I don't think language does (or should) have anything to do with it.
> >>
> >> The question is whether or not the tool (whether service or
> >> dependent library) is useful to and usable outside the openstack-stack.
> >> For example gnocchi is useful to openstack but you can use it with other
> >> stuff, therefore _not_ openstack. More controversially: swift can be
> >> usefully used all by its lonesome: _not_ openstack.
> >
> > Add keystone, cinder, and ironic to that list.
> 
> Hmmm. You can, but would people want to (that is, would it be a sound
> choice?)? Or _do_ people? Maybe that's the distinction? As far as I

Yes, I'm aware of cases of each of those projects being used without
"the rest" of OpenStack. I used keystone like that to secure some
internal APIs myself.

> understand things, it's not unusual for standalone swift
> installations to exist and it's something of an openstack joke that
> there are "lots of rules about how things are done, but swift is
> special". Something like gnocchi was designed from the outset to be
> separable.
> 
> I don't really know. I'm firmly in the camp that OpenStack needs to
> be smaller and more tightly focused if a unitary thing called OpenStack
> expects to be any good. So I'm curious about and interested in
> strategies for figuring out where the boundaries are.
> 
> So that, of course, leads back to the original question: Is OpenStack
> supposed to be a unitary.
> 
> If it's _not_, they yes, we need some fairly arbitrary (as in, it's
> okay if we pull them out of thin air without relation to the quality
> of the product, because there is no product!) but concrete guidelines
> that delineate in or out. We can just choose to choose them.
> 
> > As you say, there are a lot of good reasons to strive for loose
> > coupling between components. On the other hand, whether or not an
> > individual component can or should be used by itself isn't a
> > sufficient line when we're talking about the nature of OpenStack
> > as a whole, especially if we want interoperability between deployments.
> 
> If we want interoperability between deployments (is that yet
> universally agreed?) then optionality is a useful guideline for

It's the basis of much if not all of the DefCore trademark work.
So there are still some folks who don't like it, but it's an official
goal.

> whether something is OpenStack[1] or not. If it's optional, then it
> can't be part of OpenStack because if one install has it and another
> does not, then interoperability is shot.

Not quite. With the different trademark programs in place, the
stance is "if you're calling your X API 'OpenStack' it needs to run
our code and it needs to pass the interop tests for the related
capabilities." Each trademark program has a different list of
projects to which it applies.  So it's more prix fixe with an option
of the number of courses rather than a la carte (I may need lunch).

> 
> So that seems like a good second question: Do we all agree that the
> thing called OpenStack at cloud A is the same thing as OpenStack
> at cloud B?
> 
> (There's plenty of talk about this concept, but I'm pretty sure
> there isn't agreement. If we're not working towards real agreement,
> and we're not going to follow that agreement if we ever reach it,
> what are we doing?)

The DefCore team is working to establish the definition, and has a
well-defined process for documenting and modifying the definition over
time.

Doug

> 
> [1] Being useful-to or usable-by OpenStack is a whole 'nother deal.
> 

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Magnum][Octavia] Need help for LBaaS v2

2016-05-23 Thread Michael Johnson
Hi Wanghua,

From the o-cw log, it looks like the amphora service VM did not boot
properly or the network is not configured correctly.  We can see that
Nova said the VM went active, but the amphora-agent inside the image
never became reachable.  I would check the nova instance console log
to make sure the instance finished booting and check that the octavia
management network is properly setup such that the amphora-agent can
be reached.

Michael


On Sun, May 22, 2016 at 8:31 PM, 王华  wrote:
> Hi all,
>
> Previously Magnum used LBaaS v1. Now LBaaS v1 is deprecated, so we want to
> replace it by LBaaS v2. But I met a problem in my patch
> https://review.openstack.org/#/c/314060/. I could not figure out why it
> didn't work. It seems there are some errors in
> http://logs.openstack.org/60/314060/5/check/gate-functional-dsvm-magnum-k8s/6e3795e/logs/screen-o-cw.txt.gz.
> Can anyone in Octavia team help me to figure out why my patch doesn't work
> in the gate?  Thank you.
>
> Regards,
> Wanghua
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Freezer] Replace Gnu Tar with DAR

2016-05-23 Thread Fausto Marzi
If that would work, the only difference would probably be that when
restoring, the deleted files between levels are restore too. No difference
for incremental backups as --listed-incremental is still used. So when the
restore of that level fails, it is restarted without --incremental related
options. It is a possible workaround.

A possible solution would be to not wrap binaries any more and provide
similar functionalities from python code, so the code would also be more
portable. I'd rather invest time on binary dependency removal rather than
use other binaries. Just my opinion.


On Mon, May 23, 2016 at 6:03 PM, Dieterly, Deklan 
wrote:

> Then it would not be an incremental backup/restore. This problem arises
> when doing incremental backup and restores.
> --
> Deklan Dieterly
>
> Senior Systems Software Engineer
> HPE
>
>
>
>
> From:  Fausto Marzi 
> Reply-To:  "OpenStack Development Mailing List (not for usage questions)"
> 
> Date:  Wednesday, May 18, 2016 at 5:22 AM
> To:  "OpenStack Development Mailing List (not for usage questions)"
> 
> Subject:  Re: [openstack-dev] [Freezer] Replace Gnu Tar with DAR
>
>
> >Hi Deklan,
> >
> >what happen if the extract is executed without --listed-incremental or
> >--incremental options?
> >
> >
> >Does the issue still happen?
> >
> >
> >Thanks,
> >
> >Fausto
> >
> >
> >On Sat, May 14, 2016 at 12:56 AM, Dieterly, Deklan
> > wrote:
> >
> >When using incremental backups, tar will not handle removing a dir and
> >then renaming another dir to the removed dir.
> >
> >
> >dek@dek-HP-Z620-Workstation:~/backup-test$ tar --extract
> >--listed-incrementa=/dev/null --file backup.2.tar
> >tar: Cannot rename Œbackup/dir1¹ to Œbackup/dir2¹: Directory not empty
> >tar: Exiting with failure status due to previous errors
> >
> >
> >
> >Here are the steps to reproduce.
> >
> > 1845  mkdir backup
> > 1846  mkdir backup/dir1
> > 1847  mkdir backup/dir2
> > 1848  echo "aa" > backup/dir1/dir1-file1
> > 1849  echo "aa" > backup/dir2/dir2-file1
> > 1852  tar --create --file=backup.tar --listed-incremental=./listed-incr
> >backup
> > 1854  rm -rf backup/dir2
> > 1855  mv backup/dir1 backup/dir2
> > 1856  tar --create --file=backup.2.tar --listed-incremental=./listed-incr
> >backup
> > 1859  tar --extract --listed-incrementa=/dev/null --file backup.tar
> > 1861  tar --extract --listed-incrementa=/dev/null --file backup.2.tar
> >
> >
> >This seems to be a well known, long-standing issue with tar.
> >--
> >Deklan Dieterly
> >
> >Senior Systems Software Engineer
> >HPE
> >
> >
> >
> >
> >On 5/13/16, 4:33 PM, "Fox, Kevin M"  wrote:
> >
> >>Whats the issue?
> >>
> >>From: Dieterly, Deklan [deklan.diete...@hpe.com]
> >>Sent: Friday, May 13, 2016 3:07 PM
> >>To: openstack-dev@lists.openstack.org
> >>Subject: [openstack-dev] [Freezer] Replace Gnu Tar with DAR
> >>
> >>Does anybody see any issues if Freezer used DAR instead of Gnu Tar? DAR
> >>seems to handle a particular use case that Freezer has while Gnu Tar does
> >>not.
> >>--
> >>Deklan Dieterly
> >>
> >>Senior Systems Software Engineer
> >>HPE
> >>
> >>
> >>_
> >>_
> >>OpenStack Development Mailing List (not for usage questions)
> >>Unsubscribe:
> >openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> >
> >>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >>
> >>_
> >>_
> >>OpenStack Development Mailing List (not for usage questions)
> >>Unsubscribe:
> >openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> >
> >>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
> >
> >__
> >OpenStack Development Mailing List (not for usage questions)
> >Unsubscribe:
> >openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> >
> >http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
> >
> >
> >
> >
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [neutron] [networking-sfc] Adding use case to wiki?

2016-05-23 Thread Duarte Cardoso, Igor
Hi networking-sfc,

As discussed at the last meeting I was to add the SFC Encapsulation use case to 
the networking-sfc wiki:
#action paul, john igor to add use-cases to wiki

Where exactly is the place to insert use cases in the wiki? Is there one 
already?
None of these seem to have any section for that purpose:
https://wiki.openstack.org/wiki/Neutron/ServiceInsertionAndChaining
https://wiki.openstack.org/wiki/Meetings/ServiceFunctionChainingMeeting
https://wiki.openstack.org/wiki/Neutron/APIForServiceChaining

Best regards,
Igor.

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [new][keystone] keystonemiddleware 4.5.1 release (newton)

2016-05-23 Thread no-reply
We are eager to announce the release of:

keystonemiddleware 4.5.1: Middleware for OpenStack Identity

This release is part of the newton release series.

With source available at:

http://git.openstack.org/cgit/openstack/keystonemiddleware

With package available at:

https://pypi.python.org/pypi/keystonemiddleware

Please report issues through launchpad:

http://bugs.launchpad.net/keystonemiddleware

For more details, please see below.

Changes in keystonemiddleware 4.5.0..4.5.1
--

f55b033 Fix AttributeError on cached-invalid token checks

Diffstat (except docs and test files)
-

keystonemiddleware/auth_token/__init__.py  |  2 +-
.../unit/auth_token/test_auth_token_middleware.py  | 18 ++
2 files changed, 19 insertions(+), 1 deletion(-)




__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Chris Dent

On Mon, 23 May 2016, Doug Hellmann wrote:

Excerpts from Chris Dent's message of 2016-05-20 14:16:15 +0100:

I don't think language does (or should) have anything to do with it.

The question is whether or not the tool (whether service or
dependent library) is useful to and usable outside the openstack-stack.
For example gnocchi is useful to openstack but you can use it with other
stuff, therefore _not_ openstack. More controversially: swift can be
usefully used all by its lonesome: _not_ openstack.


Add keystone, cinder, and ironic to that list.


Hmmm. You can, but would people want to (that is, would it be a sound
choice?)? Or _do_ people? Maybe that's the distinction? As far as I
understand things, it's not unusual for standalone swift
installations to exist and it's something of an openstack joke that
there are "lots of rules about how things are done, but swift is
special". Something like gnocchi was designed from the outset to be
separable.

I don't really know. I'm firmly in the camp that OpenStack needs to
be smaller and more tightly focused if a unitary thing called OpenStack
expects to be any good. So I'm curious about and interested in
strategies for figuring out where the boundaries are.

So that, of course, leads back to the original question: Is OpenStack
supposed to be a unitary.

If it's _not_, they yes, we need some fairly arbitrary (as in, it's
okay if we pull them out of thin air without relation to the quality
of the product, because there is no product!) but concrete guidelines
that delineate in or out. We can just choose to choose them.


As you say, there are a lot of good reasons to strive for loose
coupling between components. On the other hand, whether or not an
individual component can or should be used by itself isn't a
sufficient line when we're talking about the nature of OpenStack
as a whole, especially if we want interoperability between deployments.


If we want interoperability between deployments (is that yet
universally agreed?) then optionality is a useful guideline for
whether something is OpenStack[1] or not. If it's optional, then it
can't be part of OpenStack because if one install has it and another
does not, then interoperability is shot.

So that seems like a good second question: Do we all agree that the
thing called OpenStack at cloud A is the same thing as OpenStack
at cloud B?

(There's plenty of talk about this concept, but I'm pretty sure
there isn't agreement. If we're not working towards real agreement,
and we're not going to follow that agreement if we ever reach it,
what are we doing?)

[1] Being useful-to or usable-by OpenStack is a whole 'nother deal.

--
Chris Dent   (╯°□°)╯︵┻━┻http://anticdent.org/
freenode: cdent tw: @anticdent__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Freezer] Replace Gnu Tar with DAR

2016-05-23 Thread Dieterly, Deklan
Then it would not be an incremental backup/restore. This problem arises
when doing incremental backup and restores.
-- 
Deklan Dieterly

Senior Systems Software Engineer
HPE




From:  Fausto Marzi 
Reply-To:  "OpenStack Development Mailing List (not for usage questions)"

Date:  Wednesday, May 18, 2016 at 5:22 AM
To:  "OpenStack Development Mailing List (not for usage questions)"

Subject:  Re: [openstack-dev] [Freezer] Replace Gnu Tar with DAR


>Hi Deklan,
>
>what happen if the extract is executed without --listed-incremental or
>--incremental options?
>
>
>Does the issue still happen?
>
>
>Thanks,
>
>Fausto
>
>
>On Sat, May 14, 2016 at 12:56 AM, Dieterly, Deklan
> wrote:
>
>When using incremental backups, tar will not handle removing a dir and
>then renaming another dir to the removed dir.
>
>
>dek@dek-HP-Z620-Workstation:~/backup-test$ tar --extract
>--listed-incrementa=/dev/null --file backup.2.tar
>tar: Cannot rename Œbackup/dir1¹ to Œbackup/dir2¹: Directory not empty
>tar: Exiting with failure status due to previous errors
>
>
>
>Here are the steps to reproduce.
>
> 1845  mkdir backup
> 1846  mkdir backup/dir1
> 1847  mkdir backup/dir2
> 1848  echo "aa" > backup/dir1/dir1-file1
> 1849  echo "aa" > backup/dir2/dir2-file1
> 1852  tar --create --file=backup.tar --listed-incremental=./listed-incr
>backup
> 1854  rm -rf backup/dir2
> 1855  mv backup/dir1 backup/dir2
> 1856  tar --create --file=backup.2.tar --listed-incremental=./listed-incr
>backup
> 1859  tar --extract --listed-incrementa=/dev/null --file backup.tar
> 1861  tar --extract --listed-incrementa=/dev/null --file backup.2.tar
>
>
>This seems to be a well known, long-standing issue with tar.
>--
>Deklan Dieterly
>
>Senior Systems Software Engineer
>HPE
>
>
>
>
>On 5/13/16, 4:33 PM, "Fox, Kevin M"  wrote:
>
>>Whats the issue?
>>
>>From: Dieterly, Deklan [deklan.diete...@hpe.com]
>>Sent: Friday, May 13, 2016 3:07 PM
>>To: openstack-dev@lists.openstack.org
>>Subject: [openstack-dev] [Freezer] Replace Gnu Tar with DAR
>>
>>Does anybody see any issues if Freezer used DAR instead of Gnu Tar? DAR
>>seems to handle a particular use case that Freezer has while Gnu Tar does
>>not.
>>--
>>Deklan Dieterly
>>
>>Senior Systems Software Engineer
>>HPE
>>
>>
>>_
>>_
>>OpenStack Development Mailing List (not for usage questions)
>>Unsubscribe: 
>openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>
>>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>_
>>_
>>OpenStack Development Mailing List (not for usage questions)
>>Unsubscribe: 
>openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>
>>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>__
>OpenStack Development Mailing List (not for usage questions)
>Unsubscribe: 
>openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
>
>

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [magnum][kuryr] Nested containers networking

2016-05-23 Thread Hongbin Lu
Hi Kuryr team,

I want to start this ML to sync up the latest status of the nested container 
networking implementation. Could I know who is implementing this feature in 
Kuryr side and how Magnum team could help in this efforts? In addition, I 
wonder if it makes sense to establish cross-project liaisons between Kuryr and 
Magnum. Magnum relies on Kuryr to implement several important features so I 
think it is helpful to setup a communication channel between both teams. 
Thoughts?

Best regards,
Hongbin
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [javascript] Seeking contributors, js-generator-openstack

2016-05-23 Thread Michael Krotscheck
Good idea. Since we've already got a storyboard project, let's start there.

Michael

On Fri, May 20, 2016 at 4:02 PM Zhang Yujun 
wrote:

> Hi, Michael
>
> As you are no longer alone now, we'd better to put things in your head
> onto documents so that everybody who wish to contribute will know where to
> go.
>
> Besides the technical roadmap, I think we shall need a space for issue
> tracking and proposal discussion. After we make the project more open to
> the community, it won't be long that more developers join this project.
>
> That's my basic thoughts for the moment.
>
> --
> Yujun
>
> On Sat, May 21, 2016 at 1:10 AM Michael Krotscheck 
> wrote:
>
>> Hi there!
>>
>> Well, the first thing we need is other reviewers, which is the fastest
>> way to become a core :). The project page right now is the README.md
>> file in the project itself. The main reason for this is that the target
>> audience - javascript engineers - usually find that first via NPM. Most of
>> the Todo items there have already been done, actually, so the next step
>> would be to really identify what this project needs to accomplish, group it
>> into major categories, and start working on it. Off the top of my head,
>> here's a list:
>>
>>
>>1. Dependency synchronization: Keep a list of semver
>>global-dependencies.json at the root of the project, and update a 
>> project's
>>dependencies if the versions are out of sync.
>>2. Eslint invocation. Infra's Common Testing Interface states that
>>all javascript projects must support 'npm run lint', using
>>eslint-config-openstack. The generator should add/update this to any
>>project it's run in.
>>3. nsp invocation. Not strictly necessary, but a postinstall scan of
>>the project for publicly known vulnerabilities is always a good thing.
>>
>> After these pieces, the next step becomes more complicated, as we need to
>> choose whether the user is creating a web application, or a node
>> application. This then allows us to switch out which test harness and
>> runner we're using, so that the `npm test` command can be consistent. Once
>> this lands, we can start talking about project src/dist directories, how to
>> best use gulp in each project type, and actual project templates :).
>>
>> Is there something in particular you'd like to work on?
>>
>> Michael
>>
>>
>> On Thu, May 19, 2016 at 12:39 AM Zhang Yujun 
>> wrote:
>>
>>> Hi, Michael,
>>>
>>> I have several project experience in JavaScript and please let me know
>>> how I could help on this project?
>>>
>>> Is there a project page?
>>>
>>> Or we shall getting started with gerrit review?
>>>
>>> --
>>> Yujun
>>>
>>> On Wed, May 18, 2016 at 11:45 PM Michael Krotscheck <
>>> krotsch...@gmail.com> wrote:
>>>
 Hello everyone!

 The js-generator-openstack project has been incubated under
 openstack-infra, and is seeking contributors (and cores). The purpose of
 the project is as follows:

- Help manage common project configuration aspects, such as
licenses, gerrit, authors, and more.
- Assist in keeping dependencies up-to-date and synchronized across
javascript projects (JS equivalent of global requirements).
- Provide all the necessary hooks for OpenStack's JavaScript Common
Testing Interface.
- Suggest common tools to use for tasks such as linting, unit
testing, functional testing, and more.
- (Newton Stretch) Provide a quick way of bootstrapping a new
CORS-consuming OpenStack UI.

 I'm looking for help- firstly, because right now I'm the only person
 who's willing to review JavaScript amongst the various infra cores, and I'd
 really like more eyeballs on this project. Secondly, because I know that
 I'm not the only person who has opinions about how we should be doing
 JavaScript things.

 Come on over to
 https://review.openstack.org/#/q/project:openstack-infra/js-generator-openstack+status:open
  and
 help me out, would ya? If you've got questions, I'm active in the
 #openstack-javascript channel.

 Michael

>>>
 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe:
 openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

>>>
>>> __
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> 

[openstack-dev] [magnum] FW: Mentors needed in specific technical areas

2016-05-23 Thread Hongbin Lu
FYI,

If you interest to be a mentor for containers or other areas, check below...

Best regards,
Hongbin

From: Emily K Hugenbruch [mailto:ekhugenbr...@us.ibm.com]
Sent: May-23-16 10:25 AM
To: openstack-dev@lists.openstack.org
Subject: [openstack-dev] [PTLs][all][mentoring] Mentors needed in specific 
technical areas


Hi,
The lightweight mentoring program sponsored by the Women of OpenStack has 
really taken off, and we have about 35 mentees looking for technical help that 
we don't have mentors for. We're asking for help from the PTLs to announce the 
mentoring program in team meetings then direct people to the guidelines 
(here
 and 
here)
 and signup form if 
they're interested.

Mentors should be regular contributors to a project, with an interest in 
helping new people and about 4 hours a month for mentoring. They do not have to 
be women; the program is just sponsored by WoO, we welcome all mentees and 
mentors.

These are the projects/areas where we especially need mentors:

 *   Cinder
 *   Containers
 *   Documentation
 *   Glance
 *   Keystone
 *   Murano
 *   Neutron
 *   Nova
 *   Ops
 *   Searchlight
 *   Telemetry
 *   TripleO
 *   Trove
If you have any questions you can contact me, or ask on openstack-women where 
the mentoring committee hangs out.
Thanks!
Emily Hugenbruch
IRC: ekhugen
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [all][tc] Languages vs. Scope of "OpenStack"

2016-05-23 Thread Doug Hellmann
Excerpts from Chris Dent's message of 2016-05-20 14:16:15 +0100:
> On Fri, 20 May 2016, Thierry Carrez wrote:
> 
> > The other approach is product-centric: "lower-level pieces are OpenStack 
> > dependencies, rather than OpenStack itself". If we are missing a 
> > lower-level 
> > piece to achieve our mission and are developing it as a result, it could be 
> > developed on OpenStack infrastructure by members of the OpenStack community 
> > but it is not "OpenStack the product", it's an OpenStack *dependency*. It 
> > is 
> > not governed by the TC, it can use any language and tool deemed necessary.
> >
> > On this second approach, there is the obvious question of where 
> > "lower-level" 
> > starts, which as you explained above is not really clear-cut. A good litmus 
> > test for it could be whenever Python is not enough. If you can't develop it 
> > effectively with the language that is currently sufficient for the rest of 
> > OpenStack, then developing it as an OpenStack dependency in whatever 
> > language 
> > is appropriate might be the solution...
> 
> I don't think language does (or should) have anything to do with it.
> 
> The question is whether or not the tool (whether service or
> dependent library) is useful to and usable outside the openstack-stack.
> For example gnocchi is useful to openstack but you can use it with other
> stuff, therefore _not_ openstack. More controversially: swift can be
> usefully used all by its lonesome: _not_ openstack.

Add keystone, cinder, and ironic to that list.

> Not being in OpenStack (where "in" means "of the product") is good
> for OpenStack, good for the project and good for opensource in general:
> 
> * Outside the OpenStack bubble, looking in, one can see a bunch of
>complexity and a bunch of bad architecture decisions but rarely
>see the good stuff that is actually there, so it is easy enough to walk
>away. Good stuff that a larger audience could benefit from may get
>dismissed, if that good stuff has an opportunity to have an
>independent identity, it can be useful.
> 
> * A project that is used by a larger and more diverse audience
>(people-wise and technology-wise) will of necessity be more
>robust.
> 
> * A project that defines itself as independent will be required to
>have strong and narrow contracts to satisfy its diverse audiences.
> 
> * A project that has those strong and narrow contracts can use what
>ever language it likes and still be useful and nobody really needs
>to care all that deeply except for the people making it. If they
>want to be in a language that infra doesn't want to support,
>that's fine: there are plenty of other ways to do CI.
> 
> * An openstack which is more narrow is far easier for people to
>comprehend and contemplate.
> 
> * A broad opensource world that has lots of nice things is a better
>one.

As you say, there are a lot of good reasons to strive for loose
coupling between components. On the other hand, whether or not an
individual component can or should be used by itself isn't a
sufficient line when we're talking about the nature of OpenStack
as a whole, especially if we want interoperability between deployments.

Most of our services add value on top of some other existing project
(either by integrating them or abstracting them or both).  What
would that story look like if we said that because keystone can be
used by itself, it is not part of OpenStack? Would it make sense
to still require deployments that want to use the trademark to use
keystone for authentication?

Doug

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [kubernetes]

2016-05-23 Thread Fox, Kevin M
+1 for using k8s to do work where possible.

-1 for trying to shoehorn a feature in so that k8s can deal with stuff its not 
ready to handle. We need to ensure Operators have everything they need in order 
to successfully operate their cloud.

The current upgrade stuff in k8s is focused around replacing one, usually 
stateless, thing for another. It never had Database Schema upgrades in mind.  
It is great to use for minor version bumps. It is insufficient for major 
OpenStack upgrades. If you follow the OpenStack release notes, they tend to be 
quite linear, in a workflow. K8s isn't designed for that. Hence the need for a 
tool outside of k8s to drive the creation/upgrading of Deployments and Jobs in 
the proper order.

Init containers also do not look like a good fit. As far as I can gather from 
the spec, they are intended to init something on a node when a pod is spawned. 
This is a very different thing from upgrading a shared database's schema. I 
don't believe they should be used for that.

I've upgraded many OpenStack clouds over the years. One of the things that has 
bit me from time to time is a failed schema update and having to tweak code and 
then rerun schema upgrades. This will continue to happen and needs to be 
covered. The Job's workflow as discussed in the spec allows an operator to do 
just that. Hiding it in an init container makes that much harder for Operators.

As an Op, we need the ability to tweak the workflow as needed and run/rerun 
only the pieces that we need.

Thanks,
Kevin

From: Ryan Hallisey [rhall...@redhat.com]
Sent: Sunday, May 22, 2016 12:50 PM
To: OpenStack Development Mailing List (not for usage questions)
Subject: [openstack-dev]  [kolla][kolla-kubernetes][kubernetes]

Hi all,

At the Kolla meeting last week, I brought up some of the challenges around the 
bootstrapping
process in Kubernetes.  The main highlight revolved around how the 
bootstrapping process will
work.

Currently, in the kolla-kubernetes spec [1], the process for bootstrapping 
involves
outside orchestration running Kubernetes 'Jobs' that will handle the database 
initialization,
creating users, etc...  One of the flaws in this approach, is that 
kolla-kubernetes can't use
native Kubernetes upgrade tooling. Kubernetes does upgrades as a single action 
that scales
down running containers and replaces them with the upgraded containers. So 
instead of having
Kubernetes manage the upgrade, it would be guided by an external engine.  Not 
saying this is
a bad thing, but it does loosen the control Kubernetes would have over stack 
management.

Kubernetes does have some incoming new features that are a step in the right 
direction to
allow for kolla-kubernetes to make complete use of Kubernetes tooling like init 
containers [2].
There is also the introduction to wait.for conditions in the kubectl [3].

   kubectl get pod my-pod --wait --wait-for="pod-running"

Upgrades will be in the distant future for kolla-kubernetes, but I want to make 
sure the
community maintains an open mind about bootstrap/upgrades since there are 
potentially many
options that could come down the road.

I encourage everyone to add your input to the spec!

Thanks,
Ryan

[1] SPEC - https://review.openstack.org/#/c/304182/
[2] Init containers - https://github.com/kubernetes/kubernetes/pull/23567
[3] wait.for kubectl - https://github.com/kubernetes/kubernetes/issues/1899

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [all][glare][api] How's going to use Glare?

2016-05-23 Thread Mikhail Fedosin
Hello! Some time ago we created new service called Glare that brings
support of artifacts in OpenStack. It is based on Glance v2 API and adapts
it to the possibility of using different artifact types, like containers,
various templates, application packages, but not just VM images only. You
can check these slides
https://docs.google.com/presentation/d/1WQoBenlp-0vD1t7mpPgQuepDmlPUXq2LOfRYnurZx74/edit#slide=id.p
and this presentation https://www.youtube.com/watch?v=XgpEdycRp9Y to learn
more about Glare and its mission.

We have been developing stable Glare version since February and today I'm
happy to present you the final specification of v1 API
https://review.openstack.org/#/c/283136/. Currently we work with Heat,
App-Catalog and Murano teams to implement features they need, but also I'll
be glad to get some feedback from other projects which are interested in
using Glare and catalogization their binaries.

Also it will be awesome if you can review the spec and leave your opinions
as well (it's kind of huge, but it's only because there are a lot of use
cases and examples of the API). There we tried to satisfy all API-WG,
DefCore and a common sense requirements to make this API as much RESTful as
possible.

Thanks in advance!

Best regards,
Mikhail Fedosin
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [horizon] [antiddos] New project antiddos

2016-05-23 Thread Doug Hellmann
Excerpts from adriano fialho araujo's message of 2016-05-20 11:45:09 -0300:
> Hello, fellow developers!
> 
> i need to create a new project to sell antiDDoS the horizon . what do you
> recommend me as the first start of the project?
> Does anyone know any documentation to start a project in django on
> OpenStack standard.
> 
> thank you

The instructions for setting up the infrastructure for new projects is
in the "Project Creator's Guide" section of the Infra Manual. See
http://docs.openstack.org/infra/manual/creators.html

Doug

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [nova] next notification subteam meeting

2016-05-23 Thread Balázs Gibizer
Hi, 

The next notification subteam meeting will be held on 2016.05.24 17:00 UTC [1] 
on #openstack-meeting-4.

Cheers,
Gibi

[1] https://www.timeanddate.com/worldclock/fixedtime.html?iso=20160524T17 

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Keystone] Welcome Keystone to the World of Python 3

2016-05-23 Thread Doug Hellmann
Excerpts from Morgan Fainberg's message of 2016-05-20 20:58:00 -0700:
> We've gone through all of our test cases and all of our code base. At this
> point Keystone is no longer skipping any of the tests (which do tend to
> test the entire request stack) and we are properly gating on being
> Python3.4 compatible.
> 
> I want to thank everyone who has put in effort in the last few weeks to
> punt the last of the patches though the gate. It would not have been doable
> without those hacking on LdapPool, doing test cleanup, and those
> reviewing/trying the code out.
> 
> If you run across issues with Keystone and Python3, please let us know.
> 
> A sincere thanks to the entire Keystone team involved in this multicycle
> effort.
> 
> --Morgan

Is this for unit or functional tests?

Doug

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [openstack-operators][cinder] max_concurrent_builds in Cinder

2016-05-23 Thread Ivan Kolodyazhny
Hi developers and operators,
I would like to get any feedback from you about my idea before I'll start
work on spec.

In Nova, we've got max_concurrent_builds option [1] to set 'Maximum number
of instance builds to run concurrently' per each compute. There is no
equivalent Cinder.

Why do we need it for Cinder? IMO, it could help us to address following
issues:

   - Creation of N volumes at the same time increases a lot of resource
   usage by cinder-volume service. Image caching feature [2] could help us a
   bit in case when we create volume form image. But we still have to upload N
   images to the volumes backend at the same time.
   - Deletion on N volumes at parallel. Usually, it's not very hard task
   for Cinder, but if you have to delete 100+ volumes at once, you can fit
   different issues with DB connections, CPU and memory usages. In case of
   LVM, it also could use 'dd' command to cleanup volumes.
   - It will be some kind of load balancing in HA mode: if cinder-volume
   process is busy with current operations, it will not catch message from
   RabbitMQ and other cinder-volume service will do it.
   - From users perspective, it seems that better way is to create/delete N
   volumes a bit slower than fail after X volumes were created/deleted.


[1]
https://github.com/openstack/nova/blob/283da2bbb74d0a131a66703516d16698a05817c7/nova/conf/compute.py#L161-L163
[2]
https://specs.openstack.org/openstack/cinder-specs/specs/liberty/image-volume-cache.html

Regards,
Ivan Kolodyazhny,
http://blog.e0ne.info/
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [PTLs][all][mentoring] Mentors needed in specific technical areas

2016-05-23 Thread Emily K Hugenbruch


Hi,
The lightweight mentoring program sponsored by the Women of OpenStack has
really taken off, and we have about 35 mentees looking for technical help
that we don't have mentors for.  We're asking for help from the PTLs to
announce the mentoring program in team meetings then direct people to the
guidelines (here and here) and signup form if they're interested.

Mentors should be regular contributors to a project, with an interest in
helping new people and about 4 hours a month for mentoring.  They do not
have to be women; the program is just sponsored by WoO, we welcome all
mentees and mentors.

These are the projects/areas where we especially need mentors:
  Cinder
  Containers
  Documentation
  Glance
  Keystone
  Murano
  Neutron
  Nova
  Ops
  Searchlight
  Telemetry
  TripleO
  Trove

If you have any questions you can contact me, or ask on openstack-women
where the mentoring committee hangs out.
Thanks!
Emily Hugenbruch
IRC: ekhugen
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [glance] [defcore] [interop] Proposal for a virtual sync dedicated to Import Refactor May 26th

2016-05-23 Thread Doug Hellmann
Excerpts from Nikhil Komawar's message of 2016-05-20 18:00:12 -0400:
> Hello all,
> 
> 
> I want to propose having a dedicated virtual sync next week Thursday May
> 26th at 1500UTC for one hour on the Import Refactor work [1] ongoing in
> Glance. We are making a few updates to the spec; so it would be good to
> have everyone on the same page and soon start merging those spec changes.
> 
> 
> Also, I would like for this sync to be cross project one so that all the
> different stakeholders are aware of the updates to this work even if you
> just want to listen in.
> 
> 
> Please vote with +1, 0, -1. Also, if the time doesn't work please
> propose 2-3 additional time slots.
> 
> 
> We can decide later on the tool and I will setup agenda if we have
> enough interest.
> 
> 
> [1]
> http://specs.openstack.org/openstack/glance-specs/specs/mitaka/approved/image-import/image-import-refactor.html
> 

+1 - I have another meeting ending just before then, so I may join a few
minutes late.

Doug

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [kolla][kolla-kubernetes][kubernetes]

2016-05-23 Thread Ryan Hallisey
Right, I wouldn't either.

The problem has to do with being able to clearly define the difference between 
bootstrapping and upgrading in Kubernetes.
Bootstrapping has a series of steps it needs to run.  Upgrades have a different 
series of steps.  How can kolla-kubernetes
be able to perform one or the other based on whether the operator is 
boostrapping or upgrading the same pod?  And how
will those steps be ordered?

Maybe a combination of Kubernetes hooks and health checks could solve this?  
I'm not entirely sure. However, you can
still get bootstrapping and upgrades using outside orchestration.  For now, I 
think kolla-kubernetes will focus on outside
orchestration until Kubernetes reaches a point where the community can do this 
in a pod.

Thanks,
Ryan



- Original Message -
From: "Britt Houser (bhouser)" 
To: "OpenStack Development Mailing List (not for usage questions)" 

Sent: Monday, May 23, 2016 8:49:43 AM
Subject: Re: [openstack-dev] [kolla][kolla-kubernetes][kubernetes]

I wouldn't expect new users to be created on upgrade, so is the problem with 
bootstrap and upgrade that we do the database migration during bootstrap too?

Thx,
britt



On 5/22/16, 3:50 PM, "Ryan Hallisey"  wrote:

>Hi all,
>
>At the Kolla meeting last week, I brought up some of the challenges around the 
>bootstrapping
>process in Kubernetes.  The main highlight revolved around how the 
>bootstrapping process will
>work.
>
>Currently, in the kolla-kubernetes spec [1], the process for bootstrapping 
>involves
>outside orchestration running Kubernetes 'Jobs' that will handle the database 
>initialization,
>creating users, etc...  One of the flaws in this approach, is that 
>kolla-kubernetes can't use
>native Kubernetes upgrade tooling. Kubernetes does upgrades as a single action 
>that scales
>down running containers and replaces them with the upgraded containers. So 
>instead of having
>Kubernetes manage the upgrade, it would be guided by an external engine.  Not 
>saying this is
>a bad thing, but it does loosen the control Kubernetes would have over stack 
>management.
>
>Kubernetes does have some incoming new features that are a step in the right 
>direction to
>allow for kolla-kubernetes to make complete use of Kubernetes tooling like 
>init containers [2].
>There is also the introduction to wait.for conditions in the kubectl [3].
>
>   kubectl get pod my-pod --wait --wait-for="pod-running"
>
>Upgrades will be in the distant future for kolla-kubernetes, but I want to 
>make sure the
>community maintains an open mind about bootstrap/upgrades since there are 
>potentially many
>options that could come down the road.
>
>I encourage everyone to add your input to the spec!
>
>Thanks,
>Ryan
>
>[1] SPEC - https://review.openstack.org/#/c/304182/
>[2] Init containers - https://github.com/kubernetes/kubernetes/pull/23567
>[3] wait.for kubectl - https://github.com/kubernetes/kubernetes/issues/1899
>
>__
>OpenStack Development Mailing List (not for usage questions)
>Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [glance] [defcore] [interop] Proposal for a virtual sync dedicated to Import Refactor May 26th

2016-05-23 Thread Erno Kuvaja
On Mon, May 23, 2016 at 2:00 PM, Ian Cordasco 
wrote:

> +1
> On May 22, 2016 11:50 PM, "Kairat Kushaev"  wrote:
>
>> +1
>>
>> Best regards,
>> Kairat Kushaev
>>
>> On Sat, May 21, 2016 at 1:00 AM, Nikhil Komawar 
>> wrote:
>>
>>> Hello all,
>>>
>>>
>>> I want to propose having a dedicated virtual sync next week Thursday May
>>> 26th at 1500UTC for one hour on the Import Refactor work [1] ongoing in
>>> Glance. We are making a few updates to the spec; so it would be good to
>>> have everyone on the same page and soon start merging those spec changes.
>>>
>>>
>>> Also, I would like for this sync to be cross project one so that all the
>>> different stakeholders are aware of the updates to this work even if you
>>> just want to listen in.
>>>
>>>
>>> Please vote with +1, 0, -1. Also, if the time doesn't work please
>>> propose 2-3 additional time slots.
>>>
>>>
>>> We can decide later on the tool and I will setup agenda if we have
>>> enough interest.
>>>
>>>
>>> [1]
>>>
>>> http://specs.openstack.org/openstack/glance-specs/specs/mitaka/approved/image-import/image-import-refactor.html
>>>
>>>
>>> --
>>>
>>> Thanks,
>>> Nikhil
>>>
>>>
>>>
>>> __
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
+1
- Erno
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleo] Zaqar messages standardization

2016-05-23 Thread Jason Rist
On 05/20/2016 11:39 AM, Dan Prince wrote:
> On Fri, 2016-05-20 at 17:52 +0200, Jiri Tomasek wrote:
>> Hey all,
>>
>> I've been recently working on getting the TripleO UI integrated with
>> Zaqar, so it can receive a messages from Mistral workflows and act
>> upon them without having to do various polling hacks.
>>
>> Since there is currently quite a large amount of new TripleO
>> workflows comming to tripleo-common, we need to standardize this
>> communication so clients can consume the messages consistently.
>>
>> I'll try to outline the requirements as I see it to start the
>> discussion.
>>
>> Zaqar queues:
>> To listen to the Zaqar messages it requires the client to connect to
>> Zaqar WebSocket, send authenticate message and subscribe to queue(s)
>> which it wants to listen to. The currently pending workflow patches
>> which send Zaqar messages [1, 2] expect that the queue is created by
>> client and name is passed as an input to the workflow [3].
>>
>> From the client perspective, it would IMHO be better if all workflows
>> sent messages to the same queue and provide means to identify itself
>> by carrying workflow name and execution id. The reason is, that if
>> client creates a queue and triggers the workflow and then disconnects
>> from the Socket (user refreshes browser), then it does not know what
>> queues it previously created and which it should listen to. If there
>> is single 'tripleo' queue, then all clients always know that it is
>> where it will get all the messages from.
> 
> I think each workflow that supports queue messages (probably most of
> them) should probably allow to set your own queue_name that will get
> messages posted to it. Then it would simply be a convention that the
> client simply pass the same queue name to any concurrent workflows that
> are executed.
> 
> The single queue -> multiple workflows use case is however important to
> support for the UI so adding the execution_id and fully qualified
> workflow name to each queue message should allow both patterns to work
> fine.
> 
> And while the queue name is configurable perhaps we default it to
> 'tripleo' so that you really don't have to set it anywhere unless you
> really want to.
> 
> If you buy this I can update the patches linked below per the latest
> feedback.
> 
> Dan
> 
> 
>>
>> Messages identification and content:
>> The client should be able to identify message by it's name so it can
>> act upon it. The name should probably be relevant to the action or
>> workflow it reports on.
>>
>> { 
>>   body: {
>> name: 'tripleo.validations.v1.run_validation,
>> execution_id: '123123123'
>> data: {}
>>   }
>> }
>>
>> Other parts of the message are optional but it would be good to
>> provide information relevant to the message's purpose, so the client
>> can update relevant state and does not have to do any additional API
>> calls. So e.g. in case of running the validation a message includes
>> validation id.
>>  
>>
>> [1] https://review.openstack.org/#/c/313953/2/workbooks/deployment.ya
>> ml
>> [2] https://review.openstack.org/#/c/313632/8/workbooks/validations.y
>> aml
>> [3] https://review.openstack.org/#/c/313957/1/tripleoclient/v1/overcl
>> oud_execute.py
>>
>> -- Jirka

+1 as well. This seems reasonable.

-J


-- 
Jason E. Rist
Senior Software Engineer
OpenStack User Interfaces
Red Hat, Inc.
openuc: +1.972.707.6408
mobile: +1.720.256.3933
Freenode: jrist
github/twitter: knowncitizen

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [OpenStack-Infra] [infra] [tracking] Renames and verification; was Re: ceilometer-specs submodule path is invalid

2016-05-23 Thread Jeremy Stanley
On 2016-05-23 14:54:03 +0800 (+0800), Gerard Braad wrote:
> I meant the updates to the whole repo. Jenkins updates the references
> for a gitmodule and commits this when a successful build was
> performed. Correct?
[...]

Gerrit's submodule support is what's actually responsible for
updating the references/commits:

https://review.openstack.org/Documentation/user-submodules.html

You may simply be mistaking that for merge commits in projects
attributed to the "Jenkins" account (due to how Gerrit credits merge
commits it makes to the API caller in the course of executing its
"Merge if Necessary" submit type).
-- 
Jeremy Stanley

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova] I'm going to expire open bug reports older than 18 months.

2016-05-23 Thread Sean McGinnis
On Mon, May 23, 2016 at 01:02:29PM +0200, Markus Zoeller wrote:
> TL;DR: Automatic closing of 185 bug reports which are older than 18
> months in the week R-13. Skipping specific bug reports is possible. A
> bug report comment explains the reasons.

FWIW, I did the same thing in Cinder a while back and there weren't any
issues because of it raised to my attention. I agree that something that
old likely no longer is an issue, or probably has been fixed by a more
recent bug report or indirectly by another change.

> 
> 
> I'd like to get rid of more clutter in our bug list to make it more
> comprehensible by a human being. For this, I'm targeting our ~185 bug
> reports which were reported 18 months ago and still aren't in progress.
> That's around 37% of open bug reports which aren't in progress. This
> post is about *how* and *when* I do it. If you have very strong reasons
> to *not* do it, let me hear them.
> 
> When
> 
> I plan to do it in the week after the non-priority feature freeze.
> That's week R-13, at the beginning of July. Until this date you can
> comment on bug reports so they get spared from this cleanup (see below).
> Beginning from R-13 until R-5 (Newton-3 milestone), we should have
> enough time to gain some overview of the rest.
> 
> I also think it makes sense to make this a repeated effort, maybe after
> each milestone/release or monthly or daily.
> 
> How
> ---
> The bug reports which will be affected are:
> * in status: [new, confirmed, triaged]
> * AND without assignee
> * AND created at: > 18 months
> A preview of them can be found at [1].
> 
> You can spare bug reports if you leave a comment there which says
> one of these (case-sensitive flags):
> * CONFIRMED FOR: NEWTON
> * CONFIRMED FOR: MITAKA
> * CONFIRMED FOR: LIBERTY
> 
> The expired bug report will have:
> * status: won't fix
> * assignee: none
> * importance: undecided
> * a new comment which explains *why* this was done
> 
> The comment the expired bug reports will get:
> This is an automated cleanup. This bug report got closed because
> it is older than 18 months and there is no open code change to
> fix this. After this time it is unlikely that the circumstances
> which lead to the observed issue can be reproduced.
> If you can reproduce it, please:
> * reopen the bug report
> * AND leave a comment "CONFIRMED FOR: "
>   Only still supported release names are valid.
>   valid example: CONFIRMED FOR: LIBERTY
>   invalid example: CONFIRMED FOR: KILO
> * AND add the steps to reproduce the issue (if applicable)
> 
> 
> Let me know if you think this comment gives enough information how to
> handle this situation.
> 
> 
> References:
> [1] http://45.55.105.55:8082/bugs-dashboard.html#tabExpired
> 
> -- 
> Regards, Markus Zoeller (markus_z)
> 
> 
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [glance] [defcore] [interop] Proposal for a virtual sync dedicated to Import Refactor May 26th

2016-05-23 Thread Ian Cordasco
+1
On May 22, 2016 11:50 PM, "Kairat Kushaev"  wrote:

> +1
>
> Best regards,
> Kairat Kushaev
>
> On Sat, May 21, 2016 at 1:00 AM, Nikhil Komawar 
> wrote:
>
>> Hello all,
>>
>>
>> I want to propose having a dedicated virtual sync next week Thursday May
>> 26th at 1500UTC for one hour on the Import Refactor work [1] ongoing in
>> Glance. We are making a few updates to the spec; so it would be good to
>> have everyone on the same page and soon start merging those spec changes.
>>
>>
>> Also, I would like for this sync to be cross project one so that all the
>> different stakeholders are aware of the updates to this work even if you
>> just want to listen in.
>>
>>
>> Please vote with +1, 0, -1. Also, if the time doesn't work please
>> propose 2-3 additional time slots.
>>
>>
>> We can decide later on the tool and I will setup agenda if we have
>> enough interest.
>>
>>
>> [1]
>>
>> http://specs.openstack.org/openstack/glance-specs/specs/mitaka/approved/image-import/image-import-refactor.html
>>
>>
>> --
>>
>> Thanks,
>> Nikhil
>>
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [kolla][kolla-kubernetes][kubernetes]

2016-05-23 Thread Britt Houser (bhouser)
I wouldn't expect new users to be created on upgrade, so is the problem with 
bootstrap and upgrade that we do the database migration during bootstrap too?

Thx,
britt



On 5/22/16, 3:50 PM, "Ryan Hallisey"  wrote:

>Hi all,
>
>At the Kolla meeting last week, I brought up some of the challenges around the 
>bootstrapping
>process in Kubernetes.  The main highlight revolved around how the 
>bootstrapping process will
>work.
>
>Currently, in the kolla-kubernetes spec [1], the process for bootstrapping 
>involves
>outside orchestration running Kubernetes 'Jobs' that will handle the database 
>initialization,
>creating users, etc...  One of the flaws in this approach, is that 
>kolla-kubernetes can't use
>native Kubernetes upgrade tooling. Kubernetes does upgrades as a single action 
>that scales
>down running containers and replaces them with the upgraded containers. So 
>instead of having
>Kubernetes manage the upgrade, it would be guided by an external engine.  Not 
>saying this is
>a bad thing, but it does loosen the control Kubernetes would have over stack 
>management.
>
>Kubernetes does have some incoming new features that are a step in the right 
>direction to
>allow for kolla-kubernetes to make complete use of Kubernetes tooling like 
>init containers [2].
>There is also the introduction to wait.for conditions in the kubectl [3].
>
>   kubectl get pod my-pod --wait --wait-for="pod-running"
>
>Upgrades will be in the distant future for kolla-kubernetes, but I want to 
>make sure the
>community maintains an open mind about bootstrap/upgrades since there are 
>potentially many
>options that could come down the road.
>
>I encourage everyone to add your input to the spec!
>
>Thanks,
>Ryan
>
>[1] SPEC - https://review.openstack.org/#/c/304182/
>[2] Init containers - https://github.com/kubernetes/kubernetes/pull/23567
>[3] wait.for kubectl - https://github.com/kubernetes/kubernetes/issues/1899
>
>__
>OpenStack Development Mailing List (not for usage questions)
>Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleo] Zaqar messages standardization

2016-05-23 Thread Jiri Tomasek

On 05/23/2016 11:51 AM, Dougal Matthews wrote:



On 20 May 2016 at 18:39, Dan Prince > wrote:


On Fri, 2016-05-20 at 17:52 +0200, Jiri Tomasek wrote:
> Hey all,
>
> I've been recently working on getting the TripleO UI integrated with
> Zaqar, so it can receive a messages from Mistral workflows and act
> upon them without having to do various polling hacks.
>
> Since there is currently quite a large amount of new TripleO
> workflows comming to tripleo-common, we need to standardize this
> communication so clients can consume the messages consistently.
>
> I'll try to outline the requirements as I see it to start the
> discussion.
>
> Zaqar queues:
> To listen to the Zaqar messages it requires the client to connect to
> Zaqar WebSocket, send authenticate message and subscribe to queue(s)
> which it wants to listen to. The currently pending workflow patches
> which send Zaqar messages [1, 2] expect that the queue is created by
> client and name is passed as an input to the workflow [3].
>
> From the client perspective, it would IMHO be better if all
workflows
> sent messages to the same queue and provide means to identify itself
> by carrying workflow name and execution id. The reason is, that if
> client creates a queue and triggers the workflow and then
disconnects
> from the Socket (user refreshes browser), then it does not know what
> queues it previously created and which it should listen to. If there
> is single 'tripleo' queue, then all clients always know that it is
> where it will get all the messages from.

I think each workflow that supports queue messages (probably most of
them) should probably allow to set your own queue_name that will get
messages posted to it. Then it would simply be a convention that the
client simply pass the same queue name to any concurrent workflows
that
are executed.

The single queue -> multiple workflows use case is however
important to
support for the UI so adding the execution_id and fully qualified
workflow name to each queue message should allow both patterns to work
fine.

And while the queue name is configurable perhaps we default it to
'tripleo' so that you really don't have to set it anywhere unless you
really want to.

If you buy this I can update the patches linked below per the latest
feedback.


+1, I like this approach.

Sounds good to me too. Thanks!



Dan


>
> Messages identification and content:
> The client should be able to identify message by it's name so it can
> act upon it. The name should probably be relevant to the action or
> workflow it reports on.
>
> {
>   body: {
> name: 'tripleo.validations.v1.run_validation,
> execution_id: '123123123'
> data: {}
>   }
> }
>
> Other parts of the message are optional but it would be good to
> provide information relevant to the message's purpose, so the client
> can update relevant state and does not have to do any additional API
> calls. So e.g. in case of running the validation a message includes
> validation id.
>
>
> [1]
https://review.openstack.org/#/c/313953/2/workbooks/deployment.ya
> ml
> [2]
https://review.openstack.org/#/c/313632/8/workbooks/validations.y
> aml
> [3]
https://review.openstack.org/#/c/313957/1/tripleoclient/v1/overcl
> oud_execute.py
>
> -- Jirka
>
_
> _
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe:
openstack-dev-requ...@lists.openstack.org?subject:unsubs

> cribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe:
openstack-dev-requ...@lists.openstack.org?subject:unsubscribe

http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


-- Jirka
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [mistral] Team meeting reminder - 05/23/2016

2016-05-23 Thread Renat Akhmerov
Hi team,

We’ll have a team meeting today at 16.00 UTC at #openstack-mistral (sorry, I 
still have a debt to reschedule it).

Agenda:
Review action items
Current status (progress, issues, roadblocks, further plans)
Discusse what should be finalized in Newton-1
Discuss Newton-2 scope
Open discussion

Feel free to bring up your topics, if any.

Renat Akhmerov
@Nokia

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [oslo.service] Lifecycle Hooks

2016-05-23 Thread Kanagaraj Manickam
>Excerpts from Kanagaraj Manickam's message of 2016-05-18 19:48:13 +0530:
>> > DIms,
>> >>
>> >> Use case could be anything, which would needed by either
>> >> operator/community, who wants to perform an required task before and
>> after
>> >> service is started. This requirement is very generic by nature, and I
>> >> believe it will be very useful.
>> >>
>> >> Would like to give the sample use cases from from Operator & OpenStack
>> >> community side as below.
>> >> Operator side, any pre/post actions could be hooked which is the
>> >> requirement for them. Simple example would be, one who wants to
create an
>> >> journal of start/stop details like time, number of worker,
>> configurations,
>> >> etc in a common portal, this life-cycle hook would help.
>>
>> > Is that information not available in the logs?
>>
>> [Kanagaraj M] its available in log, but one who wants to collect these
info
>> in centralized portal,
>> it would help.
>>
>> >
>> > OpenStack community side, sample use cases would be:
>> > 1. Most of the OpenStack components starts TextGuruMeditation, logging
>> > while those components are get started. These tasks could be provided
as
>> > life cycle hooks and all OpenStack components could start to leverage
it.
>>
>> >All of those are things that need to be built into the app in a way that
>> >they are started at the right time, rather than at an arbitrary point
>> >defined by the plugin order a deployer has specified.
>>
>> [Kanagaraj M] while i investigated the OpenStack service cmd, mostly
>> it follows the similar pattern on use these utils, so i thought, it
would be
>> good to provide an plugin, which take care of it instead every service
>> code does take care of it. helps to reduces maintenance effort.
>
>Except that we don't want deployers to turn them off, and we need to
>control the initialization order, and so we don't want them to be
>specified through a configuration option.
>

[KanagarajM] sure. I hope we could start with this option,
as a better choice now.

>>
>> >> 2. For automatically discovering the OpenStack deployment, this hooks
>> will
>> >> be very useful. Auto-discover-hook would report to pre-defined
>> destinations
>> >> while starting/stopping the service.
>>
>> >Doing that usefully is going to require passing information to the hook
>> >so it knows where it is running (what service, what port, etc.). None of
>> >the APIs for doing this have been described yet. Do you have any plans
>> >put together?
>>
>> [Kanagaraj M] I am trying to get all of these information from oslo.confg
>> global config variable. As we discussed about namos during austin summit,
>> namos does collect these details
>> https://github.com/openstack/os-namos/blob/master/os_namos/sync.py#L124
>
>There are 2 issues with having a plugin access config values directly.
>
>Configuration options are owned by the code that defines them, and
>are not considered a public "API" for other parts of the code. That
>means an application or library developer is free to change the
>name or location of a configuration option, without regard to code
>that might be trying to use it from outside of the owning module.
>oslo.config has support for renames so that *deployers* aren't
>broken, but we don't do anything to prevent code that accesses
>private values from breaking.  So, you don't want to build any
>assumptions into the plugins that they will be able to see configuration
>values.
>
>Second, options do not "exist" as far as oslo.config is concerned
>until they are registered.  The registration step may happen at
>runtime in code that has not executed before the plugin is loaded. So
>even if we ignore the "private" nature of the option, there is a timing
>issue.
[KanagarajM] As part of the investigation, found that most of OpenStack
service components logs the complete configuration options in the log,
once service is started and I hope the same point, the discovery-hook
could be registered. (This could be avoided in future by using the
oslo-config-generator to get all options, i hope, if my understanding is
correct :)

>Well, I still think this is a poor design for the feature you want.
>It really seems like service management should happen from outside
>of the service being managed. I'm going to need to see a lot more
>detailed thought put into answers to those questions before I could
>support adding this feature to oslo.service.
>
[KanagarajM] we already doing the in-band service deployment discovery
for nova, cinder, neutron and heat, which are reported in horizon
panel as well under 'system information' panel. When we look at the impl
of service discovery in each of these projects, all rpeats the same
implementation in each of their repository. Once this is in place, we
could enable the auto-discovery of each service deployment without
repeating the impl, and those projects also could start to levarage it
which releaves a considerable maintenance effort from each of the projects
for its deployment 

[openstack-dev] [tricircle] Launch work group for cross-pod L2 networking feature

2016-05-23 Thread Vega Cai
Hi members,

Sorry that it's a bit late to launch our cross-pod L2 networking work group
since I was attending OSCON last week.

What about having our first work group meeting on Wednesday 10am(Beijing
time UTC+8), in #openstack-tricircle channel?

Topics I think we can discuss:
(1) feature specification improvement
(2) shared VLAN solution WIP patch

BR
Zhiyuan
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [nova] I'm going to expire open bug reports older than 18 months.

2016-05-23 Thread Markus Zoeller
TL;DR: Automatic closing of 185 bug reports which are older than 18
months in the week R-13. Skipping specific bug reports is possible. A
bug report comment explains the reasons.


I'd like to get rid of more clutter in our bug list to make it more
comprehensible by a human being. For this, I'm targeting our ~185 bug
reports which were reported 18 months ago and still aren't in progress.
That's around 37% of open bug reports which aren't in progress. This
post is about *how* and *when* I do it. If you have very strong reasons
to *not* do it, let me hear them.

When

I plan to do it in the week after the non-priority feature freeze.
That's week R-13, at the beginning of July. Until this date you can
comment on bug reports so they get spared from this cleanup (see below).
Beginning from R-13 until R-5 (Newton-3 milestone), we should have
enough time to gain some overview of the rest.

I also think it makes sense to make this a repeated effort, maybe after
each milestone/release or monthly or daily.

How
---
The bug reports which will be affected are:
* in status: [new, confirmed, triaged]
* AND without assignee
* AND created at: > 18 months
A preview of them can be found at [1].

You can spare bug reports if you leave a comment there which says
one of these (case-sensitive flags):
* CONFIRMED FOR: NEWTON
* CONFIRMED FOR: MITAKA
* CONFIRMED FOR: LIBERTY

The expired bug report will have:
* status: won't fix
* assignee: none
* importance: undecided
* a new comment which explains *why* this was done

The comment the expired bug reports will get:
This is an automated cleanup. This bug report got closed because
it is older than 18 months and there is no open code change to
fix this. After this time it is unlikely that the circumstances
which lead to the observed issue can be reproduced.
If you can reproduce it, please:
* reopen the bug report
* AND leave a comment "CONFIRMED FOR: "
  Only still supported release names are valid.
  valid example: CONFIRMED FOR: LIBERTY
  invalid example: CONFIRMED FOR: KILO
* AND add the steps to reproduce the issue (if applicable)


Let me know if you think this comment gives enough information how to
handle this situation.


References:
[1] http://45.55.105.55:8082/bugs-dashboard.html#tabExpired

-- 
Regards, Markus Zoeller (markus_z)


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [ironic] Dropping legacy bash ramdisk support

2016-05-23 Thread Dmitry Tantsur

On 05/11/2016 02:54 PM, Jim Rollenhagen wrote:

Hi all!

As you probably know, the old bash-based ramdisks for ironic [1] and
ironic-inspector [2] are deprecated for some long time. The time has
come: we are removing their support from our code base in the near
future.

Here is the draft plan:

1. Remove the gate-tempest-dsvm-ironic-pxe_ssh-dib job from
   diskimage-builder.

2. Remove the gate-tempest-dsvm-ironic-pxe_ssh job from Ironic master
   only.


FYI: these 2 changes are in effect now. I've forgot to drop the job from 
dib-utils, the patch is on its way.




3. Remove support for the old ramdisk from ironic-inspector and its
   devstack plugin. The last versions still supporting the old ramdisk will
   be 3.3.0 (to be released soon), Mitaka and older.

4. Remove support for the old ramdisk from ironic and its devstack
   plugin. The last version still supporting the old ramdisk will be
   Mitaka.

The DIB elements themselves won't be removed per DIB policy. But they
will be completely unsupported for the next releases (starting with N2).

[1] 
https://github.com/openstack/diskimage-builder/tree/master/elements/deploy-ironic
[2] 
https://github.com/openstack/diskimage-builder/tree/master/elements/ironic-discoverd-ramdisk

// jim

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleo] Zaqar messages standardization

2016-05-23 Thread Dougal Matthews
On 20 May 2016 at 18:39, Dan Prince  wrote:

> On Fri, 2016-05-20 at 17:52 +0200, Jiri Tomasek wrote:
> > Hey all,
> >
> > I've been recently working on getting the TripleO UI integrated with
> > Zaqar, so it can receive a messages from Mistral workflows and act
> > upon them without having to do various polling hacks.
> >
> > Since there is currently quite a large amount of new TripleO
> > workflows comming to tripleo-common, we need to standardize this
> > communication so clients can consume the messages consistently.
> >
> > I'll try to outline the requirements as I see it to start the
> > discussion.
> >
> > Zaqar queues:
> > To listen to the Zaqar messages it requires the client to connect to
> > Zaqar WebSocket, send authenticate message and subscribe to queue(s)
> > which it wants to listen to. The currently pending workflow patches
> > which send Zaqar messages [1, 2] expect that the queue is created by
> > client and name is passed as an input to the workflow [3].
> >
> > From the client perspective, it would IMHO be better if all workflows
> > sent messages to the same queue and provide means to identify itself
> > by carrying workflow name and execution id. The reason is, that if
> > client creates a queue and triggers the workflow and then disconnects
> > from the Socket (user refreshes browser), then it does not know what
> > queues it previously created and which it should listen to. If there
> > is single 'tripleo' queue, then all clients always know that it is
> > where it will get all the messages from.
>
> I think each workflow that supports queue messages (probably most of
> them) should probably allow to set your own queue_name that will get
> messages posted to it. Then it would simply be a convention that the
> client simply pass the same queue name to any concurrent workflows that
> are executed.
>
> The single queue -> multiple workflows use case is however important to
> support for the UI so adding the execution_id and fully qualified
> workflow name to each queue message should allow both patterns to work
> fine.
>
> And while the queue name is configurable perhaps we default it to
> 'tripleo' so that you really don't have to set it anywhere unless you
> really want to.
>
> If you buy this I can update the patches linked below per the latest
> feedback.
>

+1, I like this approach.


>
> Dan
>
>
> >
> > Messages identification and content:
> > The client should be able to identify message by it's name so it can
> > act upon it. The name should probably be relevant to the action or
> > workflow it reports on.
> >
> > {
> >   body: {
> > name: 'tripleo.validations.v1.run_validation,
> > execution_id: '123123123'
> > data: {}
> >   }
> > }
> >
> > Other parts of the message are optional but it would be good to
> > provide information relevant to the message's purpose, so the client
> > can update relevant state and does not have to do any additional API
> > calls. So e.g. in case of running the validation a message includes
> > validation id.
> >
> >
> > [1] https://review.openstack.org/#/c/313953/2/workbooks/deployment.ya
> > ml
> > [2] https://review.openstack.org/#/c/313632/8/workbooks/validations.y
> > aml
> > [3] https://review.openstack.org/#/c/313957/1/tripleoclient/v1/overcl
> > oud_execute.py
> >
> > -- Jirka
> > _
> > _
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubs
> > cribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleo] Nodes management in our shiny new TripleO API

2016-05-23 Thread Dmitry Tantsur

On 05/21/2016 08:35 PM, Dan Prince wrote:

On Fri, 2016-05-20 at 14:06 +0200, Dmitry Tantsur wrote:

On 05/20/2016 01:44 PM, Dan Prince wrote:


On Thu, 2016-05-19 at 15:31 +0200, Dmitry Tantsur wrote:


Hi all!

We started some discussions on https://review.openstack.org/#/c/3
0020
0/
about the future of node management (registering, configuring and
introspecting) in the new API, but I think it's more fair (and
convenient) to move it here. The goal is to fix several long-
standing
design flaws that affect the logic behind tripleoclient. So
fasten
your
seatbelts, here it goes.

If you already understand why we need to change this logic, just
scroll
down to "what do you propose?" section.

"introspection bulk start" is evil
--

As many of you obviously know, TripleO used the following command
for
introspection:

  openstack baremetal introspection bulk start

As not everyone knows though, this command does not come from
ironic-inspector project, it's part of TripleO itself. And the
ironic
team has some big problems with it.

The way it works is

1. Take all nodes in "available" state and move them to
"manageable"
state
2. Execute introspection for all nodes in "manageable" state
3. Move all nodes with successful introspection to "available"
state.

Step 3 is pretty controversial, step 1 is just horrible. This not
how
the ironic-inspector team designed introspection to work (hence
it
refuses to run on nodes in "available" state), and that's now how
the
ironic team expects the ironic state machine to be handled. To
explain
it I'll provide a brief information on the ironic state machine.

ironic node lifecycle
-

With recent versions of the bare metal API (starting with 1.11),
nodes
begin their life in a state called "enroll". Nodes in this state
are
not
available for deployment, nor for most of other actions. Ironic
does
not
touch such nodes in any way.

To make nodes alive an operator uses "manage" provisioning action
to
move nodes to "manageable" state. During this transition the
power
and
management credentials (IPMI, SSH, etc) are validated to ensure
that
nodes in "manageable" state are, well, manageable. This state is
still
not available for deployment. With nodes in this state an
operator
can
execute various pre-deployment actions, such as introspection,
RAID
configuration, etc. So to sum it up, nodes in "manageable" state
are
being configured before exposing them into the cloud.

The last step before the deployment it to make nodes "available"
using
the "provide" provisioning action. Such nodes are exposed to
nova,
and
can be deployed to at any moment. No long-running configuration
actions
should be run in this state. The "manage" action can be used to
bring
nodes back to "manageable" state for configuration (e.g.
reintrospection).

so what's the problem?
--

The problem is that TripleO essentially bypasses this logic by
keeping
all nodes "available" and walking them through provisioning steps
automatically. Just a couple of examples of what gets broken:

(1) Imagine I have 10 nodes in my overcloud, 10 nodes ready for
deployment (including potential autoscaling) and I want to enroll
10
more nodes.

Both introspection and ready-state operations nowadays will touch
both
10 new nodes AND 10 nodes which are ready for deployment,
potentially
making the latter not ready for deployment any more (and
definitely
moving them out of pool for some time).

Particularly, any manual configuration made by an operator before
making
nodes "available" may get destroyed.

(2) TripleO has to disable automated cleaning. Automated cleaning
is
a
set of steps (currently only wiping the hard drive) that happens
in
ironic 1) before nodes are available, 2) after an instance is
deleted.
As TripleO CLI constantly moves nodes back-and-forth from and to
"available" state, cleaning kicks in every time. Unless it's
disabled.

Disabling cleaning might sound a sufficient work around, until
you
need
it. And you actually do. Here is a real life example of how to
get
yourself broken by not having cleaning:

a. Deploy an overcloud instance
b. Delete it
c. Deploy an overcloud instance on a different hard drive
d. Boom.

This sounds like an Ironic bug to me. Cleaning (wiping a disk) and
removing state that would break subsequent installations on a
different
drive are different things. In TripleO I think the reason we
disable
cleaning is largely because of the extra time it takes and the fact
that our baremetal cloud isn't multi-tenant (currently at least).

We fix this "bug" by introducing cleaning. This is the process to
guarantee each deployment starts with a clean environment. It's hard
to
known which remained data can cause which problem (e.g. what about a
remaining UEFI partition? any remainings of Ceph? I don't know).







As we didn't pass cleaning, there is still a config drive on the
disk
used in the first deployment. With 2 config drives present cloud-
init

Re: [openstack-dev] [ironic] Newton priorities and primary contacts

2016-05-23 Thread Lucas Alvares Gomes
Hi,

> I see in the priority list that "redfish support" is still highly wanted (4
> +1).
> And we are still very interested to provide that. It took much more time
> than expected, as we first decided that we wanted a good low level library
> to help us dialog following the Redfish standard to the management board of
> systems.
>
> Now that we have this [1] much more in place than last year [2], and due to
> some nascient customer demand, we would like to come back to this community
> to propose to work with you on providing this feature into future Ironic
> releases.
>

Cool, looking forward to see it proposed and merged!

> We're not the most proficient OpenStack contributors as of now, so will need
> your help and guidance wrt both processes and code aspects.
> And as our knowledge of the internals of Ironic is still weak, we may have
> difficulties to describe precisely in a Blueprint what will be the impact at
> Ironic level of the addition of that feature.
>
> I understood that this community is now using RFE bugs to follow this type
> of work, and I suppose we need to resubmit a new proposal (IIUC maybe more
> precise, less generic wrt architecture). Is the BR indeed the right place to
> do that (as I understood from [3]) ? Should we rather start working at the
> code level to understand how we could hook that feature in the current code
> base (idea would be to mimic how the iLO driver is doing it today to have a
> skeleton of code for our redfish driver) and then show some code before
> being able to see the proposal accepted (even if they get the -2 mentioned
> on [4]) ?
>

Yes [3] is the way to go. In a RFE the problem can be described in a
high-level language, if some parts are controversial then a spec will
be required (which requires more details on each specific area the
feature will impact and so on). One tip here: Start small.

I see that you want you want mimic the iLO driver which is a very
featured driver in tree, support things like virtual media, RAID
configuration, secure boot, etc... Instead of writing an RFE for
having feature parity with it I would instead break it into multiple
RFEs. For example, the first RFE could be about implementing the power
interface (power on/off, reboot, get power state) using redfish, that
should be straight forward and you will have the foundation of your
driver now merged into the code base. From there one you can open
another RFE for each feature.

It's important to remember that drivers required 3rd party CI, so,
this makes it easy to extend the redfish CI as you go (since redfish
controller be simulated - not requiring real bare metal for tests - it
may be possible to test it using the standard gate jobs).


> Some basic questions:
> I'm also a bit lost with terminology: Should I call this a redfish driver
> (like an iLO driver) or a redfish module, with drivers being pxe_redfish ?

I would call it a driver, of course that in code we will have a
redfish module (under ironic/drivers/modules).

> Should I put my proposal in ironic-specs under specs/not-implemented ? There
> is no directory for Newton there so I guess the process changed, but I
> haven't found a doc guiding me on where to put new spec proposals sorry.
> Menwhile it's readable at [5].
>

You should put it in specs/approved with a symlink into
specs/not-implenented [0]. But again, only if a spec is needed, I
wouldn't mind it too much, start with the RFE and we go from there.

[0] 
https://github.com/openstack/ironic-specs#openstack-baremetal-provisioning-specifications

Hope that helps,
Lucas

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [osops-tools-monitoring][monitoring-for-openstack] Code duplication

2016-05-23 Thread Martin Magr
On Fri, May 20, 2016 at 4:21 PM, Jeremy Stanley  wrote:

> On 2016-05-20 15:28:48 +0200 (+0200), Martin Magr wrote:
> [...]
> > so from "This import will probably lead to the end of
> > monitoring-for-openstack project" it seems that project deletion
> > just was not performed at the end. Is anybody against submitting
> > patch to openstack-infra to delete the project?
>
> It's fine with one slight alteration: we don't (can't really) "delete"
> Git repos, we merely "retire" them. The process is outlined at
> http://docs.openstack.org/infra/manual/drivers.html#retiring-a-project
> when you're ready to proceed.
>


Thanks Jeremy, that was actually what I was looking for. OK, then if nobody
is against it I will start retiring process for
openstack/monitoring-for-openstack.

Regards,
Martin


> --
> Jeremy Stanley
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Martin Mágr
Senior Software Engineer
Red Hat Czech
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [nova-lxd]Nova-lxd with Linuxbridge

2016-05-23 Thread Neil Jerram
FWIW, the networking-calico team plans soon to make nova-lxd work with
Calico networking, i.e. where data from/to the veth is routed on the
compute host.  That should land in July or August.

Neil


On Fri, May 20, 2016 at 3:30 PM Chuck Short 
wrote:

> Hi,
>
> Currently it only works with OVS mode, there is a patch lying around for
> Linuxbridge agent support that needs to be integrated.
>
> Thanks
> chuck
>
> On Fri, May 20, 2016 at 8:47 AM, Gyorgy Szombathelyi <
> gyorgy.szombathe...@doclerholding.com> wrote:
>
>> Hi!
>>
>> I just have a simple question: is nova-lxd supposed to work with the
>> Linuxbridge agent?
>> As I see, the LXD driver creates veth interface pairs, and vif.py
>> connects it to a normal linux bridge. However the Linuxbridge agent code
>> scans only for tap devices.
>> So the question is: Should the LXD driver create a tap device, bridged
>> with that veth?
>>
>> Br,
>> György
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Nova][libvirt] Can be specless bps?

2016-05-23 Thread Eli Qiao

Hello team

I wonder if the following bps [1][2] can be specless bps since they 
touch very code base of Nova libvirt driver.

I would like to get your feedback.

[1]https://blueprints.launchpad.net/nova/+spec/support-perf-event
[2]https://blueprints.launchpad.net/nova/+spec/add-l3-cache-to-cpu-monitor

--
Best Regards, Eli Qiao (乔立勇)
Intel OTC China

<>__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [neutron] work on Common Flow Classifier and OVS Agent extension for Newton cycle

2016-05-23 Thread Vikram Choudhary
+1 for the bi-weekly proposal @17:00 UTC Tuesday.

IMO, let's start with this and then we can check on the feasibility of
having the meeting on a weekly basis.
On May 23, 2016 1:10 PM, "Takashi Yamamoto"  wrote:

> On Wed, May 18, 2016 at 4:57 PM, Miguel Angel Ajo Pelayo
>  wrote:
> > Hey,
> >
> >Finally we took over the channel for 1h. mostly because the time was
> > already agreed between many people on opposed timezones and it was a bit
> > late to cancel it.
> >
> >The first point was finding a suitable timeslot for a biweekly meeting
> > -for some time- and alternatively following up on email. We should not
> take
> > over the neutron channel for these meetings anymore, I'm sorry for the
> > inconvenience.
>
> Tony pointed out that there are bi-weekly slot available.
> https://review.openstack.org/#/c/316830/
> i guess the slot is fine for many of us.
>
> >
> >   Please find the summary here:
> >
> >
> http://eavesdrop.openstack.org/meetings/network_common_flow_classifier/2016/network_common_flow_classifier.2016-05-17-17.02.html
> >
> > On Tue, May 17, 2016 at 8:10 PM, Kevin Benton  wrote:
> >>
> >> Yeah, no meetings in #openstack-neutron please. It leaves us nowhere to
> >> discuss development stuff during that hour.
> >>
> >> On Tue, May 17, 2016 at 2:54 AM, Miguel Angel Ajo Pelayo
> >>  wrote:
> >>>
> >>> I agree, let's try to find a timeslot that works.
> >>>
> >>> using #openstack-neutron with the meetbot works, but it's going to
> >>> generate a lot of noise.
> >>>
> >>> On Tue, May 17, 2016 at 11:47 AM, Ihar Hrachyshka  >
> >>> wrote:
> 
> 
>  > On 16 May 2016, at 15:47, Takashi Yamamoto 
>  > wrote:
>  >
>  > On Mon, May 16, 2016 at 10:25 PM, Takashi Yamamoto
>  >  wrote:
>  >> hi,
>  >>
>  >> On Mon, May 16, 2016 at 9:00 PM, Ihar Hrachyshka
>  >>  wrote:
>  >>> +1 for earlier time. But also, have we booked any channel for the
>  >>> meeting? Hijacking #openstack-neutron may not work fine during
> such a busy
>  >>> (US) time. I suggest we propose a patch for
>  >>> https://github.com/openstack-infra/irc-meetings
>  >>
>  >> i agree and submitted a patch.
>  >> https://review.openstack.org/#/c/316830/
>  >
>  > oops, unfortunately there seems no meeting channel free at the time
>  > slot.
> 
>  This should be solved either by changing the slot, or by getting a new
>  channel registered for meetings. Using unregistered channels,
> especially
>  during busy hours, is not effective, and is prone to overlaps for
> relevant
>  meetings. The meetings will also not get a proper slot at
>  eavesdrop.openstack.org.
> 
>  Ihar
> 
> 
> __
>  OpenStack Development Mailing List (not for usage questions)
>  Unsubscribe:
>  openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>  http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >>>
> >>>
> >>>
> >>>
> >>>
> __
> >>> OpenStack Development Mailing List (not for usage questions)
> >>> Unsubscribe:
> >>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> >>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >>>
> >>
> >>
> >>
> __
> >> OpenStack Development Mailing List (not for usage questions)
> >> Unsubscribe:
> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >>
> >
> >
> >
> __
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [gnocchi] [keystone] Gnocchi gate broken by bug #1584289

2016-05-23 Thread Julien Danjou
Hi fellows,

Keystonemiddleware 4.5.0 released last Thursday broke the Gnocchi gate
with bug #1584289.

The fix has been merged in keystonemiddleware, but I've no clue when a
new version fixing that is going to be released (that's why I've added
[keystone] in the subject), but the sooner would be better, especially
considering the PyPI mirror delay etc.

Cheers,
-- 
Julien Danjou
-- Free Software hacker
-- https://julien.danjou.info


signature.asc
Description: PGP signature
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [neutron] work on Common Flow Classifier and OVS Agent extension for Newton cycle

2016-05-23 Thread Takashi Yamamoto
On Wed, May 18, 2016 at 4:57 PM, Miguel Angel Ajo Pelayo
 wrote:
> Hey,
>
>Finally we took over the channel for 1h. mostly because the time was
> already agreed between many people on opposed timezones and it was a bit
> late to cancel it.
>
>The first point was finding a suitable timeslot for a biweekly meeting
> -for some time- and alternatively following up on email. We should not take
> over the neutron channel for these meetings anymore, I'm sorry for the
> inconvenience.

Tony pointed out that there are bi-weekly slot available.
https://review.openstack.org/#/c/316830/
i guess the slot is fine for many of us.

>
>   Please find the summary here:
>
> http://eavesdrop.openstack.org/meetings/network_common_flow_classifier/2016/network_common_flow_classifier.2016-05-17-17.02.html
>
> On Tue, May 17, 2016 at 8:10 PM, Kevin Benton  wrote:
>>
>> Yeah, no meetings in #openstack-neutron please. It leaves us nowhere to
>> discuss development stuff during that hour.
>>
>> On Tue, May 17, 2016 at 2:54 AM, Miguel Angel Ajo Pelayo
>>  wrote:
>>>
>>> I agree, let's try to find a timeslot that works.
>>>
>>> using #openstack-neutron with the meetbot works, but it's going to
>>> generate a lot of noise.
>>>
>>> On Tue, May 17, 2016 at 11:47 AM, Ihar Hrachyshka 
>>> wrote:


 > On 16 May 2016, at 15:47, Takashi Yamamoto 
 > wrote:
 >
 > On Mon, May 16, 2016 at 10:25 PM, Takashi Yamamoto
 >  wrote:
 >> hi,
 >>
 >> On Mon, May 16, 2016 at 9:00 PM, Ihar Hrachyshka
 >>  wrote:
 >>> +1 for earlier time. But also, have we booked any channel for the
 >>> meeting? Hijacking #openstack-neutron may not work fine during such a 
 >>> busy
 >>> (US) time. I suggest we propose a patch for
 >>> https://github.com/openstack-infra/irc-meetings
 >>
 >> i agree and submitted a patch.
 >> https://review.openstack.org/#/c/316830/
 >
 > oops, unfortunately there seems no meeting channel free at the time
 > slot.

 This should be solved either by changing the slot, or by getting a new
 channel registered for meetings. Using unregistered channels, especially
 during busy hours, is not effective, and is prone to overlaps for relevant
 meetings. The meetings will also not get a proper slot at
 eavesdrop.openstack.org.

 Ihar

 __
 OpenStack Development Mailing List (not for usage questions)
 Unsubscribe:
 openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>>
>>>
>>> __
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Neutron][TC] support of NSH in networking-SFC

2016-05-23 Thread Vikram Choudhary
Yes, the effort is on-going for ODL [1] and ONOS [2] [3] has successfully
integrated the same..


[1] networking-odl spec
https://github.com/openstack/networking-odl/blob/master/doc/source/sfc-driver.rst
[2] ONOS Implementation
https://github.com/opennetworkinglab/onos/tree/master/apps/vtn/sfcmgr/src/main/java/org/onosproject/sfc
[3] networking-onos spec
https://github.com/openstack/networking-onos/blob/master/doc/source/devref/sfc_driver.rst

On Mon, May 23, 2016 at 11:28 AM, Akihiro Motoki  wrote:

> Henry is talking about drivers which CURRENTLY support networking-sfc.
> In my understanding, ODL driver for networking-sfc is ongoing.
>
> 2016-05-23 13:22 GMT+09:00 Elzur, Uri :
> > ODL has support for sfc w NSH. Why would ONOS count as backend and ODL
> not?
> >
> > Uri
> >
> > Sent from my iPhone
> >
> > On May 21, 2016, at 11:26 AM, Henry Fourie 
> wrote:
> >
> > Doug,
> >
> >Networking-sfc API currently has two reference SFC implementations
> that
> > are open source:
> >
> > the OVS driver and the ONOS driver. Work is also in progress for an ODL
> SFC
> > driver and an OVN
> >
> > driver.
> >
> > -Louis
> >
> >
> >
> > From: Doug Wiegley [mailto:doug...@parksidesoftware.com]
> > Sent: Friday, May 20, 2016 5:48 PM
> > To: OpenStack Development Mailing List (not for usage questions)
> > Subject: Re: [openstack-dev] [Neutron][TC] support of NSH in
> networking-SFC
> >
> >
> >
> > In a nutshell, you’ve got it, you can’t add an API without a reference
> > implementation, including data-plane, which has to be open-source (though
> > does not have to itself be openstack.)
> >
> >
> >
> > o   Especially as Stadium, can we let Neutron to lead the industry, given
> > broad enough community interest?
> >
> >
> >
> > You can do anything you want outside the stadium, which is where
> > experimental/incubation is meant to happen.  Inside the stadium means,
> > “official openstack project”, which means it has an open-source
> > implementation.
> >
> >
> >
> > If all backends are closed-source, it’s not open as openstack defines it:
> > https://governance.openstack.org/reference/opens.html
> >
> >
> >
> > There isn’t any wiggle room there. This isn’t a neutron argument; feel
> free
> > to take it up with the TC.
> >
> >
> >
> > Thanks,
> >
> > doug
> >
> >
> >
> >
> >
> >
> >
> > On May 20, 2016, at 6:37 PM, Elzur, Uri  wrote:
> >
> >
> >
> > Hi Armando, Cathy, All
> >
> >
> >
> > First I apologize for the delay, returning from a week long international
> > trip. (yes, I know,  a lousy excuse on many accounts…)
> >
> >
> >
> > If I’m attempting to summarize all the responses, it seems like
> >
> > · A given abstraction in Neutron is allowed (e.g. in support of
> > SFC), preferably not specific to a given technology e.g. NSH for SFC
> >
> > · A stadium project is not held to the same tests (but we do not
> > have a “formal” model here, today) and therefore can support even a
> specific
> > technology e.g. NSH (definitely better with abstractions to meet Neutron
> > standards for future integration)
> >
> >
> >
> > However,
> >
> > · There still is a chicken and egg phenomenon… how can a
> technology
> > become main stream with OPEN SOURCE support  if we can’t get an
> OpenStack to
> > support the required abstractions before the technology was adopted
> > elsewhere??
> >
> > o   Especially as Stadium, can we let Neutron to lead the industry, given
> > broad enough community interest?
> >
> > · BTW,  in this particular case, there originally has been a
> direct
> > ODL access as a NSH solution (i.e. NO OpenStack option), then we got
> Tacker
> > (now an Neutron Stadium project, if I get it right) to support SFC and
> NSH,
> > but we are still told that networking-sfc (another Neutron Stadium
> project )
> > can’t do the same….
> >
> > · Also regarding the  following comment made on another message
> in
> > this thread, “As to OvS features, I guess the OvS ml is a better place,
> but
> > wonder if the Neutron community wants to hold itself hostage to the pace
> of
> > other projects who are reluctant to adopt a feature”, what I mean is
> again,
> > that chicken and egg situation as above. Personally, I think OpenStack
> > Neutron should allow mechanisms that are of interest / value to the
> > networking community at large, to “ experiment with the abstraction” as
> you
> > stated, independent of other organizations/projects…
> >
> >
> >
> > SOOO, is the bottom line that we agree that supporting NSH explicitly in
> > networking-sfc can be added now?
> >
> >
> >
> >
> >
> > Thx
> >
> >
> >
> > Uri (“Oo-Ree”)
> >
> > C: 949-378-7568
> >
> >
> >
> > From: Armando M. [mailto:arma...@gmail.com]
> > Sent: Friday, May 13, 2016 5:14 PM
> > To: Cathy Zhang 
> > Cc: OpenStack Development Mailing List (not for usage questions)
> > 
> > 

Re: [openstack-dev] [nova-lxd]Nova-lxd with Linuxbridge

2016-05-23 Thread Gyorgy Szombathelyi
Hi Chuck!

Is it https://github.com/lxc/nova-lxd/pull/89 ?

Because lxd has changed a lot since that pull request.

Or is there a newer one lying around?

Thanks,
György

> -Original Message-
> From: Chuck Short [mailto:chuck.sh...@canonical.com]
> Sent: 2016 május 20, péntek 16:30
> To: OpenStack Development Mailing List (not for usage questions)
> 
> Subject: Re: [openstack-dev] [nova-lxd]Nova-lxd with Linuxbridge
> 
> Hi,
> 
> 
> Currently it only works with OVS mode, there is a patch lying around for
> Linuxbridge agent support that needs to be integrated.
> 
> 
> Thanks
> 
> chuck
> 
> 
> On Fri, May 20, 2016 at 8:47 AM, Gyorgy Szombathelyi
>   > wrote:
> 
> 
>   Hi!
> 
>   I just have a simple question: is nova-lxd supposed to work with the
> Linuxbridge agent?
>   As I see, the LXD driver creates veth interface pairs, and vif.py
> connects it to a normal linux bridge. However the Linuxbridge agent code
> scans only for tap devices.
>   So the question is: Should the LXD driver create a tap device, bridged
> with that veth?
> 
>   Br,
>   György
> 
>   
> __
>   OpenStack Development Mailing List (not for usage questions)
>   Unsubscribe: OpenStack-dev-
> requ...@lists.openstack.org?subject:unsubscribe  requ...@lists.openstack.org?subject:unsubscribe>
>   http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


  1   2   >