Re: [openstack-dev] tempest tests in Horizon GUI

2016-09-21 Thread Andrea Frittoli
Hi Ofer,

Tempest tests try to cleanup after themselves, so in theory after a Tempest
run you shouldn't see any test resource left around.

If you run your tests using dynamic credentials, test accounts are created
on the fly, and deleted after they're used. If you use preprovisioned
credentials, you need to setup a network for them before the test run
starts.

Andrea

On Thu, 22 Sep 2016, 7:02 a.m. Ken'ichi Ohmichi, 
wrote:

> Hi Ofer,
>
> The scenario test of Horizon has been removed from Tempest since
> https://review.openstack.org/#/c/313713/
> And now the test[1] exists in openstack/tempest-horizon.
> The test is very simple like
>  * checks that the login page is available
>  * logs in as a regular user
>  * checks that the user home page loads without error
>
> > When I run a tempest test/scenario-test, should I see the components
> (network, subnet, router etc.) in the horizon GUI ?
>
> The test doesn't create any resources(network, subnet, etc), so any
> changes would not happen during the test.
>
> Thanks
> Ken Ohmichi
>
> ---
> [1]:
> https://github.com/openstack/tempest-horizon/blob/master/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py
>
> 2016-09-21 15:01 GMT+02:00 Barber, Ofer :
> > I have a basic question about tempest.
> >
> >
> >
> > When I run a tempest test/scenario-test, should I see the components
> > (network, subnet, router etc.) in the horizon GUI ?
> >
> >
> >
> > If yes, for what username or what project those are created ?
> >
> >
> >
> > Thank you,
> >
> > Ofer
> >
> >
> >
> >
> >
> __
> > 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] tempest tests in Horizon GUI

2016-09-21 Thread Ken'ichi Ohmichi
Hi Ofer,

The scenario test of Horizon has been removed from Tempest since
https://review.openstack.org/#/c/313713/
And now the test[1] exists in openstack/tempest-horizon.
The test is very simple like
 * checks that the login page is available
 * logs in as a regular user
 * checks that the user home page loads without error

> When I run a tempest test/scenario-test, should I see the components 
> (network, subnet, router etc.) in the horizon GUI ?

The test doesn't create any resources(network, subnet, etc), so any
changes would not happen during the test.

Thanks
Ken Ohmichi

---
[1]: 
https://github.com/openstack/tempest-horizon/blob/master/tempest_horizon/tests/scenario/test_dashboard_basic_ops.py

2016-09-21 15:01 GMT+02:00 Barber, Ofer :
> I have a basic question about tempest.
>
>
>
> When I run a tempest test/scenario-test, should I see the components
> (network, subnet, router etc.) in the horizon GUI ?
>
>
>
> If yes, for what username or what project those are created ?
>
>
>
> Thank you,
>
> Ofer
>
>
>
>
> __
> 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] [qa] tempest-cores update

2016-09-21 Thread Ken'ichi Ohmichi
Hi,

As previous mail, Marc has resigned from tempest-cores.
In addition, David also has done from tempest-cores to concentrate on new work.
Thank you two for many contributions to the project and I wish your
continuous successes.

Thanks
Ken Ohmichi

__
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] [qa] resigning from Tempest core

2016-09-21 Thread Ken'ichi Ohmichi
Hi Marc,

Thanks for hosting a QA/Infra code sprint.
All attendees have been satisfied with rooms, coffee, food and weather.

And thanks for your work on QA project in long term.
You have brought a lot of value to us.

Thanks
Ken Ohmichi



2016-09-19 11:51 GMT+02:00 Koderer, Marc :
> Hi folks,
>
> as already mentioned during the current code sprint:
> I am currently lacking time for reviews and code contributions.
>
> I think it better to step back and let other’s in that are more active.
>
> Thanks for all the support and it was really fun the past 3 years working with
> you!
>
> Regards
> Marc
>
>
> __
> 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] Ocata summit session poll

2016-09-21 Thread Steven Dake (stdake)
Michal,

Thanks for setting this up.  For future votes using civs, I’d recommend keeping 
polling results hidden until the poll is completed as to not unduly influence 
voters by the current incomplete polling results.

If folks would like to use civs in favor of our current mailing list voting 
used for core review policy changes, that seems fine, but we need to ensure 
core reviewer voters are identified in the results by name for full 
transparency.  We need to make certain civs supports this mechanism before 
proceeding in this way.  We also need a way to enable any core reviewer to 
trigger a vote on a policy change (we do this informally now by allowing any 
core reviewer to trigger a vote on the mailing list by tagging an email 
[kolla][vote] with the proposed policy change)

For core reviewer nomination votes (our most important votes of all), I’d like 
to keep the full transparency we have with the current mailing list voting 
mechanism in use.  (mailing list easier to follow then watching a poll result 
come in).  This is standard practice in OpenStack and not something we want to 
deviate from.

Also a note to others: I am pretty sure we have more than 9 sessions available 
in total.  We also have been granted space for a  half day contributor meetup.  
Civs says only 9 spots are available.  This applies even if we choose to give 1 
or 2 sessions back to the foundation for emerging projects which need planning 
and coordination time at summit so these projects have a level playing field.

Regards
-steve


On 9/21/16, 1:40 PM, "Michał Jastrzębski"  wrote:

Sure, I simply pasted what was in the etherpad. I didn't want to cut
anything out as some things might be seemingly closed but people in
fact would like to talk more about them. Let see how priorities will
look like after couple days:)

Also, please vote!

On 21 September 2016 at 12:54, Swapnil Kulkarni  wrote:
> On Wed, Sep 21, 2016 at 11:16 PM, Steven Dake (stdake)  
wrote:
>> One note in this poll.  Repo-split has already reached a consensus 
decision via ml vote, and the activity around that will happen prior to summit, 
so it is probably worth ignoring entirely.
>>
>> Regards
>> -steve
>>
>>
>> On 9/21/16, 10:14 AM, "Michał Jastrzębski"  wrote:
>>
>> Hello,
>>
>> Now, when we have full list of sessions, let's prioritize them
>> accordingly to our preferences. Based on this we'll allocate our
>> summit space.
>>
>> 
http://civs.cs.cornell.edu/cgi-bin/vote.pl?id=E_8368e1e74f8a0049=91bbcf4baeff0a2f
>>
>> 
__
>> 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
>
>
> I agree. We already devoted a couple of sessions (or more) in Austin
> design summit and couple of polls on ML thread.
>
> __
> 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][release] Branching of stable/newton

2016-09-21 Thread Steven Dake (stdake)
Doug,

Apologies for top post – email client upgrade broke my ability to post inline 
(working on getting a revert or further instructions on how to re-enable proper 
function).

Based upon your guidance, I wanted to inform you a decision has been made on 
our RC2 deadline – which is October 10th-October 13th.  We do not want to take 
advantage of the discretion you have afforded release-trailing projects by the 
recent process changes in the releases repo.  If you think this is cutting it 
too close or have other objections, let us know and we will alter course 
appropriately based upon your guidance.  Note we recognize we are making a 
tradeoff from keeping master open for business here, but the general consensus 
is that the tradeoff is in the best interests of Kolla itself as well as 
OpenStack in general.

This is a no-feature release candidate, and we have narrowed our bug list from 
107 to 93 bugs in the last day.  Once the core team wrap up with triage 
(Thursday 00:00 UTC is our official deadline for rc2 triage to complete), I 
expect this bug list to be a more manageable 40-60 bugs.  The expectation I 
have set with the core review team is that rc2 should be taggable as 3.0.0 
without changes, although I can’t obviously guarantee this if we hit a critical 
issue in the one week between the release cycle trailing deadline and the rc2.  
I don’t expect a critical issue to be found in rc2, but as you know anything is 
possible.

If you believe we are running afoul of other policies (i.e. project maturity 
tags) in OpenStack because of this decision, that information would be helpful 
as well.

Thanks!
-steve


On 9/19/16, 6:51 AM, "Doug Hellmann"  wrote:

Excerpts from Thierry Carrez's message of 2016-09-18 16:08:04 +0200:
> Steven Dake (stdake) wrote:
> > Release team,
> > 
> > At one point Doug had indicated all projects would automatically branch
> > on tagging of rc1.  I notice in git no Kolla stable/newton branch
> > exists. Fwiw this is actually a good thing, because 33 patches have
> > merged since rc1 relating to things that need to go into Newton,
> > dramatically reducing the amount of backport work we need to do.  Part
> > of this was error on my part – not validating all FFE blueprints that
> > were marked Implemented were actually implemented.  One related to
> > monitoring (and part of the 33 patches since rc1) was actually “Needs
> > Review” rather than Implemented (as it was marked).
> > 
> > I don’t want Kolla to be a special snowflake wrt release processes, and
> > we can live with a branch on rc1.  A branch on rc2 would be far better
> > for us as we have roughly 250 bugs to triage or fix.  I leave it in the
> > release team’s capable judgement to decide best on a course of action.
> 
> I'm probably the one to blame for that. Kolla follows milestones but is
> trailing the release, which makes it a bit of a release snowflake. I
> wasn't sure we should cut the stable branch at RC1 for such a case
> (since you're still far away from final).
> 
> We should discuss what to do here (branch ASAP, branch at RC2...) on
> Monday on the release channel when Doug is around.

As we discussed on IRC today, it seems reasonable to give the trailing
projects a bit more flexibility when we get to the RC period. Let us
know which RC should form the basis of the branch and we'll create it
then.

Doug

> 
> > I would request that the expected time of branch be communicated clearly
> > to us for the Newton cycle.  I have been communicating with our team
> > that rc1 is where we branch.  Folks are now asking “where is the Newton
> > branch of Kolla?”
> 
> FWIW Doug has been working on a spec so that projects communicate more
> clearly when they want the release branch to be cut. For
> milestone-driven projects it's usually clear (we branch at RC1), but for
> other cases (intermediary-released, trailing) options are a bit more
> open so having a way (through the openstack/releases repo) to clearly
> communicate "when" will definitely help.
> 

__
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] App Catalog IRC meeting Thursday September 22nd

2016-09-21 Thread Christopher Aedo
Join us tomorrow (Thursday) for our weekly meeting, scheduled for
September 22nd at 17:00UTC in #openstack-meeting-3

The agenda can be found here, and please add to if you want to discuss
something with the Community App Catalog team:
https://wiki.openstack.org/wiki/Meetings/app-catalog

As has been for the last few weeks, the focus tomorrow will be on our
implementation of Glare for our backend and v2 API.  There's a bunch
of work left to do just on the review side so if anyone has a few
space cycles and wants to get involved, please join us tomorrow (or
look through https://review.openstack.org/#/q/topic:bp/glare-work if
you can't make the meeting).

-Christopher

__
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] Is there any reason we shouldn't remove nova.image.s3 now?

2016-09-21 Thread Jay Pipes

On 09/21/2016 07:43 PM, Matt Riedemann wrote:

The s3 image configuration options were deprecated for removal in newton
[1].

Clint has a patch up to remove the boto dependency from nova [2] which
is only used in the nova.image.s3 module.

Rather than remove the boto dependency, I think we should just remove
this code. Is there any reason to not do that now that Ocata is open and
it's been over the requisite 3 month window of deprecation for CD shops?

[1] https://review.openstack.org/#/c/314697/
[2] https://review.openstack.org/#/c/374433/


+1 for removal from me.

__
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] [tricircle]freeze date and patches to be merged for Newton release

2016-09-21 Thread joehuang
Hello,

During yesterday's weekly meeting, patches were identified for these must be 
merged before freeze date for Newton release:

Freeze date: Sept.30, 2016

Must to have: must be merged before Sept.30, basic feature for Tricircle Newton 
release
https://review.openstack.org/#/c/356187/ framework for dynamic pod binding
https://review.openstack.org/354604 floating ip deletion
https://review.openstack.org/355847 subnet deletion
https://review.openstack.org/360848 router deletion
https://review.openstack.org/#/c/366606/ server action part1
https://review.openstack.org/#/c/369958/ server action part2
https://review.openstack.org/#/c/372414/ installation update
https://review.openstack.org/#/c/326192/ volume detach

Good to have: best effort
https://review.openstack.org/#/c/323687/ add resource_affinity_tag
https://review.openstack.org/368529 spec for local plugin
https://review.openstack.org/#/c/359561/
others not mentioned here

You can also refer to https://etherpad.openstack.org/p/TricircleNewtonFreeze  
for the discussion log.

Let's update patch and review in time to ensure "Must to have" get merged 
before freeze date Sept.30.

Thank you for your great effort. The Newton branch will be created at UTC 
9:00AM Sept.30.

Best Regards
Chaoyi Huang (joehuang)
__
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][nova] Anyone interested in writing a policy generator sphinx extension?

2016-09-21 Thread Mathieu Gagné
Hi,

On Wed, Sep 21, 2016 at 10:49 AM, Matt Riedemann
 wrote:
> Nova has policy defaults in code now and we can generate the sample using
> oslopolicy-sample-generator but we'd like to get the default policy sample
> in the Nova developer documentation also, like we have for nova.conf.sample.
>
> I see we use the sphinxconfiggen extension for building the nova.conf.sample
> in our docs, but I don't see anything like that for generating docs for a
> sample policy file.
>
> Has anyone already started working on that, or is interested in working on
> that? I've never written a sphinx extension before but I'm guessing it could
> be borrowed a bit from how sphinxconfiggen was written in oslo.config.

I'm not a developer. I'm one of the operator that asked about
documentation now that policy defaults got moved in code.
I'm happy to see a proper follow up on this request, I really appreciate it. +1
I hope this thread can stay on topic so a proper documentation
solution is found.

Thanks

__
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] Is there any reason we shouldn't remove nova.image.s3 now?

2016-09-21 Thread Matt Riedemann
The s3 image configuration options were deprecated for removal in newton 
[1].


Clint has a patch up to remove the boto dependency from nova [2] which 
is only used in the nova.image.s3 module.


Rather than remove the boto dependency, I think we should just remove 
this code. Is there any reason to not do that now that Ocata is open and 
it's been over the requisite 3 month window of deprecation for CD shops?


[1] https://review.openstack.org/#/c/314697/
[2] https://review.openstack.org/#/c/374433/

--

Thanks,

Matt Riedemann


__
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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Travis McPeak
"My answer would be -that- is the most ideal scenario. I care about
OpenStack and ensuring quality projects have adequate representation so I
checked to see which ones didn't have anyone defined for leadership and
picked one to step in and help, assuming no one was able to fill that role
for that specific cycle."

Ahh gotcha.  Thanks Adam.  We definitely welcome your advice and help
with socializing our activities and becoming more integrated with the
community.  I think Ian (sigmavirus) is similarly interested.  I look
forward to working with both of you.

-- 
-Travis
__
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] [osc][keystone] User Project List

2016-09-21 Thread Adrian Turjak
On 22/09/16 10:45, Steve Martinelli wrote:
> On Wed, Sep 21, 2016 at 6:34 PM, Adrian Turjak
> > wrote:
>
> - or update "openstack project list" with a "--auth-user" flag
> that ignores all other options and directly filters the project
> list by your token's user id. This type of option is already
> present in the "role assignment list" command. From a UX
> standpoint part of me feels that project list should default to
> --auth-user if your token doesn't have admin roles, but I'm not
> sure how easy that would be to do.
>
>
> I prefer this one. The issue with defaulting to --auth-user (this was
> proposed at one point) is that it breaks the existing behaviour
> (listing all projects).
>

Alright, will throw up a blueprint and get some code together for this soon.

As for the defaulting, since the auth_ref does have your roles can't we
just check if an admin (or admin like role) is present? The main problem
I see here is the disconnect between actual policy and the chance of a
deployment using other role names.

Another option being that if a permissions error happens it could
default to --auth-user, but that in turn might make some debugging harder.

That's why my other suggestion was an entirely separate command, since
there is no existing behavior to break and the default then feels the
most sensible and clearer for someone trying to list their own projects.
I mean, in keystone 'user project list' is a different api endpoint,
it's only the keystone client which merges them into one command. ;)
__
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] [Horizon] Ocata design summit

2016-09-21 Thread Richard Jones
Hi folks,

Not long to go before the Ocata summit. We'll devote next week's team
meeting[1] to discussing the design sessions. If you haven't done so
already, please add your thoughts to the planning etherpad[2].


Thanks,

 Richard

[1] https://wiki.openstack.org/wiki/Meetings/Horizon
[2] https://etherpad.openstack.org/p/horizon-ocata-summit
__
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] [osc][keystone] User Project List

2016-09-21 Thread Steve Martinelli
On Wed, Sep 21, 2016 at 6:34 PM, Adrian Turjak 
wrote:

> 
>
> What I'd like to do is one of these two options:
> - "openstack user project list", a command which will get your id from
> your authed token and used it directly with the keystoneclient as such:
> "keystoneclient.projects.list(user='')" which will pipe the
> call correctly to: "/v3/users/{user_id}/projects"
>


>
>
- or update "openstack project list" with a "--auth-user" flag that ignores
> all other options and directly filters the project list by your token's
> user id. This type of option is already present in the "role assignment
> list" command. From a UX standpoint part of me feels that project list
> should default to --auth-user if your token doesn't have admin roles, but
> I'm not sure how easy that would be to do.
>

I prefer this one. The issue with defaulting to --auth-user (this was
proposed at one point) is that it breaks the existing behaviour (listing
all projects).
__
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] [osc][keystone] User Project List

2016-09-21 Thread Adrian Turjak
Worth noting, I have been playing with 3.2.0 and the same problem
persists in our deployment which is running a variant of the old default
keystone policy.


On 22/09/16 10:34, Adrian Turjak wrote:
> That commit doesn't really address the problem in question though.
>
> The problem is that the OpenStack client assumes the "get user" policy
> in Keystone allows you to get your own user, which it didn't until
> Newton, and thus a lot of deployments probably are using the default
> policy or some variant thereof. Ours is included in this list, and
> while I am working on getting our Keystone policy updated to match
> that assumption, it makes sense to fix the issue in the
> openstackclient for anyone else running into this problem.
>
> What I'd like to do is one of these two options:
> - "openstack user project list", a command which will get your id from
> your authed token and used it directly with the keystoneclient as
> such: "keystoneclient.projects.list(user='')" which will
> pipe the call correctly to: "/v3/users/{user_id}/projects"
> - or update "openstack project list" with a "--auth-user" flag that
> ignores all other options and directly filters the project list by
> your token's user id. This type of option is already present in the
> "role assignment list" command. From a UX standpoint part of me feels
> that project list should default to --auth-user if your token doesn't
> have admin roles, but I'm not sure how easy that would be to do.
>
> There may be other commands that fall over due to a unneeded
> resource_find call to get user, but I haven't explored those too much
> yet. Chances are any non-admin command which can be filtered by user
> and does a resource find first we fall over on anything < Newton.
>
> On 22/09/16 06:31, Steve Martinelli wrote:
>> On Wed, Sep 21, 2016 at 1:04 PM, Dolph Mathews
>> > wrote:
>>
>>
>> I should also express a +1 for something along the lines of your
>> original proposal. I'd go so far as to suggest that `openstack
>> show user` (without a user ID or name as an argument) should
>> return "me" (the authenticated user), as I think that'd be a
>> better user experience.
>>
>>
>> That should be fixed in openstackclient 3.0.0
>> -- 
>> https://github.com/openstack/python-openstackclient/commit/337d013c94378a4b3f0e8f90e4f5bd745448658f
>>
>>
>>
>> __
>> 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] [osc][keystone] User Project List

2016-09-21 Thread Adrian Turjak
That commit doesn't really address the problem in question though.

The problem is that the OpenStack client assumes the "get user" policy
in Keystone allows you to get your own user, which it didn't until
Newton, and thus a lot of deployments probably are using the default
policy or some variant thereof. Ours is included in this list, and while
I am working on getting our Keystone policy updated to match that
assumption, it makes sense to fix the issue in the openstackclient for
anyone else running into this problem.

What I'd like to do is one of these two options:
- "openstack user project list", a command which will get your id from
your authed token and used it directly with the keystoneclient as such:
"keystoneclient.projects.list(user='')" which will pipe the
call correctly to: "/v3/users/{user_id}/projects"
- or update "openstack project list" with a "--auth-user" flag that
ignores all other options and directly filters the project list by your
token's user id. This type of option is already present in the "role
assignment list" command. From a UX standpoint part of me feels that
project list should default to --auth-user if your token doesn't have
admin roles, but I'm not sure how easy that would be to do.

There may be other commands that fall over due to a unneeded
resource_find call to get user, but I haven't explored those too much
yet. Chances are any non-admin command which can be filtered by user and
does a resource find first we fall over on anything < Newton.

On 22/09/16 06:31, Steve Martinelli wrote:
> On Wed, Sep 21, 2016 at 1:04 PM, Dolph Mathews
> > wrote:
>
>
> I should also express a +1 for something along the lines of your
> original proposal. I'd go so far as to suggest that `openstack
> show user` (without a user ID or name as an argument) should
> return "me" (the authenticated user), as I think that'd be a
> better user experience.
>
>
> That should be fixed in openstackclient 3.0.0
> -- 
> https://github.com/openstack/python-openstackclient/commit/337d013c94378a4b3f0e8f90e4f5bd745448658f
>
>
>
> __
> 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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Jeremy Stanley
On 2016-09-21 22:53:10 +0100 (+0100), Dave Walker wrote:
> On 21 September 2016 at 22:41, Kyle Mestery  wrote:
> > On Wed, Sep 21, 2016 at 3:35 PM, Thierry Carrez  
> > wrote:
> > > I privately received information that explains why the PTL was
> > > not on top of things during election weeks. With ~60 teams
> > > around there will always be one or two that miss and that we
> > > must check on. It /always/ is symptomatic of /some/
> > > disconnect. But here I'm not sure it passes the bar of
> > > "non-alignment with the community" that would make the
> > > Security team unfit to be an official OpenStack team...
> > 
> > I agree, and in times like this, it's best to use common sense
> > rather than trying to have a rule to fit everything into. In
> > this case, Rob and the security team have put forth an
> > explanation of what happened, I fail to see how removing them
> > after this does anything other than foster bad will. I would
> > vote to keep the security team around at this point.
> 
> I feel bad quoting policy here... but we do have prior art for
> this... If we look at resolution, "2014-11-28 Process for
> Leaderless Programs"[0], we have policy for *exactly* this
> situation.. which should probably have been the first action
> rather than considering a new resolution.
> 
> For reference:
> 
>1. Programs without a minimum of one eligible candidate are
>identified to the Technical Committee by the Election
>Officials, as soon as possible after the nomination period has
>expired.
>2. The Technical Committee can appoint a leader to any programs
>in this situation, by mutual agreement of the Technical
>Committee and the proposed appointee.
[...]

I'm not certain what "new resolution" you're referring to in this
case, as it seemed to me the TC was attempting to follow the
guidelines you've quoted. Of the four teams which lacked PTLs, one
was made unofficial, one had a suitable PTL volunteer confirmed by
the TC, and two were deferred for further discussion due to
insufficient information about their situations.

Note it says "CAN appoint a leader" [emphasis mine]. The situation
was discussed by the TC in their meeting yesterday[*], and
what was asked was whether in these specific cases they SHOULD do
this, or resolve it by freeing the teams in question to operate
outside TC authority (by making them unofficial from a governance
perspective). Both are valid options for the TC as our governing
body, and each option is perhaps more applicable to some of the
teams in this situation than others. For the teams where the outcome
was not already certain, and no representative of the team was
present at the meeting for discussion about who should be appointed
PTL, the chair agreed to start an ML thread proposing returning
those teams to an unofficial state to gauge whether that was an
acceptable outcome from the perspective of our community.

As far as I know, the TC is allowed to remove official status from
any team at any time. Until "2014-11-28 Process for Leaderless
Programs" was passed, removal was basically their only accepted
option for dealing with teams that lacked a PTL. That resolution
gave them the _additional_ option of appointing a PTL volunteer.

[*] 
http://eavesdrop.openstack.org/meetings/tc/2016/tc.2016-09-20-20.01.log.html#l-342
-- 
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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Doug Hellmann
Excerpts from Dave Walker's message of 2016-09-21 22:53:10 +0100:
> On 21 September 2016 at 22:41, Kyle Mestery  wrote:
> 
> > On Wed, Sep 21, 2016 at 3:35 PM, Thierry Carrez 
> > wrote:
> > > Chivers, Doug wrote:
> > >> My concern is with the original wording “The suggested way forward
> > there would be to remove the "Security project team"”.
> > >>
> > >> This seems like a move to instantly reduce investment in OpenStack
> > security, because the majority of members of the Security Project are
> > corporately funded, which will be significantly impacted by the removal of
> > the security project. I have no knowledge over the difference between a
> > working group and a project, like everyone else on the project we are
> > simply here to contribute to OpenStack security, drive innovation in
> > security, deliver documentation like OSSNs, etc, rather than get involved
> > in the politics of OpenStack.
> > >>
> > >> In response to the various questions of why no-one from our project
> > noticed that we didn’t have a nomination for the PTL, we assumed that was
> > taken care of. Realistically maybe two or three people on the security
> > project have the availability to be PTL, one being our current PTL, for all
> > the rest of us its simply not a concern until we need to vote.
> > >>
> > >> On a personal note, reading –dev is unfortunately a lower priority than
> > designing architectures, responding to customers and sales teams, closing
> > tickets, writing decks and on the afternoon or so I can spend each week,
> > working on my upstream projects (this week it was:
> > https://review.openstack.org/#/c/357978/5 - thanks to the Barbican team
> > for all their work). Possibly this is wrong, but I didn’t sign up as a
> > contributor to spend all my spare time reading mailing lists.
> > >
> > > So while I still think there is a slight disconnect (like, members of
> > > the security team are less often involved in other teams) that results
> > > in the Security team being more likely to miss the very few process
> > > deadlines that apply to them, I'm not convinced it justifies removing
> > > the "official" status of the team and make it a workgroup.
> > >
> > > I privately received information that explains why the PTL was not on
> > > top of things during election weeks. With ~60 teams around there will
> > > always be one or two that miss and that we must check on. It /always/ is
> > > symptomatic of /some/ disconnect. But here I'm not sure it passes the
> > > bar of "non-alignment with the community" that would make the Security
> > > team unfit to be an official OpenStack team...
> > >
> > I agree, and in times like this, it's best to use common sense rather
> > than trying to have a rule to fit everything into. In this case, Rob
> > and the security team have put forth an explanation of what happened,
> > I fail to see how removing them after this does anything other than
> > foster bad will. I would vote to keep the security team around at this
> > point.
> >
> >
> I feel bad quoting policy here... but we do have prior art for this... If
> we look at resolution, "2014-11-28 Process for Leaderless Programs"[0], we
> have policy for *exactly* this situation.. which should probably have been
> the first action rather than considering a new resolution.
> 
> For reference:
> 
>1. Programs without a minimum of one eligible candidate are identified
>to the Technical Committee by the Election Officials, as soon as possible
>after the nomination period has expired.
>2. The Technical Committee can appoint a leader to any programs in this
>situation, by mutual agreement of the Technical Committee and the proposed
>appointee.
>3. The appointed leader has all the same obligations and
>responsibilities as a self-nominated elected Program Technical Lead.
> 
> [0]
> http://governance.openstack.org/resolutions/20141128-elections-process-for-leaderless-programs.html
> 

That process is one possible outcome. It is meant for extreme
circumstances, but not as a failsafe to allow teams to bypass the
normal participation in elections.  It was started with the UX team,
where there was a clear candidate.  For the teams where no one
replied to queries before the TC meeting this week, we had no
candidates to appoint.  This and other threads on the topic have
produced candidates and, assuming they signal their intent to serve
clearly, we can move ahead.

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] [manila] [security] [tc] Add the vulnerability:managed tag to Manila

2016-09-21 Thread Rob C
Jeremy hit all the major points there.

What we do is basically model things based on a best-practice use case, we
rely on the project to make good choices in this regard with a view to
configurations, protocols etc.

Then we conduct an asset-oriented threat review, during which we create
documentation that looks a lot like
https://review.openstack.org/#/c/357978/5

It's not overly heavyweight and provides us with enough information to make
some reasonably in-depth judgements and provide advice on areas where a
project might have some weaknesses in design or implementation.

A good first step is to say hello during one of our IRC meetings, 1700 UTC
on #openstack-meeting-alt

Cheers
-Rob

On Thu, Sep 1, 2016 at 4:38 PM, Ben Swartzlander 
wrote:

> Thanks fungi. I misunderstood the full scope of the requirements for
> vulnerability management and since we don't yet have volunteers willing to
> perform all the required duties, I'm going to withdraw the tag request.
>
> As soon as interested community members step up to take on the
> responsibilities I'll reapply for the tag.
>
> -Ben Swartzlander
>
>
>
> On 08/30/2016 01:07 PM, Jeremy Stanley wrote:
>
>> Ben has proposed[1] adding manila, manila-ui and python-manilaclient
>> to the list of deliverables whose vulnerability reports and
>> advisories are overseen by the OpenStack Vulnerability Management
>> Team. This proposal is an assertion that the requirements[2] for the
>> vulnerability:managed governance tag are met by these deliverables.
>> As such, I wanted to initiate a discussion evaluating each of the
>> listed requirements to see how far along those deliverables are in
>> actually fulfilling these criteria.
>>
>> 1. All repos for a covered deliverable must meet the criteria or
>> else none do. Easy enough, each deliverable has only one repo so
>> this isn't really a concern.
>>
>> 2. We need a dedicated point of contact for security issues. Our
>> typical point of contact would be a manila-coresec team in
>> Launchpad, but that doesn't exist[3] (yet). Since you have a fairly
>> large core review team[4], you should pick a reasonable subset of
>> those who are willing to act as the next line of triage after the
>> VMT hands off a suspected vulnerability report under embargo. You
>> should have at least a couple of active volunteers for this task so
>> there's good coverage, but more than 5 or so is probably pushing the
>> bounds of information safety. Not all of them need to be core
>> reviewers, but enough of them should be so that patches proposed as
>> attachments to private bugs can effectively be "pre-approved" in an
>> effort to avoid delays merging at time of publication.
>>
>> 3. The PTL needs to agree to act as a point of escalation or
>> delegate this responsibility to a specific liaison. This is Ben by
>> default, but if he's not going to have time to serve in that role
>> then he should record a dedicated Vulnerability Management Liaison
>> in the CPLs list[5].
>>
>> 4. Configure sharing[6][7][8] on the defect trackers for these
>> deliverables so that OpenStack Vulnerability Management team
>> (openstack-vuln-mgmt) has "Private Security: All". Once the
>> vulnerability:managed tag is approved for them, also remove the
>> "Private Security: All" sharing from any other teams (so that the
>> VMT can redirect incorrectly reported vulnerabilities without
>> prematurely disclosing them to manila reviewers).
>>
>> 5. Independent security review, audit, or threat analysis... this is
>> almost certainly the hardest to meet. After some protracted
>> discussion on Kolla's application for this tag, it was determined
>> that projects should start supplying threat analyses to a central
>> security-analysis[9] repo where they can be openly reviewed and
>> ultimately published. No projects have actually completed this yet,
>> but there is some process being finalized by the Security Team which
>> projects will hopefully be able to follow. You may want to check
>> with them on the possibility of being an early adopter for that
>> process.
>>
>> 6. Covered deliverables need tests we can rely on to be able to
>> evaluate whether privately proposed security patches will break the
>> software. A cursory look shows many jobs[10] running in our upstream
>> CI for changes to these repos, so that requirement is probably
>> addressed (I did not yet check whether those
>> unit/functional/integration tests are particularly extensive).
>>
>> So in summary, it looks like there are still some outstanding
>> requirements not yet met for the vulnerability:managed tag but I
>> don't see any insurmountable challenges there. Please let me know if
>> any of the above is significantly off-track.
>>
>> [1] https://review.openstack.org/350597
>> [2] https://governance.openstack.org/reference/tags/vulnerabilit
>> y_managed.html#requirements
>> [3] https://launchpad.net/~manila-coresec
>> [4] https://review.openstack.org/#/admin/groups/213,members
>> [5] 

Re: [openstack-dev] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Dave Walker
On 21 September 2016 at 22:41, Kyle Mestery  wrote:

> On Wed, Sep 21, 2016 at 3:35 PM, Thierry Carrez 
> wrote:
> > Chivers, Doug wrote:
> >> My concern is with the original wording “The suggested way forward
> there would be to remove the "Security project team"”.
> >>
> >> This seems like a move to instantly reduce investment in OpenStack
> security, because the majority of members of the Security Project are
> corporately funded, which will be significantly impacted by the removal of
> the security project. I have no knowledge over the difference between a
> working group and a project, like everyone else on the project we are
> simply here to contribute to OpenStack security, drive innovation in
> security, deliver documentation like OSSNs, etc, rather than get involved
> in the politics of OpenStack.
> >>
> >> In response to the various questions of why no-one from our project
> noticed that we didn’t have a nomination for the PTL, we assumed that was
> taken care of. Realistically maybe two or three people on the security
> project have the availability to be PTL, one being our current PTL, for all
> the rest of us its simply not a concern until we need to vote.
> >>
> >> On a personal note, reading –dev is unfortunately a lower priority than
> designing architectures, responding to customers and sales teams, closing
> tickets, writing decks and on the afternoon or so I can spend each week,
> working on my upstream projects (this week it was:
> https://review.openstack.org/#/c/357978/5 - thanks to the Barbican team
> for all their work). Possibly this is wrong, but I didn’t sign up as a
> contributor to spend all my spare time reading mailing lists.
> >
> > So while I still think there is a slight disconnect (like, members of
> > the security team are less often involved in other teams) that results
> > in the Security team being more likely to miss the very few process
> > deadlines that apply to them, I'm not convinced it justifies removing
> > the "official" status of the team and make it a workgroup.
> >
> > I privately received information that explains why the PTL was not on
> > top of things during election weeks. With ~60 teams around there will
> > always be one or two that miss and that we must check on. It /always/ is
> > symptomatic of /some/ disconnect. But here I'm not sure it passes the
> > bar of "non-alignment with the community" that would make the Security
> > team unfit to be an official OpenStack team...
> >
> I agree, and in times like this, it's best to use common sense rather
> than trying to have a rule to fit everything into. In this case, Rob
> and the security team have put forth an explanation of what happened,
> I fail to see how removing them after this does anything other than
> foster bad will. I would vote to keep the security team around at this
> point.
>
>
I feel bad quoting policy here... but we do have prior art for this... If
we look at resolution, "2014-11-28 Process for Leaderless Programs"[0], we
have policy for *exactly* this situation.. which should probably have been
the first action rather than considering a new resolution.

For reference:

   1. Programs without a minimum of one eligible candidate are identified
   to the Technical Committee by the Election Officials, as soon as possible
   after the nomination period has expired.
   2. The Technical Committee can appoint a leader to any programs in this
   situation, by mutual agreement of the Technical Committee and the proposed
   appointee.
   3. The appointed leader has all the same obligations and
   responsibilities as a self-nominated elected Program Technical Lead.

[0]
http://governance.openstack.org/resolutions/20141128-elections-process-for-leaderless-programs.html


--
Kind Regards,
Dave Walker
__
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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Kyle Mestery
On Wed, Sep 21, 2016 at 3:35 PM, Thierry Carrez  wrote:
> Chivers, Doug wrote:
>> My concern is with the original wording “The suggested way forward there 
>> would be to remove the "Security project team"”.
>>
>> This seems like a move to instantly reduce investment in OpenStack security, 
>> because the majority of members of the Security Project are corporately 
>> funded, which will be significantly impacted by the removal of the security 
>> project. I have no knowledge over the difference between a working group and 
>> a project, like everyone else on the project we are simply here to 
>> contribute to OpenStack security, drive innovation in security, deliver 
>> documentation like OSSNs, etc, rather than get involved in the politics of 
>> OpenStack.
>>
>> In response to the various questions of why no-one from our project noticed 
>> that we didn’t have a nomination for the PTL, we assumed that was taken care 
>> of. Realistically maybe two or three people on the security project have the 
>> availability to be PTL, one being our current PTL, for all the rest of us 
>> its simply not a concern until we need to vote.
>>
>> On a personal note, reading –dev is unfortunately a lower priority than 
>> designing architectures, responding to customers and sales teams, closing 
>> tickets, writing decks and on the afternoon or so I can spend each week, 
>> working on my upstream projects (this week it was: 
>> https://review.openstack.org/#/c/357978/5 - thanks to the Barbican team for 
>> all their work). Possibly this is wrong, but I didn’t sign up as a 
>> contributor to spend all my spare time reading mailing lists.
>
> So while I still think there is a slight disconnect (like, members of
> the security team are less often involved in other teams) that results
> in the Security team being more likely to miss the very few process
> deadlines that apply to them, I'm not convinced it justifies removing
> the "official" status of the team and make it a workgroup.
>
> I privately received information that explains why the PTL was not on
> top of things during election weeks. With ~60 teams around there will
> always be one or two that miss and that we must check on. It /always/ is
> symptomatic of /some/ disconnect. But here I'm not sure it passes the
> bar of "non-alignment with the community" that would make the Security
> team unfit to be an official OpenStack team...
>
I agree, and in times like this, it's best to use common sense rather
than trying to have a rule to fit everything into. In this case, Rob
and the security team have put forth an explanation of what happened,
I fail to see how removing them after this does anything other than
foster bad will. I would vote to keep the security team around at this
point.

> --
> Thierry Carrez (ttx)
>
> __
> 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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Jeremy Stanley
On 2016-09-21 10:18:58 -0700 (-0700), Morgan Fainberg wrote:
[...]
> For what it is worth the VMT had some discussion about this and in the case
> the security team was/is dissolved/moved to a WG we will take some action
> and make some proposals to handle the situation so we have a nice place to
> continue within the community. One idea that was floated would be to become
> our own small (release team sized) team.

Well, just to be clear, if the current team providing a home to the
VMT became unofficial, I doubt the VMT itself would operate any
differently than today. It's a (necessarily) small group of people
with existing cross-project ties to other official teams in
OpenStack. The authority it has comes from involvement of its
members throughout the community the function they perform, not from
any sort of official mandate.

That said, I appreciate and applaud the efforts of the Security Team
and believe that the VMT's choice to align itself with them has
provided a beneficial relationship. The Security Team provides
valuable operations/deployment-specific insight into embargoed
issues where the VMT often struggles to appropriately gauge impact
severity and scope, they have been very helpfully documenting
reported shortcomings in OpenStack which require special care and
attention from downstream consumers, and they're working on ways to
evaluate OpenStack software to make it easier for the VMT to support
through both automated exploration and more conceptual risk
documentation.

> However, if security is continuing to exist, I am content to stay where we
> are (I cannot speak to the views of Fungi, Tristan, and Grant though).

Yes, I concur. When I saw that the Security Team lacked a PTL
nominee, I did not nominate myself primarily because I don't
regularly attend its weekly meetings nor participate in development
of any of its outputs beyond what intersects with VMT needs (though
also I'm not confident I could wear two PTL hats effectively, unlike
some superhumans in our community).
-- 
Jeremy Stanley


signature.asc
Description: Digital 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] [cinder][sahara] LVM vs BDD drivers performance tests results

2016-09-21 Thread Duncan Thomas
On 22 September 2016 at 00:23, John Griffith 
wrote:

>
> Yes, that is a sizeable chunk of the solution.  The remaining components
> are how to coordinate with Nova (compute nodes) and figuring out if we just
> use c-vol as is, or if we come up with some form of a paired down agent.
> Just using c-vol as a start might be the best way to go.
>
>
It seems logical that somebody try a large-ish deployment using the
existing cinder-volume service, and benchmark and load test, to see if the
least effort approach works.
__
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] [cinder][sahara] LVM vs BDD drivers performance tests results

2016-09-21 Thread John Griffith
On Wed, Sep 21, 2016 at 12:57 AM, Michał Dulko 
wrote:

> On 09/20/2016 05:48 PM, John Griffith wrote:
> > On Tue, Sep 20, 2016 at 9:06 AM, Duncan Thomas
> > > wrote:
> >
> > On 20 September 2016 at 16:24, Nikita Konovalov
> > > wrote:
> >
> > Hi,
> >
> > From Sahara (and Hadoop workload in general) use-case the
> > reason we used BDD was a complete absence of any overhead on
> > compute resources utilization.
> >
> > The results show that the LVM+Local target perform pretty
> > close to BDD in synthetic tests. It's a good sign for LVM. It
> > actually shows that most of the storage virtualization
> > overhead is not caused by LVM partitions and drivers
> > themselves but rather by the iSCSI daemons.
> >
> > So I would still like to have the ability to attach partitions
> > locally bypassing the iSCSI to guarantee 2 things:
> > * Make sure that lio processes do not compete for CPU and RAM
> > with VMs running on the same host.
> > * Make sure that CPU intensive VMs (or whatever else is
> > running nearby) are not blocking the storage.
> >
> >
> > So these are, unless we see the effects via benchmarks, completely
> > meaningless requirements. Ivan's initial benchmarks suggest
> > that LVM+LIO is pretty much close enough to BDD even with iSCSI
> > involved. If you're aware of a case where it isn't, the first
> > thing to do is to provide proof via a reproducible benchmark.
> > Otherwise we are likely to proceed, as John suggests, with the
> > assumption that local target does not provide much benefit.
> >
> > I've a few benchmarks myself that I suspect will find areas where
> > getting rid of iSCSI is benefit, however if you have any then you
> > really need to step up and provide the evidence. Relying on vague
> > claims of overhead is now proven to not be a good idea.
> >
> > 
> __
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> > openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> >  unsubscribe>
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> > 
> >
> > ​Honestly we can have both, I'll work up a bp to resurrect the idea of
> > a "smart" scheduling feature that lets you request the volume be on
> > the same node as the compute node and use it directly, and then if
> > it's NOT it will attach a target and use it that way (in other words
> > you run a stripped down c-vol service on each compute node).
>
> Don't we have at least scheduling problem solved [1] already?
>
> [1]
> https://github.com/openstack/cinder/blob/master/cinder/
> scheduler/filters/instance_locality_filter.py


Yes, that is a sizeable chunk of the solution.  The remaining components
are how to coordinate with Nova (compute nodes) and figuring out if we just
use c-vol as is, or if we come up with some form of a paired down agent.
Just using c-vol as a start might be the best way to go.
​


>
>
> >
> > Sahara keeps insisting on being a snow-flake with Cinder volumes and
> > the block driver, it's really not necessary.  I think we can
> > compromise just a little both ways, give you standard Cinder semantics
> > for volumes, but allow you direct acccess to them if/when requested,
> > but have those be flexible enough that targets *can* be attached so
> > they meet all of the required functionality and API implementations.
> > This also means that we don't have to continue having a *special*
> > driver in Cinder that frankly only works for one specific use case and
> > deployment.
> >
> > I've pointed to this a number of times but it never seems to
> > resonate... but I never learn so I'll try it once again [1].  Note
> > that was before the name "brick" was hijacked and now means something
> > completely different.
> >
> > [1]: https://wiki.openstack.org/wiki/CinderBrick
> >
> > 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 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.db] [release] opportunistic tests breaking randomly

2016-09-21 Thread Zane Bitter

On 21/09/16 11:41, Joshua Harlow wrote:

tl;dr this appears to have been around forever (at least since we
switched to using a pure-Python MySQL client) and is almost certainly
completely unrelated to any particular release of oslo.db.


Update: Mike was kind enough to run this one to ground and it looks like 
we could get a fix in sqlalchemy 1.1.0:


https://bitbucket.org/zzzeek/sqlalchemy/issues/3803/dbapi-connections-go-invalid-on


I've seen something similar at https://review.openstack.org/#/c/316935/


__
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] [puppet] proposal: start gating on puppet4

2016-09-21 Thread Emilien Macchi
So this is happening:
https://review.openstack.org/#/c/374395/

Any feedback in the review is welcome!

On Thu, Aug 11, 2016 at 3:24 PM, Emilien Macchi  wrote:
> On Tue, Aug 9, 2016 at 1:39 PM, Emilien Macchi  wrote:
>> Hi,
>>
>> Today Puppet OpenStack CI is running unit and functional test jobs
>> against puppet 3 and puppet 4.
>> Unit jobs for puppet 4 are currently voting and pretty stable.
>> Functional jobs for puppet 4 are not voting but also stable.
>>
>> Even if Puppet4 has not been largely adopted by our community [1] yet,
>> I would like to encourage our users to upgrade the version of Puppet.
>> Fedora ships it by default [2] and for Ubuntu, it's also the default
>> since yakkety [3].
>>
>> [1] 
>> https://docs.google.com/spreadsheets/d/1iIQ6YmpdOVctS2-wCV6SGPP1NSj8nKD9nv_xtZH9loY/edit?usp=sharing
>> [2] http://koji.fedoraproject.org/koji/packageinfo?packageID=3529
>> [3] http://packages.ubuntu.com/yakkety/puppet
>>
>> So here's my proposal, feel free to bring any feedback:
>> - For stable/mitaka CI and stable/liberty nothing will change.
>> - For current master (future stable/newton in a few months), transform
>> non-voting puppet4 jobs into voting and add them to the gate. Also
>> keep puppet3 unit tests jobs, as voting.
>
> I have noticed this change ^ is going to consume a lot more CI jobs
> and I'm not sure we want it.
>
>> - After Newton release (during Ocata cycle), change master CI to only
>> gate functional jobs on puppet4 (and remove puppet3 jobs for
>> puppet-openstack-integration); but keep puppet3 unit tests jobs, as
>> voting.
>> - During Ocata cycle, implement a periodic job that will nightly check
>> we can deploy with Puppet3. The periodic job is something our
>> community interested by Puppet 3 will have to monitor and report any
>> new failure so we can address it.
>
> That's something we could even do now if nobody is against, to save CI
> resources.
> So we would have puppet4 jobs voting from newton and beyond, but
> puppet3 jobs only in periodic pipeline...
>
> Moving forward is a good thing but we need to continue to test puppet3
> for newton, otherwise the message is too rigid for our users imho.
>
> I'll try to find a middleground between what we want without consuming
> too much resources.
>
>> That way, we tell our users:
>> - don't worry if you deploy Liberty, Mitaka, Newton, we will
>> officially support Puppet 3.
>> - if you plan to deploy Puppet 4, we'll officially support you
>> starting from Newton.
>> - if you plan to deploy Ocata with Puppet 3, we won't support you
>> anymore since our functional testing jobs will be gone. Though we'll
>> make our best to be backward compatible thanks to our unit  and
>> periodic functional testing jobs.
>>
>> Regarding packaging:
>> - on Ubuntu, we'll continue rely on what provides Puppetlabs because
>> Xenial doesn't provide Puppet4.
>> - on CentOS7, we are working on getting Puppet 4 packaged in RDO and
>> our CI will certainly use it.
>>
>> Any feedback is welcome,
>> --
>> Emilien Macchi
>
>
>
> --
> Emilien Macchi



-- 
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] [tripleo] [puppet] Preparing TripleO agenda for Barcelona - action needed

2016-09-21 Thread Emilien Macchi
On Wed, Sep 21, 2016 at 6:49 AM, Giulio Fidente  wrote:
> On 09/19/2016 10:49 PM, Emilien Macchi wrote:
>>
>> (adding puppet tag for cross project session).
>>
>> Let's continue to prepare TripleO sessions.
>>
>> https://etherpad.openstack.org/p/ocata-tripleo
>>
>> For reminder, we have 2 fishbowls and 4 working rooms.
>> I looked at the topic proposals and I started to organize some sessions.
>>
>> Some actions from you are required:
>> - review the session proposal
>> - if you want to drive a session, please put your name in "Chair".
>> - for each session we need to choose if we want it to be a work room
>> or a fishbowl session.
>> - 4 topics are still there, please propose a session (concatenate them
>> if possible)
>> - if you missed this etherpad until now, feel free to propose a
>> session with your topic (ex: TripleO UI - roadmap, etc).
>>
>> At least but not least, I would propose a cross project session with
>> Puppet OpenStack group (using a slot from their schedule) so we might
>> have a 7th session.
>
>
> the cross project session with the puppet group is a nice idea indeed,
> thanks Emilien
>
> in that context it would be nice to gather some ideas/feedback on the status
> of openstack integration scenarios vs tripleo scenarios and see if we can
> optimize resources and/or coverage

Technically speaking, I'm not sure this is possible, tripleo-ci versus
puppet-openstack-integration repos are really 2 different things. But
I'm very open to discussion, so i'll let you propose a session and
eventually drive it.

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] [tripleo] [puppet] Preparing TripleO agenda for Barcelona - action needed

2016-09-21 Thread Emilien Macchi
On Wed, Sep 21, 2016 at 5:13 PM, Cody Herriges  wrote:
>
> On September 21, 2016 at 03:49:58, Giulio Fidente (gfide...@redhat.com)
> wrote:
>>
>> On 09/19/2016 10:49 PM, Emilien Macchi wrote:
>>
>> (adding puppet tag for cross project session).
>>
>> Let's continue to prepare TripleO sessions.
>>
>> https://etherpad.openstack.org/p/ocata-tripleo
>>
>> For reminder, we have 2 fishbowls and 4 working rooms.
>> I looked at the topic proposals and I started to organize some sessions.
>>
>> Some actions from you are required:
>> - review the session proposal
>> - if you want to drive a session, please put your name in "Chair".
>> - for each session we need to choose if we want it to be a work room
>> or a fishbowl session.
>> - 4 topics are still there, please propose a session (concatenate them
>> if possible)
>> - if you missed this etherpad until now, feel free to propose a
>> session with your topic (ex: TripleO UI - roadmap, etc).
>>
>> At least but not least, I would propose a cross project session with
>> Puppet OpenStack group (using a slot from their schedule) so we might
>> have a 7th session.
>>
>>
>> the cross project session with the puppet group is a nice idea indeed,
>> thanks Emilien
>>
>> in that context it would be nice to gather some ideas/feedback on the
>> status of openstack integration scenarios vs tripleo scenarios and see
>> if we can optimize resources and/or coverage
>>
>
> I'd had asked Emilien to include a fishbowl as part of the sessions
> requested for Puppet OpenStack but all the topics I was going to propose
> have fallen through so we can probably use that session to do a Triple-O
> crossover.

where are these topics written?


-- 
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] [stackalytics] [deb] [packaging] OpenStack contribution stats skewed by deb-* projects

2016-09-21 Thread Jeremy Stanley
On 2016-09-21 22:04:46 +0200 (+0200), Thierry Carrez wrote:
> Thomas Goirand wrote:
> > I don't understand why Stackalytics has it wrong, when the electorate
> > script for the PTL election is correct. Here's the script for getting
> > commits:
> > https://github.com/openstack-infra/system-config/blob/master/tools/owners.py
> 
> AFAIK that is because Stackalytics works from git history, while the
> infra script works from Gerrit changes (which are more reliable).

Where "reliable" in this case means that a Gerrit change number
(numeric index ID) refers to one specific commit in one repository.
If that same commit SHA appears in the history of another repository
(because it's a fork or something) then it won't have its own Gerrit
change number and so won't show up a second time.
-- 
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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Davanum Srinivas
Jakub,

Please see below.

On Wed, Sep 21, 2016 at 3:46 PM, Jakub Pavlik  wrote:
> Hello all,
>
> it took us 2 years of hard working to get these official. OpenStack-Salt is
> now used by around 40 production deployments and it is focused very on
> operation and popularity is growing. You are removing the project week after
> one of top contributor announced that they will use that as part of
> solution. We made a mistakes, however I do not think that is reason to
> remove us. I do no think that quality of the project is measured like this.
> Our PTL got ill and did not do properly his job for last 3 weeks, but this
> can happen anybody.
>
>  It is up to you. If you think that we are useless for community, then
> remove us and we will have to continue outside of this community. However
> growing successful use cases will not be under official openstack community,
> which makes my feeling bad.

Data points so far are:
1. No response during Barcelona planning for rooms
2. Lack of candidates for PTL election
3. No activity in the releases/ repository hence no entries in
https://releases.openstack.org/
4. Meetings are not so regular?
http://eavesdrop.openstack.org/meetings/openstack_salt/2016/ (supposed
to be weekly)
5. Is the specs repo really active?
http://git.openstack.org/cgit/openstack/openstack-salt-specs/ is the
work being done elsewhere?
6. Is there an effort to add stuff to the CI jobs running on openstack
infrastructure? (can't seem to find much
http://codesearch.openstack.org/?q=salt=nope=zuul%2Flayout.yaml=project-config)

I'll stop here and switch to #openstack-salt channel to help work you
all through if there is a consensus/willingness from the
openstack-salt team that there's significant work to be done. If you
think you are better off not on the governance, that would be your
call as well.

Thanks,
Dims

> Thanks,
>
> Jakub
>
>
> On 21.9.2016 21:03, Doug Hellmann wrote:
>>
>> Excerpts from Filip Pytloun's message of 2016-09-21 20:36:42 +0200:
>>>
>>> On 2016/09/21 13:23, Doug Hellmann wrote:

 The idea of splitting the contributor list comes up pretty regularly
 and we rehash the same suggestions each time.  Given that what we
 have now worked fine for 57 of the 59 offical teams (the Astara
 team knew in advance it would not have a PTL running, and Piet had
 some sort of technical issue submitting his candidacy for the UX
 team), I'm not yet convinced that we need to make large-scale changes
 to our community communication standard practices in support of the
 2 remaining teams.

 That's not to say that the system we have now is perfect, but we
 can't realistically support multiple systems at the same time.  We
 need everyone to use the same system, otherwise we have (even more)
 fragmented communication. So, we either need everyone to agree to
 some new system and then have people step forward to implement it,
 or we need to all agree to do our best to use the system we have
 in place now.
>>>
>>> I think it may work as is (with proper mail filters), but as someone
>>> already
>>> mentioned in this thread it would be better to have someone more
>>> experienced
>>> in Openstack community projects as a core team member or PTL to catch all
>>> these things otherwise it may happen that inexperienced PTL/team just
>>> miss
>>> something like now.
>>
>> If the team needs help, please ask for it. We should be able to find
>> someone to do a little mentoring and provide some guidance.
>>
>>> Still I don't think it's such a big issue to just fire project from Big
>>> Tent -
>>> who will benefit from that? Again someone already mentioned what will it
>>> mean
>>> for such team (loss of potencial developers, etc.).
>>> Moreover for teams who are actively working on project as it seems that
>>> both
>>> OpenStackSalt and Security teams do.
>>
>> Signing up to be a part of the big tent is not free. Membership comes
>> with expectations and obligations. Failing to meet those may be an
>> indication that the team isn't ready, or that membership is not a good
>> fit.
>>
>>> And I thought that real work on a project is our primary goal.. this
>>> situation
>>> is like loosing job when I left dirty coffee cup at my workspace.
>>
>> I hope you consider team leadership and community participation to
>> be more important than your analogy implies.
>>
>> Doug
>>
 Did your release liaison follow the instructions to make that happen?
 http://git.openstack.org/cgit/openstack/releases/tree/README.rst
>>>
>>> That seems to be the reason. There was new release planned with support
>>> for
>>> containerized deployment which would follow that guide (as first releases
>>> were
>>> done during/shortly after openstack-salt move to Big Tent).
>>> As mentioned above - more experienced PTL would be helpful here and we
>>> are
>>> currently talking with people who could fit that position.
>>>
>> I see no emails tagged with 

Re: [openstack-dev] [oslo.db] [release] opportunistic tests breaking randomly

2016-09-21 Thread Henry Gessau
Sean Dague  wrote:
> On 09/15/2016 09:20 AM, Roman Podoliaka wrote:
>> Sean,
>>
>> So currently we have a default timeout of 160s in Nova. And
>> specifically for migration tests we set a scaling factor of 2. Let's
>> maybe give 2.5 or 3 a try ( https://review.openstack.org/#/c/370805/ )
>> and make a couple of "rechecks" to see if it helps or not.
> 
> Given the fail rate, lets just go safe and double it to 4. If it's
> really a timeout issue that should move the bell curve to mostly cover
> it. Timeouts are really just supposed to be a backstop to ensure the
> tests don't deadlock forever.
> 
> The incidence rate is at that odd race rate that we'll probably have to
> merge and just see if it goes away.

Neutron also started seeing timeouts in DB migration tests today.
We're going to try a similar timeout scaling factor for these tests.


__
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][nova] Anyone interested in writing a policy generator sphinx extension?

2016-09-21 Thread Andrew Laski


On Wed, Sep 21, 2016, at 04:18 PM, Joshua Harlow wrote:
> Andrew Laski wrote:
> >
> > On Wed, Sep 21, 2016, at 03:18 PM, Joshua Harlow wrote:
> >> Andrew Laski wrote:
> >>> On Wed, Sep 21, 2016, at 12:02 PM, Joshua Harlow wrote:
>  Andrew Laski wrote:
> > However, I have asked twice now on the review what the benefit of doing
> > this is and haven't received a response so I'll ask here. The proposal
> > would add additional latency to nearly every API operation in a service
> > and in return what do they get? Now that it's possible to register sane
> > policy defaults within a project most operators do not even need to
> > think about policy for projects that do that. And any policy changes
> > that are necessary are easily handled by a config management system.
> >
> > I would expect to see a pretty significant benefit in exchange for
> > moving policy control out of Nova, and so far it's not clear to me what
> > that would be.
>  One way to do this is to setup something like etc.d or zookeeper and
>  have policy files be placed into certain 'keys' in there by keystone,
>  then consuming projects would 'watch' those keys for being changed (and
>  get notified when they are changed); the project would then reload its
>  policy when the other service (keystone) write a new key/policy.
> 
>  https://coreos.com/etcd/docs/latest/api.html#waiting-for-a-change
> 
>  or
>  https://zookeeper.apache.org/doc/r3.4.5/zookeeperProgrammers.html#ch_zkWatches
> 
>  or (pretty sure consul has something similar),
> 
>  This is pretty standard stuff folks :-/ and it's how afaik things like
>  https://github.com/skynetservices/skydns work (and more), and it would
>  avoid that 'additional latency' (unless the other service is adjusting
>  the policy key every millisecond, which seems sorta unreasonable).
> >>> Sure. Or have Keystone be a frontend for ansible/puppet/chef/ What's
> >>> not clear to me in any of this is what's the benefit to having Keystone
> >>> as a fronted to policy configuration/changes, or be involved in any real
> >>> way with authorization decisions? What issue is being solved by getting
> >>> Keystone involved?
> >>>
> >> I don't understand the puppet/chef connection, can u clarify.
> >>
> >> If I'm interpreting it right, I would assume it's the same reason that
> >> something like 'skydns' exists over etcd; to provide a useful API that
> >> focuses on the dns particulars that etcd will of course not have any
> >> idea about. So I guess the keystone API could(?)/would(?) then focus on
> >> policy particulars as its value-add.
> >>
> >> Maybe now I understand what u mean by puppet/chef, in that you are
> >> asking why isn't skydns (for example) just letting/invoking
> >> puppet/chef/ansible to distribute/send-out dns (dnsmasq) files? Is that
> >> your equivalent question?
> >
> > I'm focused on Nova/Keystone/OpenStack here, I'm sure skydns has good
> > reasons for their technical choices and I'm in no place to question
> > them.
> >
> > I'm trying to understand the value-add that Keystone could provide here.
> > Policy configuration is fairly static so I'm not understanding the
> > desire to put an API on top of it. But perhaps I'm missing the use case
> > here which is why I've been asking.
> >
> > My ansible/puppet/chef comparison was just that those are ways to
> > distribute static files and would work just as well as something built
> > on top of etcd/zookeeper. I'm not really concerned about how it's
> > implemented though. I'm just trying to understand if the desire is to
> > have Keystone handle this so that deployers don't need to work with
> > their configuration management system to configure policy files, or is
> > there something more here?
> >
> >
> 
> Gotcha, thanks for explaining.
> 
> I'll let others comment, but my semi-useful/semi-baked thoughts around 
> this are as a user I would want to:
> 
> #1 Can I query keystone (or perhaps I should ask nova) to show me what 
> (all the) APIs in nova I'm allowed to call (without actually having to 
> perform those same calls to figure it out); ie, tell me how my known 
> role/user/tenant in  maps to the policy stored (somewhere in 
> some project) so I can make smart decisions around which APIs I can be 
> calling.

So we are actually looking at implementing this in Nova, and Cinder is
looking at something similar. However a key difference is that what you
as a user are allowed to do is dependent on more than just policy. So
"capabilities" (what we're calling it in Nova) will return what you're
allowed to do based on policy, hypervisor versions, flavor used, etc...

A challenge with doing this in Keystone is that there's no way for
Keystone to map the policies to the API calls in Nova. Frankly we don't
have a way to do that in Nova either :) But we do have a tool for
exposing the list of policies that you will pass

Re: [openstack-dev] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Davanum Srinivas
Please see below.

On Wed, Sep 21, 2016 at 4:35 PM, Thierry Carrez  wrote:
> Chivers, Doug wrote:
>> My concern is with the original wording “The suggested way forward there 
>> would be to remove the "Security project team"”.
>>
>> This seems like a move to instantly reduce investment in OpenStack security, 
>> because the majority of members of the Security Project are corporately 
>> funded, which will be significantly impacted by the removal of the security 
>> project. I have no knowledge over the difference between a working group and 
>> a project, like everyone else on the project we are simply here to 
>> contribute to OpenStack security, drive innovation in security, deliver 
>> documentation like OSSNs, etc, rather than get involved in the politics of 
>> OpenStack.
>>
>> In response to the various questions of why no-one from our project noticed 
>> that we didn’t have a nomination for the PTL, we assumed that was taken care 
>> of. Realistically maybe two or three people on the security project have the 
>> availability to be PTL, one being our current PTL, for all the rest of us 
>> its simply not a concern until we need to vote.
>>
>> On a personal note, reading –dev is unfortunately a lower priority than 
>> designing architectures, responding to customers and sales teams, closing 
>> tickets, writing decks and on the afternoon or so I can spend each week, 
>> working on my upstream projects (this week it was: 
>> https://review.openstack.org/#/c/357978/5 - thanks to the Barbican team for 
>> all their work). Possibly this is wrong, but I didn’t sign up as a 
>> contributor to spend all my spare time reading mailing lists.
>
> So while I still think there is a slight disconnect (like, members of
> the security team are less often involved in other teams) that results
> in the Security team being more likely to miss the very few process
> deadlines that apply to them, I'm not convinced it justifies removing
> the "official" status of the team and make it a workgroup.
>
> I privately received information that explains why the PTL was not on
> top of things during election weeks. With ~60 teams around there will
> always be one or two that miss and that we must check on. It /always/ is
> symptomatic of /some/ disconnect. But here I'm not sure it passes the
> bar of "non-alignment with the community" that would make the Security
> team unfit to be an official OpenStack team...

I agree with your assessment Thierry and will support keeping the
Security Team as an official OpenStack Team.

> --
> Thierry Carrez (ttx)
>
> __
> 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



-- 
Davanum Srinivas :: https://twitter.com/dims

__
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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Charles Neill
Hello all,

We have our weekly OSSP IRC meeting tomorrow at 1700UTC (1200 Central) in
#openstack-meeting-alt. This thread has raised some important issues, and
we will devote a significant portion of our meeting to discussing them. My
IRC handle is "ccneill" on freenode if you'd like to get in touch with me
there. We are very interested in better integrating with the greater
OpenStack community, and are open to suggestions as to how we might
achieve that going forward.

Cheers,
Charles Neill



On 9/21/16, 15:35, "Thierry Carrez"  wrote:

>Chivers, Doug wrote:
>> My concern is with the original wording “The suggested way forward
>>there would be to remove the "Security project team"”.
>> 
>> This seems like a move to instantly reduce investment in OpenStack
>>security, because the majority of members of the Security Project are
>>corporately funded, which will be significantly impacted by the removal
>>of the security project. I have no knowledge over the difference between
>>a working group and a project, like everyone else on the project we are
>>simply here to contribute to OpenStack security, drive innovation in
>>security, deliver documentation like OSSNs, etc, rather than get
>>involved in the politics of OpenStack.
>> 
>> In response to the various questions of why no-one from our project
>>noticed that we didn’t have a nomination for the PTL, we assumed that
>>was taken care of. Realistically maybe two or three people on the
>>security project have the availability to be PTL, one being our current
>>PTL, for all the rest of us its simply not a concern until we need to
>>vote.
>> 
>> On a personal note, reading –dev is unfortunately a lower priority than
>>designing architectures, responding to customers and sales teams,
>>closing tickets, writing decks and on the afternoon or so I can spend
>>each week, working on my upstream projects (this week it was:
>>https://review.openstack.org/#/c/357978/5 - thanks to the Barbican team
>>for all their work). Possibly this is wrong, but I didn’t sign up as a
>>contributor to spend all my spare time reading mailing lists.
>
>So while I still think there is a slight disconnect (like, members of
>the security team are less often involved in other teams) that results
>in the Security team being more likely to miss the very few process
>deadlines that apply to them, I'm not convinced it justifies removing
>the "official" status of the team and make it a workgroup.
>
>I privately received information that explains why the PTL was not on
>top of things during election weeks. With ~60 teams around there will
>always be one or two that miss and that we must check on. It /always/ is
>symptomatic of /some/ disconnect. But here I'm not sure it passes the
>bar of "non-alignment with the community" that would make the Security
>team unfit to be an official OpenStack team...
>
>-- 
>Thierry Carrez (ttx)
>
>__
>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] Useful tool for easier viewing of IRC logs online

2016-09-21 Thread Chris Dent

On Wed, 21 Sep 2016, Boden Russell wrote:


I've always wanted a tool that could alert me of "missed mentions" when
I'm offline IRC rather than having to manually parse the IRC logs for
those times I'm offline. However I'm guessing that falls outside the
scope of this tool or could be done with some other tool (I haven't
investigated yet)?


For channels that are configured to have purplerbot running, you can
get that with p!spy. See https://anticdent.org/purple-irc-bot.html

If you want the bot added to a channel let me know, or run your own;
the code is linked from the blog post.

--
Chris Dent   ┬─┬ノ( º _ ºノ)https://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] [Kolla] Ocata summit session poll

2016-09-21 Thread Michał Jastrzębski
Sure, I simply pasted what was in the etherpad. I didn't want to cut
anything out as some things might be seemingly closed but people in
fact would like to talk more about them. Let see how priorities will
look like after couple days:)

Also, please vote!

On 21 September 2016 at 12:54, Swapnil Kulkarni  wrote:
> On Wed, Sep 21, 2016 at 11:16 PM, Steven Dake (stdake)  
> wrote:
>> One note in this poll.  Repo-split has already reached a consensus decision 
>> via ml vote, and the activity around that will happen prior to summit, so it 
>> is probably worth ignoring entirely.
>>
>> Regards
>> -steve
>>
>>
>> On 9/21/16, 10:14 AM, "Michał Jastrzębski"  wrote:
>>
>> Hello,
>>
>> Now, when we have full list of sessions, let's prioritize them
>> accordingly to our preferences. Based on this we'll allocate our
>> summit space.
>>
>> 
>> http://civs.cs.cornell.edu/cgi-bin/vote.pl?id=E_8368e1e74f8a0049=91bbcf4baeff0a2f
>>
>> 
>> __
>> 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
>
>
> I agree. We already devoted a couple of sessions (or more) in Austin
> design summit and couple of polls on ML thread.
>
> __
> 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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Thierry Carrez
Chivers, Doug wrote:
> My concern is with the original wording “The suggested way forward there 
> would be to remove the "Security project team"”. 
> 
> This seems like a move to instantly reduce investment in OpenStack security, 
> because the majority of members of the Security Project are corporately 
> funded, which will be significantly impacted by the removal of the security 
> project. I have no knowledge over the difference between a working group and 
> a project, like everyone else on the project we are simply here to contribute 
> to OpenStack security, drive innovation in security, deliver documentation 
> like OSSNs, etc, rather than get involved in the politics of OpenStack.
> 
> In response to the various questions of why no-one from our project noticed 
> that we didn’t have a nomination for the PTL, we assumed that was taken care 
> of. Realistically maybe two or three people on the security project have the 
> availability to be PTL, one being our current PTL, for all the rest of us its 
> simply not a concern until we need to vote.
> 
> On a personal note, reading –dev is unfortunately a lower priority than 
> designing architectures, responding to customers and sales teams, closing 
> tickets, writing decks and on the afternoon or so I can spend each week, 
> working on my upstream projects (this week it was: 
> https://review.openstack.org/#/c/357978/5 - thanks to the Barbican team for 
> all their work). Possibly this is wrong, but I didn’t sign up as a 
> contributor to spend all my spare time reading mailing lists.

So while I still think there is a slight disconnect (like, members of
the security team are less often involved in other teams) that results
in the Security team being more likely to miss the very few process
deadlines that apply to them, I'm not convinced it justifies removing
the "official" status of the team and make it a workgroup.

I privately received information that explains why the PTL was not on
top of things during election weeks. With ~60 teams around there will
always be one or two that miss and that we must check on. It /always/ is
symptomatic of /some/ disconnect. But here I'm not sure it passes the
bar of "non-alignment with the community" that would make the Security
team unfit to be an official OpenStack team...

-- 
Thierry Carrez (ttx)

__
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] [Congress] error updating from nova

2016-09-21 Thread Eric K
Hi all,

I ran into this issue when Congress or Horizon attempts to get information
from Nova. Same thing happened on multiple devstack attempts. But I want to
make sure it's not something specific to my environment. Could someone try
to reproduce it? Thanks!
Nova client version: 6.0.0
Here¹s a bug report I filed for horizon and nova:
https://bugs.launchpad.net/nova/+bug/1626216
Here¹s the error trace I get in congress-datasources.log:
2016-09-21 13:14:25.478 ERROR congress.datasources.datasource_driver [-]
Datasource driver raised exception
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
Traceback (most recent call last):
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver   File
"/opt/stack/congress/congress/datasources/datasource_driver.py", line 1384,
in poll
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
self.update_from_datasource()  # sets self.state
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver   File
"/opt/stack/congress/congress/datasources/datasource_driver.py", line 1371,
in update_from_datasource
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
self.update_methods[registered_table]()
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver   File
"/opt/stack/congress/congress/datasources/nova_driver.py", line 207, in

2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
self.nova_client.flavors.list())
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver   File
"/usr/local/lib/python2.7/dist-packages/novaclient/v2/flavors.py", line 132,
in list
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
return self._list("/flavors%s%s" % (detail, query_string), "flavors")
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver   File
"/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 249, in
_list
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
resp, body = self.api.client.get(url)
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver   File
"/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 187,
in get
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
return self.request(url, 'GET', **kwargs)
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver   File
"/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 107, in
request
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
**kwargs)
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver   File
"/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 344,
in request
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver   File
"/usr/local/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 112,
in request
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
return self.session.request(url, method, **kwargs)
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver   File
"/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 101,
in inner
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
return wrapped(*args, **kwargs)
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver   File
"/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 555,
in request
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
resp = send(**kwargs)
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver   File
"/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 599,
in _send_request
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
raise exceptions.ConnectFailure(msg)
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
ConnectFailure: Unable to establish connection to
http://192.168.218.145:8774/v2.1/flavors/detail
2016-09-21 13:14:25.478 TRACE congress.datasources.datasource_driver
2016-09-21 13:14:25.503 INFO congress.datasources.datasource_driver [-]
nova:: finished polling



__
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] [ptl] code churn and questionable changes

2016-09-21 Thread Matt Riedemann

On 9/21/2016 6:56 AM, Amrith Kumar wrote:

Of late I've been seeing a lot of rather questionable changes that
appear to be getting blasted out across multiple projects; changes that
cause considerable code churn, and don't (IMHO) materially improve the
quality of OpenStack.

I’d love to provide a list of the changes that triggered this email but
I know that this will result in a rat hole where we end up discussing
the merits of the individual items on the list and lose sight of the
bigger picture. That won’t help address the question I have below in any
way, so I’m at a disadvantage of having to describe my issue in abstract
terms.



Here’s how I characterize these changes (changes that meet one or more
of these criteria):



-Contains little of no information in the commit message (often just
a single line)

-Makes some generic statement like “Do X not Y”, “Don’t use Z”,
“Make ABC better” with no further supporting information

-Fail (literally) every single CI job, clearly never tested by the
developer

-Gets blasted across many projects, literally tens with often the
same kind of questionable (often wrong) change

-Makes a stylistic python improvement that is not enforced by any
check (causes a cottage industry of changes making the same correction
every couple of months)

-Reverses some previous python stylistic improvement with no clear
reason (another cottage industry)



I’ve tried to explain it to myself as enthusiasm, and a desire to
contribute aggressively; I’ve lapsed into cynicism at times and tried to
explain it as gaming the numbers system, but all that is merely
rationalization and doesn’t help.



Over time, the result generally is that these developers’ changes get
ignored. And that’s not a good thing for the community as a whole. We
want to be a welcoming community and one which values all contributions
so I’m looking for some suggestions and guidance on how one can work
with contributors to try and improve the quality of these changes, and
help the contributor feel that their changes are valued by the project?
Other more experienced PTL’s, ex-PTL’s, long time open-source-community
folks, I’m seriously looking for suggestions and ideas.



Any and all input is welcome, do other projects see this, how do you
handle it, is this normal, …



Thanks!



-amrith











__
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



Nova has a 'how to get involved' wiki, which might be linked from the 
developer docs somewhere:


https://wiki.openstack.org/wiki/Nova/Mentoring#How_to_Get_Involved

Basically has some high level how to get involved info for nova and some 
of the low hanging fruit efforts going on, like python 3 support, 
mox->mock conversion, unit test cleanup, config option cleanup, api-ref 
docs cleanup, etc.


Obviously this doesn't work if no one sees it or reads it, or 
understands it.


I'm not sure how to prevent someone from blasting the same low-value 
code churn change across a dozen projects before asking any of those 
teams if it's a good idea to begin with. I think that's what Tom Cruise 
was supposed to be for in Minority Report...


--

Thanks,

Matt Riedemann


__
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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Thierry Carrez
Jakub Pavlik wrote:
> it took us 2 years of hard working to get these official. OpenStack-Salt
> is now used by around 40 production deployments and it is focused very
> on operation and popularity is growing. You are removing the project
> week after one of top contributor announced that they will use that as
> part of solution. We made a mistakes, however I do not think that is
> reason to remove us. I do no think that quality of the project is
> measured like this. Our PTL got ill and did not do properly his job for
> last 3 weeks, but this can happen anybody.
> 
>  It is up to you. If you think that we are useless for community, then
> remove us and we will have to continue outside of this community.
> However growing successful use cases will not be under official
> openstack community, which makes my feeling bad.

Note that being in the Big tent as an official project (vs. just being
under te openstack/* namespace as an unofficial ecosystem project) is
not a judgment of value (or usefulness) on the project. It is a judgment
in community alignment. Are you a project produced by the OpenStack
Community ? Are you aligned with the OpenStack mission, do you follow
our principles and processes ?

Missing the Ptl election is a sign of non-alignment with the rest of the
OpenStack community. So is missing the numerous emails I sent over the
last months to ask about Design Summit space. The question now is, are
those signs enough to justify removal the "official" stamp from the team
or not.

I tend to lean towards leniency, but I'm just one vote.

-- 
Thierry Carrez (ttx)

__
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]

2016-09-21 Thread Inessa Vasilevskaya
Hello,

I'd like to turn attention to the broken port rule masking problem [1],
which affects 2 projects so far:
neutron (mitaka+ with ovs firewall driver configuration) and
networking-ovs-dpdk [2].

To keep it short: the existing port masking implementation is broken and in
several cases it will either leave a range of ports open (causing
unrestricted access) or make some ports inaccessible (when they should be
open) because of bad tp_src value being generated.

2 solutions have been proposed so far:
* The "low-level one" with O(log n) complexity by IWAMOTO Toshihiro and me
[2]
* The "high-level one" with O(n^2) complexity by Jakub Libosvar [3]

As long as the bug looks like a security vulnerability and is kind of
critical for ovs firewall feature, maybe we should choose one algorithm to
go on with and have this fixed in Newton?

[1] https://bugs.launchpad.net/neutron/+bug/1611991
[2] https://review.openstack.org/#/c/353782/30
[3] https://review.openstack.org/#/c/353782/16

Best regards,
Inessa Vasilevskaya
__
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][nova] Anyone interested in writing a policy generator sphinx extension?

2016-09-21 Thread Joshua Harlow

Andrew Laski wrote:


On Wed, Sep 21, 2016, at 03:18 PM, Joshua Harlow wrote:

Andrew Laski wrote:

On Wed, Sep 21, 2016, at 12:02 PM, Joshua Harlow wrote:

Andrew Laski wrote:

However, I have asked twice now on the review what the benefit of doing
this is and haven't received a response so I'll ask here. The proposal
would add additional latency to nearly every API operation in a service
and in return what do they get? Now that it's possible to register sane
policy defaults within a project most operators do not even need to
think about policy for projects that do that. And any policy changes
that are necessary are easily handled by a config management system.

I would expect to see a pretty significant benefit in exchange for
moving policy control out of Nova, and so far it's not clear to me what
that would be.

One way to do this is to setup something like etc.d or zookeeper and
have policy files be placed into certain 'keys' in there by keystone,
then consuming projects would 'watch' those keys for being changed (and
get notified when they are changed); the project would then reload its
policy when the other service (keystone) write a new key/policy.

https://coreos.com/etcd/docs/latest/api.html#waiting-for-a-change

or
https://zookeeper.apache.org/doc/r3.4.5/zookeeperProgrammers.html#ch_zkWatches

or (pretty sure consul has something similar),

This is pretty standard stuff folks :-/ and it's how afaik things like
https://github.com/skynetservices/skydns work (and more), and it would
avoid that 'additional latency' (unless the other service is adjusting
the policy key every millisecond, which seems sorta unreasonable).

Sure. Or have Keystone be a frontend for ansible/puppet/chef/ What's
not clear to me in any of this is what's the benefit to having Keystone
as a fronted to policy configuration/changes, or be involved in any real
way with authorization decisions? What issue is being solved by getting
Keystone involved?


I don't understand the puppet/chef connection, can u clarify.

If I'm interpreting it right, I would assume it's the same reason that
something like 'skydns' exists over etcd; to provide a useful API that
focuses on the dns particulars that etcd will of course not have any
idea about. So I guess the keystone API could(?)/would(?) then focus on
policy particulars as its value-add.

Maybe now I understand what u mean by puppet/chef, in that you are
asking why isn't skydns (for example) just letting/invoking
puppet/chef/ansible to distribute/send-out dns (dnsmasq) files? Is that
your equivalent question?


I'm focused on Nova/Keystone/OpenStack here, I'm sure skydns has good
reasons for their technical choices and I'm in no place to question
them.

I'm trying to understand the value-add that Keystone could provide here.
Policy configuration is fairly static so I'm not understanding the
desire to put an API on top of it. But perhaps I'm missing the use case
here which is why I've been asking.

My ansible/puppet/chef comparison was just that those are ways to
distribute static files and would work just as well as something built
on top of etcd/zookeeper. I'm not really concerned about how it's
implemented though. I'm just trying to understand if the desire is to
have Keystone handle this so that deployers don't need to work with
their configuration management system to configure policy files, or is
there something more here?




Gotcha, thanks for explaining.

I'll let others comment, but my semi-useful/semi-baked thoughts around 
this are as a user I would want to:


#1 Can I query keystone (or perhaps I should ask nova) to show me what 
(all the) APIs in nova I'm allowed to call (without actually having to 
perform those same calls to figure it out); ie, tell me how my known 
role/user/tenant in  maps to the policy stored (somewhere in 
some project) so I can make smart decisions around which APIs I can be 
calling.


#2 Can I go to one place (the same place that has my roles and tenants 
and such?) and ensure that by changing roles or such that dependent 
systems that may have meanings for those roles are not adversely 
affected (or say makes a policy being used become invalid, ie similar to 
a error saying 'the change you have requested violates the rules defined 
in 'nova policy' and therefore is invalid and can't be applied').


The #1 kind of use-case of course would be really easy if keystone has 
the knowledge of each projects 'policy.json' (or equivalent data 
structure); and since keystone already has the role/user/tenant 
information it would be straightforward to solve #2 there as well 
(because keystone could reject a role change or tenancy change or user 
change or ... if it negatively/violates affects some projects policy).


Of course if u distribute the policy information then each project would 
have to implement #1 and there would need to be some 2 way mechanism to 
ensure #2 happens correctly (because if keystone just blindly does 
role/user/tenant changes it 

Re: [openstack-dev] [stackalytics] [deb] [packaging] OpenStack contribution stats skewed by deb-* projects

2016-09-21 Thread Thierry Carrez
Thomas Goirand wrote:
> I don't understand why Stackalytics has it wrong, when the electorate
> script for the PTL election is correct. Here's the script for getting
> commits:
> https://github.com/openstack-infra/system-config/blob/master/tools/owners.py

AFAIK that is because Stackalytics works from git history, while the
infra script works from Gerrit changes (which are more reliable).

-- 
Thierry Carrez (ttx)

__
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] [AODH] event-alarm timeout discussion

2016-09-21 Thread gordon chung


On 21/09/16 01:43 AM, Zhai, Edwin wrote:
> All,
>
> I'd like make some clarification for the event-alarm timeout design as
> many of you have some misunderstanding here. Pls. correct me if any
> mistakes.
>
> I realized that there are 2 different things, but we mix them sometime:
> 1. event-timeout-alarm
> This is one new type of alarm that bracket *.start and *.end events and
> get alarmed when receive *.start but no *.end in timeout. This new alarm
> handles one type of events/actions, e.g. create one alarm for instance
> creation, then all instances created in future will be handled by this
> alarm. This is not for real time, so it's acceptable that user know one
> instance creation failure in 5 mins.
>
> This new type of alarm can be implemented by one worker to check the DB
> periodically to do the statistic work. That is, new evaluator works in
> 'polling' mode, something like threshold alarm evaluator.
>
> One BP is @
> https://review.openstack.org/#/c/199005/

we should probably disregard this bp since it was assumed you guys 
talked over it. i'm abandoning it as i think we just forgot about it.

>
> 2. event-alarm timeout
> This is one new feature for _existed_ event-alarm evaluator. One alarm
> becomes 'UNALARM' when not receive desire event in timeout. This feature
> just handles one specific event, e.g create one alarm for instance ABC's
> XYZ operation with 5s, then user is notified in 5s immediately if no
> XYZ.done event comes. If want check for another instance, we need create
> another alarm.
>
> This is used in telco scenario, where operator want know if operation
> failure in real time.
>
> My patch(https://review.openstack.org/#/c/272028/) is for this purpose
> only, but I feel many guys mistaken them(sometimes even me) as they
> looks similar. So my question is: Do you think this telco usage model of
> event-alarm timeout is valid? If not, we can avoid discussing its
> implementation and ignore following.
>
>
> === event-alarm timeout implementation =
> As it's for event-alarm, we need keep it as event-driven. Furthermore,
> for quick response, we need use event for timeout handling. Periodic
> worker can't meet real time requirement.
>
> Separated queue for 'alarm.timeout.end'(indicates timeout expire) leads
> tricky race condition.  e.g.  'XYZ.done' comes in queue1, and
> 'alarm.timeout.end' comes in queue2, so that they are handled in
> parallel way:
>
> 1. In queue1, 'XYZ.done' is checking against alarm(current UNKNOWN), and
> will be set ALARM in next step.
> 2. In queue2, 'alarm.timeout.end' is checking against same alarm(current
> UNKNOWN), and will be set to OK(UNALARM) in next step.
> 3. In qeueu1, alarm transition happen: UNKNOWN => ALARM
> 4. In queue2, another alarm transition happen: ALARM =>OK(UNALARM)
>


can you clarify how this work? after user creates event timeout alarm 
definition through API (i assume the alarm definition specify we should 
see event x within y seconds).
- how does the evaluator get this alarm definition? is there an 
alarm.timeout.start message?
- what is this UNALARM state? to be honest, that isn't a real word so i 
don't know what it's suppose to represent here.

biggest problem for me is the only thing i know is there's a 
alarm.timeout.end event that needs to be handled by evaluator. i don't 
know where it's coming from or what it's needed for.


> So this alarm has bogus transition: UNKNOWN=>ALARM=>UNALARM, and tells
> the user: required event came, then no required event came;
>
> If put all events in one queue, evaluator handles them one by one(low
> level oslo mesg should be multi-threaded) so that second event would see
> alarm state as not UNKNOWN, and give up its transition.  As Gordc said,
> it's slow. But only very small part of the event-alarm need timeout
> handling, as it's only for telco usage model.

so the multithreaded part is what i was talking about. it's not handling 
them one by one. it's handling 64 (or whatever the default is) at any 
given time. whether its' one queue or two, you have a race to handle.

>
> One possible improvement as JD pointed out is to avoid so many spawned
> thread. We can just create one thread inside evaluator, and ask this
> thread handle all timeout requests from evaluator. Is it acceptable for
> event-alarm timeout solution?
>
>
> Best Rgds,
> Edwin

-- 
gord

__
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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Adam Lawson
Travis,

My answer would be -that- is the most ideal scenario. I care about
OpenStack and ensuring quality projects have adequate representation so I
checked to see which ones didn't have anyone defined for leadership and
picked one to step in and help, assuming no one was able to fill that role
for that specific cycle.

On Sep 21, 2016 12:06 PM, "Travis McPeak"  wrote:

> "So all this said, there are individuals interested in the PTL role to
> ensure project teams have someone handling the logistics and coordination.
> My issue however was that I was not yet eligible to be a candidate which
> I'll remedy moving forward.
>
> I'm still interested in serving as a PTL for a project that needs one. I
> personally believe that in the case of Security, there needs to be a
> dedicated team due to the nature and impact of security breaches that
> directly influence the perception of OpenStack as a viable cloud solution
> for enterprises looking (or re-looking) at it for the first time."
>
> @Adam we'd certainly appreciate your help staying on top of
>
> required activities, email, etc.  Surely a PTL should be
>
> somebody who has at least been involved in the project?
>
> --
> -Travis
>
> __
> 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] [oslo][nova] Anyone interested in writing a policy generator sphinx extension?

2016-09-21 Thread Andrew Laski


On Wed, Sep 21, 2016, at 03:18 PM, Joshua Harlow wrote:
> Andrew Laski wrote:
> >
> > On Wed, Sep 21, 2016, at 12:02 PM, Joshua Harlow wrote:
> >> Andrew Laski wrote:
> >>> However, I have asked twice now on the review what the benefit of doing
> >>> this is and haven't received a response so I'll ask here. The proposal
> >>> would add additional latency to nearly every API operation in a service
> >>> and in return what do they get? Now that it's possible to register sane
> >>> policy defaults within a project most operators do not even need to
> >>> think about policy for projects that do that. And any policy changes
> >>> that are necessary are easily handled by a config management system.
> >>>
> >>> I would expect to see a pretty significant benefit in exchange for
> >>> moving policy control out of Nova, and so far it's not clear to me what
> >>> that would be.
> >> One way to do this is to setup something like etc.d or zookeeper and
> >> have policy files be placed into certain 'keys' in there by keystone,
> >> then consuming projects would 'watch' those keys for being changed (and
> >> get notified when they are changed); the project would then reload its
> >> policy when the other service (keystone) write a new key/policy.
> >>
> >> https://coreos.com/etcd/docs/latest/api.html#waiting-for-a-change
> >>
> >> or
> >> https://zookeeper.apache.org/doc/r3.4.5/zookeeperProgrammers.html#ch_zkWatches
> >>
> >> or (pretty sure consul has something similar),
> >>
> >> This is pretty standard stuff folks :-/ and it's how afaik things like
> >> https://github.com/skynetservices/skydns work (and more), and it would
> >> avoid that 'additional latency' (unless the other service is adjusting
> >> the policy key every millisecond, which seems sorta unreasonable).
> >
> > Sure. Or have Keystone be a frontend for ansible/puppet/chef/ What's
> > not clear to me in any of this is what's the benefit to having Keystone
> > as a fronted to policy configuration/changes, or be involved in any real
> > way with authorization decisions? What issue is being solved by getting
> > Keystone involved?
> >
> 
> I don't understand the puppet/chef connection, can u clarify.
> 
> If I'm interpreting it right, I would assume it's the same reason that 
> something like 'skydns' exists over etcd; to provide a useful API that 
> focuses on the dns particulars that etcd will of course not have any 
> idea about. So I guess the keystone API could(?)/would(?) then focus on 
> policy particulars as its value-add.
> 
> Maybe now I understand what u mean by puppet/chef, in that you are 
> asking why isn't skydns (for example) just letting/invoking 
> puppet/chef/ansible to distribute/send-out dns (dnsmasq) files? Is that 
> your equivalent question?

I'm focused on Nova/Keystone/OpenStack here, I'm sure skydns has good
reasons for their technical choices and I'm in no place to question
them.

I'm trying to understand the value-add that Keystone could provide here.
Policy configuration is fairly static so I'm not understanding the
desire to put an API on top of it. But perhaps I'm missing the use case
here which is why I've been asking.

My ansible/puppet/chef comparison was just that those are ways to
distribute static files and would work just as well as something built
on top of etcd/zookeeper. I'm not really concerned about how it's
implemented though. I'm just trying to understand if the desire is to
have Keystone handle this so that deployers don't need to work with
their configuration management system to configure policy files, or is
there something more here?


> 
> -Josh
> 
> __
> 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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Jakub Pavlik

Hello all,

it took us 2 years of hard working to get these official. OpenStack-Salt 
is now used by around 40 production deployments and it is focused very 
on operation and popularity is growing. You are removing the project 
week after one of top contributor announced that they will use that as 
part of solution. We made a mistakes, however I do not think that is 
reason to remove us. I do no think that quality of the project is 
measured like this. Our PTL got ill and did not do properly his job for 
last 3 weeks, but this can happen anybody.


 It is up to you. If you think that we are useless for community, then 
remove us and we will have to continue outside of this community. 
However growing successful use cases will not be under official 
openstack community, which makes my feeling bad.


Thanks,

Jakub

On 21.9.2016 21:03, Doug Hellmann wrote:

Excerpts from Filip Pytloun's message of 2016-09-21 20:36:42 +0200:

On 2016/09/21 13:23, Doug Hellmann wrote:

The idea of splitting the contributor list comes up pretty regularly
and we rehash the same suggestions each time.  Given that what we
have now worked fine for 57 of the 59 offical teams (the Astara
team knew in advance it would not have a PTL running, and Piet had
some sort of technical issue submitting his candidacy for the UX
team), I'm not yet convinced that we need to make large-scale changes
to our community communication standard practices in support of the
2 remaining teams.

That's not to say that the system we have now is perfect, but we
can't realistically support multiple systems at the same time.  We
need everyone to use the same system, otherwise we have (even more)
fragmented communication. So, we either need everyone to agree to
some new system and then have people step forward to implement it,
or we need to all agree to do our best to use the system we have
in place now.

I think it may work as is (with proper mail filters), but as someone already
mentioned in this thread it would be better to have someone more experienced
in Openstack community projects as a core team member or PTL to catch all
these things otherwise it may happen that inexperienced PTL/team just miss
something like now.

If the team needs help, please ask for it. We should be able to find
someone to do a little mentoring and provide some guidance.


Still I don't think it's such a big issue to just fire project from Big Tent -
who will benefit from that? Again someone already mentioned what will it mean
for such team (loss of potencial developers, etc.).
Moreover for teams who are actively working on project as it seems that both
OpenStackSalt and Security teams do.

Signing up to be a part of the big tent is not free. Membership comes
with expectations and obligations. Failing to meet those may be an
indication that the team isn't ready, or that membership is not a good
fit.


And I thought that real work on a project is our primary goal.. this situation
is like loosing job when I left dirty coffee cup at my workspace.

I hope you consider team leadership and community participation to
be more important than your analogy implies.

Doug


Did your release liaison follow the instructions to make that happen?
http://git.openstack.org/cgit/openstack/releases/tree/README.rst

That seems to be the reason. There was new release planned with support for
containerized deployment which would follow that guide (as first releases were
done during/shortly after openstack-salt move to Big Tent).
As mentioned above - more experienced PTL would be helpful here and we are
currently talking with people who could fit that position.


I see no emails tagged with [salt] on the mailing list since March of this 
year, aside from this thread. Are you using a different communication channel 
for team coordination? You mention IRC, but how are new contributors expected 
to find you?

Yes, we are using openstack-salt channel and openstack meetings over
IRC. This channel is mentioned eg. in readme here [1] and community
meetings page [2] which are on weekly basis (logs [3]).

We also had a couple of people comming to team IRC talking to us about project
so I believe they can find the way to contact us even without our heavy
activity at openstack-dev (which should be better as I admitted).

That works great for folks in your timezones. It's less useful for
anyone who isn't around at the same time as you, which is one reason
our community emphasizes using email communications. Email gives
you asynchronous discussions for timezone coverage, allows folks
who are traveling or off work for a period to catch up on and
participate in discussions later, etc.


[1] https://github.com/openstack/openstack-salt
[2] https://wiki.openstack.org/wiki/Meetings/openstack-salt
[3] http://eavesdrop.openstack.org/meetings/openstack_salt/2016/


Of course I don't want to excuse our fault. In case it's not too late,
we will try to be more active in mailing lists like openstack-dev and
not miss such important 

Re: [openstack-dev] [all] Useful tool for easier viewing of IRC logs online

2016-09-21 Thread Bashmakov, Alexander
That's a good idea, I was just thinking along the same lines today. It's 
definitely out of the scope of my tool, though. Some targeted filtering could 
be implemented, but it would still be in "offline" mode. If you want it live, 
then perhaps some IRC clients offer that functionality or maybe there is a ZNC 
module for that.

> -Original Message-
> From: Boden Russell [mailto:boden...@gmail.com]
> Sent: Wednesday, September 21, 2016 11:22 AM
> To: openstack-dev@lists.openstack.org
> Subject: Re: [openstack-dev] [all] Useful tool for easier viewing of IRC logs
> online
> 
> 
> > Source code is here: https://github.com/abashmak/chrome-irc-filter
> >
> > Comments, suggestions are welcome.
> 
> Nice thanks!
> 
> I've always wanted a tool that could alert me of "missed mentions" when I'm
> offline IRC rather than having to manually parse the IRC logs for those times
> I'm offline. However I'm guessing that falls outside the scope of this tool or
> could be done with some other tool (I haven't investigated yet)?
> 
> __
> 
> 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] [oslo][nova] Anyone interested in writing a policy generator sphinx extension?

2016-09-21 Thread Joshua Harlow

Andrew Laski wrote:


On Wed, Sep 21, 2016, at 12:02 PM, Joshua Harlow wrote:

Andrew Laski wrote:

However, I have asked twice now on the review what the benefit of doing
this is and haven't received a response so I'll ask here. The proposal
would add additional latency to nearly every API operation in a service
and in return what do they get? Now that it's possible to register sane
policy defaults within a project most operators do not even need to
think about policy for projects that do that. And any policy changes
that are necessary are easily handled by a config management system.

I would expect to see a pretty significant benefit in exchange for
moving policy control out of Nova, and so far it's not clear to me what
that would be.

One way to do this is to setup something like etc.d or zookeeper and
have policy files be placed into certain 'keys' in there by keystone,
then consuming projects would 'watch' those keys for being changed (and
get notified when they are changed); the project would then reload its
policy when the other service (keystone) write a new key/policy.

https://coreos.com/etcd/docs/latest/api.html#waiting-for-a-change

or
https://zookeeper.apache.org/doc/r3.4.5/zookeeperProgrammers.html#ch_zkWatches

or (pretty sure consul has something similar),

This is pretty standard stuff folks :-/ and it's how afaik things like
https://github.com/skynetservices/skydns work (and more), and it would
avoid that 'additional latency' (unless the other service is adjusting
the policy key every millisecond, which seems sorta unreasonable).


Sure. Or have Keystone be a frontend for ansible/puppet/chef/ What's
not clear to me in any of this is what's the benefit to having Keystone
as a fronted to policy configuration/changes, or be involved in any real
way with authorization decisions? What issue is being solved by getting
Keystone involved?



I don't understand the puppet/chef connection, can u clarify.

If I'm interpreting it right, I would assume it's the same reason that 
something like 'skydns' exists over etcd; to provide a useful API that 
focuses on the dns particulars that etcd will of course not have any 
idea about. So I guess the keystone API could(?)/would(?) then focus on 
policy particulars as its value-add.


Maybe now I understand what u mean by puppet/chef, in that you are 
asking why isn't skydns (for example) just letting/invoking 
puppet/chef/ansible to distribute/send-out dns (dnsmasq) files? Is that 
your equivalent question?


-Josh

__
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][stable/liberty] Backport impasse: "virt: set address space & CPU time limits when running qemu-img"

2016-09-21 Thread Jeremy Stanley
On 2016-09-21 14:05:51 -0400 (-0400), Sean Dague wrote:
[...]
> Well, the risk profile of what has to be changed for stable/liberty
> (given that all the actual code is buried in libraries which have tons
> of other changes). Special cherry-picked library versions would be
> needed to fix this without openning up a ton of risk for breaking
> stable/liberty badly.
> 
> That is the bit of work that no one seems to really have picked up.

Makes sense. It's also possible in that case that it's not a sign of
stable/liberty being unmaintainable, but rather implies that the
vulnerability as fixed in stable/mitaka falls below the effective
severity threshold to warrant a security advisory.

Put another way, I'd like to find some reasonable means to explain
the lack of a fix in a "supported" stable branch. If the VMT and
stable branch maintainers need accept the possibility that something
can be treated as a vulnerability by the OpenStack community but
only fixed in some supported branches, that introduces a lot of
additional uncertainty for downstream consumers of our advisory
process and the associated patches tracked by it.
-- 
Jeremy Stanley


signature.asc
Description: Digital 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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Doug Hellmann
Excerpts from Filip Pytloun's message of 2016-09-21 20:36:42 +0200:
> On 2016/09/21 13:23, Doug Hellmann wrote:
> > The idea of splitting the contributor list comes up pretty regularly
> > and we rehash the same suggestions each time.  Given that what we
> > have now worked fine for 57 of the 59 offical teams (the Astara
> > team knew in advance it would not have a PTL running, and Piet had
> > some sort of technical issue submitting his candidacy for the UX
> > team), I'm not yet convinced that we need to make large-scale changes
> > to our community communication standard practices in support of the
> > 2 remaining teams.
> > 
> > That's not to say that the system we have now is perfect, but we
> > can't realistically support multiple systems at the same time.  We
> > need everyone to use the same system, otherwise we have (even more)
> > fragmented communication. So, we either need everyone to agree to
> > some new system and then have people step forward to implement it,
> > or we need to all agree to do our best to use the system we have
> > in place now.
> 
> I think it may work as is (with proper mail filters), but as someone already
> mentioned in this thread it would be better to have someone more experienced
> in Openstack community projects as a core team member or PTL to catch all
> these things otherwise it may happen that inexperienced PTL/team just miss
> something like now.

If the team needs help, please ask for it. We should be able to find
someone to do a little mentoring and provide some guidance.

> Still I don't think it's such a big issue to just fire project from Big Tent -
> who will benefit from that? Again someone already mentioned what will it mean
> for such team (loss of potencial developers, etc.).
> Moreover for teams who are actively working on project as it seems that both
> OpenStackSalt and Security teams do.

Signing up to be a part of the big tent is not free. Membership comes
with expectations and obligations. Failing to meet those may be an
indication that the team isn't ready, or that membership is not a good
fit.

> And I thought that real work on a project is our primary goal.. this situation
> is like loosing job when I left dirty coffee cup at my workspace.

I hope you consider team leadership and community participation to
be more important than your analogy implies.

Doug

> 
> > Did your release liaison follow the instructions to make that happen?
> > http://git.openstack.org/cgit/openstack/releases/tree/README.rst
> 
> That seems to be the reason. There was new release planned with support for
> containerized deployment which would follow that guide (as first releases were
> done during/shortly after openstack-salt move to Big Tent).
> As mentioned above - more experienced PTL would be helpful here and we are
> currently talking with people who could fit that position.
> 
> > 
> > > 
> > > > I see no emails tagged with [salt] on the mailing list since March of 
> > > > this year, aside from this thread. Are you using a different 
> > > > communication channel for team coordination? You mention IRC, but how 
> > > > are new contributors expected to find you?
> > > 
> > > Yes, we are using openstack-salt channel and openstack meetings over
> > > IRC. This channel is mentioned eg. in readme here [1] and community
> > > meetings page [2] which are on weekly basis (logs [3]).
> > > 
> > > We also had a couple of people comming to team IRC talking to us about 
> > > project
> > > so I believe they can find the way to contact us even without our heavy
> > > activity at openstack-dev (which should be better as I admitted).
> > 
> > That works great for folks in your timezones. It's less useful for
> > anyone who isn't around at the same time as you, which is one reason
> > our community emphasizes using email communications. Email gives
> > you asynchronous discussions for timezone coverage, allows folks
> > who are traveling or off work for a period to catch up on and
> > participate in discussions later, etc.
> > 
> > > 
> > > [1] https://github.com/openstack/openstack-salt
> > > [2] https://wiki.openstack.org/wiki/Meetings/openstack-salt
> > > [3] http://eavesdrop.openstack.org/meetings/openstack_salt/2016/
> > > 
> > > > > 
> > > > > Of course I don't want to excuse our fault. In case it's not too late,
> > > > > we will try to be more active in mailing lists like openstack-dev and
> > > > > not miss such important events next time.
> > > > > 
> > > > > [1] http://stackalytics.com/?module=openstacksalt-group
> > > > > 
> > > > > -Filip
> > > > > 
> > > > > On Wed, Sep 21, 2016 at 12:23 PM, Thierry Carrez 
> > > > > 
> > > > > wrote:
> > > > > 
> > > > >> Hi everyone,
> > > > >> 
> > > > >> As announced previously[1][2], there were no PTL candidates within 
> > > > >> the
> > > > >> election deadline for a number of official OpenStack project teams:
> > > > >> Astara, UX, OpenStackSalt and Security.
> > > > >> 
> > > > >> In the Astara 

Re: [openstack-dev] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Travis McPeak
"So all this said, there are individuals interested in the PTL role to
ensure project teams have someone handling the logistics and coordination.
My issue however was that I was not yet eligible to be a candidate which
I'll remedy moving forward.

I'm still interested in serving as a PTL for a project that needs one. I
personally believe that in the case of Security, there needs to be a
dedicated team due to the nature and impact of security breaches that
directly influence the perception of OpenStack as a viable cloud solution
for enterprises looking (or re-looking) at it for the first time."

@Adam we'd certainly appreciate your help staying on top of

required activities, email, etc.  Surely a PTL should be

somebody who has at least been involved in the project?

-- 
-Travis
__
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] [UX] Results Presentation: Managing OpenStack Quotas within Production Environments

2016-09-21 Thread Barrett, Carol L
Danielle – I think this is good, but if you are not getting the level of 
participation you want…or commitment to follow-on actions, I would suggest you 
adopt a “go to them” strategy.

Thanks
Carol

From: Danielle Mundle [mailto:danielle.m.mun...@gmail.com]
Sent: Wednesday, September 21, 2016 7:42 AM
To: openstack-dev@lists.openstack.org
Subject: [openstack-dev] [UX] Results Presentation: Managing OpenStack Quotas 
within Production Environments

The OpenStack UX team will be giving a results presentation from a series of 
interviews intended to understand how operators manage quotas at scale as well 
as the pain points associated with that process.  The study was conducted by 
Danielle (IRC: uxdanielle) and included operators from CERN, Pacific Northwest 
National Laboratory, Workday, Intel and Universidade Federal de Campina Grande.

The presentation begins in ~20 minutes. WebEx information to join the session 
can be found at the top of the UX wiki page: 
https://wiki.openstack.org/wiki/UX#Results_Presentation:_Managing_OpenStack_Quotas_within_Production_Environments

Thanks for supporting UX research in the community!
--Danielle

__
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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Doug Hellmann
t provide much benefit. 
> > >
> > > I've a few benchmarks myself that I suspect will find areas where
> > > getting rid of iSCSI is benefit, however if you have any then you
> > > really need to step up and provide the evidence. Relying on vague
> > > claims of overhead is now proven to not be a good idea. 
> > >
> > > 
> > 
> __
> > > OpenStack Development Mailing List (not for usage questions)
> > > Unsubscribe:
> > > openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> > > <
> > http://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe>
> > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> > > 
> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>
> > >
> > > ?Honestly we can have both, I'll work up a bp to resurrect the idea of
> > > a "smart" scheduling feature that lets you request the volume be on
> > > the same node as the compute node and use it directly, and then if
> > > it's NOT it will attach a target and use it that way (in other words
> > > you run a stripped down c-vol service on each compute node).
> > 
> > Don't we have at least scheduling problem solved [1] already?
> > 
> > [1]
> > 
> https://github.com/openstack/cinder/blob/master/cinder/scheduler/filters/instance_locality_filter.py
> > 
> > >
> > > Sahara keeps insisting on being a snow-flake with Cinder volumes and
> > > the block driver, it's really not necessary.  I think we can
> > > compromise just a little both ways, give you standard Cinder semantics
> > > for volumes, but allow you direct acccess to them if/when requested,
> > > but have those be flexible enough that targets *can* be attached so
> > > they meet all of the required functionality and API implementations. 
> > > This also means that we don't have to continue having a *special*
> > > driver in Cinder that frankly only works for one specific use case and
> > > deployment.
> > >
> > > I've pointed to this a number of times but it never seems to
> > > resonate... but I never learn so I'll try it once again [1].  Note
> > > that was before the name "brick" was hijacked and now means something
> > > completely different.
> > >
> > > [1]: https://wiki.openstack.org/wiki/CinderBrick
> > >
> > > Thanks,
> > > John?
> > 
> > 
> > 
>     > 
> > --
> > 
> > Message: 2
> > Date: Wed, 21 Sep 2016 16:05:08 +0800
> > From: jun zhong <jun.zhongj...@gmail.com>
> > To: openstack-dev <openstack-dev@lists.openstack.org>
> > Subject: [openstack-dev]  [manila] Enable IPv6 in Manila Ocata
> > Message-ID:
> >  <caaz2tn-hrs_3d0hvavvvu2ephs4cch1pko88fx1egguh8h9...@mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> > 
> > Hi,
> > 
> > As agreed by the manila community in IRC meeting,
> > we try to enable IPv6 in Ocata. Please check the brief spec[1] and 
> > code[2]).
> > 
> > The areas affected most are API (access rules) and in the drivers 
> (access
> > rules
> > & export locations). This change intends to add the IPv6 format 
> validation
> > for
> > ip access rule type in allow_access API, allowing manila to support IPv6
> > ACL.
> > 
> > Hi all of the driver maintainers, could you test the IPv6 feature 
> code[2]
> > to make sure whether your driver can completely support IPv6.
> > If there still have something else might not be IPv6-ready, please let 
> me
> > known. Thanks
> > [1] https://review.openstack.org/#/c/362786/
> > [2] https://review.openstack.org/#/c/312321/
> > 
> > 
> > Thanks,
> > Jun
> > -- next part --
> > An HTML attachment was scrubbed...
> > URL: <
> > 
> http://lists.openstack.org/pipermail/openstack-dev/attachments/20160921/880e28e8/attachment-0001.html
> > >
> > 
> > --
> > 
> > Message: 

Re: [openstack-dev] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Dave Walker
On 21 September 2016 at 19:20, Chivers, Doug  wrote:

> My concern is with the original wording “The suggested way forward there
> would be to remove the "Security project team"”.
>
> This seems like a move to instantly reduce investment in OpenStack
> security, because the majority of members of the Security Project are
> corporately funded, which will be significantly impacted by the removal of
> the security project. I have no knowledge over the difference between a
> working group and a project, like everyone else on the project we are
> simply here to contribute to OpenStack security, drive innovation in
> security, deliver documentation like OSSNs, etc, rather than get involved
> in the politics of OpenStack.
>
> In response to the various questions of why no-one from our project
> noticed that we didn’t have a nomination for the PTL, we assumed that was
> taken care of. Realistically maybe two or three people on the security
> project have the availability to be PTL, one being our current PTL, for all
> the rest of us its simply not a concern until we need to vote.
>
> On a personal note, reading –dev is unfortunately a lower priority than
> designing architectures, responding to customers and sales teams, closing
> tickets, writing decks and on the afternoon or so I can spend each week,
> working on my upstream projects (this week it was:
> https://review.openstack.org/#/c/357978/5 - thanks to the Barbican team
> for all their work). Possibly this is wrong, but I didn’t sign up as a
> contributor to spend all my spare time reading mailing lists.
>
>


Honestly, I can only echo this.  I've been around the OSSP(G) since 2013,
but only really been active in the last 18 months or so.  It's been pretty
clear that when Security moved from a Group to a Project, investment
towards security grew dramatically.

The meetings are well run with real objectives achieved with members
focused on constant outreach to other projects.  For reference, the email
that started this thread was picked up and discussed by some members of the
OSSP within *minutes* of it being sent... and those people were pretty
outraged.

I'm sure it wasn't intended, but the original email could be read as quite
insulting.. "That points to a real disconnect between those teams and the
rest of the community".  I think this is an unfair statement based on
minimal observation of a point of order.

The OSSP spends a significant amount of its time on outreach, which is the
whole underlying principle of the project.  This can be seen with efforts
such as bandit gate coverage, Threat Analysis and OSSN's.

Further, reducing the summit timetable for Security and "have Security be
just a workgroup".. really sends the wrong message about Security being a
first class citizen in OpenStack.

OSSP ticks all the 4 opens, and stating that "The leadership is chosen by
the contributors to the project".. it is convention that a nomination email
is sent to -dev, but that shouldn't be assumed that the contributors have
not considered their leader.

I think people working on the OSSP assumed it would be Rob again, and were
happy with this.  It isn't because of lack of community engagement or
interest IMO.

So.. other than someone failing to nominate for PTL in the time-frame, what
else justifies the statement of "points[ing] to a real disconnect between
those teams and the rest of the community".. or shows that OSSG no longer
meets the 4 opens?

--
Kind Regards,
Dave Walker
__
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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Filip Pytloun
On 2016/09/21 13:23, Doug Hellmann wrote:
> The idea of splitting the contributor list comes up pretty regularly
> and we rehash the same suggestions each time.  Given that what we
> have now worked fine for 57 of the 59 offical teams (the Astara
> team knew in advance it would not have a PTL running, and Piet had
> some sort of technical issue submitting his candidacy for the UX
> team), I'm not yet convinced that we need to make large-scale changes
> to our community communication standard practices in support of the
> 2 remaining teams.
> 
> That's not to say that the system we have now is perfect, but we
> can't realistically support multiple systems at the same time.  We
> need everyone to use the same system, otherwise we have (even more)
> fragmented communication. So, we either need everyone to agree to
> some new system and then have people step forward to implement it,
> or we need to all agree to do our best to use the system we have
> in place now.

I think it may work as is (with proper mail filters), but as someone already
mentioned in this thread it would be better to have someone more experienced
in Openstack community projects as a core team member or PTL to catch all
these things otherwise it may happen that inexperienced PTL/team just miss
something like now.

Still I don't think it's such a big issue to just fire project from Big Tent -
who will benefit from that? Again someone already mentioned what will it mean
for such team (loss of potencial developers, etc.).
Moreover for teams who are actively working on project as it seems that both
OpenStackSalt and Security teams do.

And I thought that real work on a project is our primary goal.. this situation
is like loosing job when I left dirty coffee cup at my workspace.

> Did your release liaison follow the instructions to make that happen?
> http://git.openstack.org/cgit/openstack/releases/tree/README.rst

That seems to be the reason. There was new release planned with support for
containerized deployment which would follow that guide (as first releases were
done during/shortly after openstack-salt move to Big Tent).
As mentioned above - more experienced PTL would be helpful here and we are
currently talking with people who could fit that position.

> 
> > 
> > > I see no emails tagged with [salt] on the mailing list since March of 
> > > this year, aside from this thread. Are you using a different 
> > > communication channel for team coordination? You mention IRC, but how are 
> > > new contributors expected to find you?
> > 
> > Yes, we are using openstack-salt channel and openstack meetings over
> > IRC. This channel is mentioned eg. in readme here [1] and community
> > meetings page [2] which are on weekly basis (logs [3]).
> > 
> > We also had a couple of people comming to team IRC talking to us about 
> > project
> > so I believe they can find the way to contact us even without our heavy
> > activity at openstack-dev (which should be better as I admitted).
> 
> That works great for folks in your timezones. It's less useful for
> anyone who isn't around at the same time as you, which is one reason
> our community emphasizes using email communications. Email gives
> you asynchronous discussions for timezone coverage, allows folks
> who are traveling or off work for a period to catch up on and
> participate in discussions later, etc.
> 
> > 
> > [1] https://github.com/openstack/openstack-salt
> > [2] https://wiki.openstack.org/wiki/Meetings/openstack-salt
> > [3] http://eavesdrop.openstack.org/meetings/openstack_salt/2016/
> > 
> > > > 
> > > > Of course I don't want to excuse our fault. In case it's not too late,
> > > > we will try to be more active in mailing lists like openstack-dev and
> > > > not miss such important events next time.
> > > > 
> > > > [1] http://stackalytics.com/?module=openstacksalt-group
> > > > 
> > > > -Filip
> > > > 
> > > > On Wed, Sep 21, 2016 at 12:23 PM, Thierry Carrez 
> > > > wrote:
> > > > 
> > > >> Hi everyone,
> > > >> 
> > > >> As announced previously[1][2], there were no PTL candidates within the
> > > >> election deadline for a number of official OpenStack project teams:
> > > >> Astara, UX, OpenStackSalt and Security.
> > > >> 
> > > >> In the Astara case, the current team working on it would like to 
> > > >> abandon
> > > >> the project (and let it be available for any new team who wishes to 
> > > >> take
> > > >> it away). A change should be proposed really soon now to go in that
> > > >> direction.
> > > >> 
> > > >> In the UX case, the current PTL (Piet Kruithof) very quickly reacted,
> > > >> explained his error and asked to be considered for the position for
> > > >> Ocata. The TC will officialize his nomination at the next meeting,
> > > >> together with the newly elected PTLs.
> > > >> 
> > > >> That leaves us with OpenStackSalt and Security, where nobody reacted to
> > > >> the announcement that we are missing PTL candidates. That points to a
> > > >> real 

Re: [openstack-dev] [osc][keystone] User Project List

2016-09-21 Thread Steve Martinelli
On Wed, Sep 21, 2016 at 1:04 PM, Dolph Mathews 
wrote:

>
> I should also express a +1 for something along the lines of your original
> proposal. I'd go so far as to suggest that `openstack show user` (without a
> user ID or name as an argument) should return "me" (the authenticated
> user), as I think that'd be a better user experience.
>

That should be fixed in openstackclient 3.0.0 --
https://github.com/openstack/python-openstackclient/commit/337d013c94378a4b3f0e8f90e4f5bd745448658f
__
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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Chivers, Doug
> the block driver, it's really not necessary.  I think we can
> > compromise just a little both ways, give you standard Cinder semantics
> > for volumes, but allow you direct acccess to them if/when requested,
> > but have those be flexible enough that targets *can* be attached so
> > they meet all of the required functionality and API implementations. 
> > This also means that we don't have to continue having a *special*
> > driver in Cinder that frankly only works for one specific use case and
> > deployment.
> >
> > I've pointed to this a number of times but it never seems to
> > resonate... but I never learn so I'll try it once again [1].  Note
> > that was before the name "brick" was hijacked and now means something
> > completely different.
> >
> > [1]: https://wiki.openstack.org/wiki/CinderBrick
> >
> > Thanks,
> > John?
> 
> 
> 
> 
> --
> 
> Message: 2
> Date: Wed, 21 Sep 2016 16:05:08 +0800
> From: jun zhong <jun.zhongj...@gmail.com>
> To: openstack-dev <openstack-dev@lists.openstack.org>
> Subject: [openstack-dev]  [manila] Enable IPv6 in Manila Ocata
> Message-ID:
>  <caaz2tn-hrs_3d0hvavvvu2ephs4cch1pko88fx1egguh8h9...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi,
> 
> As agreed by the manila community in IRC meeting,
> we try to enable IPv6 in Ocata. Please check the brief spec[1] and 
> code[2]).
> 
> The areas affected most are API (access rules) and in the drivers (access
> rules
> & export locations). This change intends to add the IPv6 format validation
> for
> ip access rule type in allow_access API, allowing manila to support IPv6
> ACL.
> 
> Hi all of the driver maintainers, could you test the IPv6 feature code[2]
> to make sure whether your driver can completely support IPv6.
> If there still have something else might not be IPv6-ready, please let me
> known. Thanks
> [1] https://review.openstack.org/#/c/362786/
> [2] https://review.openstack.org/#/c/312321/
> 
> 
> Thanks,
> Jun
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> 
http://lists.openstack.org/pipermail/openstack-dev/attachments/20160921/880e28e8/attachment-0001.html
> >
> 
> --
> 
> Message: 3
> Date: Wed, 21 Sep 2016 08:38:53 +
> From: "Afek, Ifat (Nokia - IL)" <ifat.a...@nokia.com>
> To: "OpenStack Development Mailing List (not for usage questions)"
>  <openstack-dev@lists.openstack.org>
> Subject: [openstack-dev] [vitrage] Barcelona design sessions
> Message-ID: <cad9e9dc-e55d-4bcc-bc8e-1cacdffa7...@alcatel-lucent.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi,
> 
> As discussed in our IRC meeting today, you are welcome to suggest topics 
> for vitrage design sessions in Barcelona:
> https://etherpad.openstack.org/p/vitrage-barcelona-design-sessions
> 
> Thanks,
> Ifat.
> 
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> 
http://lists.openstack.org/pipermail/openstack-dev/attachments/20160921/3b999def/attachment-0001.html
> >
> 
> --
> 
> Message: 4
> Date: Wed, 21 Sep 2016 09:53:06 +
> From: "Daly, Louise M" <louise.m.d...@intel.com>
> To: "openstack-dev@lists.openstack.org"
>  <openstack-dev@lists.openstack.org>
> Subject: [openstack-dev]  [Kuryr] Kuryr IPVlan Code PoC
> Message-ID:
>  <d2c06722ff4fe54c88729fc07a5dcd91b43...@irsmsx101.ger.corp.intel.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> Hi everyone,
> 
> As promised here is a link to the code PoC for the Kuryr-IPVlan proposal.
> https://github.com/lmdaly/kuryr-libnetwork
> 
> Link to specific commit
> 
https://github.com/lmdaly/kuryr-libnetwork/commit/1dc895a6d8bfaa03c0dd5cfb2d3e23e2e948a67c
> 
> >From here you can clone the repo and install Kuryr as you normally would 
> with a few additional steps:
> 
> 1. The IPVlan driver must be installed on the VM/Machine that the PoC 
will 
> be run on. Fedora-Server(not the cloud image) include

Re: [openstack-dev] [all] Useful tool for easier viewing of IRC logs online

2016-09-21 Thread Boden Russell

> Source code is here: https://github.com/abashmak/chrome-irc-filter
> 
> Comments, suggestions are welcome.

Nice thanks!

I've always wanted a tool that could alert me of "missed mentions" when
I'm offline IRC rather than having to manually parse the IRC logs for
those times I'm offline. However I'm guessing that falls outside the
scope of this tool or could be done with some other tool (I haven't
investigated yet)?

__
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][tc] etherpad for collecting goal info

2016-09-21 Thread Doug Hellmann
This week at the TC meeting someone (Anne?) pointed out that the
name of the etherpad with the list of community-wide goals wasn't
ideal ("ocata-tc-goals" includes the cycle name and the "tc" component
gives the impression that these are goals of the "TC" rather than
that the pad was used by the TC for notes about goals).

I've created a new etherpad at
https://etherpad.openstack.org/p/community-goals to replace the old one,
and copied the old content over.

The goals there are listed in the order that someone added them to
the original list, and the order should not be taken to imply any
sort of prioritization or preference.

At this point the set of goals for Ocata is closed, but the other items
may come up for discussion at the summit to be considered for Pike.

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] [nova][stable/liberty] Backport impasse: "virt: set address space & CPU time limits when running qemu-img"

2016-09-21 Thread Sean Dague
On 09/21/2016 02:03 PM, Jeremy Stanley wrote:
> On 2016-09-21 15:41:11 +1000 (+1000), Tony Breeds wrote:
>> On Tue, Sep 20, 2016 at 11:57:26AM +0100, Daniel P. Berrange wrote:
> [...]
>>>   (3) Do nothing, leave the bug unfixed in stable/liberty
>>>
>>> While this is a security bug, it is one that has existed in every single
>>> openstack release ever, and it is not a particularly severe bug. Even if
>>> we fixed in liberty, it would still remain unfixed in every release before
>>> liberty. We're in the verge of releasing Newton at which point liberty
>>> becomes less relevant. So I question whether it is worth spending more
>>> effort on dealing with this in liberty upstream.  Downstream vendors
>>> still have the option to do either (1) or (2) in their own private
>>> branches if they so desire, regardless of whether we fix it upstream.
>>
>> I think 3 is the least worst option.
> [...]
> 
> At least from my perspective with my VMT hat on, declaring that we
> have a security vulnerability severe enough to fix in stable/mitaka
> but unfixable in stable/liberty calls into question whether the
> latter is actually maintainable by our general definition as a
> project or is ready for EOL.

Well, the risk profile of what has to be changed for stable/liberty
(given that all the actual code is buried in libraries which have tons
of other changes). Special cherry-picked library versions would be
needed to fix this without openning up a ton of risk for breaking
stable/liberty badly.

That is the bit of work that no one seems to really have picked up.

-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


Re: [openstack-dev] [nova][stable/liberty] Backport impasse: "virt: set address space & CPU time limits when running qemu-img"

2016-09-21 Thread Jeremy Stanley
On 2016-09-21 15:41:11 +1000 (+1000), Tony Breeds wrote:
> On Tue, Sep 20, 2016 at 11:57:26AM +0100, Daniel P. Berrange wrote:
[...]
> >   (3) Do nothing, leave the bug unfixed in stable/liberty
> > 
> > While this is a security bug, it is one that has existed in every single
> > openstack release ever, and it is not a particularly severe bug. Even if
> > we fixed in liberty, it would still remain unfixed in every release before
> > liberty. We're in the verge of releasing Newton at which point liberty
> > becomes less relevant. So I question whether it is worth spending more
> > effort on dealing with this in liberty upstream.  Downstream vendors
> > still have the option to do either (1) or (2) in their own private
> > branches if they so desire, regardless of whether we fix it upstream.
> 
> I think 3 is the least worst option.
[...]

At least from my perspective with my VMT hat on, declaring that we
have a security vulnerability severe enough to fix in stable/mitaka
but unfixable in stable/liberty calls into question whether the
latter is actually maintainable by our general definition as a
project or is ready for EOL.
-- 
Jeremy Stanley


signature.asc
Description: Digital 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] [Kolla] Ocata summit session poll

2016-09-21 Thread Swapnil Kulkarni
On Wed, Sep 21, 2016 at 11:16 PM, Steven Dake (stdake)  wrote:
> One note in this poll.  Repo-split has already reached a consensus decision 
> via ml vote, and the activity around that will happen prior to summit, so it 
> is probably worth ignoring entirely.
>
> Regards
> -steve
>
>
> On 9/21/16, 10:14 AM, "Michał Jastrzębski"  wrote:
>
> Hello,
>
> Now, when we have full list of sessions, let's prioritize them
> accordingly to our preferences. Based on this we'll allocate our
> summit space.
>
> 
> http://civs.cs.cornell.edu/cgi-bin/vote.pl?id=E_8368e1e74f8a0049=91bbcf4baeff0a2f
>
> __
> 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


I agree. We already devoted a couple of sessions (or more) in Austin
design summit and couple of polls on ML thread.

__
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] Ocata summit session poll

2016-09-21 Thread Steven Dake (stdake)
One note in this poll.  Repo-split has already reached a consensus decision via 
ml vote, and the activity around that will happen prior to summit, so it is 
probably worth ignoring entirely.

Regards
-steve


On 9/21/16, 10:14 AM, "Michał Jastrzębski"  wrote:

Hello,

Now, when we have full list of sessions, let's prioritize them
accordingly to our preferences. Based on this we'll allocate our
summit space.


http://civs.cs.cornell.edu/cgi-bin/vote.pl?id=E_8368e1e74f8a0049=91bbcf4baeff0a2f

__
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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Doug Hellmann
Excerpts from Filip Pytloun's message of 2016-09-21 17:43:46 +0200:
> Hello,
> 
> > With 59 separate teams, even emailing the PTLs directly is becoming 
> > impractical. I can’t imagine trying to email all of the core members 
> > directly.
> > 
> > A separate mailing list just for “important announcements” would need 
> > someone to decide what is “important”. It would also need everyone to be 
> > subscribed, or we would have to cross-post to the existing list. That’s why 
> > we use topic tags on the mailing list, so that it is possible to filter 
> > messages based on what is important to the reader, rather than the sender.
> 
> So maybe call it openstack-organization or openstack-teams or something
> to focus on organizational topics.
> Using tags and filters is also a way but may not be suitable for
> everyone.

The idea of splitting the contributor list comes up pretty regularly
and we rehash the same suggestions each time.  Given that what we
have now worked fine for 57 of the 59 offical teams (the Astara
team knew in advance it would not have a PTL running, and Piet had
some sort of technical issue submitting his candidacy for the UX
team), I'm not yet convinced that we need to make large-scale changes
to our community communication standard practices in support of the
2 remaining teams.

That's not to say that the system we have now is perfect, but we
can't realistically support multiple systems at the same time.  We
need everyone to use the same system, otherwise we have (even more)
fragmented communication. So, we either need everyone to agree to
some new system and then have people step forward to implement it,
or we need to all agree to do our best to use the system we have
in place now.

> 
> > I don’t see any releases listed on 
> > https://releases.openstack.org/independent.html either. Are you tagging 
> > releases, yet?
> 
> Yes, we've done a few releases, see eg. openstack/salt-formula-nova
> releases here: https://github.com/openstack/salt-formula-nova/releases
> 
> I don't know why it's not listed on releases.openstack.org page.

Did your release liaison follow the instructions to make that happen?
http://git.openstack.org/cgit/openstack/releases/tree/README.rst

> 
> > I see no emails tagged with [salt] on the mailing list since March of this 
> > year, aside from this thread. Are you using a different communication 
> > channel for team coordination? You mention IRC, but how are new 
> > contributors expected to find you?
> 
> Yes, we are using openstack-salt channel and openstack meetings over
> IRC. This channel is mentioned eg. in readme here [1] and community
> meetings page [2] which are on weekly basis (logs [3]).
> 
> We also had a couple of people comming to team IRC talking to us about project
> so I believe they can find the way to contact us even without our heavy
> activity at openstack-dev (which should be better as I admitted).

That works great for folks in your timezones. It's less useful for
anyone who isn't around at the same time as you, which is one reason
our community emphasizes using email communications. Email gives
you asynchronous discussions for timezone coverage, allows folks
who are traveling or off work for a period to catch up on and
participate in discussions later, etc.

> 
> [1] https://github.com/openstack/openstack-salt
> [2] https://wiki.openstack.org/wiki/Meetings/openstack-salt
> [3] http://eavesdrop.openstack.org/meetings/openstack_salt/2016/
> 
> > > 
> > > Of course I don't want to excuse our fault. In case it's not too late,
> > > we will try to be more active in mailing lists like openstack-dev and
> > > not miss such important events next time.
> > > 
> > > [1] http://stackalytics.com/?module=openstacksalt-group
> > > 
> > > -Filip
> > > 
> > > On Wed, Sep 21, 2016 at 12:23 PM, Thierry Carrez 
> > > wrote:
> > > 
> > >> Hi everyone,
> > >> 
> > >> As announced previously[1][2], there were no PTL candidates within the
> > >> election deadline for a number of official OpenStack project teams:
> > >> Astara, UX, OpenStackSalt and Security.
> > >> 
> > >> In the Astara case, the current team working on it would like to abandon
> > >> the project (and let it be available for any new team who wishes to take
> > >> it away). A change should be proposed really soon now to go in that
> > >> direction.
> > >> 
> > >> In the UX case, the current PTL (Piet Kruithof) very quickly reacted,
> > >> explained his error and asked to be considered for the position for
> > >> Ocata. The TC will officialize his nomination at the next meeting,
> > >> together with the newly elected PTLs.
> > >> 
> > >> That leaves us with OpenStackSalt and Security, where nobody reacted to
> > >> the announcement that we are missing PTL candidates. That points to a
> > >> real disconnect between those teams and the rest of the community. Even
> > >> if you didn't have the election schedule in mind, it was pretty hard to
> > >> miss all the PTL 

Re: [openstack-dev] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Morgan Fainberg
On Sep 21, 2016 09:37, "Adam Lawson"  wrote:
>
> But something else struck me, the velocity and sheer NUMBER of emails
that must be filtered to find and extract these key announcements is tricky
so I don't fault anyone for missing the needle in the haystack. Important
needle no doubt but I wonder if there are more efficient ways to ensure
important info is highlighted.
>
> My knee jerk idea is a way for individuals to subscribe to certain topics
that come into their inbox. I don't have a good way within Gmail to
sub-filter these which has been a historical problem for me in terms of
awareness of following hot topics.
>
> //adam
>
>
> Adam Lawson
>
> AQORN, Inc.
> 427 North Tatnall Street
> Ste. 58461
> Wilmington, Delaware 19801-2230
> Toll-free: (844) 4-AQORN-NOW ext. 101
> International: +1 302-387-4660
> Direct: +1 916-246-2072
>
> On Wed, Sep 21, 2016 at 9:28 AM, Adam Lawson  wrote:
>>
>> You know something that struck me, I noticed there were several teams
last cycle that did not elect a PTL so this round I was watching to see if
any teams did not have a PTL elected and presumed it was because of many of
the reasons surfaced in previous emails in this thread including being
heads down, watching other channels and potentially insufficient numbers of
individuals interested in the PTL role.
>>
>> So I waited and noticed Astara, Security and a handful of other projects
did not have a PTL elected so I picked Astara because I am an OpenStack
architect who specializes in SDN, security and distributed storage and
applied. Of course I missed the deadline by about 2 hours but Security was
another project I was interested in.
>>
>> So all this said, there are individuals interested in the PTL role to
ensure project teams have someone handling the logistics and coordination.
My issue however was that I was not yet eligible to be a candidate which
I'll remedy moving forward.
>>
>> I'm still interested in serving as a PTL for a project that needs one. I
personally believe that in the case of Security, there needs to be a
dedicated team due to the nature and impact of security breaches that
directly influence the perception of OpenStack as a viable cloud solution
for enterprises looking (or re-looking) at it for the first time.
>>
>> I'm not a full-time developer but an architect so I am planning to open
a new discussion about how PTL candidates are currently being qualified.
Again, different thread.
>>
>> For this thread, if there is a concern about PTL interest - it's there
and I would be open to helping the team in this regard if it helps keep the
team activity in the OpenStack marquee.
>>
>> //adam
>>
>>
>> Adam Lawson
>>
>> AQORN, Inc.
>> 427 North Tatnall Street
>> Ste. 58461
>> Wilmington, Delaware 19801-2230
>> Toll-free: (844) 4-AQORN-NOW ext. 101
>> International: +1 302-387-4660
>> Direct: +1 916-246-2072
>>
>> On Wed, Sep 21, 2016 at 8:56 AM, Clint Byrum  wrote:
>>>
>>> Excerpts from Filip Pytloun's message of 2016-09-21 14:58:52 +0200:
>>> > Hello,
>>> >
>>> > it's definately our bad that we missed elections in OpenStackSalt
>>> > project. Reason is similar to Rob's - we are active on different
>>> > channels (mostly IRC as we keep regular meetings) and don't used to
>>> > reading mailing lists with lots of generic topics (it would be good to
>>> > have separate mailing list for such calls and critical topics or
>>> > individual mails to project's core members).
>>> >
>>> > Our project is very active [1], trying to do things the Openstack way
>>> > and I think it would be a pitty to remove it from Big Tent just
because
>>> > we missed mail and therefore our first PTL election.
>>> >
>>> > Of course I don't want to excuse our fault. In case it's not too late,
>>> > we will try to be more active in mailing lists like openstack-dev and
>>> > not miss such important events next time.
>>> >
>>> > [1] http://stackalytics.com/?module=openstacksalt-group
>>> >
>>>
>>> Seems like we need a bit added to this process which makes sure big tent
>>> projects have their primary IRC channel identified, and a list of core
>>> reviewer and meeting chair IRC nicks to ping when something urgent comes
>>> up. This isn't just useful for elections, but is probably something the
>>> VMT would appreciate as well, and likely anyone else who has an urgent
>>> need to make contact with a team.
>>>
>>> I think it might also be useful if we could make the meeting bot remind
>>> teams of any pending actions they need to take such as elections upon
>>> #startmeeting.
>>>
>>> Seems like all of that could be automated.
>>>
>>>
__
>>> 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][nova] Anyone interested in writing a policy generator sphinx extension?

2016-09-21 Thread Andrew Laski


On Wed, Sep 21, 2016, at 12:02 PM, Joshua Harlow wrote:
> Andrew Laski wrote:
> > However, I have asked twice now on the review what the benefit of doing
> > this is and haven't received a response so I'll ask here. The proposal
> > would add additional latency to nearly every API operation in a service
> > and in return what do they get? Now that it's possible to register sane
> > policy defaults within a project most operators do not even need to
> > think about policy for projects that do that. And any policy changes
> > that are necessary are easily handled by a config management system.
> >
> > I would expect to see a pretty significant benefit in exchange for
> > moving policy control out of Nova, and so far it's not clear to me what
> > that would be.
> 
> One way to do this is to setup something like etc.d or zookeeper and 
> have policy files be placed into certain 'keys' in there by keystone, 
> then consuming projects would 'watch' those keys for being changed (and 
> get notified when they are changed); the project would then reload its 
> policy when the other service (keystone) write a new key/policy.
> 
> https://coreos.com/etcd/docs/latest/api.html#waiting-for-a-change
> 
> or 
> https://zookeeper.apache.org/doc/r3.4.5/zookeeperProgrammers.html#ch_zkWatches
> 
> or (pretty sure consul has something similar),
> 
> This is pretty standard stuff folks :-/ and it's how afaik things like 
> https://github.com/skynetservices/skydns work (and more), and it would 
> avoid that 'additional latency' (unless the other service is adjusting 
> the policy key every millisecond, which seems sorta unreasonable).

Sure. Or have Keystone be a frontend for ansible/puppet/chef/ What's
not clear to me in any of this is what's the benefit to having Keystone
as a fronted to policy configuration/changes, or be involved in any real
way with authorization decisions? What issue is being solved by getting
Keystone involved?


> 
> -Josh
> 
> __
> 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] [Kolla] Ocata summit session poll

2016-09-21 Thread Michał Jastrzębski
Hello,

Now, when we have full list of sessions, let's prioritize them
accordingly to our preferences. Based on this we'll allocate our
summit space.

http://civs.cs.cornell.edu/cgi-bin/vote.pl?id=E_8368e1e74f8a0049=91bbcf4baeff0a2f

__
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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Charles Neill
urrect the idea of
> a "smart" scheduling feature that lets you request the volume be on
> the same node as the compute node and use it directly, and then if
> it's NOT it will attach a target and use it that way (in other words
> you run a stripped down c-vol service on each compute node).

Don't we have at least scheduling problem solved [1] already?

[1]
https://github.com/openstack/cinder/blob/master/cinder/scheduler/filters/instance_locality_filter.py

>
> Sahara keeps insisting on being a snow-flake with Cinder volumes and
> the block driver, it's really not necessary.  I think we can
> compromise just a little both ways, give you standard Cinder semantics
> for volumes, but allow you direct acccess to them if/when requested,
> but have those be flexible enough that targets *can* be attached so
> they meet all of the required functionality and API implementations.
> This also means that we don't have to continue having a *special*
> driver in Cinder that frankly only works for one specific use case and
> deployment.
>
> I've pointed to this a number of times but it never seems to
> resonate... but I never learn so I'll try it once again [1].  Note
> that was before the name "brick" was hijacked and now means something
> completely different.
>
> [1]: https://wiki.openstack.org/wiki/CinderBrick
>
> Thanks,
> John?




--

Message: 2
Date: Wed, 21 Sep 2016 16:05:08 +0800
From: jun zhong <jun.zhongj...@gmail.com<mailto:jun.zhongj...@gmail.com>>
To: openstack-dev 
<openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org>>
Subject: [openstack-dev]  [manila] Enable IPv6 in Manila Ocata
Message-ID:

<caaz2tn-hrs_3d0hvavvvu2ephs4cch1pko88fx1egguh8h9...@mail.gmail.com<mailto:caaz2tn-hrs_3d0hvavvvu2ephs4cch1pko88fx1egguh8h9...@mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"

Hi,

As agreed by the manila community in IRC meeting,
we try to enable IPv6 in Ocata. Please check the brief spec[1] and code[2]).

The areas affected most are API (access rules) and in the drivers (access
rules
& export locations). This change intends to add the IPv6 format validation
for
ip access rule type in allow_access API, allowing manila to support IPv6
ACL.

Hi all of the driver maintainers, could you test the IPv6 feature code[2]
to make sure whether your driver can completely support IPv6.
If there still have something else might not be IPv6-ready, please let me
known. Thanks
[1] https://review.openstack.org/#/c/362786/
[2] https://review.openstack.org/#/c/312321/


Thanks,
Jun
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.openstack.org/pipermail/openstack-dev/attachments/20160921/880e28e8/attachment-0001.html>

--

Message: 3
Date: Wed, 21 Sep 2016 08:38:53 +
From: "Afek, Ifat (Nokia - IL)" 
<ifat.a...@nokia.com<mailto:ifat.a...@nokia.com>>
To: "OpenStack Development Mailing List (not for usage questions)"

<openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org>>
Subject: [openstack-dev] [vitrage] Barcelona design sessions
Message-ID: 
<cad9e9dc-e55d-4bcc-bc8e-1cacdffa7...@alcatel-lucent.com<mailto:cad9e9dc-e55d-4bcc-bc8e-1cacdffa7...@alcatel-lucent.com>>
Content-Type: text/plain; charset="utf-8"

Hi,

As discussed in our IRC meeting today, you are welcome to suggest topics for 
vitrage design sessions in Barcelona:
https://etherpad.openstack.org/p/vitrage-barcelona-design-sessions

Thanks,
Ifat.

-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.openstack.org/pipermail/openstack-dev/attachments/20160921/3b999def/attachment-0001.html>

--

Message: 4
Date: Wed, 21 Sep 2016 09:53:06 +
From: "Daly, Louise M" <louise.m.d...@intel.com<mailto:louise.m.d...@intel.com>>
To: 
"openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org>"

<openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org>>
Subject: [openstack-dev]  [Kuryr] Kuryr IPVlan Code PoC
Message-ID:

<d2c06722ff4fe54c88729fc07a5dcd91b43...@irsmsx101.ger.corp.intel.com<mailto:d2c06722ff4fe54c88729fc07a5dcd91b43...@irsmsx101.ger.corp.intel.com>>
Content-Type: text/plain; charset="us-ascii"

Hi everyone,

As promised here is a link to the code PoC for the Kuryr-IPVlan proposal.
https://github.com/lmdaly/kuryr-libnetwork

Link to specific commit
https://github.com/lmdaly/kuryr-libnetwork/commit/1dc895a6d8bfaa03c0dd5cfb2d3e23e2e948a67c

>From here you can clone the repo and install Kuryr as you normally would with 
>a few additional steps:

1. The IPVl

Re: [openstack-dev] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Doug Hellmann
Excerpts from Clint Byrum's message of 2016-09-21 08:56:24 -0700:
> Excerpts from Filip Pytloun's message of 2016-09-21 14:58:52 +0200:
> > Hello,
> > 
> > it's definately our bad that we missed elections in OpenStackSalt
> > project. Reason is similar to Rob's - we are active on different
> > channels (mostly IRC as we keep regular meetings) and don't used to
> > reading mailing lists with lots of generic topics (it would be good to
> > have separate mailing list for such calls and critical topics or
> > individual mails to project's core members).
> > 
> > Our project is very active [1], trying to do things the Openstack way
> > and I think it would be a pitty to remove it from Big Tent just because
> > we missed mail and therefore our first PTL election.
> > 
> > Of course I don't want to excuse our fault. In case it's not too late,
> > we will try to be more active in mailing lists like openstack-dev and
> > not miss such important events next time.
> > 
> > [1] http://stackalytics.com/?module=openstacksalt-group
> > 
> 
> Seems like we need a bit added to this process which makes sure big tent
> projects have their primary IRC channel identified, and a list of core
> reviewer and meeting chair IRC nicks to ping when something urgent comes
> up. This isn't just useful for elections, but is probably something the
> VMT would appreciate as well, and likely anyone else who has an urgent
> need to make contact with a team.

IRC channels are listed on team pages on governance.o.o. For example:
http://governance.openstack.org/reference/projects/openstacksalt.html

Core reviewers are accessible through gerrit. For example,
https://review.openstack.org/#/admin/projects/openstack/openstack-salt,access
leads to https://review.openstack.org/#/admin/groups/1268,members

Meeting chair nicks are available on eavesdrop.o.o. For example,
http://eavesdrop.openstack.org/#OpenStack_Salt_Team_Meeting

It might make sense to automate pulling that information together into a
single page somewhere, maybe the team page on governance.o.o.

The larger point is that the community expects teams to be paying
attention to the cycle schedule and taking care of the actions expected
without being individually asked to do so.

> I think it might also be useful if we could make the meeting bot remind
> teams of any pending actions they need to take such as elections upon
> #startmeeting.

I could see that being useful, yes.

> Seems like all of that could be automated.
> 

__
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] [osc][keystone] User Project List

2016-09-21 Thread Dolph Mathews
On Wed, Sep 21, 2016 at 9:03 AM Adrian Turjak 
wrote:

> Nope, default keystone policy has not allowed you to get your own user
> until this patch was merged:
>
> https://github.com/openstack/keystone/commit/c990ec5c144d9b1408d47cb83cb0b3d6aeed0d57
>
> Sad but true it seems. :(
>
Wow, you're right! That's certainly true for both liberty and mitaka in
both of the policy files:

*
https://github.com/openstack/keystone/blob/stable/liberty/etc/policy.json#L44
*
https://github.com/openstack/keystone/blob/stable/liberty/etc/policy.v3cloudsample.json#L49
*
https://github.com/openstack/keystone/blob/stable/mitaka/etc/policy.json#L44
*
https://github.com/openstack/keystone/blob/stable/mitaka/etc/policy.v3cloudsample.json#L48

I should also express a +1 for something along the lines of your original
proposal. I'd go so far as to suggest that `openstack show user` (without a
user ID or name as an argument) should return "me" (the authenticated
user), as I think that'd be a better user experience.

> On 22/09/2016 12:58 AM, Dolph Mathews  wrote:
> >
> >
> >
> > On Wed, Sep 21, 2016 at 12:31 AM Adrian Turjak 
> wrote:
> >>
> >> The default keystone policy up until Newton doesn't let a user get their
> >> own user
> >
> >
> > This seems to be the crutch of your issue - can you provide an example
> of this specific failure and the corresponding policy? As far as I'm aware,
> the default upstream policy files have allowed for this since about Grizzly
> or Havana, unless that's quietly broken somehow.
> >
> >>
> >>
> >>
> >>
> >>
> __
> >> 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
> >
> > --
> > -Dolph
> __
> 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
>
-- 
-Dolph
__
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] [tempest]Tempest test concurrency

2016-09-21 Thread Bob Hansen
Matthew, this helps tremendously. As you can tell the conclusion I was
heading towards was not accurate.

Now to look a bit deeper.

Thanks,

Bob Hansen
z/VM OpenStack Enablement

Matthew Treinish  wrote on 09/21/2016 11:07:04 AM:

> From: Matthew Treinish 
> To: "OpenStack Development Mailing List (not for usage questions)"
> 
> Date: 09/21/2016 11:09 AM
> Subject: Re: [openstack-dev] [tempest]Tempest test concurrency
>
> On Wed, Sep 21, 2016 at 10:44:51AM -0400, Bob Hansen wrote:
> >
> >
> > I have been looking at some of the stackviz output as I'm trying to
improve
> > the run time of my thrid-party CI. As an example:
> >
> > http://logs.openstack.org/36/371836/1/check/gate-tempest-dsvm-
> full-ubuntu-xenial/087db0f/logs/stackviz/#/stdin/timeline
> >
> > What jumps out is the amount of time that each worker is not running
any
> > tests. I would have expected quite a bit more concurrecy between the
two
> > workers in the chart, e.g. more overlap. I've noticed a simliar thing
with
> > my test runs using 4 workers.
>
> So the gaps between tests aren't actually wait time, the workers
aresaturated
> doing stuff during a run. Those gaps are missing data in the subunit
streams
> that are used as the soure of the data for rendering those timelines. The
gaps
> are where things like setUp, setUpClass, tearDown, tearDownClass, and
> addCleanups which are not added to the subunit stream. It's just an
> artifact of
> the incomplete data, not bad scheduling. This also means that testr does
not
> take into account any of the missing timing when it makes decisions based
on
> previous runs.
>
> >
> > Can anyone explain why this is and where can I find out more
information
> > about the scheduler and what information it is using to decide when to
> > dispatch tests? I'm already feeding my system a prior subunit stream to
> > help influence the scheduler as my test run times are different due to
the
> > way our openstack implementation is architected. A simple round-robin
> > approach is not the most efficeint in my case.
>
> If you're curious about how testr does scheduling most of that happens
here:
>
> https://github.com/testing-cabal/testrepository/blob/master/
> testrepository/testcommand.py
>
> One thing to remember is that testr isn't actually a test runner, it's a
test
> runner runner. It partitions the tests based on time information and
passes
> those to (multiple) test runner workers. The actual order of execution
inside
> those partitions is handled by the test runner itself. (in our case
> subunit.run)
>
> -Matt Treinish
> [attachment "signature.asc" deleted by Bob Hansen/Endicott/IBM]
>
__
> 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] let's talk (development) environment deployment tooling and workflows

2016-09-21 Thread Alex Schultz
On Wed, Sep 21, 2016 at 9:00 AM, John Trowbridge  wrote:
>
>
>
> On 09/19/2016 01:21 PM, Steven Hardy wrote:
> > Hi Alex,
> >
> > Firstly, thanks for this detailed feedback - it's very helpful to have
> > someone with a fresh perspective look at the day-1 experience for TripleO,
> > and while some of what follows are "know issues", it's great to get some
> > perspective on them, as well as ideas re how we might improve things.
> >
> > On Thu, Sep 15, 2016 at 09:09:24AM -0600, Alex Schultz wrote:
> >> Hi all,
> >>
> >> I've recently started looking at the various methods for deploying and
> >> developing tripleo.  What I would like to bring up is the current
> >> combination of the tooling for managing the VM instances and the
> >> actual deployment method to launch the undercloud/overcloud
> >> installation.  While running through the various methods and reading
> >> up on the documentation, I'm concerned that they are not currently
> >> flexible enough for a developer (or operator for that matter) to be
> >> able to setup the various environment configurations for testing
> >> deployments and doing development.  Additionally I ran into issues
> >> just trying get them working at all so this probably doesn't help when
> >> trying to attract new contributors as well.  The focus of this email
> >> and of my experience seems to relate with workflow-simplification
> >> spec[0].  I would like to share my experiences with the various
> >> tooling available and raise some ideas.
> >>
> >> Example Situation:
> >>
> >> For example, I have a laptop with 16G of RAM and an SSD and I'd like
> >> to get started with tripleo.  How can I deploy tripleo?
> >
> > So, this is probably problem #1, because while I have managed to deploy a
> > minimal TripleO environment on a laptop with 16G of RAM, I think it's
> > pretty widely known that it's not really enough (certainly with our default
> > configuration, which has unfortunately grown over time as more and more
> > things got integrated).
> >
> > I see two options here:
> >
> > 1. Document the reality (which is really you need a physical machine with
> > at least 32G RAM unless you're prepared to deal with swapping).
> >
> > 2. Look at providing a "TripleO lite" install option, which disables some
> > services (both on the undercloud and default overcloud install).
> >
> > Either of these are defintely possible, but (2) seems like the best
> > long-term solution (although it probably means another CI job).
> >
> >> Tools:
> >>
> >> instack:
> >>
> >> I started with the tripleo docs[1] that reference using the instack
> >> tools for virtual environment creation while deploying tripleo.   The
> >> docs say you need at least 12G of RAM[2].  The docs lie (step 7[3]).
> >> So after basically shutting everything down and letting it deploy with
> >> all my RAM, the deployment fails because the undercloud runs out of
> >> RAM and OOM killer kills off heat.  This was not because I had reduced
> >> the amount of ram for the undercloud node or anything.  It was because
> >> by default, 6GB of RAM with no swap is configured for the undercloud
> >> (not sure if this is a bug?).  So I added a swap file to the
> >> undercloud and continued. My next adventure was having the overcloud
> >> deployment fail because lack of memory as puppet fails trying to spawn
> >> a process and gets denied.  The instack method does not configure swap
> >> for the VMs that are deployed and the deployment did not work with 5GB
> >> RAM for each node.  So for a full 16GB I was unable to follow the
> >> documentation and use instack to successfully deploy.  At this point I
> >> switched over to trying to use tripleo-quickstart.  Eventually I was
> >> able to figure out a configuration with instack to get it to deploy
> >> when I figured out how to enable swap for the overcloud deployment.
> >
> > Yeah, so this definitely exposes that we need to update the docs, and also
> > provide an easy install-time option to enable swap on all-the-things for
> > memory contrained environments.
> >
> >> tripleo-quickstart:
> >>
> >> The next thing I attempted to use was the tripleo-quickstart[4].
> >> Following the directions I attempted to deploy against my localhost.
> >> I turns out that doesn't work as expected since ansible likes to do
> >> magic when dealing with localhost[5].  Ultimately I was unable to get
> >> it working against my laptop locally because I ran into some libvirt
> >> issues.  But I was able to get it to work when I pointed it at a
> >> separate machine.  It should be noted that tripleo-quickstart creates
> >> an undercloud with swap which was nice because then it actually works,
> >> but is an inconsistent experience depending on which tool you used for
> >> your deployment.
> >
> > Yeah, so while a lot of folks have good luck with tripleo-quickstart, it
> > has the disadvantage of not currently being the tool used in upstream
> > TripleO CI (which folks have looked at fixing, but 

Re: [openstack-dev] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Adam Lawson
You know something that struck me, I noticed there were several teams last
cycle that did not elect a PTL so this round I was watching to see if any
teams did not have a PTL elected and presumed it was because of many of the
reasons surfaced in previous emails in this thread including being heads
down, watching other channels and potentially insufficient numbers of
individuals interested in the PTL role.

So I waited and noticed Astara, Security and a handful of other projects
did not have a PTL elected so I picked Astara because I am an OpenStack
architect who specializes in SDN, security and distributed storage and
applied. Of course I missed the deadline by about 2 hours but Security was
another project I was interested in.

So all this said, there are individuals interested in the PTL role to
ensure project teams have someone handling the logistics and coordination.
My issue however was that I was not yet eligible to be a candidate which
I'll remedy moving forward.

I'm still interested in serving as a PTL for a project that needs one. I
personally believe that in the case of Security, there needs to be a
dedicated team due to the nature and impact of security breaches that
directly influence the perception of OpenStack as a viable cloud solution
for enterprises looking (or re-looking) at it for the first time.

I'm not a full-time developer but an architect so I am planning to open a
new discussion about how PTL candidates are currently being qualified.
Again, different thread.

For this thread, if there is a concern about PTL interest - it's there and
I would be open to helping the team in this regard if it helps keep the
team activity in the OpenStack marquee.

//adam


*Adam Lawson*

AQORN, Inc.
427 North Tatnall Street
Ste. 58461
Wilmington, Delaware 19801-2230
Toll-free: (844) 4-AQORN-NOW ext. 101
International: +1 302-387-4660
Direct: +1 916-246-2072

On Wed, Sep 21, 2016 at 8:56 AM, Clint Byrum  wrote:

> Excerpts from Filip Pytloun's message of 2016-09-21 14:58:52 +0200:
> > Hello,
> >
> > it's definately our bad that we missed elections in OpenStackSalt
> > project. Reason is similar to Rob's - we are active on different
> > channels (mostly IRC as we keep regular meetings) and don't used to
> > reading mailing lists with lots of generic topics (it would be good to
> > have separate mailing list for such calls and critical topics or
> > individual mails to project's core members).
> >
> > Our project is very active [1], trying to do things the Openstack way
> > and I think it would be a pitty to remove it from Big Tent just because
> > we missed mail and therefore our first PTL election.
> >
> > Of course I don't want to excuse our fault. In case it's not too late,
> > we will try to be more active in mailing lists like openstack-dev and
> > not miss such important events next time.
> >
> > [1] http://stackalytics.com/?module=openstacksalt-group
> >
>
> Seems like we need a bit added to this process which makes sure big tent
> projects have their primary IRC channel identified, and a list of core
> reviewer and meeting chair IRC nicks to ping when something urgent comes
> up. This isn't just useful for elections, but is probably something the
> VMT would appreciate as well, and likely anyone else who has an urgent
> need to make contact with a team.
>
> I think it might also be useful if we could make the meeting bot remind
> teams of any pending actions they need to take such as elections upon
> #startmeeting.
>
> Seems like all of that could be automated.
>
> __
> 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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Adam Lawson
But something else struck me, the velocity and sheer NUMBER of emails that
must be filtered to find and extract these key announcements is tricky so I
don't fault anyone for missing the needle in the haystack. Important needle
no doubt but I wonder if there are more efficient ways to ensure important
info is highlighted.

My knee jerk idea is a way for individuals to subscribe to certain topics
that come into their inbox. I don't have a good way within Gmail to
sub-filter these which has been a historical problem for me in terms of
awareness of following hot topics.

//adam


*Adam Lawson*

AQORN, Inc.
427 North Tatnall Street
Ste. 58461
Wilmington, Delaware 19801-2230
Toll-free: (844) 4-AQORN-NOW ext. 101
International: +1 302-387-4660
Direct: +1 916-246-2072

On Wed, Sep 21, 2016 at 9:28 AM, Adam Lawson  wrote:

> You know something that struck me, I noticed there were several teams last
> cycle that did not elect a PTL so this round I was watching to see if any
> teams did not have a PTL elected and presumed it was because of many of the
> reasons surfaced in previous emails in this thread including being heads
> down, watching other channels and potentially insufficient numbers of
> individuals interested in the PTL role.
>
> So I waited and noticed Astara, Security and a handful of other projects
> did not have a PTL elected so I picked Astara because I am an OpenStack
> architect who specializes in SDN, security and distributed storage and
> applied. Of course I missed the deadline by about 2 hours but Security was
> another project I was interested in.
>
> So all this said, there are individuals interested in the PTL role to
> ensure project teams have someone handling the logistics and coordination.
> My issue however was that I was not yet eligible to be a candidate which
> I'll remedy moving forward.
>
> I'm still interested in serving as a PTL for a project that needs one. I
> personally believe that in the case of Security, there needs to be a
> dedicated team due to the nature and impact of security breaches that
> directly influence the perception of OpenStack as a viable cloud solution
> for enterprises looking (or re-looking) at it for the first time.
>
> I'm not a full-time developer but an architect so I am planning to open a
> new discussion about how PTL candidates are currently being qualified.
> Again, different thread.
>
> For this thread, if there is a concern about PTL interest - it's there and
> I would be open to helping the team in this regard if it helps keep the
> team activity in the OpenStack marquee.
>
> //adam
>
>
> *Adam Lawson*
>
> AQORN, Inc.
> 427 North Tatnall Street
> Ste. 58461
> Wilmington, Delaware 19801-2230
> Toll-free: (844) 4-AQORN-NOW ext. 101
> International: +1 302-387-4660
> Direct: +1 916-246-2072
>
> On Wed, Sep 21, 2016 at 8:56 AM, Clint Byrum  wrote:
>
>> Excerpts from Filip Pytloun's message of 2016-09-21 14:58:52 +0200:
>> > Hello,
>> >
>> > it's definately our bad that we missed elections in OpenStackSalt
>> > project. Reason is similar to Rob's - we are active on different
>> > channels (mostly IRC as we keep regular meetings) and don't used to
>> > reading mailing lists with lots of generic topics (it would be good to
>> > have separate mailing list for such calls and critical topics or
>> > individual mails to project's core members).
>> >
>> > Our project is very active [1], trying to do things the Openstack way
>> > and I think it would be a pitty to remove it from Big Tent just because
>> > we missed mail and therefore our first PTL election.
>> >
>> > Of course I don't want to excuse our fault. In case it's not too late,
>> > we will try to be more active in mailing lists like openstack-dev and
>> > not miss such important events next time.
>> >
>> > [1] http://stackalytics.com/?module=openstacksalt-group
>> >
>>
>> Seems like we need a bit added to this process which makes sure big tent
>> projects have their primary IRC channel identified, and a list of core
>> reviewer and meeting chair IRC nicks to ping when something urgent comes
>> up. This isn't just useful for elections, but is probably something the
>> VMT would appreciate as well, and likely anyone else who has an urgent
>> need to make contact with a team.
>>
>> I think it might also be useful if we could make the meeting bot remind
>> teams of any pending actions they need to take such as elections upon
>> #startmeeting.
>>
>> Seems like all of that could be automated.
>>
>> 
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscrib
>> e
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: 

Re: [openstack-dev] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Travis Mcpeak
h to BDD even with iSCSI
> involved. If you're aware of a case where it isn't, the first
> thing to do is to provide proof via a reproducible benchmark.
> Otherwise we are likely to proceed, as John suggests, with the
> assumption that local target does not provide much benefit. 
>
> I've a few benchmarks myself that I suspect will find areas where
> getting rid of iSCSI is benefit, however if you have any then you
> really need to step up and provide the evidence. Relying on vague
> claims of overhead is now proven to not be a good idea. 
>
> 
__
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe:
> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> <
http://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>
>
> ?Honestly we can have both, I'll work up a bp to resurrect the idea of
> a "smart" scheduling feature that lets you request the volume be on
> the same node as the compute node and use it directly, and then if
> it's NOT it will attach a target and use it that way (in other words
> you run a stripped down c-vol service on each compute node).

Don't we have at least scheduling problem solved [1] already?

[1]
https://github.com/openstack/cinder/blob/master/cinder/scheduler/filters/instance_locality_filter.py


>
> Sahara keeps insisting on being a snow-flake with Cinder volumes and
> the block driver, it's really not necessary.  I think we can
> compromise just a little both ways, give you standard Cinder semantics
> for volumes, but allow you direct acccess to them if/when requested,
> but have those be flexible enough that targets *can* be attached so
> they meet all of the required functionality and API implementations. 
> This also means that we don't have to continue having a *special*
> driver in Cinder that frankly only works for one specific use case and
> deployment.
>
> I've pointed to this a number of times but it never seems to
> resonate... but I never learn so I'll try it once again [1].  Note
> that was before the name "brick" was hijacked and now means something
> completely different.
>
> [1]: https://wiki.openstack.org/wiki/CinderBrick
>
> Thanks,
> John?




--

Message: 2
Date: Wed, 21 Sep 2016 16:05:08 +0800
From: jun zhong <jun.zhongj...@gmail.com>
To: openstack-dev <openstack-dev@lists.openstack.org>
Subject: [openstack-dev]  [manila] Enable IPv6 in Manila Ocata
Message-ID:
 <caaz2tn-hrs_3d0hvavvvu2ephs4cch1pko88fx1egguh8h9...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

As agreed by the manila community in IRC meeting,
we try to enable IPv6 in Ocata. Please check the brief spec[1] and 
code[2]).

The areas affected most are API (access rules) and in the drivers (access
rules
& export locations). This change intends to add the IPv6 format validation
for
ip access rule type in allow_access API, allowing manila to support IPv6
ACL.

Hi all of the driver maintainers, could you test the IPv6 feature code[2]
to make sure whether your driver can completely support IPv6.
If there still have something else might not be IPv6-ready, please let me
known. Thanks
[1] https://review.openstack.org/#/c/362786/
[2] https://review.openstack.org/#/c/312321/


Thanks,
Jun
-- next part --
An HTML attachment was scrubbed...
URL: <
http://lists.openstack.org/pipermail/openstack-dev/attachments/20160921/880e28e8/attachment-0001.html
>

--

Message: 3
Date: Wed, 21 Sep 2016 08:38:53 +
From: "Afek, Ifat (Nokia - IL)" <ifat.a...@nokia.com>
To: "OpenStack Development Mailing List (not for usage questions)"
 <openstack-dev@lists.openstack.org>
Subject: [openstack-dev] [vitrage] Barcelona design sessions
Message-ID: <cad9e9dc-e55d-4bcc-bc8e-1cacdffa7...@alcatel-lucent.com>
Content-Type: text/plain; charset="utf-8"

Hi,

As discussed in our IRC meeting today, you are welcome to suggest topics 
for vitrage design sessions in Barcelona:
https://etherpad.openstack.org/p/vitrage-barcelona-design-sessions

Thanks,
Ifat.

-- next part --
An HTML attachment was scrubbed...
URL: <
http://lists.openstack.org/pipermail/openstack-dev/attachments/20160921/3b999def/attachment-0001.html
>

--

Message: 4
Date: Wed, 21 Sep 2016 09:53:06 +
From: "Daly, Louise M" <louise.m.d...@intel.com>
To: "openstack-dev@lists.openstack.org"
 <openstack-dev@lists.opens

Re: [openstack-dev] [oslo.db] [release] opportunistic tests breaking randomly

2016-09-21 Thread Roman Podoliaka
FWIW, there was no new failures in Nova jobs since then.

I'm confused as well why these tests would sporadically take much
longer time to execute. Perhaps we could install something like atop
on our nodes to answer that question.

On Wed, Sep 21, 2016 at 5:46 PM, Ihar Hrachyshka  wrote:
> I just hit that TimeoutException error in neutron functional tests:
>
> http://logs.openstack.org/68/373868/4/check/gate-neutron-dsvm-functional-ubuntu-trusty/4de275e/testr_results.html.gz
>
> It’s a bit weird that we hit that 180 sec timeout because in good runs, the
> test takes ~5 secs.
>
> Do we have a remedy against that kind of failure? I saw nova bumped the
> timeout length for the tests. Is it the approach we should apply across the
> board for other projects?
>
> Ihar
>
>
> Zane Bitter  wrote:
>
>> On 14/09/16 11:44, Mike Bayer wrote:
>>>
>>> On 09/14/2016 11:08 AM, Mike Bayer wrote:

 On 09/14/2016 09:15 AM, Sean Dague wrote:
>
> I noticed the following issues happening quite often now in the
> opportunistic db tests for nova -
>
> http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22sqlalchemy.exc.ResourceClosedError%5C%22
>
>
>
>
> It looks like some race has been introduced where the various db
> connections are not fully isolated from each other like they used to
> be.
> The testing magic for this is buried pretty deep in oslo.db.


 that error message occurs when a connection that is intended against a
 SELECT statement fails to provide a cursor.description attribute.  It is
 typically a driver-level bug in the MySQL world and corresponds to
 mis-handled failure modes from the MySQL connection.

 By "various DB connections are not fully isolated from each other" are
 you suggesting that a single in-Python connection object itself is being
 shared among multiple greenlets?   I'm not aware of a change in oslo.db
 that would be a relationship to such an effect.
>>>
>>>
>>> So, I think by "fully isolated from each other" what you really mean is
>>> "operations upon a connection are not fully isolated from the subsequent
>>> use of that connection", since that's what I see in the logs.  A
>>> connection is attempting to be used during teardown to drop tables,
>>> however it's in this essentially broken state from a PyMySQL
>>> perspective, which would indicate something has gone wrong with this
>>> (pooled) connection in the preceding test that could not be detected or
>>> reverted once the connection was returned to the pool.
>>>
>>> From Roman's observation, it looks like a likely source of this
>>> corruption is a timeout that is interrupting the state of the PyMySQL
>>> connection.   In the preceding stack trace, PyMySQL is encountering a
>>> raise as it attempts to call "self._sock.recv_into(b)", and it seems
>>> like some combination of eventlet's response to signals and the
>>> fixtures.Timeout() fixture is the cause of this interruption.   As an
>>> additional wart, something else is getting involved and turning it into
>>> an IndexError, I'm not sure what that part is yet though I can imagine
>>> that might be SQLAlchemy mis-interpreting what it expects to be a
>>> PyMySQL exception class, since we normally look inside of
>>> exception.args[0] to get the MySQL error code.   With a blank exception
>>> like fixtures.TimeoutException, .args is the empty tuple.
>>>
>>> The PyMySQL connection is now in an invalid state and unable to perform
>>> a SELECT statement correctly, but the connection is not invalidated and
>>> is instead returned to the connection pool in a broken state.  So the
>>> subsequent teardown, if it uses this same connection (which is likely),
>>> fails because the connection has been interrupted in the middle of its
>>> work and not given the chance to clean up.
>>>
>>> Seems like the use of fixtures.Timeout() fixture here is not organized
>>> to work with a database operation in progress, especially an
>>> eventlet-monkeypatched PyMySQL.   Ideally, if something like a timeout
>>> due to a signal handler occurs, the entire connection pool should be
>>> disposed (quickest way, engine.dispose()), or at the very least (and
>>> much more targeted), the connection that's involved should be
>>> invalidated from the pool, e.g. connection.invalidate().
>>>
>>> The change to the environment here would be that this timeout is
>>> happening at all - the reason for that is not yet known.   If oslo.db's
>>> version were involved in this error, I would guess that it would be
>>> related to this timeout condition being caused, and not anything to do
>>> with the connection provisioning.
>>>
> Olso.db 4.13.3 did hit the scene about the time this showed up. So I
> think we need to strongly consider blocking it and revisiting these
> issues post newton.
>>
>>
>> We've been seeing similar errors in Heat since at least 

Re: [openstack-dev] [oslo.db] [release] opportunistic tests breaking randomly

2016-09-21 Thread Joshua Harlow

Mike Bayer wrote:



On 09/21/2016 11:41 AM, Joshua Harlow wrote:


I've seen something similar at https://review.openstack.org/#/c/316935/

Maybe its time we asked again why are we still using eventlet and do we
need to anymore. What functionality of it are people actually taking
advantage of? If it's supporting libraries like oslo.service then it'd
probably be useful to talk to the ceilometer folks who replaced
oslo.service with something else (another oslo library for periodics and
https://github.com/sileht/cotyledon for service oriented tasks).


Plus Keystone has gotten off of it.

I actually like eventlet and gevent quite a lot. I am using it in a new
middleware component that will be involved with database connection
pooling. However, I *don't* use the global monkeypatching aspect. That's
where this all goes very wrong. Things that are designed for synchronous
operations, like database-oriented business methods as well as the work
of the database driver itself, should run within threads. You can in
fact use eventlet/gevent's APIs explicitly and you can even combine it
with traditional threading explicitly. I'm actually using a stdlib Queue
(carefully) to send data between greenlets and threads. Madness!


Agreed (thanks for making that clear), it's really the monkeying that 
kills things, not eventlet/gevent directly, fair point.


-Josh

__
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][nova] Anyone interested in writing a policy generator sphinx extension?

2016-09-21 Thread Joshua Harlow

Andrew Laski wrote:

However, I have asked twice now on the review what the benefit of doing
this is and haven't received a response so I'll ask here. The proposal
would add additional latency to nearly every API operation in a service
and in return what do they get? Now that it's possible to register sane
policy defaults within a project most operators do not even need to
think about policy for projects that do that. And any policy changes
that are necessary are easily handled by a config management system.

I would expect to see a pretty significant benefit in exchange for
moving policy control out of Nova, and so far it's not clear to me what
that would be.


One way to do this is to setup something like etc.d or zookeeper and 
have policy files be placed into certain 'keys' in there by keystone, 
then consuming projects would 'watch' those keys for being changed (and 
get notified when they are changed); the project would then reload its 
policy when the other service (keystone) write a new key/policy.


https://coreos.com/etcd/docs/latest/api.html#waiting-for-a-change

or 
https://zookeeper.apache.org/doc/r3.4.5/zookeeperProgrammers.html#ch_zkWatches


or (pretty sure consul has something similar),

This is pretty standard stuff folks :-/ and it's how afaik things like 
https://github.com/skynetservices/skydns work (and more), and it would 
avoid that 'additional latency' (unless the other service is adjusting 
the policy key every millisecond, which seems sorta unreasonable).


-Josh

__
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.db] [release] opportunistic tests breaking randomly

2016-09-21 Thread Mike Bayer



On 09/21/2016 11:41 AM, Joshua Harlow wrote:


I've seen something similar at https://review.openstack.org/#/c/316935/

Maybe its time we asked again why are we still using eventlet and do we
need to anymore. What functionality of it are people actually taking
advantage of? If it's supporting libraries like oslo.service then it'd
probably be useful to talk to the ceilometer folks who replaced
oslo.service with something else (another oslo library for periodics and
https://github.com/sileht/cotyledon for service oriented tasks).


Plus Keystone has gotten off of it.

I actually like eventlet and gevent quite a lot.   I am using it in a 
new middleware component that will be involved with database connection 
pooling.  However, I *don't* use the global monkeypatching aspect. 
That's where this all goes very wrong.   Things that are designed for 
synchronous operations, like database-oriented business methods as well 
as the work of the database driver itself, should run within threads. 
You can in fact use eventlet/gevent's APIs explicitly and you can even 
combine it with traditional threading explicitly.   I'm actually using a 
stdlib Queue (carefully) to send data between greenlets and threads. 
Madness!








-Josh

__
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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Filip Pytloun
Hello,

> With 59 separate teams, even emailing the PTLs directly is becoming 
> impractical. I can’t imagine trying to email all of the core members directly.
> 
> A separate mailing list just for “important announcements” would need someone 
> to decide what is “important”. It would also need everyone to be subscribed, 
> or we would have to cross-post to the existing list. That’s why we use topic 
> tags on the mailing list, so that it is possible to filter messages based on 
> what is important to the reader, rather than the sender.

So maybe call it openstack-organization or openstack-teams or something
to focus on organizational topics.
Using tags and filters is also a way but may not be suitable for
everyone.

> I don’t see any releases listed on 
> https://releases.openstack.org/independent.html either. Are you tagging 
> releases, yet?

Yes, we've done a few releases, see eg. openstack/salt-formula-nova
releases here: https://github.com/openstack/salt-formula-nova/releases

I don't know why it's not listed on releases.openstack.org page.

> I see no emails tagged with [salt] on the mailing list since March of this 
> year, aside from this thread. Are you using a different communication channel 
> for team coordination? You mention IRC, but how are new contributors expected 
> to find you?

Yes, we are using openstack-salt channel and openstack meetings over
IRC. This channel is mentioned eg. in readme here [1] and community
meetings page [2] which are on weekly basis (logs [3]).

We also had a couple of people comming to team IRC talking to us about project
so I believe they can find the way to contact us even without our heavy
activity at openstack-dev (which should be better as I admitted).

[1] https://github.com/openstack/openstack-salt
[2] https://wiki.openstack.org/wiki/Meetings/openstack-salt
[3] http://eavesdrop.openstack.org/meetings/openstack_salt/2016/

> > 
> > Of course I don't want to excuse our fault. In case it's not too late,
> > we will try to be more active in mailing lists like openstack-dev and
> > not miss such important events next time.
> > 
> > [1] http://stackalytics.com/?module=openstacksalt-group
> > 
> > -Filip
> > 
> > On Wed, Sep 21, 2016 at 12:23 PM, Thierry Carrez 
> > wrote:
> > 
> >> Hi everyone,
> >> 
> >> As announced previously[1][2], there were no PTL candidates within the
> >> election deadline for a number of official OpenStack project teams:
> >> Astara, UX, OpenStackSalt and Security.
> >> 
> >> In the Astara case, the current team working on it would like to abandon
> >> the project (and let it be available for any new team who wishes to take
> >> it away). A change should be proposed really soon now to go in that
> >> direction.
> >> 
> >> In the UX case, the current PTL (Piet Kruithof) very quickly reacted,
> >> explained his error and asked to be considered for the position for
> >> Ocata. The TC will officialize his nomination at the next meeting,
> >> together with the newly elected PTLs.
> >> 
> >> That leaves us with OpenStackSalt and Security, where nobody reacted to
> >> the announcement that we are missing PTL candidates. That points to a
> >> real disconnect between those teams and the rest of the community. Even
> >> if you didn't have the election schedule in mind, it was pretty hard to
> >> miss all the PTL nominations in the email last week.
> >> 
> >> The majority of TC members present at the meeting yesterday suggested
> >> that those project teams should be removed from the Big Tent, with their
> >> design summit space allocation slightly reduced to match that (and make
> >> room for other not-yet-official teams).
> >> 
> >> In the case of OpenStackSalt, it's a relatively new addition, and if
> >> they get their act together they could probably be re-proposed in the
> >> future. In the case of Security, it points to a more significant
> >> disconnect (since it's not the first time the PTL misses the nomination
> >> call). We definitely still need to care about Security (and we also need
> >> a home for the Vulnerability Management team), but I think the "Security
> >> team" acts more like a workgroup than as an official project team, as
> >> evidenced by the fact that nobody in that team reacted to the lack of
> >> PTL nomination, or the announcement that the team missed the bus.
> >> 
> >> The suggested way forward there would be to remove the "Security project
> >> team", have the Vulnerability Management Team file to be its own
> >> official project team (in the same vein as the stable maintenance team),
> >> and have Security be just a workgroup rather than a project team.
> >> 
> >> Thoughts, comments ?
> >> 
> >> [1]
> >> http://lists.openstack.org/pipermail/openstack-dev/2016-
> >> September/103904.html
> >> [2]
> >> http://lists.openstack.org/pipermail/openstack-dev/2016-
> >> September/103939.html
> >> 
> >> --
> >> Thierry Carrez (ttx)
> >> 
> >> 

Re: [openstack-dev] [heat] [horizon] why is heat service-list limited to 'admin project?

2016-09-21 Thread Akihiro Motoki
Thanks. After I sent the mail, we had a good conversation with Rabi and
understood the whole background.
Horizon will try to support better keystone v3 support in Ocata cycle.

2016-09-21 22:47 GMT+09:00 Zane Bitter :

> On 21/09/16 03:30, Akihiro Motoki wrote:
>
>> Hi,
>>
>> The default policy.json provided by heat limits 'service-list' API to
>> 'admin' project like below.
>> Is there any reason 'admin' role user in non-'admin' project cannot
>> see service-list?
>>
>
> https://bugs.launchpad.net/keystone/+bug/968696
>
>"service:index": "rule:context_is_admin",
>> "context_is_admin": "role:admin and is_admin_project:True",
>>
>> I noticed this when investigating a horizon bug
>> https://bugs.launchpad.net/horizon/+bug/1624834.
>> horizon currently has a bit different policy engine and it does not
>> support is_admin_project:True.
>> We would like to know the background of this default configuration.
>>
>> Thanks,
>> Akihiro
>>
>> 
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscrib
>> e
>> 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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Clint Byrum
Excerpts from Filip Pytloun's message of 2016-09-21 14:58:52 +0200:
> Hello,
> 
> it's definately our bad that we missed elections in OpenStackSalt
> project. Reason is similar to Rob's - we are active on different
> channels (mostly IRC as we keep regular meetings) and don't used to
> reading mailing lists with lots of generic topics (it would be good to
> have separate mailing list for such calls and critical topics or
> individual mails to project's core members).
> 
> Our project is very active [1], trying to do things the Openstack way
> and I think it would be a pitty to remove it from Big Tent just because
> we missed mail and therefore our first PTL election.
> 
> Of course I don't want to excuse our fault. In case it's not too late,
> we will try to be more active in mailing lists like openstack-dev and
> not miss such important events next time.
> 
> [1] http://stackalytics.com/?module=openstacksalt-group
> 

Seems like we need a bit added to this process which makes sure big tent
projects have their primary IRC channel identified, and a list of core
reviewer and meeting chair IRC nicks to ping when something urgent comes
up. This isn't just useful for elections, but is probably something the
VMT would appreciate as well, and likely anyone else who has an urgent
need to make contact with a team.

I think it might also be useful if we could make the meeting bot remind
teams of any pending actions they need to take such as elections upon
#startmeeting.

Seems like all of that could be automated.

__
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.db] [release] opportunistic tests breaking randomly

2016-09-21 Thread Joshua Harlow

Zane Bitter wrote:

On 14/09/16 11:44, Mike Bayer wrote:



On 09/14/2016 11:08 AM, Mike Bayer wrote:



On 09/14/2016 09:15 AM, Sean Dague wrote:

I noticed the following issues happening quite often now in the
opportunistic db tests for nova -
http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22sqlalchemy.exc.ResourceClosedError%5C%22





It looks like some race has been introduced where the various db
connections are not fully isolated from each other like they used to
be.
The testing magic for this is buried pretty deep in oslo.db.


that error message occurs when a connection that is intended against a
SELECT statement fails to provide a cursor.description attribute. It is
typically a driver-level bug in the MySQL world and corresponds to
mis-handled failure modes from the MySQL connection.

By "various DB connections are not fully isolated from each other" are
you suggesting that a single in-Python connection object itself is being
shared among multiple greenlets? I'm not aware of a change in oslo.db
that would be a relationship to such an effect.


So, I think by "fully isolated from each other" what you really mean is
"operations upon a connection are not fully isolated from the subsequent
use of that connection", since that's what I see in the logs. A
connection is attempting to be used during teardown to drop tables,
however it's in this essentially broken state from a PyMySQL
perspective, which would indicate something has gone wrong with this
(pooled) connection in the preceding test that could not be detected or
reverted once the connection was returned to the pool.

From Roman's observation, it looks like a likely source of this
corruption is a timeout that is interrupting the state of the PyMySQL
connection. In the preceding stack trace, PyMySQL is encountering a
raise as it attempts to call "self._sock.recv_into(b)", and it seems
like some combination of eventlet's response to signals and the
fixtures.Timeout() fixture is the cause of this interruption. As an
additional wart, something else is getting involved and turning it into
an IndexError, I'm not sure what that part is yet though I can imagine
that might be SQLAlchemy mis-interpreting what it expects to be a
PyMySQL exception class, since we normally look inside of
exception.args[0] to get the MySQL error code. With a blank exception
like fixtures.TimeoutException, .args is the empty tuple.

The PyMySQL connection is now in an invalid state and unable to perform
a SELECT statement correctly, but the connection is not invalidated and
is instead returned to the connection pool in a broken state. So the
subsequent teardown, if it uses this same connection (which is likely),
fails because the connection has been interrupted in the middle of its
work and not given the chance to clean up.

Seems like the use of fixtures.Timeout() fixture here is not organized
to work with a database operation in progress, especially an
eventlet-monkeypatched PyMySQL. Ideally, if something like a timeout
due to a signal handler occurs, the entire connection pool should be
disposed (quickest way, engine.dispose()), or at the very least (and
much more targeted), the connection that's involved should be
invalidated from the pool, e.g. connection.invalidate().

The change to the environment here would be that this timeout is
happening at all - the reason for that is not yet known. If oslo.db's
version were involved in this error, I would guess that it would be
related to this timeout condition being caused, and not anything to do
with the connection provisioning.



Olso.db 4.13.3 did hit the scene about the time this showed up. So I
think we need to strongly consider blocking it and revisiting these
issues post newton.


We've been seeing similar errors in Heat since at least Liberty
(https://bugs.launchpad.net/heat/+bug/1499669). Mike and I did some
poking around yesterday and basically confirmed his theory above. If you
look at the PyMySQL code, it believes that only an IOError can occur
while writing to a socket, so it has no handling for any other type of
exception, thus it can't deal with signal handlers raising exceptions or
other exceptions being thrown into the greenthread by eventlet. It
sounds like sqlalchemy also fails to catch at least some of these
exceptions and invalidate the connection.

tl;dr this appears to have been around forever (at least since we
switched to using a pure-Python MySQL client) and is almost certainly
completely unrelated to any particular release of oslo.db.


I've seen something similar at https://review.openstack.org/#/c/316935/

Maybe its time we asked again why are we still using eventlet and do we 
need to anymore. What functionality of it are people actually taking 
advantage of? If it's supporting libraries like oslo.service then it'd 
probably be useful to talk to the ceilometer folks who replaced 
oslo.service with something else (another oslo library for periodics and 

Re: [openstack-dev] [oslo][nova] Anyone interested in writing a policy generator sphinx extension?

2016-09-21 Thread Andrew Laski


On Wed, Sep 21, 2016, at 11:05 AM, Alexander Makarov wrote:
> What if policy will be manageable using RESTful API?
> I'd like to validate the idea to handle policies in keystone or 
> affiliated service: https://review.openstack.org/#/c/325326/

As Matt said, that's unrelated to what he's asking about.

However, I have asked twice now on the review what the benefit of doing
this is and haven't received a response so I'll ask here. The proposal
would add additional latency to nearly every API operation in a service
and in return what do they get? Now that it's possible to register sane
policy defaults within a project most operators do not even need to
think about policy for projects that do that. And any policy changes
that are necessary are easily handled by a config management system.

I would expect to see a pretty significant benefit in exchange for
moving policy control out of Nova, and so far it's not clear to me what
that would be.


> 
> On 21.09.2016 17:49, Matt Riedemann wrote:
> > Nova has policy defaults in code now and we can generate the sample 
> > using oslopolicy-sample-generator but we'd like to get the default 
> > policy sample in the Nova developer documentation also, like we have 
> > for nova.conf.sample.
> >
> > I see we use the sphinxconfiggen extension for building the 
> > nova.conf.sample in our docs, but I don't see anything like that for 
> > generating docs for a sample policy file.
> >
> > Has anyone already started working on that, or is interested in 
> > working on that? I've never written a sphinx extension before but I'm 
> > guessing it could be borrowed a bit from how sphinxconfiggen was 
> > written in oslo.config.
> >
> 
> 
> __
> 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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Major Hayden
On 09/21/2016 05:17 AM, Rob C wrote:
> Apart from missing elections, I think we do a huge amount for the community 
> and removing us from OpenStack would in no way be beneficial to either the 
> Security Project or OpenStack as a whole.

I definitely agree with Rob here and I support keeping the Security team in the 
big tent.

Although I'm not an active contributor there (but I want to be), I've joined 
some of their meetings and they've provided guidance on some of the work I've 
done with OpenStack-Ansible's (OSA) security hardening role.  The OSSN's they 
produce are helpful and the information contained within them is used when we 
improve OSA.  The Security Guide is also extremely useful for deployers who 
need advice on configuring OpenStack in a secure way.

--
Major Hayden



signature.asc
Description: OpenPGP digital 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


[openstack-dev] [release][Ceilometer] Ceilometer Newton RC2 available

2016-09-21 Thread Davanum Srinivas
Hello everyone,

The release candidate for Ceilometer for the end of the Newton cycle
is available! You can find the RC2 source code tarball at:

https://tarballs.openstack.org/ceilometer/ceilometer-7.0.0.0rc2.tar.gz

Unless release-critical issues are found that warrant a release
candidate respin, this RC2 will be formally released as the final
Newton release on 6 October. You are therefore strongly encouraged to
test and validate this tarball!

Alternatively, you can directly test the stable/newton release branch at:

http://git.openstack.org/cgit/openstack/ceilometer/log/?h=stable/newton

If you find an issue that could be considered release-critical, please
file it at:

https://bugs.launchpad.net/ceilometer/+filebug

and tag it *newton-rc-potential* to bring it to the Ceilometer release
crew's attention.

Thanks,
Dims (On behalf of Release Team)

-- 
Davanum Srinivas :: https://twitter.com/dims

__
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][nova] Anyone interested in writing a policy generator sphinx extension?

2016-09-21 Thread Doug Hellmann
Excerpts from Matt Riedemann's message of 2016-09-21 09:49:29 -0500:
> Nova has policy defaults in code now and we can generate the sample 
> using oslopolicy-sample-generator but we'd like to get the default 
> policy sample in the Nova developer documentation also, like we have for 
> nova.conf.sample.
> 
> I see we use the sphinxconfiggen extension for building the 
> nova.conf.sample in our docs, but I don't see anything like that for 
> generating docs for a sample policy file.
> 
> Has anyone already started working on that, or is interested in working 
> on that? I've never written a sphinx extension before but I'm guessing 
> it could be borrowed a bit from how sphinxconfiggen was written in 
> oslo.config.
> 

I don't have time to do it myself, but I can help get someone else
started and work with them on code reviews in oslo.policy.

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] [oslo][nova] Anyone interested in writing a policy generator sphinx extension?

2016-09-21 Thread Matt Riedemann

On 9/21/2016 10:05 AM, Alexander Makarov wrote:

What if policy will be manageable using RESTful API?
I'd like to validate the idea to handle policies in keystone or
affiliated service: https://review.openstack.org/#/c/325326/

On 21.09.2016 17:49, Matt Riedemann wrote:

Nova has policy defaults in code now and we can generate the sample
using oslopolicy-sample-generator but we'd like to get the default
policy sample in the Nova developer documentation also, like we have
for nova.conf.sample.

I see we use the sphinxconfiggen extension for building the
nova.conf.sample in our docs, but I don't see anything like that for
generating docs for a sample policy file.

Has anyone already started working on that, or is interested in
working on that? I've never written a sphinx extension before but I'm
guessing it could be borrowed a bit from how sphinxconfiggen was
written in oslo.config.




__
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



I'm not sure how that's related to what I'm asking for here. We have 
policy defaults in code, and we want to generate those defaults into a 
sample policy file and have that in the docs. Sure the policy can be 
changed and customized later, but this isn't about that (or how that is 
done), it's just about documenting the default policy since the 
policy.json that ships in the nova tree now is empty. So we want to 
document the defaults, same as nova.conf.sample.


--

Thanks,

Matt Riedemann


__
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] [tempest]Tempest test concurrency

2016-09-21 Thread Matthew Treinish
On Wed, Sep 21, 2016 at 10:44:51AM -0400, Bob Hansen wrote:
> 
> 
> I have been looking at some of the stackviz output as I'm trying to improve
> the run time of my thrid-party CI. As an example:
> 
> http://logs.openstack.org/36/371836/1/check/gate-tempest-dsvm-full-ubuntu-xenial/087db0f/logs/stackviz/#/stdin/timeline
> 
> What jumps out is the amount of time that each worker is not running any
> tests. I would have expected quite a bit more concurrecy between the two
> workers in the chart, e.g. more overlap. I've noticed a simliar thing with
> my test runs using 4 workers.

So the gaps between tests aren't actually wait time, the workers are saturated
doing stuff during a run. Those gaps are missing data in the subunit streams
that are used as the soure of the data for rendering those timelines. The gaps
are where things like setUp, setUpClass, tearDown, tearDownClass, and
addCleanups which are not added to the subunit stream. It's just an artifact of
the incomplete data, not bad scheduling. This also means that testr does not
take into account any of the missing timing when it makes decisions based on
previous runs.

> 
> Can anyone explain why this is and where can I find out more information
> about the scheduler and what information it is using to decide when to
> dispatch tests? I'm already feeding my system a prior subunit stream to
> help influence the scheduler as my test run times are different due to the
> way our openstack implementation is architected. A simple round-robin
> approach is not the most efficeint in my case.

If you're curious about how testr does scheduling most of that happens here:

https://github.com/testing-cabal/testrepository/blob/master/testrepository/testcommand.py

One thing to remember is that testr isn't actually a test runner, it's a test
runner runner. It partitions the tests based on time information and passes
those to (multiple) test runner workers. The actual order of execution inside
those partitions is handled by the test runner itself. (in our case subunit.run)

-Matt Treinish


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] [oslo][nova] Anyone interested in writing a policy generator sphinx extension?

2016-09-21 Thread Alexander Makarov

What if policy will be manageable using RESTful API?
I'd like to validate the idea to handle policies in keystone or 
affiliated service: https://review.openstack.org/#/c/325326/


On 21.09.2016 17:49, Matt Riedemann wrote:
Nova has policy defaults in code now and we can generate the sample 
using oslopolicy-sample-generator but we'd like to get the default 
policy sample in the Nova developer documentation also, like we have 
for nova.conf.sample.


I see we use the sphinxconfiggen extension for building the 
nova.conf.sample in our docs, but I don't see anything like that for 
generating docs for a sample policy file.


Has anyone already started working on that, or is interested in 
working on that? I've never written a sphinx extension before but I'm 
guessing it could be borrowed a bit from how sphinxconfiggen was 
written in oslo.config.





__
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] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Doug Hellmann

> On Sep 21, 2016, at 8:58 AM, Filip Pytloun  wrote:
> 
> Hello,
> 
> it's definately our bad that we missed elections in OpenStackSalt
> project. Reason is similar to Rob's - we are active on different
> channels (mostly IRC as we keep regular meetings) and don't used to
> reading mailing lists with lots of generic topics (it would be good to
> have separate mailing list for such calls and critical topics or
> individual mails to project's core members).

With 59 separate teams, even emailing the PTLs directly is becoming 
impractical. I can’t imagine trying to email all of the core members directly.

A separate mailing list just for “important announcements” would need someone 
to decide what is “important”. It would also need everyone to be subscribed, or 
we would have to cross-post to the existing list. That’s why we use topic tags 
on the mailing list, so that it is possible to filter messages based on what is 
important to the reader, rather than the sender.

> Our project is very active [1], trying to do things the Openstack way
> and I think it would be a pitty to remove it from Big Tent just because
> we missed mail and therefore our first PTL election.

I don’t see any releases listed on 
https://releases.openstack.org/independent.html either. Are you tagging 
releases, yet?

I see no emails tagged with [salt] on the mailing list since March of this 
year, aside from this thread. Are you using a different communication channel 
for team coordination? You mention IRC, but how are new contributors expected 
to find you?

> 
> Of course I don't want to excuse our fault. In case it's not too late,
> we will try to be more active in mailing lists like openstack-dev and
> not miss such important events next time.
> 
> [1] http://stackalytics.com/?module=openstacksalt-group
> 
> -Filip
> 
> On Wed, Sep 21, 2016 at 12:23 PM, Thierry Carrez 
> wrote:
> 
>> Hi everyone,
>> 
>> As announced previously[1][2], there were no PTL candidates within the
>> election deadline for a number of official OpenStack project teams:
>> Astara, UX, OpenStackSalt and Security.
>> 
>> In the Astara case, the current team working on it would like to abandon
>> the project (and let it be available for any new team who wishes to take
>> it away). A change should be proposed really soon now to go in that
>> direction.
>> 
>> In the UX case, the current PTL (Piet Kruithof) very quickly reacted,
>> explained his error and asked to be considered for the position for
>> Ocata. The TC will officialize his nomination at the next meeting,
>> together with the newly elected PTLs.
>> 
>> That leaves us with OpenStackSalt and Security, where nobody reacted to
>> the announcement that we are missing PTL candidates. That points to a
>> real disconnect between those teams and the rest of the community. Even
>> if you didn't have the election schedule in mind, it was pretty hard to
>> miss all the PTL nominations in the email last week.
>> 
>> The majority of TC members present at the meeting yesterday suggested
>> that those project teams should be removed from the Big Tent, with their
>> design summit space allocation slightly reduced to match that (and make
>> room for other not-yet-official teams).
>> 
>> In the case of OpenStackSalt, it's a relatively new addition, and if
>> they get their act together they could probably be re-proposed in the
>> future. In the case of Security, it points to a more significant
>> disconnect (since it's not the first time the PTL misses the nomination
>> call). We definitely still need to care about Security (and we also need
>> a home for the Vulnerability Management team), but I think the "Security
>> team" acts more like a workgroup than as an official project team, as
>> evidenced by the fact that nobody in that team reacted to the lack of
>> PTL nomination, or the announcement that the team missed the bus.
>> 
>> The suggested way forward there would be to remove the "Security project
>> team", have the Vulnerability Management Team file to be its own
>> official project team (in the same vein as the stable maintenance team),
>> and have Security be just a workgroup rather than a project team.
>> 
>> Thoughts, comments ?
>> 
>> [1]
>> http://lists.openstack.org/pipermail/openstack-dev/2016-
>> September/103904.html
>> [2]
>> http://lists.openstack.org/pipermail/openstack-dev/2016-
>> September/103939.html
>> 
>> --
>> Thierry Carrez (ttx)
>> 
>> __
>> 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
> 

Re: [openstack-dev] [tripleo] let's talk (development) environment deployment tooling and workflows

2016-09-21 Thread John Trowbridge


On 09/19/2016 01:21 PM, Steven Hardy wrote:
> Hi Alex,
> 
> Firstly, thanks for this detailed feedback - it's very helpful to have
> someone with a fresh perspective look at the day-1 experience for TripleO,
> and while some of what follows are "know issues", it's great to get some
> perspective on them, as well as ideas re how we might improve things.
> 
> On Thu, Sep 15, 2016 at 09:09:24AM -0600, Alex Schultz wrote:
>> Hi all,
>>
>> I've recently started looking at the various methods for deploying and
>> developing tripleo.  What I would like to bring up is the current
>> combination of the tooling for managing the VM instances and the
>> actual deployment method to launch the undercloud/overcloud
>> installation.  While running through the various methods and reading
>> up on the documentation, I'm concerned that they are not currently
>> flexible enough for a developer (or operator for that matter) to be
>> able to setup the various environment configurations for testing
>> deployments and doing development.  Additionally I ran into issues
>> just trying get them working at all so this probably doesn't help when
>> trying to attract new contributors as well.  The focus of this email
>> and of my experience seems to relate with workflow-simplification
>> spec[0].  I would like to share my experiences with the various
>> tooling available and raise some ideas.
>>
>> Example Situation:
>>
>> For example, I have a laptop with 16G of RAM and an SSD and I'd like
>> to get started with tripleo.  How can I deploy tripleo?
> 
> So, this is probably problem #1, because while I have managed to deploy a
> minimal TripleO environment on a laptop with 16G of RAM, I think it's
> pretty widely known that it's not really enough (certainly with our default
> configuration, which has unfortunately grown over time as more and more
> things got integrated).
> 
> I see two options here:
> 
> 1. Document the reality (which is really you need a physical machine with
> at least 32G RAM unless you're prepared to deal with swapping).
> 
> 2. Look at providing a "TripleO lite" install option, which disables some
> services (both on the undercloud and default overcloud install).
> 
> Either of these are defintely possible, but (2) seems like the best
> long-term solution (although it probably means another CI job).
> 
>> Tools:
>>
>> instack:
>>
>> I started with the tripleo docs[1] that reference using the instack
>> tools for virtual environment creation while deploying tripleo.   The
>> docs say you need at least 12G of RAM[2].  The docs lie (step 7[3]).
>> So after basically shutting everything down and letting it deploy with
>> all my RAM, the deployment fails because the undercloud runs out of
>> RAM and OOM killer kills off heat.  This was not because I had reduced
>> the amount of ram for the undercloud node or anything.  It was because
>> by default, 6GB of RAM with no swap is configured for the undercloud
>> (not sure if this is a bug?).  So I added a swap file to the
>> undercloud and continued. My next adventure was having the overcloud
>> deployment fail because lack of memory as puppet fails trying to spawn
>> a process and gets denied.  The instack method does not configure swap
>> for the VMs that are deployed and the deployment did not work with 5GB
>> RAM for each node.  So for a full 16GB I was unable to follow the
>> documentation and use instack to successfully deploy.  At this point I
>> switched over to trying to use tripleo-quickstart.  Eventually I was
>> able to figure out a configuration with instack to get it to deploy
>> when I figured out how to enable swap for the overcloud deployment.
> 
> Yeah, so this definitely exposes that we need to update the docs, and also
> provide an easy install-time option to enable swap on all-the-things for
> memory contrained environments.
> 
>> tripleo-quickstart:
>>
>> The next thing I attempted to use was the tripleo-quickstart[4].
>> Following the directions I attempted to deploy against my localhost.
>> I turns out that doesn't work as expected since ansible likes to do
>> magic when dealing with localhost[5].  Ultimately I was unable to get
>> it working against my laptop locally because I ran into some libvirt
>> issues.  But I was able to get it to work when I pointed it at a
>> separate machine.  It should be noted that tripleo-quickstart creates
>> an undercloud with swap which was nice because then it actually works,
>> but is an inconsistent experience depending on which tool you used for
>> your deployment.
> 
> Yeah, so while a lot of folks have good luck with tripleo-quickstart, it
> has the disadvantage of not currently being the tool used in upstream
> TripleO CI (which folks have looked at fixing, but it's not yet happened).
> 
> The original plan was for tripleo-quickstart to completely replace the
> instack-virt-setup workflow:
> 
> https://blueprints.launchpad.net/tripleo/+spec/tripleo-quickstart
> 
> But for a variety of reasons, we never 

Re: [openstack-dev] [security] [salt] Removal of Security and OpenStackSalt project teams from the Big Tent

2016-09-21 Thread Doug Hellmann
Excerpts from Rob C's message of 2016-09-21 13:17:07 +0100:
> For my part, I missed the elections, that's my bad. I normally put a
> calendar item in for that issue. I don't think that my missing the election
> date should result in the group being treated in this way. Members of the
> TC have contacted me about unrelated things recently, I have always been
> available however my schedule has made it hard for me to sift through -dev
> recently and I missed the volley of nomination emails. This is certainly a
> failing on my part.
> 
> It's certainly true that the security team, and our cores tend not to pay
> as much attention to the -dev mailing list as we should. The list is pretty
> noisy and  traditionally we always had a separate list that we used for
> security and since moving away from that we tend to focus on IRC or direct
> emails. Though as can be seen with our core announcements etc, we do try to
> do things the "openstack way"
> 
> However, to say we're not active I think is a bit unfair. Theirry and
> others regularly mail me directly about things like rooms for the summit
> and I typically respond in good time, I think what's happened here is more
> an identification of the fact that we need to focus more on doing things
> "the openstack way" rather than being kicked out of the big tent.
> 
> We regularly work with the VMT on security issues, we issue large amounts
> of guidance on our own, we have been working hard on an asset based threat
> analysis process for OpenStack teams who are looking to be security
> managed, we've reviewed external TA documentation and recently in our
> midcycle (yes, we're dedicated enough to fly to Texas and meet up to work
> on such issues) we created the first real set of security documents for an
> OpenStack project,  we worked with Barbican to apply the asset based threat
> analysis that we'd like to engage other teams in [1], [2]
> 
> Here's a couple of the things that we've been doing in this cycle:
> * Issuing Security Notes for Glance, Nova, Horizon, Bandit, Neutron and
> Barbican[3]
> * Updating the security guide (the book we wrote on securing OpenStack)[4]
> * Hosting a midcycle and inducting new members
> * Supporting the VMT with several embargoed and complex vulnerabilities
> * Building up a security blog[5]
> * Making OpenStack the biggest open source project to ever receive the Core
> Infrastructure Initative Best Practices Badge[6][7]
> * Working on the OpenStack Security Whitepaper [8]
> * Developing CI security tooling such as Bandit [9]
> 
> We are a very active team, working extremely hard on trying to make one
> OpenStack secure. This is often a thankless task, we provide a lot of what
> customers are asking for from OpenStack but as we don't drive individual
> flagship features our contributions are often overlooked. However, above is
> just a selection of what we've been doing throughout the last cycle.
> 
> If it's too late for these comments to have an influence then sobeit but
> this is failure of appropriate levels of email filtering and perhaps a
> highlight of how we need to alter our culture somewhat to partipate more in
> -dev in general than it is any indication of a lack of dedication, time,
> effort or contribution on the part of the Security Project.  We have
> dedicate huge amounts of efforts to OpenStack and to relegate us to a
> working group would be massively detrimental for one reason above all
> others. We get corporate participation, time and effort in terms of
> employee hours and contributions because we're an official part of
> OpenStack, we've had to build this up over time. If you remove the Security
> Project from the big tent I believe that participation in Security for
> OpenStack will drop off significantly.
> 
> We are active, we are helping to make OpenStack secure and we (I) suck at
> keeping ontop of email. Don't kick us out for that. If needs be we can find
> another PTL or otherwise take special steps to ensure that missing
> elections doesn't happen.

While it's admirable of you to take responsibility, there's no
reason to think this is an individual team member's fault.  The
team is responsible as a group for ensuring that it is meeting its
responsibilities to the rest of the community. In this case, the
election officials and TC had no reason to assume that you would
or would not run again. Any contributor could have entered the race.
When no one at all did, that lack of engagement reflected on the
entire team, not only you.

> Apart from missing elections, I think we do a huge amount for the community
> and removing us from OpenStack would in no way be beneficial to either the
> Security Project or OpenStack as a whole.

Based on the list above, the team is doing far more than I was aware
of.  I'm glad to hear that, as it looks like there is a considerable
amount of work going into those contributions. I hope we can find
a way to increase the team's participation in community operations
outside of 

[openstack-dev] [oslo][nova] Anyone interested in writing a policy generator sphinx extension?

2016-09-21 Thread Matt Riedemann
Nova has policy defaults in code now and we can generate the sample 
using oslopolicy-sample-generator but we'd like to get the default 
policy sample in the Nova developer documentation also, like we have for 
nova.conf.sample.


I see we use the sphinxconfiggen extension for building the 
nova.conf.sample in our docs, but I don't see anything like that for 
generating docs for a sample policy file.


Has anyone already started working on that, or is interested in working 
on that? I've never written a sphinx extension before but I'm guessing 
it could be borrowed a bit from how sphinxconfiggen was written in 
oslo.config.


--

Thanks,

Matt Riedemann


__
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.db] [release] opportunistic tests breaking randomly

2016-09-21 Thread Ihar Hrachyshka

I just hit that TimeoutException error in neutron functional tests:

http://logs.openstack.org/68/373868/4/check/gate-neutron-dsvm-functional-ubuntu-trusty/4de275e/testr_results.html.gz

It’s a bit weird that we hit that 180 sec timeout because in good runs, the  
test takes ~5 secs.


Do we have a remedy against that kind of failure? I saw nova bumped the  
timeout length for the tests. Is it the approach we should apply across the  
board for other projects?


Ihar

Zane Bitter  wrote:


On 14/09/16 11:44, Mike Bayer wrote:

On 09/14/2016 11:08 AM, Mike Bayer wrote:

On 09/14/2016 09:15 AM, Sean Dague wrote:

I noticed the following issues happening quite often now in the
opportunistic db tests for nova -
http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22sqlalchemy.exc.ResourceClosedError%5C%22




It looks like some race has been introduced where the various db
connections are not fully isolated from each other like they used to be.
The testing magic for this is buried pretty deep in oslo.db.


that error message occurs when a connection that is intended against a
SELECT statement fails to provide a cursor.description attribute.  It is
typically a driver-level bug in the MySQL world and corresponds to
mis-handled failure modes from the MySQL connection.

By "various DB connections are not fully isolated from each other" are
you suggesting that a single in-Python connection object itself is being
shared among multiple greenlets?   I'm not aware of a change in oslo.db
that would be a relationship to such an effect.


So, I think by "fully isolated from each other" what you really mean is
"operations upon a connection are not fully isolated from the subsequent
use of that connection", since that's what I see in the logs.  A
connection is attempting to be used during teardown to drop tables,
however it's in this essentially broken state from a PyMySQL
perspective, which would indicate something has gone wrong with this
(pooled) connection in the preceding test that could not be detected or
reverted once the connection was returned to the pool.

From Roman's observation, it looks like a likely source of this
corruption is a timeout that is interrupting the state of the PyMySQL
connection.   In the preceding stack trace, PyMySQL is encountering a
raise as it attempts to call "self._sock.recv_into(b)", and it seems
like some combination of eventlet's response to signals and the
fixtures.Timeout() fixture is the cause of this interruption.   As an
additional wart, something else is getting involved and turning it into
an IndexError, I'm not sure what that part is yet though I can imagine
that might be SQLAlchemy mis-interpreting what it expects to be a
PyMySQL exception class, since we normally look inside of
exception.args[0] to get the MySQL error code.   With a blank exception
like fixtures.TimeoutException, .args is the empty tuple.

The PyMySQL connection is now in an invalid state and unable to perform
a SELECT statement correctly, but the connection is not invalidated and
is instead returned to the connection pool in a broken state.  So the
subsequent teardown, if it uses this same connection (which is likely),
fails because the connection has been interrupted in the middle of its
work and not given the chance to clean up.

Seems like the use of fixtures.Timeout() fixture here is not organized
to work with a database operation in progress, especially an
eventlet-monkeypatched PyMySQL.   Ideally, if something like a timeout
due to a signal handler occurs, the entire connection pool should be
disposed (quickest way, engine.dispose()), or at the very least (and
much more targeted), the connection that's involved should be
invalidated from the pool, e.g. connection.invalidate().

The change to the environment here would be that this timeout is
happening at all - the reason for that is not yet known.   If oslo.db's
version were involved in this error, I would guess that it would be
related to this timeout condition being caused, and not anything to do
with the connection provisioning.


Olso.db 4.13.3 did hit the scene about the time this showed up. So I
think we need to strongly consider blocking it and revisiting these
issues post newton.


We've been seeing similar errors in Heat since at least Liberty  
(https://bugs.launchpad.net/heat/+bug/1499669). Mike and I did some  
poking around yesterday and basically confirmed his theory above. If you  
look at the PyMySQL code, it believes that only an IOError can occur  
while writing to a socket, so it has no handling for any other type of  
exception, thus it can't deal with signal handlers raising exceptions or  
other exceptions being thrown into the greenthread by eventlet. It sounds  
like sqlalchemy also fails to catch at least some of these exceptions and  
invalidate the connection.


tl;dr this appears to have been around forever (at least since we  
switched to using a pure-Python MySQL client) 

[openstack-dev] [tempest]Tempest test concurrency

2016-09-21 Thread Bob Hansen


I have been looking at some of the stackviz output as I'm trying to improve
the run time of my thrid-party CI. As an example:

http://logs.openstack.org/36/371836/1/check/gate-tempest-dsvm-full-ubuntu-xenial/087db0f/logs/stackviz/#/stdin/timeline

What jumps out is the amount of time that each worker is not running any
tests. I would have expected quite a bit more concurrecy between the two
workers in the chart, e.g. more overlap. I've noticed a simliar thing with
my test runs using 4 workers.

Can anyone explain why this is and where can I find out more information
about the scheduler and what information it is using to decide when to
dispatch tests? I'm already feeding my system a prior subunit stream to
help influence the scheduler as my test run times are different due to the
way our openstack implementation is architected. A simple round-robin
approach is not the most efficeint in my case.

(maybe openstack-infra is a better place to ask?)

Thanks!

Bob Hansen
z/VM OpenStack Enablement
__
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] [UX] Results Presentation: Managing OpenStack Quotas within Production Environments

2016-09-21 Thread Danielle Mundle
The OpenStack UX team will be giving a results presentation from a series
of interviews intended to understand how operators manage quotas at scale
as well as the pain points associated with that process.  The study was
conducted by Danielle (IRC: uxdanielle) and included operators from CERN,
Pacific Northwest National Laboratory, Workday, Intel and Universidade
Federal de Campina Grande.

The presentation begins in ~20 minutes. WebEx information to join the
session can be found at the top of the UX wiki page:
https://wiki.openstack.org/wiki/UX#Results_Presentation:_Managing_OpenStack_Quotas_within_Production_Environments

Thanks for supporting UX research in the community!
--Danielle
__
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] [ptl] code churn and questionable changes

2016-09-21 Thread Boris Bobrov

Hello,


in addition to this, please, PLEASE stop creating 'all project bugs'. i
don't want to get emails on updates to projects unrelated to the ones i
care about. also, it makes updating the bug impossible because it times
out. i'm too lazy to search ML but this has been raise before, please stop.

let's all unite together and block these patches to bring an end to it. :)


People who contribute to OpenStack long enough already know this.
Usually new contributors do it. And we cannot reach out to them
in this mailing list. There should be a way to limit this somewhere
in Launchpad.


On 21/09/16 07:56 AM, Amrith Kumar wrote:

Of late I've been seeing a lot of rather questionable changes that
appear to be getting blasted out across multiple projects; changes that
cause considerable code churn, and don't (IMHO) materially improve the
quality of OpenStack.

I’d love to provide a list of the changes that triggered this email but
I know that this will result in a rat hole where we end up discussing
the merits of the individual items on the list and lose sight of the
bigger picture. That won’t help address the question I have below in any
way, so I’m at a disadvantage of having to describe my issue in abstract
terms.



Here’s how I characterize these changes (changes that meet one or more
of these criteria):



-Contains little of no information in the commit message (often just
a single line)

-Makes some generic statement like “Do X not Y”, “Don’t use Z”,
“Make ABC better” with no further supporting information

-Fail (literally) every single CI job, clearly never tested by the
developer

-Gets blasted across many projects, literally tens with often the
same kind of questionable (often wrong) change

-Makes a stylistic python improvement that is not enforced by any
check (causes a cottage industry of changes making the same correction
every couple of months)

-Reverses some previous python stylistic improvement with no clear
reason (another cottage industry)



I’ve tried to explain it to myself as enthusiasm, and a desire to
contribute aggressively; I’ve lapsed into cynicism at times and tried to
explain it as gaming the numbers system, but all that is merely
rationalization and doesn’t help.



Over time, the result generally is that these developers’ changes get
ignored. And that’s not a good thing for the community as a whole. We
want to be a welcoming community and one which values all contributions
so I’m looking for some suggestions and guidance on how one can work
with contributors to try and improve the quality of these changes, and
help the contributor feel that their changes are valued by the project?
Other more experienced PTL’s, ex-PTL’s, long time open-source-community
folks, I’m seriously looking for suggestions and ideas.



Any and all input is welcome, do other projects see this, how do you
handle it, is this normal, …



Thanks!



-amrith



cheers,



__
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   >