Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-17 Thread Zane Bitter

On 13/03/17 17:20, Davanum Srinivas wrote:

Zane,

Sorry for the top post, Can you please submit a TC resolution? I can
help with it as well. Let's test the waters.


OK, here is a start:

https://review.openstack.org/#/c/447031/

- ZB


Thanks,
Dims

On Mon, Mar 13, 2017 at 5:10 PM, Zane Bitter  wrote:

On 12/03/17 11:30, Clint Byrum wrote:


Excerpts from Fox, Kevin M's message of 2017-03-11 21:31:40 +:


No, they are treated as second class citizens. Take Trova again as an
example. The underlying OpenStack infrastructure does not provide a good
security solution for Trove's use case. As its more then just IaaS. So they
have spent years trying to work around it on one way or another, each with
horrible trade offs.

For example they could fix an issue by:
1. Run the service vm in the users tenant where it belongs. Though,
currently the user has permissions to reboot the vm, login through the
console and swipe any secrets that are on the vm and make it much harder for
the cloud admin to administer.
2. Run the vm in a "trove" tenant. This fixes the security issue but
breaks the quota model of OpenStack. Users with special host aggregate
access/flavors can't work with this model.

For our site, we can't use Trove at all at the moment, even though we
want to. Because option 2 doesn't work for us, and option 1 currently has a
glaring security flaw in it.

One of the ways I saw Trove try to fix it was to get a feature into Nova
called "Service VM's". VMs owned by the user but not fully controllable by
them but from some other OpenStack service on their behalf. This, IMO is the
right way to solve it. There are a lot of advanced services that need this
functionality. But it seems to have been rejected, as "users don't need
that"... Which is true, only if you only consider the IaaS use case.



You're right. This type of rejection is not O-K IMO, because this is
consumers of Nova with a real use case, asking for real features that
simply cannot be implemented anywhere except inside Nova. Perhaps the
climate has changed, and this effort can be resurrected.



I don't believe the climate has changed; there's no reason for it have. Nova
is still constrained by the size of the core reviewers team, and they've
been unwilling or unable to take steps (like splitting Nova up into smaller
chunks) that would increase capacity, so they have to reject as many feature
requests as possible. Given that the wider community has never had a debate
about what we're trying to build or for whom, it's perfectly easy to drift
along thinking that the current priorities are adequate without ever being
challenged.

Until we have a TC resolution - with the community consensus to back it up -
that says "the reason for having APIs to your infrastructure is so that
*applications* can use them and projects must make not being an obstacle to
this their highest purpose", or "we're building an open source AWS, not a
free VMWare", or https://www.youtube.com/watch?v=Vhh_GeBPOhs ... until it's
not possible to say with complete earnestness "OpenStack has VMs, so you can
run any application on it" then the climate will never change, and we'll
just keep hearing "I don't need this, so neither should you".


The problems of these other OpenStack services are being rejected as
second class problems, not primary ones.

I'm sure other sites are avoiding other OpenStack advanced services for
similar reasons. its not just that Operators don't want to deploy it, or
that Users are not asking for it.

Let me try and explain Zane's post in a sligtly different way... maybe
that would help...

So, say you had an operating system. It had the ability to run arbitrary
programs if the user started an executable via the keyboard/mouse. But had
no ability for an executable to start another executable. How useful would
that OS be? There would be no shell scripts. No non monolithic applications.
It would be sort of functional, but would be hamstrung.

OpenStack is like that today. Like the DOS operating system. Programs are
expected to be pretty self contained and not really talk back to the
Operating System its running on, nor a way to discover other programs
running on the same system. Nor really for a script running on the Operating
System to start other programs, chaining them together in a way thats more
useful then the sum of their parts. The current view is fine if you need is
just a container to run a traditional OS in. Its not if you are trying to
build an application that spans things.

There have been several attempts at fixing this, in Heat, in Murano, in
the App Catalog, but plumbing they rely on isn't really supportive of it, as
they believe the use case really is just launching a VM with an OS in it is
really the important thing to do, and the job's done.

For the Applications Catalog to be successful, it needs the underlying
cloud to have enough functionality among a common set of cloud provided
services to allow applications developers to write cloud s

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-15 Thread Fox, Kevin M
Interesting. Thanks for the info.

Kevin

From: Boris Bobrov [bre...@cynicmansion.ru]
Sent: Wednesday, March 15, 2017 2:07 PM
To: openstack-dev@lists.openstack.org
Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog

On 03/15/2017 10:06 PM, Jay Pipes wrote:
> +Boris B
>
> On 03/15/2017 02:55 PM, Fox, Kevin M wrote:
>> I think they are. If they are not, things will break if federation is
>> used for sure. If you know that it is please let me know. I want to
>> deploy federation at some point but was waiting for dashboard support.
>> Now that the dashboard supports it, I may try it soon. Its a no-go
>> still though if heat doesn't work with it.
>
> We had a customer engagement recently that had issues with Heat not
> being able to execute certain actions in a federated Keystone
> environment. I believe we learned that Keystone trusts and federation
> were not compatible during this engagement.
>
> Boris, would you mind refreshing memories on this?

They are still broken when user gets roles from groups membership.
At the PTG session the decision was to document that it is fine and that
user should get concrete role assignments before using heat via
federation. Now there are 2 ways to do it.

1. New auto-provisioning capabilities, which make role assignments
persistent [0]. Which is funny, because group membership is not
persistent.

2. Ask project admin to assign the roles.

[0]https://docs.openstack.org/developer/keystone/federation/mapping_combinations.html#auto-provisioning

I don't like it though and wanted to talk about it at keystone
meeting. But we didn't make it on time so it will be discussed next
Tuesday. I want this: https://review.openstack.org/#/c/437533/

> Best,
> -jay
>
>> 
>> From: Jay Pipes [jaypi...@gmail.com]
>> Sent: Wednesday, March 15, 2017 11:41 AM
>> To: openstack-dev@lists.openstack.org
>> Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog
>>
>> On 03/15/2017 01:21 PM, Fox, Kevin M wrote:
>>> Other OpenStack subsystems (such as Heat) handle this with Trusts. A
>>> service account is made in a different, usually SQL backed Keystone
>>> Domain and a trust is created associating the service account with
>>> the User.
>>>
>>> This mostly works but does give the trusted account a lot of power,
>>> as the roles by default in OpenStack are pretty coarse grained. That
>>> should be solvable though.
>>
>> I didn't think Keystone trusts and Keystone federation were compatible
>> with each other, though? Did that change recently?
>>
>> Best,
>> -jay
>>
>> __
>>
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>> __
>>
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>

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

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


Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-15 Thread Boris Bobrov
On 03/15/2017 10:06 PM, Jay Pipes wrote:
> +Boris B
> 
> On 03/15/2017 02:55 PM, Fox, Kevin M wrote:
>> I think they are. If they are not, things will break if federation is
>> used for sure. If you know that it is please let me know. I want to
>> deploy federation at some point but was waiting for dashboard support.
>> Now that the dashboard supports it, I may try it soon. Its a no-go
>> still though if heat doesn't work with it.
> 
> We had a customer engagement recently that had issues with Heat not
> being able to execute certain actions in a federated Keystone
> environment. I believe we learned that Keystone trusts and federation
> were not compatible during this engagement.
> 
> Boris, would you mind refreshing memories on this?

They are still broken when user gets roles from groups membership.
At the PTG session the decision was to document that it is fine and that
user should get concrete role assignments before using heat via
federation. Now there are 2 ways to do it.

1. New auto-provisioning capabilities, which make role assignments
persistent [0]. Which is funny, because group membership is not
persistent.

2. Ask project admin to assign the roles.

[0]https://docs.openstack.org/developer/keystone/federation/mapping_combinations.html#auto-provisioning

I don't like it though and wanted to talk about it at keystone
meeting. But we didn't make it on time so it will be discussed next
Tuesday. I want this: https://review.openstack.org/#/c/437533/

> Best,
> -jay
> 
>> 
>> From: Jay Pipes [jaypi...@gmail.com]
>> Sent: Wednesday, March 15, 2017 11:41 AM
>> To: openstack-dev@lists.openstack.org
>> Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog
>>
>> On 03/15/2017 01:21 PM, Fox, Kevin M wrote:
>>> Other OpenStack subsystems (such as Heat) handle this with Trusts. A
>>> service account is made in a different, usually SQL backed Keystone
>>> Domain and a trust is created associating the service account with
>>> the User.
>>>
>>> This mostly works but does give the trusted account a lot of power,
>>> as the roles by default in OpenStack are pretty coarse grained. That
>>> should be solvable though.
>>
>> I didn't think Keystone trusts and Keystone federation were compatible
>> with each other, though? Did that change recently?
>>
>> Best,
>> -jay
>>
>> __
>>
>> OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-15 Thread Zane Bitter

On 15/03/17 14:41, Jay Pipes wrote:

On 03/15/2017 01:21 PM, Fox, Kevin M wrote:

Other OpenStack subsystems (such as Heat) handle this with Trusts. A
service account is made in a different, usually SQL backed Keystone
Domain and a trust is created associating the service account with the
User.

This mostly works but does give the trusted account a lot of power, as
the roles by default in OpenStack are pretty coarse grained. That
should be solvable though.


I didn't think Keystone trusts and Keystone federation were compatible
with each other, though?


You're correct, you have to pick one or the other.


Did that change recently?


Nope. We did discuss it at the PTG:

https://etherpad.openstack.org/p/pike-ptg-cross-project-federation

- ZB

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-15 Thread Clint Byrum
Excerpts from Jay Pipes's message of 2017-03-15 15:06:26 -0400:
> +Boris B
> 
> On 03/15/2017 02:55 PM, Fox, Kevin M wrote:
> > I think they are. If they are not, things will break if federation is used 
> > for sure. If you know that it is please let me know. I want to deploy 
> > federation at some point but was waiting for dashboard support. Now that 
> > the dashboard supports it, I may try it soon. Its a no-go still though if 
> > heat doesn't work with it.
> 
> We had a customer engagement recently that had issues with Heat not 
> being able to execute certain actions in a federated Keystone 
> environment. I believe we learned that Keystone trusts and federation 
> were not compatible during this engagement.
> 
> Boris, would you mind refreshing memories on this?

Is it possible that this was because there was no writable domain for
Heat to create instance users in?

Because when last I used Heat long ago, Heat straight up just won't work
without trusts (since you have to give Heat a trust for it to be able
to do anything for you). Prior to that Heat was storing your creds in
its database... pretty sure that's long gone.

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-15 Thread Jay Pipes

+Boris B

On 03/15/2017 02:55 PM, Fox, Kevin M wrote:

I think they are. If they are not, things will break if federation is used for 
sure. If you know that it is please let me know. I want to deploy federation at 
some point but was waiting for dashboard support. Now that the dashboard 
supports it, I may try it soon. Its a no-go still though if heat doesn't work 
with it.


We had a customer engagement recently that had issues with Heat not 
being able to execute certain actions in a federated Keystone 
environment. I believe we learned that Keystone trusts and federation 
were not compatible during this engagement.


Boris, would you mind refreshing memories on this?

Best,
-jay



From: Jay Pipes [jaypi...@gmail.com]
Sent: Wednesday, March 15, 2017 11:41 AM
To: openstack-dev@lists.openstack.org
Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog

On 03/15/2017 01:21 PM, Fox, Kevin M wrote:

Other OpenStack subsystems (such as Heat) handle this with Trusts. A service 
account is made in a different, usually SQL backed Keystone Domain and a trust 
is created associating the service account with the User.

This mostly works but does give the trusted account a lot of power, as the 
roles by default in OpenStack are pretty coarse grained. That should be 
solvable though.


I didn't think Keystone trusts and Keystone federation were compatible
with each other, though? Did that change recently?

Best,
-jay

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-15 Thread Fox, Kevin M
I think they are. If they are not, things will break if federation is used for 
sure. If you know that it is please let me know. I want to deploy federation at 
some point but was waiting for dashboard support. Now that the dashboard 
supports it, I may try it soon. Its a no-go still though if heat doesn't work 
with it.

Thanks,
Kevin

From: Jay Pipes [jaypi...@gmail.com]
Sent: Wednesday, March 15, 2017 11:41 AM
To: openstack-dev@lists.openstack.org
Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog

On 03/15/2017 01:21 PM, Fox, Kevin M wrote:
> Other OpenStack subsystems (such as Heat) handle this with Trusts. A service 
> account is made in a different, usually SQL backed Keystone Domain and a 
> trust is created associating the service account with the User.
>
> This mostly works but does give the trusted account a lot of power, as the 
> roles by default in OpenStack are pretty coarse grained. That should be 
> solvable though.

I didn't think Keystone trusts and Keystone federation were compatible
with each other, though? Did that change recently?

Best,
-jay

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-15 Thread Jay Pipes

On 03/15/2017 01:21 PM, Fox, Kevin M wrote:

Other OpenStack subsystems (such as Heat) handle this with Trusts. A service 
account is made in a different, usually SQL backed Keystone Domain and a trust 
is created associating the service account with the User.

This mostly works but does give the trusted account a lot of power, as the 
roles by default in OpenStack are pretty coarse grained. That should be 
solvable though.


I didn't think Keystone trusts and Keystone federation were compatible 
with each other, though? Did that change recently?


Best,
-jay

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-15 Thread Fox, Kevin M
Other OpenStack subsystems (such as Heat) handle this with Trusts. A service 
account is made in a different, usually SQL backed Keystone Domain and a trust 
is created associating the service account with the User.

This mostly works but does give the trusted account a lot of power, as the 
roles by default in OpenStack are pretty coarse grained. That should be 
solvable though.

Thanks,
Kevin


From: Clint Byrum [cl...@fewbar.com]
Sent: Wednesday, March 15, 2017 9:49 AM
To: openstack-dev
Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog

Excerpts from Sean Dague's message of 2017-03-15 08:45:54 -0400:
> On 03/13/2017 05:10 PM, Zane Bitter wrote:
> 
> >> I'm not sure I agree. One can very simply inject needed credentials
> >> into a running VM and have it interact with the cloud APIs.
> >
> > Demo please!
> >
> > Most Keystone backends are read-only, you can't even create a new user
> > account yourself. It's an admin-only API anyway. The only non-expiring
> > credential you even *have*, ignoring the difficulties of getting it to
> > the server, is your LDAP password. Would *you* put *your* LDAP password
> > on an internet-facing server? I would not.
>
> So is one of the issues to support cloud native flows that our user auth
> system, which often needs to connect into traditional enterprise
> systems, doesn't really consider that?
>
> I definitely agree, if your cloud is using your LDAP password, which
> gets you into your health insurance and direct deposit systems at your
> employeer, sticking this into a cloud server is a no go.
>
> Thinking aloud, I wonder if user provisionable sub users would help
> here. They would have all the same rights as the main user (except
> modify other subusers), but would have a dedicated user provisioned
> password. You basically can carve off the same thing from Google when
> you have services that can't do the entire oauth/2factor path. Fastmail
> rolled out something similar recently as well.
>

Could we just let users manage a set of OAuth keys that have a subset
of their roles?

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-15 Thread Clint Byrum
Excerpts from Kristi Nikolla's message of 2017-03-15 12:35:45 -0400:
> This might be related to the current discussion. 
> 
> In one of the keystone PTG sessions we started to talk about API keys. [0]
> A spec is being written and discussed. [1]
> 
> This would allow the user to provision API key credentials with a subset of 
> roles for use inside of their applications. Removing the need to inject the 
> actual user credentials inside an application.
> 
> [0] http://lbragstad.com/keystone-pike-ptg-summary/
> [1] https://review.openstack.org/#/c/438761
> 

 ^^ this!

> > On Mar 15, 2017, at 8:45 AM, Sean Dague  wrote:
> > 
> > On 03/13/2017 05:10 PM, Zane Bitter wrote:
> >> 
> >> Demo please!
> >> 
> >> Most Keystone backends are read-only, you can't even create a new user
> >> account yourself. It's an admin-only API anyway. The only non-expiring
> >> credential you even *have*, ignoring the difficulties of getting it to
> >> the server, is your LDAP password. Would *you* put *your* LDAP password
> >> on an internet-facing server? I would not.
> > 
> > So is one of the issues to support cloud native flows that our user auth
> > system, which often needs to connect into traditional enterprise
> > systems, doesn't really consider that?
> > 
> > I definitely agree, if your cloud is using your LDAP password, which
> > gets you into your health insurance and direct deposit systems at your
> > employeer, sticking this into a cloud server is a no go.
> > 
> > Thinking aloud, I wonder if user provisionable sub users would help
> > here. They would have all the same rights as the main user (except
> > modify other subusers), but would have a dedicated user provisioned
> > password. You basically can carve off the same thing from Google when
> > you have services that can't do the entire oauth/2factor path. Fastmail
> > rolled out something similar recently as well.
> > 
> > -Sean
> > 
> > -- 
> > Sean Dague
> > http://dague.net
> > 
> > __
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-15 Thread Clint Byrum
Excerpts from Sean Dague's message of 2017-03-15 08:45:54 -0400:
> On 03/13/2017 05:10 PM, Zane Bitter wrote:
> 
> >> I'm not sure I agree. One can very simply inject needed credentials
> >> into a running VM and have it interact with the cloud APIs.
> > 
> > Demo please!
> > 
> > Most Keystone backends are read-only, you can't even create a new user
> > account yourself. It's an admin-only API anyway. The only non-expiring
> > credential you even *have*, ignoring the difficulties of getting it to
> > the server, is your LDAP password. Would *you* put *your* LDAP password
> > on an internet-facing server? I would not.
> 
> So is one of the issues to support cloud native flows that our user auth
> system, which often needs to connect into traditional enterprise
> systems, doesn't really consider that?
> 
> I definitely agree, if your cloud is using your LDAP password, which
> gets you into your health insurance and direct deposit systems at your
> employeer, sticking this into a cloud server is a no go.
> 
> Thinking aloud, I wonder if user provisionable sub users would help
> here. They would have all the same rights as the main user (except
> modify other subusers), but would have a dedicated user provisioned
> password. You basically can carve off the same thing from Google when
> you have services that can't do the entire oauth/2factor path. Fastmail
> rolled out something similar recently as well.
> 

Could we just let users manage a set of OAuth keys that have a subset
of their roles?

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-15 Thread Zane Bitter

On 15/03/17 08:45, Sean Dague wrote:

On 03/13/2017 05:10 PM, Zane Bitter wrote:


I'm not sure I agree. One can very simply inject needed credentials
into a running VM and have it interact with the cloud APIs.


Demo please!

Most Keystone backends are read-only, you can't even create a new user
account yourself. It's an admin-only API anyway. The only non-expiring
credential you even *have*, ignoring the difficulties of getting it to
the server, is your LDAP password. Would *you* put *your* LDAP password
on an internet-facing server? I would not.


So is one of the issues to support cloud native flows that our user auth
system, which often needs to connect into traditional enterprise
systems, doesn't really consider that?


Yes, absolutely.

Keystone kinda sorta has a partial fix for this. Different domains can 
have different backends, so you can have one read-only domain for 
corporate user accounts backed by LDAP/ActiveDirectory and another 
read/write domain backed by Sqlalchemy.


In fact this is how Heat gets around this - we require operators to 
create a DB-backed heat_stack_users domain, we create accounts in there, 
and then we give them special permissions (not granted by their keystone 
roles) for the stacks they're associated with in Heat. It's messy and 
other projects (like Kuryr) don't automatically get the benefit.


Nor does it help end users at the moment. There's no domain that 
guaranteed to be set up for them to create user accounts in (certainly 
not one that's consistent across multiple OpenStack clouds), and even if 
there were only admins can create user accounts on most clouds (IIUC 
Rackspace is one notable exception to this, but we need stuff that's 
consistent across clouds).



I definitely agree, if your cloud is using your LDAP password, which
gets you into your health insurance and direct deposit systems at your
employeer, sticking this into a cloud server is a no go.

Thinking aloud, I wonder if user provisionable sub users would help
here. They would have all the same rights as the main user (except
modify other subusers), but would have a dedicated user provisioned
password. You basically can carve off the same thing from Google when
you have services that can't do the entire oauth/2factor path. Fastmail
rolled out something similar recently as well.


This sounds like a good idea, and could definitely be part of the 
solution. If you read an AWS getting started guide pretty much all of 
them have as Step #1 creating an IAM account to use with your project so 
that you basically never have to use the credentials of your master 
account, which is connected to your billing. (I suspect the reason is 
that most people seem to end up accidentally checking their AWS 
credentials into a public GitHub repo at some point. ;)


It's not a total solution, though. A user account that has all of your 
permissions can still do anything you can do, like e.g. delete your 
whole application and all of its data. And backups. In fact, it can do 
that in all of the projects you have a role in. (The latter is fixable, 
by creating a user that has _no_ permissions instead, so you can then 
delegate your roles to them one at a time using a trust, or 
alternatively just by choosing which roles it inherits.)


So ultimately we need to give cloud application developers total control 
over what the accounts they create can and cannot do - so an application 
can, e.g. scale itself and heal itself but not delete itself.


cheers,
Zane.

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-15 Thread Kristi Nikolla
This might be related to the current discussion. 

In one of the keystone PTG sessions we started to talk about API keys. [0]
A spec is being written and discussed. [1]

This would allow the user to provision API key credentials with a subset of 
roles for use inside of their applications. Removing the need to inject the 
actual user credentials inside an application.

[0] http://lbragstad.com/keystone-pike-ptg-summary/
[1] https://review.openstack.org/#/c/438761


> On Mar 15, 2017, at 8:45 AM, Sean Dague  wrote:
> 
> On 03/13/2017 05:10 PM, Zane Bitter wrote:
>> 
>> Demo please!
>> 
>> Most Keystone backends are read-only, you can't even create a new user
>> account yourself. It's an admin-only API anyway. The only non-expiring
>> credential you even *have*, ignoring the difficulties of getting it to
>> the server, is your LDAP password. Would *you* put *your* LDAP password
>> on an internet-facing server? I would not.
> 
> So is one of the issues to support cloud native flows that our user auth
> system, which often needs to connect into traditional enterprise
> systems, doesn't really consider that?
> 
> I definitely agree, if your cloud is using your LDAP password, which
> gets you into your health insurance and direct deposit systems at your
> employeer, sticking this into a cloud server is a no go.
> 
> Thinking aloud, I wonder if user provisionable sub users would help
> here. They would have all the same rights as the main user (except
> modify other subusers), but would have a dedicated user provisioned
> password. You basically can carve off the same thing from Google when
> you have services that can't do the entire oauth/2factor path. Fastmail
> rolled out something similar recently as well.
> 
>   -Sean
> 
> -- 
> Sean Dague
> http://dague.net
> 
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-15 Thread Sean Dague
On 03/13/2017 05:10 PM, Zane Bitter wrote:

>> I'm not sure I agree. One can very simply inject needed credentials
>> into a running VM and have it interact with the cloud APIs.
> 
> Demo please!
> 
> Most Keystone backends are read-only, you can't even create a new user
> account yourself. It's an admin-only API anyway. The only non-expiring
> credential you even *have*, ignoring the difficulties of getting it to
> the server, is your LDAP password. Would *you* put *your* LDAP password
> on an internet-facing server? I would not.

So is one of the issues to support cloud native flows that our user auth
system, which often needs to connect into traditional enterprise
systems, doesn't really consider that?

I definitely agree, if your cloud is using your LDAP password, which
gets you into your health insurance and direct deposit systems at your
employeer, sticking this into a cloud server is a no go.

Thinking aloud, I wonder if user provisionable sub users would help
here. They would have all the same rights as the main user (except
modify other subusers), but would have a dedicated user provisioned
password. You basically can carve off the same thing from Google when
you have services that can't do the entire oauth/2factor path. Fastmail
rolled out something similar recently as well.

-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] [tc][appcat] The future of the App Catalog

2017-03-15 Thread John Garbutt
On 13 March 2017 at 21:10, Zane Bitter  wrote:
> Yes. this is a problem with the default policy - if you have *any* role in a
> project then you get write access to everything in that project. I don't
> know how I can even call this role-based, since everybody has access to
> everything regardless of their roles.
>
> Keystone folks are working on a new global default policy. The new policy
> will require specific reader/writer roles on a project to access any of that
> project's data (I attended the design session and insisted on it). That will
> free up services to create their own limited-scope roles without the
> consequence of opening up full access to every other OpenStack API. e.g.
> it's easy to imagine a magnum-tenant role that has permissions to move
> Neutron ports around but nothing else.
>
> We ultimately need finer-grained authorisation than that - we'll want users
> to be able to specify permissions for particular resources, and since most
> users are not OpenStack projects we'll need them to be able to do it for
> roles (or specific user accounts) that are not predefined in policy.json.
> With the other stuff in place that's at least do-able in individual projects
> though, and if a few projects can agree on a common approach then it could
> easily turn into e.g. an Oslo library, even if it never turns into a
> centralised authorisation service.

I would love feedback on these three Nova specs currently reworking
our default policy:
https://review.openstack.org/#/c/427872/

It clearly doesn't get us all the way there, but I think it lays the
foundations to build what you suggest.

In a related note, there is this old idea I am trying to write up for
Trove/Magnum concerns (now we have proper service token support in
keystoneauth and keystone middleware):
https://review.openstack.org/#/c/438134/

Thanks,
johnthetubaguy

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-13 Thread Zane Bitter

On 13/03/17 18:16, Jay Pipes wrote:

Who, specifically, are these gatekeepers of which you speak?


In this case, the Nova & Keystone core teams.

- ZB

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-13 Thread Jay Pipes

On 03/13/2017 05:10 PM, Zane Bitter wrote:

On 12/03/17 11:30, Clint Byrum wrote:

Excerpts from Fox, Kevin M's message of 2017-03-11 21:31:40 +:

No, they are treated as second class citizens. Take Trova again as an
example. The underlying OpenStack infrastructure does not provide a
good security solution for Trove's use case. As its more then just
IaaS. So they have spent years trying to work around it on one way or
another, each with horrible trade offs.

For example they could fix an issue by:
1. Run the service vm in the users tenant where it belongs. Though,
currently the user has permissions to reboot the vm, login through
the console and swipe any secrets that are on the vm and make it much
harder for the cloud admin to administer.
2. Run the vm in a "trove" tenant. This fixes the security issue but
breaks the quota model of OpenStack. Users with special host
aggregate access/flavors can't work with this model.

For our site, we can't use Trove at all at the moment, even though we
want to. Because option 2 doesn't work for us, and option 1 currently
has a glaring security flaw in it.

One of the ways I saw Trove try to fix it was to get a feature into
Nova called "Service VM's". VMs owned by the user but not fully
controllable by them but from some other OpenStack service on their
behalf. This, IMO is the right way to solve it. There are a lot of
advanced services that need this functionality. But it seems to have
been rejected, as "users don't need that"... Which is true, only if
you only consider the IaaS use case.



You're right. This type of rejection is not O-K IMO, because this is
consumers of Nova with a real use case, asking for real features that
simply cannot be implemented anywhere except inside Nova. Perhaps the
climate has changed, and this effort can be resurrected.


I don't believe the climate has changed; there's no reason for it have.
Nova is still constrained by the size of the core reviewers team, and
they've been unwilling or unable to take steps (like splitting Nova up
into smaller chunks) that would increase capacity, so they have to
reject as many feature requests as possible. Given that the wider
community has never had a debate about what we're trying to build or for
whom, it's perfectly easy to drift along thinking that the current
priorities are adequate without ever being challenged.

Until we have a TC resolution - with the community consensus to back it
up - that says "the reason for having APIs to your infrastructure is so
that *applications* can use them and projects must make not being an
obstacle to this their highest purpose", or "we're building an open
source AWS, not a free VMWare", or
https://www.youtube.com/watch?v=Vhh_GeBPOhs ... until it's not possible
to say with complete earnestness "OpenStack has VMs, so you can run any
application on it" then the climate will never change, and we'll just
keep hearing "I don't need this, so neither should you".


The problems of these other OpenStack services are being rejected as
second class problems, not primary ones.

I'm sure other sites are avoiding other OpenStack advanced services
for similar reasons. its not just that Operators don't want to deploy
it, or that Users are not asking for it.

Let me try and explain Zane's post in a sligtly different way...
maybe that would help...

So, say you had an operating system. It had the ability to run
arbitrary programs if the user started an executable via the
keyboard/mouse. But had no ability for an executable to start another
executable. How useful would that OS be? There would be no shell
scripts. No non monolithic applications. It would be sort of
functional, but would be hamstrung.

OpenStack is like that today. Like the DOS operating system. Programs
are expected to be pretty self contained and not really talk back to
the Operating System its running on, nor a way to discover other
programs running on the same system. Nor really for a script running
on the Operating System to start other programs, chaining them
together in a way thats more useful then the sum of their parts. The
current view is fine if you need is just a container to run a
traditional OS in. Its not if you are trying to build an application
that spans things.

There have been several attempts at fixing this, in Heat, in Murano,
in the App Catalog, but plumbing they rely on isn't really supportive
of it, as they believe the use case really is just launching a VM
with an OS in it is really the important thing to do, and the job's
done.

For the Applications Catalog to be successful, it needs the
underlying cloud to have enough functionality among a common set of
cloud provided services to allow applications developers to write
cloud software that is redistributable and consumable by the end
user. Its failed because the infrastructure just isn't there. The
other advanced services are suffering from it too.



I'm not sure I agree. One can very simply inject needed credentials
into a running VM a

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-13 Thread Zane Bitter

On 10/03/17 21:34, Clint Byrum wrote:

(BTW I proposed a workaround for Magnum/Kuryr at the PTG by using a
pre-signed Zaqar URL with a subscription triggering a Mistral workflow,
and I've started working on a POC.)


What triggers the boot to kick over the bucket full of golf balls
though?


It's inside the workflow definition but seriously, I'll be glad when 
people stop making these kinds of comments.


I'm the first person to say that ideally I think we should only need to 
involve Zaqar when the cloud needs to talk to the application, and that 
the application should have the credentials it needs to talk to the 
cloud directly using its APIs.


Notwithstanding that, every application is a special snowflake and there 
a plenty of reasons for applications to want to plug in their own logic 
between cloud services. Mistral is the obvious way to do that. It'd be 
nice to think we could get to a point of talking about two OpenStack 
services integrating with each other using the exact same public APIs 
that they provide to applications and people would just assume that it 
works (or raise bugs) instead of breaking out the Rube Goldberg jokes.


FWIW in AWS it's routine for SNS notifications of events in the cloud to 
trigger Lambda functions that can then make API calls: 
http://docs.aws.amazon.com/lambda/latest/dg/invoking-lambda-function.html#supported-event-source-sns


- ZB

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-13 Thread Davanum Srinivas
Zane,

Sorry for the top post, Can you please submit a TC resolution? I can
help with it as well. Let's test the waters.

Thanks,
Dims

On Mon, Mar 13, 2017 at 5:10 PM, Zane Bitter  wrote:
> On 12/03/17 11:30, Clint Byrum wrote:
>>
>> Excerpts from Fox, Kevin M's message of 2017-03-11 21:31:40 +:
>>>
>>> No, they are treated as second class citizens. Take Trova again as an
>>> example. The underlying OpenStack infrastructure does not provide a good
>>> security solution for Trove's use case. As its more then just IaaS. So they
>>> have spent years trying to work around it on one way or another, each with
>>> horrible trade offs.
>>>
>>> For example they could fix an issue by:
>>> 1. Run the service vm in the users tenant where it belongs. Though,
>>> currently the user has permissions to reboot the vm, login through the
>>> console and swipe any secrets that are on the vm and make it much harder for
>>> the cloud admin to administer.
>>> 2. Run the vm in a "trove" tenant. This fixes the security issue but
>>> breaks the quota model of OpenStack. Users with special host aggregate
>>> access/flavors can't work with this model.
>>>
>>> For our site, we can't use Trove at all at the moment, even though we
>>> want to. Because option 2 doesn't work for us, and option 1 currently has a
>>> glaring security flaw in it.
>>>
>>> One of the ways I saw Trove try to fix it was to get a feature into Nova
>>> called "Service VM's". VMs owned by the user but not fully controllable by
>>> them but from some other OpenStack service on their behalf. This, IMO is the
>>> right way to solve it. There are a lot of advanced services that need this
>>> functionality. But it seems to have been rejected, as "users don't need
>>> that"... Which is true, only if you only consider the IaaS use case.
>>>
>>
>> You're right. This type of rejection is not O-K IMO, because this is
>> consumers of Nova with a real use case, asking for real features that
>> simply cannot be implemented anywhere except inside Nova. Perhaps the
>> climate has changed, and this effort can be resurrected.
>
>
> I don't believe the climate has changed; there's no reason for it have. Nova
> is still constrained by the size of the core reviewers team, and they've
> been unwilling or unable to take steps (like splitting Nova up into smaller
> chunks) that would increase capacity, so they have to reject as many feature
> requests as possible. Given that the wider community has never had a debate
> about what we're trying to build or for whom, it's perfectly easy to drift
> along thinking that the current priorities are adequate without ever being
> challenged.
>
> Until we have a TC resolution - with the community consensus to back it up -
> that says "the reason for having APIs to your infrastructure is so that
> *applications* can use them and projects must make not being an obstacle to
> this their highest purpose", or "we're building an open source AWS, not a
> free VMWare", or https://www.youtube.com/watch?v=Vhh_GeBPOhs ... until it's
> not possible to say with complete earnestness "OpenStack has VMs, so you can
> run any application on it" then the climate will never change, and we'll
> just keep hearing "I don't need this, so neither should you".
>
>>> The problems of these other OpenStack services are being rejected as
>>> second class problems, not primary ones.
>>>
>>> I'm sure other sites are avoiding other OpenStack advanced services for
>>> similar reasons. its not just that Operators don't want to deploy it, or
>>> that Users are not asking for it.
>>>
>>> Let me try and explain Zane's post in a sligtly different way... maybe
>>> that would help...
>>>
>>> So, say you had an operating system. It had the ability to run arbitrary
>>> programs if the user started an executable via the keyboard/mouse. But had
>>> no ability for an executable to start another executable. How useful would
>>> that OS be? There would be no shell scripts. No non monolithic applications.
>>> It would be sort of functional, but would be hamstrung.
>>>
>>> OpenStack is like that today. Like the DOS operating system. Programs are
>>> expected to be pretty self contained and not really talk back to the
>>> Operating System its running on, nor a way to discover other programs
>>> running on the same system. Nor really for a script running on the Operating
>>> System to start other programs, chaining them together in a way thats more
>>> useful then the sum of their parts. The current view is fine if you need is
>>> just a container to run a traditional OS in. Its not if you are trying to
>>> build an application that spans things.
>>>
>>> There have been several attempts at fixing this, in Heat, in Murano, in
>>> the App Catalog, but plumbing they rely on isn't really supportive of it, as
>>> they believe the use case really is just launching a VM with an OS in it is
>>> really the important thing to do, and the job's done.
>>>
>>> For the Applications Catalog to be successful,

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-13 Thread Zane Bitter

On 12/03/17 11:30, Clint Byrum wrote:

Excerpts from Fox, Kevin M's message of 2017-03-11 21:31:40 +:

No, they are treated as second class citizens. Take Trova again as an example. 
The underlying OpenStack infrastructure does not provide a good security 
solution for Trove's use case. As its more then just IaaS. So they have spent 
years trying to work around it on one way or another, each with horrible trade 
offs.

For example they could fix an issue by:
1. Run the service vm in the users tenant where it belongs. Though, currently 
the user has permissions to reboot the vm, login through the console and swipe 
any secrets that are on the vm and make it much harder for the cloud admin to 
administer.
2. Run the vm in a "trove" tenant. This fixes the security issue but breaks the 
quota model of OpenStack. Users with special host aggregate access/flavors can't work 
with this model.

For our site, we can't use Trove at all at the moment, even though we want to. 
Because option 2 doesn't work for us, and option 1 currently has a glaring 
security flaw in it.

One of the ways I saw Trove try to fix it was to get a feature into Nova called "Service 
VM's". VMs owned by the user but not fully controllable by them but from some other OpenStack 
service on their behalf. This, IMO is the right way to solve it. There are a lot of advanced 
services that need this functionality. But it seems to have been rejected, as "users don't 
need that"... Which is true, only if you only consider the IaaS use case.



You're right. This type of rejection is not O-K IMO, because this is
consumers of Nova with a real use case, asking for real features that
simply cannot be implemented anywhere except inside Nova. Perhaps the
climate has changed, and this effort can be resurrected.


I don't believe the climate has changed; there's no reason for it have. 
Nova is still constrained by the size of the core reviewers team, and 
they've been unwilling or unable to take steps (like splitting Nova up 
into smaller chunks) that would increase capacity, so they have to 
reject as many feature requests as possible. Given that the wider 
community has never had a debate about what we're trying to build or for 
whom, it's perfectly easy to drift along thinking that the current 
priorities are adequate without ever being challenged.


Until we have a TC resolution - with the community consensus to back it 
up - that says "the reason for having APIs to your infrastructure is so 
that *applications* can use them and projects must make not being an 
obstacle to this their highest purpose", or "we're building an open 
source AWS, not a free VMWare", or 
https://www.youtube.com/watch?v=Vhh_GeBPOhs ... until it's not possible 
to say with complete earnestness "OpenStack has VMs, so you can run any 
application on it" then the climate will never change, and we'll just 
keep hearing "I don't need this, so neither should you".



The problems of these other OpenStack services are being rejected as second 
class problems, not primary ones.

I'm sure other sites are avoiding other OpenStack advanced services for similar 
reasons. its not just that Operators don't want to deploy it, or that Users are 
not asking for it.

Let me try and explain Zane's post in a sligtly different way... maybe that 
would help...

So, say you had an operating system. It had the ability to run arbitrary 
programs if the user started an executable via the keyboard/mouse. But had no 
ability for an executable to start another executable. How useful would that OS 
be? There would be no shell scripts. No non monolithic applications. It would 
be sort of functional, but would be hamstrung.

OpenStack is like that today. Like the DOS operating system. Programs are 
expected to be pretty self contained and not really talk back to the Operating 
System its running on, nor a way to discover other programs running on the same 
system. Nor really for a script running on the Operating System to start other 
programs, chaining them together in a way thats more useful then the sum of 
their parts. The current view is fine if you need is just a container to run a 
traditional OS in. Its not if you are trying to build an application that spans 
things.

There have been several attempts at fixing this, in Heat, in Murano, in the App 
Catalog, but plumbing they rely on isn't really supportive of it, as they 
believe the use case really is just launching a VM with an OS in it is really 
the important thing to do, and the job's done.

For the Applications Catalog to be successful, it needs the underlying cloud to 
have enough functionality among a common set of cloud provided services to 
allow applications developers to write cloud software that is redistributable 
and consumable by the end user. Its failed because the infrastructure just 
isn't there. The other advanced services are suffering from it too.



I'm not sure I agree. One can very simply inject needed credentials
into a ru

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-13 Thread Clint Byrum
I know it happened a few messages up in the thread, but you may have
forgotten where I said that we should resurrect the idea of having
automatic instance-users as a feature of Nova (and even to add this to
Shade/Oaktree, so people could add it to existing OpenStack clouds
before they roll out the version that has it supported natively.

My only point there was that currently there is a workaround available,
and it wouldn't be that alien to most users of clouds.

Excerpts from Fox, Kevin M's message of 2017-03-13 14:31:10 +:
> So for cloud apps, you must have a config management system to do secure 
> secret transport? A cloud app developer must target which config management 
> tool? How do you know what the end user sites are running? Do you have to 
> support all of them? Config management tooling is very religious, so if you 
> don't pick the right one, folks will shun your app. Thats way too burdensome 
> on app developers and users to require.
> 
> Instead, look at how aws does creds, and k8s. Any vm can just request a fresh 
> token. In k8s, a fresh token is injected into the container automatically. 
> This makes it extremely easy to deal with. This is what app developers are 
> expecting now and openstack is turning folks away when we keep pushing a lot 
> of work their way.
> 
> Openstacks general solution for any hard problem seems to be, make the 
> operator, app dev, or user deal with it, not openstack.
> 
> Thats ok if those folks have no where else to go. They do now, and are 
> starting to do so as there are more options.
> 
> Openstack needs to abandon that phylosophy. It can no longer afford it.
> 
> Thanks,
> Kevin
> 
> 
> From: Clint Byrum
> Sent: Sunday, March 12, 2017 10:30:49 AM
> To: openstack-dev
> Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog
> 
> Excerpts from Fox, Kevin M's message of 2017-03-12 16:54:20 +:
> > I totally agree that policy management is a major problem too. A much 
> > bigger one then instance users, and something I was hoping to get to after 
> > instance users, but never made it past the easier of the two. :/
> >
> >
> > The just inject creds solution keeps getting proposed, but only looks at 
> > the surface of the issue so has a lot of issues under the hood. Lets dig in 
> > again.
> >
> > Lets say I create a heat template and inject creds through Parameters, as 
> > that is the natural place for a user to fill out settings and launch their 
> > application.
> >
> > The cred is loaded unencrypted into the heat database. Then heat-engine 
> > pushes it into the nova database where it resides unencrypted, so it can be 
> > sent to cloud init, usually also in an unencrypted form.
> >
> > You delete the heat stack, and the credential still sticks around in the 
> > nova database long after the vm is deleted, as it keeps deleted data.
> >
> > The channels for passing stuff to a vm are much better at passing config to 
> > the vm, not secrets.
> >
> > Its also a one shot way to get an initial cred to a vm, but not a way to 
> > update it should the need arise. Also, how is the secret maintained in a 
> > way that rebooting the vm works while snapshotting the vm doesn't capture 
> > the secret, etc.
> >
> > The use case/issues are described exhaustively in the spec and describe why 
> > its not something thats something that can easily be tackled by "just do X" 
> > solutions. I proposed one implementation I think will work generally and 
> > cover all bases. But am open to other implementations that cover all the 
> > bases. Many half solutions have been proposed, but the whole point is 
> > security, so a half solution that has big security holes in it isn't really 
> > a solution.
> >
> 
> _OR_, you inject a nonce that is used to authenticate the instance to
> config management. If you're ever going to talk to anything outside of
> the cloud APIs, you'll need this anyway.
> 
> Once you're involved with config management you are already sending
> credentials of various types to your instances.
> 

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-13 Thread Fox, Kevin M
So for cloud apps, you must have a config management system to do secure secret 
transport? A cloud app developer must target which config management tool? How 
do you know what the end user sites are running? Do you have to support all of 
them? Config management tooling is very religious, so if you don't pick the 
right one, folks will shun your app. Thats way too burdensome on app developers 
and users to require.

Instead, look at how aws does creds, and k8s. Any vm can just request a fresh 
token. In k8s, a fresh token is injected into the container automatically. This 
makes it extremely easy to deal with. This is what app developers are expecting 
now and openstack is turning folks away when we keep pushing a lot of work 
their way.

Openstacks general solution for any hard problem seems to be, make the 
operator, app dev, or user deal with it, not openstack.

Thats ok if those folks have no where else to go. They do now, and are starting 
to do so as there are more options.

Openstack needs to abandon that phylosophy. It can no longer afford it.

Thanks,
Kevin


From: Clint Byrum
Sent: Sunday, March 12, 2017 10:30:49 AM
To: openstack-dev
Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog

Excerpts from Fox, Kevin M's message of 2017-03-12 16:54:20 +:
> I totally agree that policy management is a major problem too. A much bigger 
> one then instance users, and something I was hoping to get to after instance 
> users, but never made it past the easier of the two. :/
>
>
> The just inject creds solution keeps getting proposed, but only looks at the 
> surface of the issue so has a lot of issues under the hood. Lets dig in again.
>
> Lets say I create a heat template and inject creds through Parameters, as 
> that is the natural place for a user to fill out settings and launch their 
> application.
>
> The cred is loaded unencrypted into the heat database. Then heat-engine 
> pushes it into the nova database where it resides unencrypted, so it can be 
> sent to cloud init, usually also in an unencrypted form.
>
> You delete the heat stack, and the credential still sticks around in the nova 
> database long after the vm is deleted, as it keeps deleted data.
>
> The channels for passing stuff to a vm are much better at passing config to 
> the vm, not secrets.
>
> Its also a one shot way to get an initial cred to a vm, but not a way to 
> update it should the need arise. Also, how is the secret maintained in a way 
> that rebooting the vm works while snapshotting the vm doesn't capture the 
> secret, etc.
>
> The use case/issues are described exhaustively in the spec and describe why 
> its not something thats something that can easily be tackled by "just do X" 
> solutions. I proposed one implementation I think will work generally and 
> cover all bases. But am open to other implementations that cover all the 
> bases. Many half solutions have been proposed, but the whole point is 
> security, so a half solution that has big security holes in it isn't really a 
> solution.
>

_OR_, you inject a nonce that is used to authenticate the instance to
config management. If you're ever going to talk to anything outside of
the cloud APIs, you'll need this anyway.

Once you're involved with config management you are already sending
credentials of various types to your instances.

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-12 Thread Clint Byrum
Excerpts from Fox, Kevin M's message of 2017-03-12 16:54:20 +:
> I totally agree that policy management is a major problem too. A much bigger 
> one then instance users, and something I was hoping to get to after instance 
> users, but never made it past the easier of the two. :/
> 
> 
> The just inject creds solution keeps getting proposed, but only looks at the 
> surface of the issue so has a lot of issues under the hood. Lets dig in again.
> 
> Lets say I create a heat template and inject creds through Parameters, as 
> that is the natural place for a user to fill out settings and launch their 
> application.
> 
> The cred is loaded unencrypted into the heat database. Then heat-engine 
> pushes it into the nova database where it resides unencrypted, so it can be 
> sent to cloud init, usually also in an unencrypted form.
> 
> You delete the heat stack, and the credential still sticks around in the nova 
> database long after the vm is deleted, as it keeps deleted data.
> 
> The channels for passing stuff to a vm are much better at passing config to 
> the vm, not secrets.
> 
> Its also a one shot way to get an initial cred to a vm, but not a way to 
> update it should the need arise. Also, how is the secret maintained in a way 
> that rebooting the vm works while snapshotting the vm doesn't capture the 
> secret, etc.
> 
> The use case/issues are described exhaustively in the spec and describe why 
> its not something thats something that can easily be tackled by "just do X" 
> solutions. I proposed one implementation I think will work generally and 
> cover all bases. But am open to other implementations that cover all the 
> bases. Many half solutions have been proposed, but the whole point is 
> security, so a half solution that has big security holes in it isn't really a 
> solution.
> 

_OR_, you inject a nonce that is used to authenticate the instance to
config management. If you're ever going to talk to anything outside of
the cloud APIs, you'll need this anyway.

Once you're involved with config management you are already sending
credentials of various types to your instances.

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-12 Thread Fox, Kevin M
I totally agree that policy management is a major problem too. A much bigger 
one then instance users, and something I was hoping to get to after instance 
users, but never made it past the easier of the two. :/


The just inject creds solution keeps getting proposed, but only looks at the 
surface of the issue so has a lot of issues under the hood. Lets dig in again.

Lets say I create a heat template and inject creds through Parameters, as that 
is the natural place for a user to fill out settings and launch their 
application.

The cred is loaded unencrypted into the heat database. Then heat-engine pushes 
it into the nova database where it resides unencrypted, so it can be sent to 
cloud init, usually also in an unencrypted form.

You delete the heat stack, and the credential still sticks around in the nova 
database long after the vm is deleted, as it keeps deleted data.

The channels for passing stuff to a vm are much better at passing config to the 
vm, not secrets.

Its also a one shot way to get an initial cred to a vm, but not a way to update 
it should the need arise. Also, how is the secret maintained in a way that 
rebooting the vm works while snapshotting the vm doesn't capture the secret, 
etc.

The use case/issues are described exhaustively in the spec and describe why its 
not something thats something that can easily be tackled by "just do X" 
solutions. I proposed one implementation I think will work generally and cover 
all bases. But am open to other implementations that cover all the bases. Many 
half solutions have been proposed, but the whole point is security, so a half 
solution that has big security holes in it isn't really a solution.

Thanks,
Kevin





From: Clint Byrum [cl...@fewbar.com]
Sent: Sunday, March 12, 2017 8:30 AM
To: openstack-dev
Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog

Excerpts from Fox, Kevin M's message of 2017-03-11 21:31:40 +:
> No, they are treated as second class citizens. Take Trova again as an 
> example. The underlying OpenStack infrastructure does not provide a good 
> security solution for Trove's use case. As its more then just IaaS. So they 
> have spent years trying to work around it on one way or another, each with 
> horrible trade offs.
>
> For example they could fix an issue by:
> 1. Run the service vm in the users tenant where it belongs. Though, currently 
> the user has permissions to reboot the vm, login through the console and 
> swipe any secrets that are on the vm and make it much harder for the cloud 
> admin to administer.
> 2. Run the vm in a "trove" tenant. This fixes the security issue but breaks 
> the quota model of OpenStack. Users with special host aggregate 
> access/flavors can't work with this model.
>
> For our site, we can't use Trove at all at the moment, even though we want 
> to. Because option 2 doesn't work for us, and option 1 currently has a 
> glaring security flaw in it.
>
> One of the ways I saw Trove try to fix it was to get a feature into Nova 
> called "Service VM's". VMs owned by the user but not fully controllable by 
> them but from some other OpenStack service on their behalf. This, IMO is the 
> right way to solve it. There are a lot of advanced services that need this 
> functionality. But it seems to have been rejected, as "users don't need 
> that"... Which is true, only if you only consider the IaaS use case.
>

You're right. This type of rejection is not O-K IMO, because this is
consumers of Nova with a real use case, asking for real features that
simply cannot be implemented anywhere except inside Nova. Perhaps the
climate has changed, and this effort can be resurrected.

> The problems of these other OpenStack services are being rejected as second 
> class problems, not primary ones.
>
> I'm sure other sites are avoiding other OpenStack advanced services for 
> similar reasons. its not just that Operators don't want to deploy it, or that 
> Users are not asking for it.
>
> Let me try and explain Zane's post in a sligtly different way... maybe that 
> would help...
>
> So, say you had an operating system. It had the ability to run arbitrary 
> programs if the user started an executable via the keyboard/mouse. But had no 
> ability for an executable to start another executable. How useful would that 
> OS be? There would be no shell scripts. No non monolithic applications. It 
> would be sort of functional, but would be hamstrung.
>
> OpenStack is like that today. Like the DOS operating system. Programs are 
> expected to be pretty self contained and not really talk back to the 
> Operating System its running on, nor a way to discover other programs running 
> on the same system. Nor re

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-12 Thread Clint Byrum
Excerpts from Fox, Kevin M's message of 2017-03-11 21:31:40 +:
> No, they are treated as second class citizens. Take Trova again as an 
> example. The underlying OpenStack infrastructure does not provide a good 
> security solution for Trove's use case. As its more then just IaaS. So they 
> have spent years trying to work around it on one way or another, each with 
> horrible trade offs.
> 
> For example they could fix an issue by:
> 1. Run the service vm in the users tenant where it belongs. Though, currently 
> the user has permissions to reboot the vm, login through the console and 
> swipe any secrets that are on the vm and make it much harder for the cloud 
> admin to administer.
> 2. Run the vm in a "trove" tenant. This fixes the security issue but breaks 
> the quota model of OpenStack. Users with special host aggregate 
> access/flavors can't work with this model.
> 
> For our site, we can't use Trove at all at the moment, even though we want 
> to. Because option 2 doesn't work for us, and option 1 currently has a 
> glaring security flaw in it.
> 
> One of the ways I saw Trove try to fix it was to get a feature into Nova 
> called "Service VM's". VMs owned by the user but not fully controllable by 
> them but from some other OpenStack service on their behalf. This, IMO is the 
> right way to solve it. There are a lot of advanced services that need this 
> functionality. But it seems to have been rejected, as "users don't need 
> that"... Which is true, only if you only consider the IaaS use case.
> 

You're right. This type of rejection is not O-K IMO, because this is
consumers of Nova with a real use case, asking for real features that
simply cannot be implemented anywhere except inside Nova. Perhaps the
climate has changed, and this effort can be resurrected.

> The problems of these other OpenStack services are being rejected as second 
> class problems, not primary ones.
> 
> I'm sure other sites are avoiding other OpenStack advanced services for 
> similar reasons. its not just that Operators don't want to deploy it, or that 
> Users are not asking for it.
> 
> Let me try and explain Zane's post in a sligtly different way... maybe that 
> would help...
> 
> So, say you had an operating system. It had the ability to run arbitrary 
> programs if the user started an executable via the keyboard/mouse. But had no 
> ability for an executable to start another executable. How useful would that 
> OS be? There would be no shell scripts. No non monolithic applications. It 
> would be sort of functional, but would be hamstrung.
> 
> OpenStack is like that today. Like the DOS operating system. Programs are 
> expected to be pretty self contained and not really talk back to the 
> Operating System its running on, nor a way to discover other programs running 
> on the same system. Nor really for a script running on the Operating System 
> to start other programs, chaining them together in a way thats more useful 
> then the sum of their parts. The current view is fine if you need is just a 
> container to run a traditional OS in. Its not if you are trying to build an 
> application that spans things.
> 
> There have been several attempts at fixing this, in Heat, in Murano, in the 
> App Catalog, but plumbing they rely on isn't really supportive of it, as they 
> believe the use case really is just launching a VM with an OS in it is really 
> the important thing to do, and the job's done.
> 
> For the Applications Catalog to be successful, it needs the underlying cloud 
> to have enough functionality among a common set of cloud provided services to 
> allow applications developers to write cloud software that is redistributable 
> and consumable by the end user. Its failed because the infrastructure just 
> isn't there. The other advanced services are suffering from it too.
> 

I'm not sure I agree. One can very simply inject needed credentials
into a running VM and have it interact with the cloud APIs. However,
there is a deficiency that affects all VM users that might make this
a more desirable option.

There's a lack of a detailed policy management piece. What I'd really
like to inject is an API key that can only do the 2 things my app needs
(like, scale up load balancer, or allocate and attach a volume to itself).
Roles are just too opaque for that to really work well these days.

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-12 Thread Tim Bell

> On 11 Mar 2017, at 08:19, Clint Byrum  wrote:
> 
> Excerpts from Christopher Aedo's message of 2017-03-10 19:30:18 -0800:
>> On Fri, Mar 10, 2017 at 6:20 PM, Clint Byrum  wrote:
>>> Excerpts from Fox, Kevin M's message of 2017-03-10 23:45:06 +:
 So, this is the kind of thinking I'm talking about... OpenStack today is
 more then just IaaS in the tent. Trove (DBaaS), Sahara (Hadoop,Spark,etc
 aaS), Zaqar (Messaging aaS) and many more services. But they seem to be
 treated as second class citizens, as they are not "IaaS".
 
>>> 
>>> It's not that they're second class citizens. It's that their community
>>> is smaller by count of users, operators, and developers. This should not
>>> come as a surprise, because the lowest common denominator in any user
>>> base will always receive more attention.
>>> 
> Why should it strive to be anything except an excellent building block
 for other technologies?
 
 You misinterpret my statement. I'm in full agreement with you. The
 above services should be excellent building blocks too, but are suffering
 from lack of support from the IaaS layer. They deserve the ability to
 be excellent too, but need support/vision from the greater community
 that hasn't been forthcoming.
 
>>> 
>>> You say it like there's some over arching plan to suppress parts of the
>>> community and there's a pack of disgruntled developers who just can't
>>> seem to get OpenStack to work for Trove/Sahara/AppCatalog/etc.
>>> 
>>> We all have different reasons for contributing in the way we do.  Clearly,
>>> not as many people contribute to the Trove story as do the pure VM-on-nova
>>> story.
>>> 
 I agree with you, we should embrace the container folks and not treat
 them as separate. I think thats critical if we want to allow things
 like Sahara or Trove to really fulfil their potential. This is the path
 towards being an OpenSource AWS competitor, not just for being able to
 request vm's in a cloudy way.
 
 I think that looks something like:
 OpenStack Advanced Service (trove, sahara, etc) -> Kubernetes ->
 Nova VM or Ironic Bare Metal.
 
>>> 
>>> That's a great idea. However, AFAICT, Nova is _not_ standing in Trove,
>>> Sahara, or anyone else's way from doing this. Seriously, try it. I'm sure
>>> it will work.  And in so doing, you will undoubtedly run into friction
>>> from the APIs. But unless you can describe that _now_, you have to go try
>>> it and tell us what broke first. And then you can likely submit feature
>>> work to nova/neutron/cinder to make it better. I don't see anything in
>>> the current trajectory of OpenStack that makes this hard. Why not just do
>>> it? The way you ask, it's like you have a team of developers just sitting
>>> around shaving yaks waiting for an important OpenStack development task.
>>> 
>>> The real question is why aren't Murano, Trove and Sahara in most current
>>> deployments? My guess is that it's because most of our current users
>>> don't feel they need it. Until they do, Trove and Sahara will not be
>>> priorities. If you want them to be priorities _pay somebody to make them
>>> a priority_.
>> 
>> This particular point really caught my attention.  You imply that
>> these additional services are not widely deployed because _users_
>> don't want them.  The fact is most users are completely unaware of
>> them because these services require the operator of the cloud to
>> support them.  In fact they often require the operator of the cloud to
>> support them from the initial deployment, as these services (and
>> *most* OpenStack services) are frighteningly difficult to add to an
>> already deployed cloud without downtime and high risk of associated
>> issues.
>> 
>> I think it's unfair to claim these services are unpopular because
>> users aren't asking for them when it's likely users aren't even aware
>> of them (do OVH, Vexxhost, Dreamhost, Raskspace or others provide a
>> user-facing list of potential OpenStack services with a voting option?
>> Not that I've ever seen!)
>> 
>> I bring this up to point out how much more popular ALL of these
>> services would be if the _users_ were able to enable them without
>> requiring operator intervention and support.
>> 
>> Based on our current architecture, it's nearly impossible for a new
>> project to be deployed on a cloud without cloud-level admin
>> privileges.  Additionally almost none of the projects could even work
>> this way (with Rally being a notable exception).  I guess I'm kicking
>> this dead horse because for a long time I've argued we need to back
>> away from the tightly coupled nature of all the projects, but
>> (speaking of horses) it seems that horse is already out of the barn.
>> (I really wish I could work in one more proverb dealing with horses
>> but it's getting late on a Friday so I'll stop now.)
>> 
> 
> I see your point, and believe it is valid.
> 
> However, we do have something like a voti

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-12 Thread Jeremy Stanley
On 2017-03-10 13:37:10 -0500 (-0500), Zane Bitter wrote:
[...]
> *That* discussion (the TC vision one) was scheduled to happen in the
> Stewardship Working Group meeting at the PTG in Atlanta:
> https://etherpad.openstack.org/p/AtlantaPTG-SWG-TCVision
> 
> Then it was cancelled because it became clear that most of the TC members
> didn't plan to show up due to scheduling conflicts.

As one of the TC members regrettably unable to attend (because of
still being a PTL at the moment out of necessity, for a team
scheduled to meet on the same days that week), I'm glad we found
time _soon_ after the PTG to do so instead.

> Looking through the TC mailing list, it appears it was rescheduled to happen
> this week at a joint TC/Board meeting in Boston. This looks to be one of the
> outputs: https://etherpad.openstack.org/p/ocata-12questions-exercise-board
> Hopefully we'll hear more in the next few days, since this _just_ happened.
[...]

I'm intentionally not going into detail since the point of the
exercise is to come up with a consistent and unified voice and we're
not yet to the point where it's in a good state to present for
community feedback, but as I have yet to see anyone else from the TC
speak up I will at least say there is an aggressive timeline to have
something circulated throughout the technical community (at least
here in the -dev ML) prior to the Forum in Boston. There were a
handful of TC members unable to attend in person this week (John G.
included), so we're trying to make sure we provide them ample
opportunity for involvement in the early draft stage we're at now.
-- 
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] [tc][appcat] The future of the App Catalog

2017-03-11 Thread Adam Heczko
Hi Kevin, thanks for bringing this up. Agree that with the current approach
to RBAC / ABAC model in OpenStack it is very challenging or nearly
impossible to securely do anything more complicated than just manually
spawn instance. I'm curious whether TC and/or the community could take
constructive approach and finally try to solve this during this or upcoming
dev cycles?


On Sat, Mar 11, 2017 at 10:46 PM, Fox, Kevin M  wrote:

> Nova needs to either: provide a vouching mechanism for VM's to always be
> able to get something that proves the VM is the VM, or provide a mechanism
> to securely give the VM a keystone token thats unique to the VM's. Its got
> to work and be secure through vm's that are stopped or suspended for
> significant periods of time then restarted, or snapshotted and relaunched
> several times, etc the exhaustive problem description is here:
> https://review.openstack.org/#/c/93/
>
> Thanks,
> Kevin
>
> 
> From: Clint Byrum [cl...@fewbar.com]
> Sent: Friday, March 10, 2017 6:34 PM
> To: openstack-dev
> Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog
>
> Excerpts from Zane Bitter's message of 2017-03-10 19:09:42 -0500:
> > On 10/03/17 12:27, Monty Taylor wrote:
> > > On 03/10/2017 10:59 AM, Clint Byrum wrote:
> > You may be familiar with the Kuryr project, which integrates Kubernetes
> > deployments made by Magnum with Neutron networking so that other Nova
> > servers can talk directly to the containers and other fun stuff. IMHO
> > it's exactly the kind of thing OpenStack should be doing to make users'
> > lives better, and give a compelling reason to install k8s on top of
> > OpenStack instead of on bare metal.
> >
> > So here's a fun thing I learned at the PTG: according to the Magnum
> > folks, the main thing preventing them from fully adopting Kuryr is that
> > the k8s application servers, provisioned with Nova, need to make API
> > calls to Neutron to set up the ports as containers move around. And
> > there's no secure way to give Keystone authentication credentials to an
> > application server to do what it needs - and, especially, to do *only*
> > what it needs.
> >
> > http://lists.openstack.org/pipermail/openstack-dev/2016-
> October/105304.html
> >
> > Keystone devs did agree in back in Austin that when they rejigger the
> > default policy files it will done in such a way as to make the
> > authorisation component of this feasible (by requiring a specific
> > reader/writer role, not just membership of the project, to access APIs),
> > but that change hasn't happened yet AFAIK. I suspect that it isn't their
> > top priority. Kevin has been campaigning for *years* to get Nova to
> > provide a secure way to inject credentials into a server in the same way
> > that this is built in to EC2, GCE and (I assume but haven't checked)
> > Azure. And they turned him down flat every time saying that this was not
> > Nova's problem.
> >
> > Sorry, but if OpenStack isn't a good, secure platform for running
> > Kubernetes on then that is a HAIR ON FIRE-level *existential* problem in
> > 2017.
> >
>
> You're very right on this. And kuryr not working the way it should is _a
> disaster_. I was hoping it had worked itself out by now.
>
> I've argued against certain aspects of instance-users in the past (and
> for others). I think it might be worth it to take another shot at
> actually writing up a spec again.
>
> In the mean time, we could always have shade inject instance-user
> creds... 
>
> > We can't place too much blame on individual projects though, because I
> > believe the main reason this doesn't Just Work already is that there has
> > been an unspoken consensus that we needed to listen to users like you
> > but not to users like Kevin, and the elected leaders of our community
> > have done nothing to either disavow or officially adopt that consensus.
> > We _urgently_ need to decide if that's what we actually want and make
> > sure it is prominently documented so that both users and developers know
> > what's what.
> >
> > FWIW I'm certain you must have hit this same issue in infra - probably
> > you were able to use pre-signed Swift URLs when uploading log files to
> > avoid needing credentials on servers allocated by nodepool? That's
> > great, but not every API in OpenStack has a pre-signed URL facility, and
> > nor should they have to.
> >
>
> Indeed, that's how infra nodes store logs in swift.
>
&

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-11 Thread Fox, Kevin M
Nova needs to either: provide a vouching mechanism for VM's to always be able 
to get something that proves the VM is the VM, or provide a mechanism to 
securely give the VM a keystone token thats unique to the VM's. Its got to work 
and be secure through vm's that are stopped or suspended for significant 
periods of time then restarted, or snapshotted and relaunched several times, 
etc the exhaustive problem description is here:
https://review.openstack.org/#/c/93/

Thanks,
Kevin


From: Clint Byrum [cl...@fewbar.com]
Sent: Friday, March 10, 2017 6:34 PM
To: openstack-dev
Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog

Excerpts from Zane Bitter's message of 2017-03-10 19:09:42 -0500:
> On 10/03/17 12:27, Monty Taylor wrote:
> > On 03/10/2017 10:59 AM, Clint Byrum wrote:
> You may be familiar with the Kuryr project, which integrates Kubernetes
> deployments made by Magnum with Neutron networking so that other Nova
> servers can talk directly to the containers and other fun stuff. IMHO
> it's exactly the kind of thing OpenStack should be doing to make users'
> lives better, and give a compelling reason to install k8s on top of
> OpenStack instead of on bare metal.
>
> So here's a fun thing I learned at the PTG: according to the Magnum
> folks, the main thing preventing them from fully adopting Kuryr is that
> the k8s application servers, provisioned with Nova, need to make API
> calls to Neutron to set up the ports as containers move around. And
> there's no secure way to give Keystone authentication credentials to an
> application server to do what it needs - and, especially, to do *only*
> what it needs.
>
> http://lists.openstack.org/pipermail/openstack-dev/2016-October/105304.html
>
> Keystone devs did agree in back in Austin that when they rejigger the
> default policy files it will done in such a way as to make the
> authorisation component of this feasible (by requiring a specific
> reader/writer role, not just membership of the project, to access APIs),
> but that change hasn't happened yet AFAIK. I suspect that it isn't their
> top priority. Kevin has been campaigning for *years* to get Nova to
> provide a secure way to inject credentials into a server in the same way
> that this is built in to EC2, GCE and (I assume but haven't checked)
> Azure. And they turned him down flat every time saying that this was not
> Nova's problem.
>
> Sorry, but if OpenStack isn't a good, secure platform for running
> Kubernetes on then that is a HAIR ON FIRE-level *existential* problem in
> 2017.
>

You're very right on this. And kuryr not working the way it should is _a
disaster_. I was hoping it had worked itself out by now.

I've argued against certain aspects of instance-users in the past (and
for others). I think it might be worth it to take another shot at
actually writing up a spec again.

In the mean time, we could always have shade inject instance-user
creds... 

> We can't place too much blame on individual projects though, because I
> believe the main reason this doesn't Just Work already is that there has
> been an unspoken consensus that we needed to listen to users like you
> but not to users like Kevin, and the elected leaders of our community
> have done nothing to either disavow or officially adopt that consensus.
> We _urgently_ need to decide if that's what we actually want and make
> sure it is prominently documented so that both users and developers know
> what's what.
>
> FWIW I'm certain you must have hit this same issue in infra - probably
> you were able to use pre-signed Swift URLs when uploading log files to
> avoid needing credentials on servers allocated by nodepool? That's
> great, but not every API in OpenStack has a pre-signed URL facility, and
> nor should they have to.
>

Indeed, that's how infra nodes store logs in swift.

> (BTW I proposed a workaround for Magnum/Kuryr at the PTG by using a
> pre-signed Zaqar URL with a subscription triggering a Mistral workflow,
> and I've started working on a POC.)
>

What triggers the boot to kick over the bucket full of golf balls
though?

> > Considering computers as some-how inherently 'better' or 'worse' than
> > some of the 'cloud-native' concepts is hog wash. Different users have
> > different needs. As Clint points out - kubernetes needs to run
> > _somewhere_. CloudFoundry needs to run _somewhere_. So those are at
> > least two other potential users who are not me and my collection of
> > things I want to run that want to run in computers.
>
> I think we might be starting to talk about different ideas. The whole
>

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-11 Thread Fox, Kevin M
No, they are treated as second class citizens. Take Trova again as an example. 
The underlying OpenStack infrastructure does not provide a good security 
solution for Trove's use case. As its more then just IaaS. So they have spent 
years trying to work around it on one way or another, each with horrible trade 
offs.

For example they could fix an issue by:
1. Run the service vm in the users tenant where it belongs. Though, currently 
the user has permissions to reboot the vm, login through the console and swipe 
any secrets that are on the vm and make it much harder for the cloud admin to 
administer.
2. Run the vm in a "trove" tenant. This fixes the security issue but breaks the 
quota model of OpenStack. Users with special host aggregate access/flavors 
can't work with this model.

For our site, we can't use Trove at all at the moment, even though we want to. 
Because option 2 doesn't work for us, and option 1 currently has a glaring 
security flaw in it.

One of the ways I saw Trove try to fix it was to get a feature into Nova called 
"Service VM's". VMs owned by the user but not fully controllable by them but 
from some other OpenStack service on their behalf. This, IMO is the right way 
to solve it. There are a lot of advanced services that need this functionality. 
But it seems to have been rejected, as "users don't need that"... Which is 
true, only if you only consider the IaaS use case.

The problems of these other OpenStack services are being rejected as second 
class problems, not primary ones.

I'm sure other sites are avoiding other OpenStack advanced services for similar 
reasons. its not just that Operators don't want to deploy it, or that Users are 
not asking for it.

Let me try and explain Zane's post in a sligtly different way... maybe that 
would help...

So, say you had an operating system. It had the ability to run arbitrary 
programs if the user started an executable via the keyboard/mouse. But had no 
ability for an executable to start another executable. How useful would that OS 
be? There would be no shell scripts. No non monolithic applications. It would 
be sort of functional, but would be hamstrung.

OpenStack is like that today. Like the DOS operating system. Programs are 
expected to be pretty self contained and not really talk back to the Operating 
System its running on, nor a way to discover other programs running on the same 
system. Nor really for a script running on the Operating System to start other 
programs, chaining them together in a way thats more useful then the sum of 
their parts. The current view is fine if you need is just a container to run a 
traditional OS in. Its not if you are trying to build an application that spans 
things.

There have been several attempts at fixing this, in Heat, in Murano, in the App 
Catalog, but plumbing they rely on isn't really supportive of it, as they 
believe the use case really is just launching a VM with an OS in it is really 
the important thing to do, and the job's done.

For the Applications Catalog to be successful, it needs the underlying cloud to 
have enough functionality among a common set of cloud provided services to 
allow applications developers to write cloud software that is redistributable 
and consumable by the end user. Its failed because the infrastructure just 
isn't there. The other advanced services are suffering from it too.

Thanks,
Kevin



From: Clint Byrum [cl...@fewbar.com]
Sent: Friday, March 10, 2017 6:20 PM
To: openstack-dev
Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog

Excerpts from Fox, Kevin M's message of 2017-03-10 23:45:06 +:
> So, this is the kind of thinking I'm talking about... OpenStack today is
> more then just IaaS in the tent. Trove (DBaaS), Sahara (Hadoop,Spark,etc
> aaS), Zaqar (Messaging aaS) and many more services. But they seem to be
> treated as second class citizens, as they are not "IaaS".
>

It's not that they're second class citizens. It's that their community
is smaller by count of users, operators, and developers. This should not
come as a surprise, because the lowest common denominator in any user
base will always receive more attention.

> > Why should it strive to be anything except an excellent building block
> for other technologies?
>
> You misinterpret my statement. I'm in full agreement with you. The
> above services should be excellent building blocks too, but are suffering
> from lack of support from the IaaS layer. They deserve the ability to
> be excellent too, but need support/vision from the greater community
> that hasn't been forthcoming.
>

You say it like there's some over arching plan to suppress parts of the
community and there's a pack of disgruntled developers who just can't
seem to

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Clint Byrum
Excerpts from Christopher Aedo's message of 2017-03-10 19:30:18 -0800:
> On Fri, Mar 10, 2017 at 6:20 PM, Clint Byrum  wrote:
> > Excerpts from Fox, Kevin M's message of 2017-03-10 23:45:06 +:
> >> So, this is the kind of thinking I'm talking about... OpenStack today is
> >> more then just IaaS in the tent. Trove (DBaaS), Sahara (Hadoop,Spark,etc
> >> aaS), Zaqar (Messaging aaS) and many more services. But they seem to be
> >> treated as second class citizens, as they are not "IaaS".
> >>
> >
> > It's not that they're second class citizens. It's that their community
> > is smaller by count of users, operators, and developers. This should not
> > come as a surprise, because the lowest common denominator in any user
> > base will always receive more attention.
> >
> >> > Why should it strive to be anything except an excellent building block
> >> for other technologies?
> >>
> >> You misinterpret my statement. I'm in full agreement with you. The
> >> above services should be excellent building blocks too, but are suffering
> >> from lack of support from the IaaS layer. They deserve the ability to
> >> be excellent too, but need support/vision from the greater community
> >> that hasn't been forthcoming.
> >>
> >
> > You say it like there's some over arching plan to suppress parts of the
> > community and there's a pack of disgruntled developers who just can't
> > seem to get OpenStack to work for Trove/Sahara/AppCatalog/etc.
> >
> > We all have different reasons for contributing in the way we do.  Clearly,
> > not as many people contribute to the Trove story as do the pure VM-on-nova
> > story.
> >
> >> I agree with you, we should embrace the container folks and not treat
> >> them as separate. I think thats critical if we want to allow things
> >> like Sahara or Trove to really fulfil their potential. This is the path
> >> towards being an OpenSource AWS competitor, not just for being able to
> >> request vm's in a cloudy way.
> >>
> >> I think that looks something like:
> >> OpenStack Advanced Service (trove, sahara, etc) -> Kubernetes ->
> >> Nova VM or Ironic Bare Metal.
> >>
> >
> > That's a great idea. However, AFAICT, Nova is _not_ standing in Trove,
> > Sahara, or anyone else's way from doing this. Seriously, try it. I'm sure
> > it will work.  And in so doing, you will undoubtedly run into friction
> > from the APIs. But unless you can describe that _now_, you have to go try
> > it and tell us what broke first. And then you can likely submit feature
> > work to nova/neutron/cinder to make it better. I don't see anything in
> > the current trajectory of OpenStack that makes this hard. Why not just do
> > it? The way you ask, it's like you have a team of developers just sitting
> > around shaving yaks waiting for an important OpenStack development task.
> >
> > The real question is why aren't Murano, Trove and Sahara in most current
> > deployments? My guess is that it's because most of our current users
> > don't feel they need it. Until they do, Trove and Sahara will not be
> > priorities. If you want them to be priorities _pay somebody to make them
> > a priority_.
> 
> This particular point really caught my attention.  You imply that
> these additional services are not widely deployed because _users_
> don't want them.  The fact is most users are completely unaware of
> them because these services require the operator of the cloud to
> support them.  In fact they often require the operator of the cloud to
> support them from the initial deployment, as these services (and
> *most* OpenStack services) are frighteningly difficult to add to an
> already deployed cloud without downtime and high risk of associated
> issues.
> 
> I think it's unfair to claim these services are unpopular because
> users aren't asking for them when it's likely users aren't even aware
> of them (do OVH, Vexxhost, Dreamhost, Raskspace or others provide a
> user-facing list of potential OpenStack services with a voting option?
>  Not that I've ever seen!)
> 
> I bring this up to point out how much more popular ALL of these
> services would be if the _users_ were able to enable them without
> requiring operator intervention and support.
> 
> Based on our current architecture, it's nearly impossible for a new
> project to be deployed on a cloud without cloud-level admin
> privileges.  Additionally almost none of the projects could even work
> this way (with Rally being a notable exception).  I guess I'm kicking
> this dead horse because for a long time I've argued we need to back
> away from the tightly coupled nature of all the projects, but
> (speaking of horses) it seems that horse is already out of the barn.
> (I really wish I could work in one more proverb dealing with horses
> but it's getting late on a Friday so I'll stop now.)
> 

I see your point, and believe it is valid.

However, we do have something like a voting system in the market
economy. The users may not say "I want Trove". But they may very well say
"I don

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Christopher Aedo
On Fri, Mar 10, 2017 at 6:20 PM, Clint Byrum  wrote:
> Excerpts from Fox, Kevin M's message of 2017-03-10 23:45:06 +:
>> So, this is the kind of thinking I'm talking about... OpenStack today is
>> more then just IaaS in the tent. Trove (DBaaS), Sahara (Hadoop,Spark,etc
>> aaS), Zaqar (Messaging aaS) and many more services. But they seem to be
>> treated as second class citizens, as they are not "IaaS".
>>
>
> It's not that they're second class citizens. It's that their community
> is smaller by count of users, operators, and developers. This should not
> come as a surprise, because the lowest common denominator in any user
> base will always receive more attention.
>
>> > Why should it strive to be anything except an excellent building block
>> for other technologies?
>>
>> You misinterpret my statement. I'm in full agreement with you. The
>> above services should be excellent building blocks too, but are suffering
>> from lack of support from the IaaS layer. They deserve the ability to
>> be excellent too, but need support/vision from the greater community
>> that hasn't been forthcoming.
>>
>
> You say it like there's some over arching plan to suppress parts of the
> community and there's a pack of disgruntled developers who just can't
> seem to get OpenStack to work for Trove/Sahara/AppCatalog/etc.
>
> We all have different reasons for contributing in the way we do.  Clearly,
> not as many people contribute to the Trove story as do the pure VM-on-nova
> story.
>
>> I agree with you, we should embrace the container folks and not treat
>> them as separate. I think thats critical if we want to allow things
>> like Sahara or Trove to really fulfil their potential. This is the path
>> towards being an OpenSource AWS competitor, not just for being able to
>> request vm's in a cloudy way.
>>
>> I think that looks something like:
>> OpenStack Advanced Service (trove, sahara, etc) -> Kubernetes ->
>> Nova VM or Ironic Bare Metal.
>>
>
> That's a great idea. However, AFAICT, Nova is _not_ standing in Trove,
> Sahara, or anyone else's way from doing this. Seriously, try it. I'm sure
> it will work.  And in so doing, you will undoubtedly run into friction
> from the APIs. But unless you can describe that _now_, you have to go try
> it and tell us what broke first. And then you can likely submit feature
> work to nova/neutron/cinder to make it better. I don't see anything in
> the current trajectory of OpenStack that makes this hard. Why not just do
> it? The way you ask, it's like you have a team of developers just sitting
> around shaving yaks waiting for an important OpenStack development task.
>
> The real question is why aren't Murano, Trove and Sahara in most current
> deployments? My guess is that it's because most of our current users
> don't feel they need it. Until they do, Trove and Sahara will not be
> priorities. If you want them to be priorities _pay somebody to make them
> a priority_.

This particular point really caught my attention.  You imply that
these additional services are not widely deployed because _users_
don't want them.  The fact is most users are completely unaware of
them because these services require the operator of the cloud to
support them.  In fact they often require the operator of the cloud to
support them from the initial deployment, as these services (and
*most* OpenStack services) are frighteningly difficult to add to an
already deployed cloud without downtime and high risk of associated
issues.

I think it's unfair to claim these services are unpopular because
users aren't asking for them when it's likely users aren't even aware
of them (do OVH, Vexxhost, Dreamhost, Raskspace or others provide a
user-facing list of potential OpenStack services with a voting option?
 Not that I've ever seen!)

I bring this up to point out how much more popular ALL of these
services would be if the _users_ were able to enable them without
requiring operator intervention and support.

Based on our current architecture, it's nearly impossible for a new
project to be deployed on a cloud without cloud-level admin
privileges.  Additionally almost none of the projects could even work
this way (with Rally being a notable exception).  I guess I'm kicking
this dead horse because for a long time I've argued we need to back
away from the tightly coupled nature of all the projects, but
(speaking of horses) it seems that horse is already out of the barn.
(I really wish I could work in one more proverb dealing with horses
but it's getting late on a Friday so I'll stop now.)

-Christopher


>> Not what we have today:
>> OpenStack Advanced Service -> Nova VM or Ironic Bare Metal
>>
>> due to the focus on the api's of VM's being only for IaaS and not for
>> actually running cloud software on.
>>
>
> The above is an unfounded and unsupported claim. What _exactly_ would
> you want Nova/Neutron/Cinder's API to do differently to support "cloud
> software" better? Why is everyone dodging that question? Name one

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Clint Byrum
Excerpts from Zane Bitter's message of 2017-03-10 19:09:42 -0500:
> On 10/03/17 12:27, Monty Taylor wrote:
> > On 03/10/2017 10:59 AM, Clint Byrum wrote:
> You may be familiar with the Kuryr project, which integrates Kubernetes 
> deployments made by Magnum with Neutron networking so that other Nova 
> servers can talk directly to the containers and other fun stuff. IMHO 
> it's exactly the kind of thing OpenStack should be doing to make users' 
> lives better, and give a compelling reason to install k8s on top of 
> OpenStack instead of on bare metal.
> 
> So here's a fun thing I learned at the PTG: according to the Magnum 
> folks, the main thing preventing them from fully adopting Kuryr is that 
> the k8s application servers, provisioned with Nova, need to make API 
> calls to Neutron to set up the ports as containers move around. And 
> there's no secure way to give Keystone authentication credentials to an 
> application server to do what it needs - and, especially, to do *only* 
> what it needs.
> 
> http://lists.openstack.org/pipermail/openstack-dev/2016-October/105304.html
> 
> Keystone devs did agree in back in Austin that when they rejigger the 
> default policy files it will done in such a way as to make the 
> authorisation component of this feasible (by requiring a specific 
> reader/writer role, not just membership of the project, to access APIs), 
> but that change hasn't happened yet AFAIK. I suspect that it isn't their 
> top priority. Kevin has been campaigning for *years* to get Nova to 
> provide a secure way to inject credentials into a server in the same way 
> that this is built in to EC2, GCE and (I assume but haven't checked) 
> Azure. And they turned him down flat every time saying that this was not 
> Nova's problem.
> 
> Sorry, but if OpenStack isn't a good, secure platform for running 
> Kubernetes on then that is a HAIR ON FIRE-level *existential* problem in 
> 2017.
> 

You're very right on this. And kuryr not working the way it should is _a
disaster_. I was hoping it had worked itself out by now.

I've argued against certain aspects of instance-users in the past (and
for others). I think it might be worth it to take another shot at
actually writing up a spec again.

In the mean time, we could always have shade inject instance-user
creds... 

> We can't place too much blame on individual projects though, because I 
> believe the main reason this doesn't Just Work already is that there has 
> been an unspoken consensus that we needed to listen to users like you 
> but not to users like Kevin, and the elected leaders of our community 
> have done nothing to either disavow or officially adopt that consensus. 
> We _urgently_ need to decide if that's what we actually want and make 
> sure it is prominently documented so that both users and developers know 
> what's what.
> 
> FWIW I'm certain you must have hit this same issue in infra - probably 
> you were able to use pre-signed Swift URLs when uploading log files to 
> avoid needing credentials on servers allocated by nodepool? That's 
> great, but not every API in OpenStack has a pre-signed URL facility, and 
> nor should they have to.
> 

Indeed, that's how infra nodes store logs in swift.

> (BTW I proposed a workaround for Magnum/Kuryr at the PTG by using a 
> pre-signed Zaqar URL with a subscription triggering a Mistral workflow, 
> and I've started working on a POC.)
> 

What triggers the boot to kick over the bucket full of golf balls
though?

> > Considering computers as some-how inherently 'better' or 'worse' than
> > some of the 'cloud-native' concepts is hog wash. Different users have
> > different needs. As Clint points out - kubernetes needs to run
> > _somewhere_. CloudFoundry needs to run _somewhere_. So those are at
> > least two other potential users who are not me and my collection of
> > things I want to run that want to run in computers.
> 
> I think we might be starting to talk about different ideas. The whole 
> VMs vs. containers fight _is_ hogwash. You're right to call it out as 
> such. We hear far too much about it, and it's totally unfair to the 
> folks who work on the VM side. But that isn't what this discussion is about.
> 
> Google has done everyone a minor disservice by appropriating the term 
> "cloud-native" and using it in a context such that it's effectively been 
> redefined to mean "containers instead of VMs". I've personally stopped 
> using the term because it's more likely to generate confusion than clarity.
> 
> What "cloud-native" used to mean to me was an application that knows 
> it's running in the cloud, and uses the cloud's APIs. As opposed to 
> applications that could just as easily be running in a VPS or on bare 
> metal, but happen to be running in a VM provisioned by Nova.
> 

+1 for "apps that know they're in the cloud", and further apps that know
how to talk to their cloud.

And also +1 for listening to folks who want a little more help in
interacting with their cloud from 

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Clint Byrum
Excerpts from Fox, Kevin M's message of 2017-03-10 23:45:06 +:
> So, this is the kind of thinking I'm talking about... OpenStack today is
> more then just IaaS in the tent. Trove (DBaaS), Sahara (Hadoop,Spark,etc
> aaS), Zaqar (Messaging aaS) and many more services. But they seem to be
> treated as second class citizens, as they are not "IaaS".
> 

It's not that they're second class citizens. It's that their community
is smaller by count of users, operators, and developers. This should not
come as a surprise, because the lowest common denominator in any user
base will always receive more attention.

> > Why should it strive to be anything except an excellent building block
> for other technologies?
> 
> You misinterpret my statement. I'm in full agreement with you. The
> above services should be excellent building blocks too, but are suffering
> from lack of support from the IaaS layer. They deserve the ability to
> be excellent too, but need support/vision from the greater community
> that hasn't been forthcoming.
> 

You say it like there's some over arching plan to suppress parts of the
community and there's a pack of disgruntled developers who just can't
seem to get OpenStack to work for Trove/Sahara/AppCatalog/etc.

We all have different reasons for contributing in the way we do.  Clearly,
not as many people contribute to the Trove story as do the pure VM-on-nova
story.

> I agree with you, we should embrace the container folks and not treat
> them as separate. I think thats critical if we want to allow things
> like Sahara or Trove to really fulfil their potential. This is the path
> towards being an OpenSource AWS competitor, not just for being able to
> request vm's in a cloudy way.
> 
> I think that looks something like:
> OpenStack Advanced Service (trove, sahara, etc) -> Kubernetes ->
> Nova VM or Ironic Bare Metal.
> 

That's a great idea. However, AFAICT, Nova is _not_ standing in Trove,
Sahara, or anyone else's way from doing this. Seriously, try it. I'm sure
it will work.  And in so doing, you will undoubtedly run into friction
from the APIs. But unless you can describe that _now_, you have to go try
it and tell us what broke first. And then you can likely submit feature
work to nova/neutron/cinder to make it better. I don't see anything in
the current trajectory of OpenStack that makes this hard. Why not just do
it? The way you ask, it's like you have a team of developers just sitting
around shaving yaks waiting for an important OpenStack development task.

The real question is why aren't Murano, Trove and Sahara in most current
deployments? My guess is that it's because most of our current users
don't feel they need it. Until they do, Trove and Sahara will not be
priorities. If you want them to be priorities _pay somebody to make them
a priority_.

> Not what we have today:
> OpenStack Advanced Service -> Nova VM or Ironic Bare Metal
> 
> due to the focus on the api's of VM's being only for IaaS and not for
> actually running cloud software on.
> 

The above is an unfounded and unsupported claim. What _exactly_ would
you want Nova/Neutron/Cinder's API to do differently to support "cloud
software" better? Why is everyone dodging that question? Name one
specific change and how it would actually be consumed.

I personally think it's just the general frustration that comes at
this stage of maturity of a project. There's a contraction of hype,
lower investment in general, and everyone is suppressing their panic
and trying to reason about what we can do to make it better, but nobody
actually knows. Meanwhile, our users and operators need us to keep
making things better. Some are even _paying us_ to make things better.

> I'm sorry if that sounds a bit confusing. Its hard to
> explain. I can try and elaborate if you want. Zane's
> posting here does help explain it a little: >
> http://www.zerobanana.com/archive/2015/04/24#a-vision-for-openstack
> 

Honest, I don't understand the reality that Zane's vision is driving at in
that post. More Zaqar? Why not just do that? What's standing in the way?

> The other alternative is to clearly define OpenStack to be just IaaS,
> and kick all the non IaaS stuff out of the tent. (I do not prefer
> this). It will hurt in the short term but long tern could be better
> for those projects then the current status quo as new opportunities for
> switching base dependencies will present themselves and no longer will
> be hamstrung by those that feel their use case isn't important or think
> that the existing api's are "good enough" to handle the use case.
> 

Why would we kick out perfectly healthy pieces of software that want
to be OpenStack-native? Nobody is saying that IaaS clouds aren't well
complimented by native higher level projects. But in the app catalog
case, there's little consumption, and waning contribution, so it's worth
considering whether its continued maintenance and existence is a drain
on the overall community. Sounds like it is, and we'll proba

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Zane Bitter

On 10/03/17 14:30, Jay Pipes wrote:

On 03/10/2017 01:37 PM, Zane Bitter wrote:

On 09/03/17 23:57, Renat Akhmerov wrote:

And this whole discussion is taking me to the question: is there really
any officially accepted strategy for OpenStack for 1, 3, 5 years? Is
there any ultimate community goal we’re moving to regardless of
underlying technologies (containers, virtualization etc.)? I know we’re
now considering various community goals like transition to Python 3.5
etc. but these goals don’t tell anything about our future as an IT
ecosystem from user perspective. I may assume that I’m just not aware of
it. I’d be glad if it was true. I’m eager to know the answers for these
questions.


Me too! There was one effort started by John Garbutt in December, a
technical vision for OpenStack in the form of a TC resolution in the
governance repo:

https://review.openstack.org/#/c/401226/

I wasn't a fan of the draft content, but I believe his intention was to
seed it with a formalised version of our de-facto historical position
(tl;dr legacy apps from the 90s). As long as that's a starting point for
the discussion and not a conclusion then I think this was a valuable
contribution. I commented with a non-exhaustive list of things that I
would expect to see at least debated in a vision for a cloud computing
platform, which I will reproduce here since it's relevant to this thread:

* Infinite scaling - the ability in principle to scale from zero to an
arbitrarily large number of users without rewriting your application
(e.g. if your application can store one file in Swift then there's no
theoretical limit to how many it can store. c.f. Cinder where at some
point you'd have to start juggling multiple volumes.)
* Granularity of allocation - pay only for the resources you actually
use, rather than to allocate a chunk that you may or may not be using
(so Nova->containers->FaaS, Cinder->Swift, Trove->??? [RIP MagnetoDB],
&c.)
* Full control of infrastructure - notwithstanding the above, maintain
Nova/Cinder/Neutron/Trove/&c. so that legacy applications, highly
specialised applications, and higher-level services like PaaS can make
fully customised use of the virtual infrastructure.
* Hardware virtualisation - make anything that might typically be done
in hardware available in a multi-tenant software-defined environment:
servers, routers, load balancers, firewalls, video codecs, GPGPUs,
FPGAs...
* Built-in reliability - don't require even the smallest apps to have 3
VMs + a cluster manager to enforce any reliability guarantees; provide
those guarantees using multi-tenant services that efficiently share
resources between applications (see also: Infinite scaling, Granularity
of allocation).
* Application control - (securely) give applications control over their
own infrastructure, so that no part of the application needs to reside
outside of the cloud.
* Integration - cloud services that effectively form part of the user's
application can communicate amongst themselves, where appropriate,
without the need for client-side glue (see also: Built-in reliability).
* Interoperability - the same applications can be deployed on a variety
of private and public OpenStack clouds.


Those are all interesting technical concepts to think about and discuss.
However, what Kevin said originally in his response about the OpenStack
community needing to decide what exactly it *is* and what scope
OpenStack should pursue, is the real foundational question that needs to
be addressed. Until it is, none of the rest of these topics have much
contextual relevance and are just a distraction, IMHO.


Hey Jay,
I respect your opinion here, and I agree that's the question we need to 
answer. TBH I'm happy any way we can get to an answer.


I suspect however, that approaching it directly will not prove feasible 
due to a lack of shared terminology. When everyone has a different idea 
in their head (and AFAICT they do) of what "IaaS" means, discussions 
devolve quite quickly into meaninglessness.


It seems to me that having the conversation at a different level of 
abstraction, that of the technical principles we think the solution 
should embody, could potentially be more productive. I believe it's 
fairly easy to judge what is in scope (including for services we haven't 
imagined yet) by referring back to principles at this level of 
abstraction if we can agree on them first.


I'm open to other approaches though.

cheers,
Zane.

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Zane Bitter

On 10/03/17 17:43, Clint Byrum wrote:

Excerpts from Fox, Kevin M's message of 2017-03-10 20:47:55 +:

Just because the market hasn't immediately shifted from IaaS to containers doesn't mean it won't 
happen eventually, and that google's wrong in their push for containers over IaaS. It took a long 
time (still ongoing) to move from physical machines to vm's. The same parallel will happen with 
containers I believe. We're at least a few years out from it becoming more common place. That 
doesn't mean folks can assume it will always be the way it is, and the "market has 
spoken". "The only constants are death and taxes." :)

Your right in the assertion k8s needs a place to run, but that doesn't 
necessarily mean OpenStack, unless we help integrate it and make it a great 
place to run it.

I'm glad the IaaS stuff in OpenStack suits your needs. Thats great. It hasn't 
served a great number of users needs though, and has been at least misleading 
folks into believing it will for a number of years. If we want it to just be an 
IaaS, lets free up those users to move on elsewhere.

Does OpenStack intend just to be an IaaS in a few years or something else?


I'm not a fan of describing the more limited use case as "just IaaS". 
It's all infrastructure; the question for me is whom it's providing a 
service to: the application running on that infrastructure, or only the 
(human) operator of that application?



Why should it strive to be anything except an excellent building block
for other technologies?


Wrong question IMO. The right question is, what would make it an 
excellent building block?


We need to set the bar higher than "same as bare metal ('apps will work 
just like any other places') but you also get to manage an OpenStack 
deployment too".


See my reply to Monty for details on some ways that OpenStack isn't as 
excellent a building block as it ought to be.


By happy coincidence, the same features that would make OpenStack a 
better building block for "other technologies" are in many cases also 
what would make it a better place to run other applications of the type 
that Kevin's users want to write. Since the "other technologies" are 
themselves applications from OpenStack's perspective.


cheers,
Zane.

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Zane Bitter

On 10/03/17 12:27, Monty Taylor wrote:

On 03/10/2017 10:59 AM, Clint Byrum wrote:

I'm curious what you (Josh) or Zane would change too.
Containers/apps/kubes/etc. have to run on computers with storage and
networks. OpenStack provides a pretty rich set of features for giving
users computers with storage on networks, and operators a way to manage
those. So I fail to see how that is svn to "cloud native"'s git. It
seems more foundational and complimentary.


I agree with this strongly.

I get frustrated really quickly when people tell me that, as a user, I
_should_ want something different than what I actually do want.

It turns out, I _do_ want computers - or at least things that behave
like computers - for some percentage of my workloads. I'm not the only
one out there who wants that.

There are other humans out there who do not want computers. They don't
like computers at all. They want generic execution contexts into which
they can put their apps.

It's just as silly to tell those people that they _should_ want
computers as it is to tell me that I _should_ want a generic execution
context.


I totally agree with you. There is room for all kinds of applications on 
OpenStack, and the great thing about an open community is that they can 
all have a voice. In theory.



One of the wonderful things about the situation we're in now is that if
you stack a k8s on top of an OpenStack then you empower the USER to
decide what their workload is and which types of features it is - rather
than forcing a "cloud native" vision dreamed up by "thought leaders"
down everyone's throats.


I'd go even further than that - many workloads are likely a mix of 
_both_, and we need to empower users to be able to use the right tools 
for the right parts of the job and _integrate_ them together. That's 
where OpenStack can add huge value to k8s and the like.


You may be familiar with the Kuryr project, which integrates Kubernetes 
deployments made by Magnum with Neutron networking so that other Nova 
servers can talk directly to the containers and other fun stuff. IMHO 
it's exactly the kind of thing OpenStack should be doing to make users' 
lives better, and give a compelling reason to install k8s on top of 
OpenStack instead of on bare metal.


So here's a fun thing I learned at the PTG: according to the Magnum 
folks, the main thing preventing them from fully adopting Kuryr is that 
the k8s application servers, provisioned with Nova, need to make API 
calls to Neutron to set up the ports as containers move around. And 
there's no secure way to give Keystone authentication credentials to an 
application server to do what it needs - and, especially, to do *only* 
what it needs.


http://lists.openstack.org/pipermail/openstack-dev/2016-October/105304.html

Keystone devs did agree in back in Austin that when they rejigger the 
default policy files it will done in such a way as to make the 
authorisation component of this feasible (by requiring a specific 
reader/writer role, not just membership of the project, to access APIs), 
but that change hasn't happened yet AFAIK. I suspect that it isn't their 
top priority. Kevin has been campaigning for *years* to get Nova to 
provide a secure way to inject credentials into a server in the same way 
that this is built in to EC2, GCE and (I assume but haven't checked) 
Azure. And they turned him down flat every time saying that this was not 
Nova's problem.


Sorry, but if OpenStack isn't a good, secure platform for running 
Kubernetes on then that is a HAIR ON FIRE-level *existential* problem in 
2017.


We can't place too much blame on individual projects though, because I 
believe the main reason this doesn't Just Work already is that there has 
been an unspoken consensus that we needed to listen to users like you 
but not to users like Kevin, and the elected leaders of our community 
have done nothing to either disavow or officially adopt that consensus. 
We _urgently_ need to decide if that's what we actually want and make 
sure it is prominently documented so that both users and developers know 
what's what.


FWIW I'm certain you must have hit this same issue in infra - probably 
you were able to use pre-signed Swift URLs when uploading log files to 
avoid needing credentials on servers allocated by nodepool? That's 
great, but not every API in OpenStack has a pre-signed URL facility, and 
nor should they have to.


(BTW I proposed a workaround for Magnum/Kuryr at the PTG by using a 
pre-signed Zaqar URL with a subscription triggering a Mistral workflow, 
and I've started working on a POC.)



It also turns out that the market agrees. Google App Engine was not
successful, until Google added IaaS. Azure was not successful until
Microsoft added IaaS. Amazon, who have a container service and a
serverless service is all built around the ecosystem that is centered on
... that's right ... an IaaS.


I think this is the point where you're supposed to insert the disclaimer 
that, in any mar

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Fox, Kevin M
So, this is the kind of thinking I'm talking about... OpenStack today is more 
then just IaaS in the tent. Trove (DBaaS), Sahara (Hadoop,Spark,etc aaS), Zaqar 
(Messaging aaS) and many more services. But they seem to be treated as second 
class citizens, as they are not "IaaS".

> Why should it strive to be anything except an excellent building block
for other technologies?

You misinterpret my statement. I'm in full agreement with you. The above 
services should be excellent building blocks too, but are suffering from lack 
of support from the IaaS layer. They deserve the ability to be excellent too, 
but need support/vision from the greater community that hasn't been forthcoming.

I agree with you, we should embrace the container folks and not treat them as 
separate. I think thats critical if we want to allow things like Sahara or 
Trove to really fulfil their potential. This is the path towards being an 
OpenSource AWS competitor, not just for being able to request vm's in a cloudy 
way.

I think that looks something like:
OpenStack Advanced Service (trove, sahara, etc) -> Kubernetes -> Nova VM or 
Ironic Bare Metal.

Not what we have today:
OpenStack Advanced Service -> Nova VM or Ironic Bare Metal

due to the focus on the api's of VM's being only for IaaS and not for actually 
running cloud software on.

I'm sorry if that sounds a bit confusing. Its hard to explain. I can try and 
elaborate if you want. Zane's posting here does help explain it a little:
http://www.zerobanana.com/archive/2015/04/24#a-vision-for-openstack

The other alternative is to clearly define OpenStack to be just IaaS, and kick 
all the non IaaS stuff out of the tent. (I do not prefer this). It will hurt in 
the short term but long tern could be better for those projects then the 
current status quo as new opportunities for switching base dependencies will 
present themselves and no longer will be hamstrung by those that feel their use 
case isn't important or think that the existing api's are "good enough" to 
handle the use case.

Thanks,
Kevin
 

From: Clint Byrum [cl...@fewbar.com]
Sent: Friday, March 10, 2017 2:43 PM
To: openstack-dev
Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog

Excerpts from Fox, Kevin M's message of 2017-03-10 20:47:55 +:
> Just because the market hasn't immediately shifted from IaaS to containers 
> doesn't mean it won't happen eventually, and that google's wrong in their 
> push for containers over IaaS. It took a long time (still ongoing) to move 
> from physical machines to vm's. The same parallel will happen with containers 
> I believe. We're at least a few years out from it becoming more common place. 
> That doesn't mean folks can assume it will always be the way it is, and the 
> "market has spoken". "The only constants are death and taxes." :)
>
> Your right in the assertion k8s needs a place to run, but that doesn't 
> necessarily mean OpenStack, unless we help integrate it and make it a great 
> place to run it.
>
> I'm glad the IaaS stuff in OpenStack suits your needs. Thats great. It hasn't 
> served a great number of users needs though, and has been at least misleading 
> folks into believing it will for a number of years. If we want it to just be 
> an IaaS, lets free up those users to move on elsewhere.
>
> Does OpenStack intend just to be an IaaS in a few years or something else?
>

Why should it strive to be anything except an excellent building block
for other technologies?

Containers have a community and there's no reason we should think of that
as separate from us. We're friends, and we overlap when it makes sense.

All the container tech that I see out there still needs computers /
disks / networks to run on. OpenStack is a pretty decent way to chop your
computers up and give fully automated control of all aspects of them to
multiple tenants.  What else would you want it to do that isn't already
an aspect of Kubernetes, CloudFoundry, etc.?

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Clint Byrum
Excerpts from Fox, Kevin M's message of 2017-03-10 20:47:55 +:
> Just because the market hasn't immediately shifted from IaaS to containers 
> doesn't mean it won't happen eventually, and that google's wrong in their 
> push for containers over IaaS. It took a long time (still ongoing) to move 
> from physical machines to vm's. The same parallel will happen with containers 
> I believe. We're at least a few years out from it becoming more common place. 
> That doesn't mean folks can assume it will always be the way it is, and the 
> "market has spoken". "The only constants are death and taxes." :)
> 
> Your right in the assertion k8s needs a place to run, but that doesn't 
> necessarily mean OpenStack, unless we help integrate it and make it a great 
> place to run it.
> 
> I'm glad the IaaS stuff in OpenStack suits your needs. Thats great. It hasn't 
> served a great number of users needs though, and has been at least misleading 
> folks into believing it will for a number of years. If we want it to just be 
> an IaaS, lets free up those users to move on elsewhere.
> 
> Does OpenStack intend just to be an IaaS in a few years or something else?
> 

Why should it strive to be anything except an excellent building block
for other technologies?

Containers have a community and there's no reason we should think of that
as separate from us. We're friends, and we overlap when it makes sense.

All the container tech that I see out there still needs computers /
disks / networks to run on. OpenStack is a pretty decent way to chop your
computers up and give fully automated control of all aspects of them to
multiple tenants.  What else would you want it to do that isn't already
an aspect of Kubernetes, CloudFoundry, etc.?

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Fox, Kevin M
Thats the power of opensource. You don't HAVE to do it with investors and 
business plans. You can do it in a garage, if you have the right idea! :)

Thanks,
Kevin

From: Clint Byrum [cl...@fewbar.com]
Sent: Friday, March 10, 2017 11:03 AM
To: openstack-dev
Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog

Excerpts from Joshua Harlow's message of 2017-03-10 10:09:24 -0800:
> Clint Byrum wrote:
> > Excerpts from Joshua Harlow's message of 2017-03-09 21:53:58 -0800:
> >> Renat Akhmerov wrote:
> >>>> On 10 Mar 2017, at 06:02, Zane Bitter >>>> <mailto:zbit...@redhat.com>>  wrote:
> >>>>
> >>>> On 08/03/17 11:23, David Moreau Simard wrote:
> >>>>> The App Catalog, to me, sounds sort of like a weird message that
> >>>>> OpenStack somehow requires applications to be
> >>>>> packaged/installed/deployed differently.
> >>>>> If anything, perhaps we should spend more effort on advertising that
> >>>>> OpenStack provides bare metal or virtual compute resources and that
> >>>>> apps will work just like any other places.
> >>>> Look, it's true that legacy apps from the 90s will run on any VM you
> >>>> can give them. But the rest of the world has spent the last 15 years
> >>>> moving on from that. Applications of the future, and increasingly the
> >>>> present, span multiple VMs/containers, make use of services provided
> >>>> by the cloud, and interact with their own infrastructure. And users
> >>>> absolutely will need ways of packaging and deploying them that work
> >>>> with the underlying infrastructure. Even those apps from the 90s
> >>>> should be taking advantage of things like e.g. Neutron security
> >>>> groups, configuration of which is and will always be out of scope for
> >>>> Docker Hub images.
> >>>>
> >>>> So no, we should NOT spend more effort on advertising that we aim to
> >>>> become to cloud what Subversion is to version control. We've done far
> >>>> too much of that already IMHO.
> >>> 100% agree with that.
> >>>
> >>> And this whole discussion is taking me to the question: is there really
> >>> any officially accepted strategy for OpenStack for 1, 3, 5 years?
> >> I can propose what I would like for a strategy (it's not more VMs and
> >> more neutron security groups...), though if it involves (more) design by
> >> committee, count me out.
> >>
> >> I honestly believe we have to do the equivalent of a technology leapfrog
> >> if we actually want to be relevant; but maybe I'm to eager...
> >>
> >
> > Open source isn't really famous for technology leapfrogging.
>
> Time to get famous.
>
> I hate accepting what the status quo is just because it's not been
> famous (or easy, or turned out, or ...) before.
>

Good luck. I can't see how you get an investor to enable you to do that
in this context without an absolute _mountain_ of relatively predictable
service-industry profit involved.

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Fox, Kevin M
Just because the market hasn't immediately shifted from IaaS to containers 
doesn't mean it won't happen eventually, and that google's wrong in their push 
for containers over IaaS. It took a long time (still ongoing) to move from 
physical machines to vm's. The same parallel will happen with containers I 
believe. We're at least a few years out from it becoming more common place. 
That doesn't mean folks can assume it will always be the way it is, and the 
"market has spoken". "The only constants are death and taxes." :)

Your right in the assertion k8s needs a place to run, but that doesn't 
necessarily mean OpenStack, unless we help integrate it and make it a great 
place to run it.

I'm glad the IaaS stuff in OpenStack suits your needs. Thats great. It hasn't 
served a great number of users needs though, and has been at least misleading 
folks into believing it will for a number of years. If we want it to just be an 
IaaS, lets free up those users to move on elsewhere.

Does OpenStack intend just to be an IaaS in a few years or something else?

Thanks,
Kevin

From: Monty Taylor [mord...@inaugust.com]
Sent: Friday, March 10, 2017 9:27 AM
To: openstack-dev@lists.openstack.org
Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog

On 03/10/2017 10:59 AM, Clint Byrum wrote:
> Excerpts from Joshua Harlow's message of 2017-03-09 21:53:58 -0800:
>> Renat Akhmerov wrote:
>>>
>>>> On 10 Mar 2017, at 06:02, Zane Bitter >>> <mailto:zbit...@redhat.com>> wrote:
>>>>
>>>> On 08/03/17 11:23, David Moreau Simard wrote:
>>>>> The App Catalog, to me, sounds sort of like a weird message that
>>>>> OpenStack somehow requires applications to be
>>>>> packaged/installed/deployed differently.
>>>>> If anything, perhaps we should spend more effort on advertising that
>>>>> OpenStack provides bare metal or virtual compute resources and that
>>>>> apps will work just like any other places.
>>>>
>>>> Look, it's true that legacy apps from the 90s will run on any VM you
>>>> can give them. But the rest of the world has spent the last 15 years
>>>> moving on from that. Applications of the future, and increasingly the
>>>> present, span multiple VMs/containers, make use of services provided
>>>> by the cloud, and interact with their own infrastructure. And users
>>>> absolutely will need ways of packaging and deploying them that work
>>>> with the underlying infrastructure. Even those apps from the 90s
>>>> should be taking advantage of things like e.g. Neutron security
>>>> groups, configuration of which is and will always be out of scope for
>>>> Docker Hub images.
>>>>
>>>> So no, we should NOT spend more effort on advertising that we aim to
>>>> become to cloud what Subversion is to version control. We've done far
>>>> too much of that already IMHO.
>>>
>>> 100% agree with that.
>>>
>>> And this whole discussion is taking me to the question: is there really
>>> any officially accepted strategy for OpenStack for 1, 3, 5 years?
>>
>> I can propose what I would like for a strategy (it's not more VMs and
>> more neutron security groups...), though if it involves (more) design by
>> committee, count me out.
>>
>> I honestly believe we have to do the equivalent of a technology leapfrog
>> if we actually want to be relevant; but maybe I'm to eager...
>>
>
> Open source isn't really famous for technology leapfrogging.
>
> And before you say "but Docker.." remember that Solaris had zones 13
> years ago.
>
> What a community like ours is good at doing is gathering all the
> exciting industry leading bleeding edge chaos into a boring commodity
> platform. What Zane is saying (and I agree with) is let's make sure we see
> the whole cloud forest and not just focus on the VM trees in front of us.
>
> I'm curious what you (Josh) or Zane would change too.
> Containers/apps/kubes/etc. have to run on computers with storage and
> networks. OpenStack provides a pretty rich set of features for giving
> users computers with storage on networks, and operators a way to manage
> those. So I fail to see how that is svn to "cloud native"'s git. It
> seems more foundational and complimentary.

I agree with this strongly.

I get frustrated really quickly when people tell me that, as a user, I
_should_ want something different than what I actually do want.

It turns out, I _do_ want comput

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Fox, Kevin M
But there is plenty of software out there that opensource has not made a boring 
commodity platform. AWS has tons of services that are quite useful that have no 
real implementation today. I have users being pushed out of OpenStack onto AWS 
simply because it is so much cheaper to build applications on top of AWS as the 
common services on AWS mean they don't need to implement the bits themselves.

This is where OpenStack could still get a competitive advantage. But on the 
current trajectory, the plumbing those types of things need to use in OpenStack 
today are not agile enough.

Take Trove as an example. The goal is to provide database as a service. The 
user doesn't care if it is launched on a vm, or if it happens through 
containers. But the latter is much faster to launch now, easier to code for, 
and easier to administrate for operators. But we're stuck trying to add more 
and more layers of abstraction to add compatibility with all the ways of 
deploying it on vm's and containers, rather then pick a winner and just go with 
it.

Thanks,
Kevin

From: Clint Byrum [cl...@fewbar.com]
Sent: Friday, March 10, 2017 8:59 AM
To: openstack-dev
Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog

Excerpts from Joshua Harlow's message of 2017-03-09 21:53:58 -0800:
> Renat Akhmerov wrote:
> >
> >> On 10 Mar 2017, at 06:02, Zane Bitter  >> <mailto:zbit...@redhat.com>> wrote:
> >>
> >> On 08/03/17 11:23, David Moreau Simard wrote:
> >>> The App Catalog, to me, sounds sort of like a weird message that
> >>> OpenStack somehow requires applications to be
> >>> packaged/installed/deployed differently.
> >>> If anything, perhaps we should spend more effort on advertising that
> >>> OpenStack provides bare metal or virtual compute resources and that
> >>> apps will work just like any other places.
> >>
> >> Look, it's true that legacy apps from the 90s will run on any VM you
> >> can give them. But the rest of the world has spent the last 15 years
> >> moving on from that. Applications of the future, and increasingly the
> >> present, span multiple VMs/containers, make use of services provided
> >> by the cloud, and interact with their own infrastructure. And users
> >> absolutely will need ways of packaging and deploying them that work
> >> with the underlying infrastructure. Even those apps from the 90s
> >> should be taking advantage of things like e.g. Neutron security
> >> groups, configuration of which is and will always be out of scope for
> >> Docker Hub images.
> >>
> >> So no, we should NOT spend more effort on advertising that we aim to
> >> become to cloud what Subversion is to version control. We've done far
> >> too much of that already IMHO.
> >
> > 100% agree with that.
> >
> > And this whole discussion is taking me to the question: is there really
> > any officially accepted strategy for OpenStack for 1, 3, 5 years?
>
> I can propose what I would like for a strategy (it's not more VMs and
> more neutron security groups...), though if it involves (more) design by
> committee, count me out.
>
> I honestly believe we have to do the equivalent of a technology leapfrog
> if we actually want to be relevant; but maybe I'm to eager...
>

Open source isn't really famous for technology leapfrogging.

And before you say "but Docker.." remember that Solaris had zones 13
years ago.

What a community like ours is good at doing is gathering all the
exciting industry leading bleeding edge chaos into a boring commodity
platform. What Zane is saying (and I agree with) is let's make sure we see
the whole cloud forest and not just focus on the VM trees in front of us.

I'm curious what you (Josh) or Zane would change too.
Containers/apps/kubes/etc. have to run on computers with storage and
networks. OpenStack provides a pretty rich set of features for giving
users computers with storage on networks, and operators a way to manage
those. So I fail to see how that is svn to "cloud native"'s git. It
seems more foundational and complimentary.

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Zane Bitter

On 10/03/17 11:59, Clint Byrum wrote:
 What a community like ours is good at doing is gathering all the

exciting industry leading bleeding edge chaos into a boring commodity
platform. What Zane is saying (and I agree with) is let's make sure we see
the whole cloud forest and not just focus on the VM trees in front of us.

I'm curious what you (Josh) or Zane would change too.


Here's something simple that I've been pushing for 2 years and we still 
haven't done yet:


http://www.zerobanana.com/archive/2015/04/24#a-vision-for-openstack

There's plenty more to say, but perhaps this is not the place. If Josh 
starts a new thread I'll be happy to contribute.



Containers/apps/kubes/etc. have to run on computers with storage and
networks. OpenStack provides a pretty rich set of features for giving
users computers with storage on networks, and operators a way to manage
those. So I fail to see how that is svn to "cloud native"'s git. It
seems more foundational and complimentary.


I should have clarified the svn remark. It was a discussion about 
marketing, not technology.


svn is solid, stable, ubiquitous in a certain class of old-school 
Enterprise shops, and completely irrelevant to the future of software 
development. That's the future we're in danger of sleepwalking into.


cheers,
Zane.

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Jay Pipes

On 03/10/2017 01:37 PM, Zane Bitter wrote:

On 09/03/17 23:57, Renat Akhmerov wrote:

And this whole discussion is taking me to the question: is there really
any officially accepted strategy for OpenStack for 1, 3, 5 years? Is
there any ultimate community goal we’re moving to regardless of
underlying technologies (containers, virtualization etc.)? I know we’re
now considering various community goals like transition to Python 3.5
etc. but these goals don’t tell anything about our future as an IT
ecosystem from user perspective. I may assume that I’m just not aware of
it. I’d be glad if it was true. I’m eager to know the answers for these
questions.


Me too! There was one effort started by John Garbutt in December, a
technical vision for OpenStack in the form of a TC resolution in the
governance repo:

https://review.openstack.org/#/c/401226/

I wasn't a fan of the draft content, but I believe his intention was to
seed it with a formalised version of our de-facto historical position
(tl;dr legacy apps from the 90s). As long as that's a starting point for
the discussion and not a conclusion then I think this was a valuable
contribution. I commented with a non-exhaustive list of things that I
would expect to see at least debated in a vision for a cloud computing
platform, which I will reproduce here since it's relevant to this thread:

* Infinite scaling - the ability in principle to scale from zero to an
arbitrarily large number of users without rewriting your application
(e.g. if your application can store one file in Swift then there's no
theoretical limit to how many it can store. c.f. Cinder where at some
point you'd have to start juggling multiple volumes.)
* Granularity of allocation - pay only for the resources you actually
use, rather than to allocate a chunk that you may or may not be using
(so Nova->containers->FaaS, Cinder->Swift, Trove->??? [RIP MagnetoDB], &c.)
* Full control of infrastructure - notwithstanding the above, maintain
Nova/Cinder/Neutron/Trove/&c. so that legacy applications, highly
specialised applications, and higher-level services like PaaS can make
fully customised use of the virtual infrastructure.
* Hardware virtualisation - make anything that might typically be done
in hardware available in a multi-tenant software-defined environment:
servers, routers, load balancers, firewalls, video codecs, GPGPUs, FPGAs...
* Built-in reliability - don't require even the smallest apps to have 3
VMs + a cluster manager to enforce any reliability guarantees; provide
those guarantees using multi-tenant services that efficiently share
resources between applications (see also: Infinite scaling, Granularity
of allocation).
* Application control - (securely) give applications control over their
own infrastructure, so that no part of the application needs to reside
outside of the cloud.
* Integration - cloud services that effectively form part of the user's
application can communicate amongst themselves, where appropriate,
without the need for client-side glue (see also: Built-in reliability).
* Interoperability - the same applications can be deployed on a variety
of private and public OpenStack clouds.


Those are all interesting technical concepts to think about and discuss. 
However, what Kevin said originally in his response about the OpenStack 
community needing to decide what exactly it *is* and what scope 
OpenStack should pursue, is the real foundational question that needs to 
be addressed. Until it is, none of the rest of these topics have much 
contextual relevance and are just a distraction, IMHO.


Best,
-jay

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Clint Byrum
Excerpts from Joshua Harlow's message of 2017-03-10 10:09:24 -0800:
> Clint Byrum wrote:
> > Excerpts from Joshua Harlow's message of 2017-03-09 21:53:58 -0800:
> >> Renat Akhmerov wrote:
>  On 10 Mar 2017, at 06:02, Zane Bitter  >  wrote:
> 
>  On 08/03/17 11:23, David Moreau Simard wrote:
> > The App Catalog, to me, sounds sort of like a weird message that
> > OpenStack somehow requires applications to be
> > packaged/installed/deployed differently.
> > If anything, perhaps we should spend more effort on advertising that
> > OpenStack provides bare metal or virtual compute resources and that
> > apps will work just like any other places.
>  Look, it's true that legacy apps from the 90s will run on any VM you
>  can give them. But the rest of the world has spent the last 15 years
>  moving on from that. Applications of the future, and increasingly the
>  present, span multiple VMs/containers, make use of services provided
>  by the cloud, and interact with their own infrastructure. And users
>  absolutely will need ways of packaging and deploying them that work
>  with the underlying infrastructure. Even those apps from the 90s
>  should be taking advantage of things like e.g. Neutron security
>  groups, configuration of which is and will always be out of scope for
>  Docker Hub images.
> 
>  So no, we should NOT spend more effort on advertising that we aim to
>  become to cloud what Subversion is to version control. We've done far
>  too much of that already IMHO.
> >>> 100% agree with that.
> >>>
> >>> And this whole discussion is taking me to the question: is there really
> >>> any officially accepted strategy for OpenStack for 1, 3, 5 years?
> >> I can propose what I would like for a strategy (it's not more VMs and
> >> more neutron security groups...), though if it involves (more) design by
> >> committee, count me out.
> >>
> >> I honestly believe we have to do the equivalent of a technology leapfrog
> >> if we actually want to be relevant; but maybe I'm to eager...
> >>
> >
> > Open source isn't really famous for technology leapfrogging.
> 
> Time to get famous.
> 
> I hate accepting what the status quo is just because it's not been 
> famous (or easy, or turned out, or ...) before.
> 

Good luck. I can't see how you get an investor to enable you to do that
in this context without an absolute _mountain_ of relatively predictable
service-industry profit involved.

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Zane Bitter

On 09/03/17 23:57, Renat Akhmerov wrote:

And this whole discussion is taking me to the question: is there really
any officially accepted strategy for OpenStack for 1, 3, 5 years? Is
there any ultimate community goal we’re moving to regardless of
underlying technologies (containers, virtualization etc.)? I know we’re
now considering various community goals like transition to Python 3.5
etc. but these goals don’t tell anything about our future as an IT
ecosystem from user perspective. I may assume that I’m just not aware of
it. I’d be glad if it was true. I’m eager to know the answers for these
questions.


Me too! There was one effort started by John Garbutt in December, a 
technical vision for OpenStack in the form of a TC resolution in the 
governance repo:


https://review.openstack.org/#/c/401226/

I wasn't a fan of the draft content, but I believe his intention was to 
seed it with a formalised version of our de-facto historical position 
(tl;dr legacy apps from the 90s). As long as that's a starting point for 
the discussion and not a conclusion then I think this was a valuable 
contribution. I commented with a non-exhaustive list of things that I 
would expect to see at least debated in a vision for a cloud computing 
platform, which I will reproduce here since it's relevant to this thread:


* Infinite scaling - the ability in principle to scale from zero to an 
arbitrarily large number of users without rewriting your application 
(e.g. if your application can store one file in Swift then there's no 
theoretical limit to how many it can store. c.f. Cinder where at some 
point you'd have to start juggling multiple volumes.)
* Granularity of allocation - pay only for the resources you actually 
use, rather than to allocate a chunk that you may or may not be using 
(so Nova->containers->FaaS, Cinder->Swift, Trove->??? [RIP MagnetoDB], &c.)
* Full control of infrastructure - notwithstanding the above, maintain 
Nova/Cinder/Neutron/Trove/&c. so that legacy applications, highly 
specialised applications, and higher-level services like PaaS can make 
fully customised use of the virtual infrastructure.
* Hardware virtualisation - make anything that might typically be done 
in hardware available in a multi-tenant software-defined environment: 
servers, routers, load balancers, firewalls, video codecs, GPGPUs, FPGAs...
* Built-in reliability - don't require even the smallest apps to have 3 
VMs + a cluster manager to enforce any reliability guarantees; provide 
those guarantees using multi-tenant services that efficiently share 
resources between applications (see also: Infinite scaling, Granularity 
of allocation).
* Application control - (securely) give applications control over their 
own infrastructure, so that no part of the application needs to reside 
outside of the cloud.
* Integration - cloud services that effectively form part of the user's 
application can communicate amongst themselves, where appropriate, 
without the need for client-side glue (see also: Built-in reliability).
* Interoperability - the same applications can be deployed on a variety 
of private and public OpenStack clouds.


Anyway, the review was abandoned and moved to an etherpad (sans 
comments... sigh): 
https://etherpad.openstack.org/p/AtlantaPTG-SWG-OpenStackVision


Then the whole discussion was shelved, pending a resolution of the 
preceding discussion about a vision for the TC - IOW the TC had to 
decide whether anybody ought to care about the Technical Committee's 
technical vision for OpenStack (my 2c: it's right there in the name) 
before it could decide what that vision was. Of course you can't not 
decide - not deciding is a quieter way of deciding to stick with the 
status quo. Though given the amount of pushback they got against the 
relatively simple idea of moving off the imminently-EOL Python 2 runtime 
in a co-ordinated rather than ad-hoc fashion, I guess you couldn't 
really blame them.


*That* discussion (the TC vision one) was scheduled to happen in the 
Stewardship Working Group meeting at the PTG in Atlanta: 
https://etherpad.openstack.org/p/AtlantaPTG-SWG-TCVision


Then it was cancelled because it became clear that most of the TC 
members didn't plan to show up due to scheduling conflicts.


Looking through the TC mailing list, it appears it was rescheduled to 
happen this week at a joint TC/Board meeting in Boston. This looks to be 
one of the outputs: 
https://etherpad.openstack.org/p/ocata-12questions-exercise-board 
Hopefully we'll hear more in the next few days, since this _just_ 
happened. But progress toward a technical vision can't come fast enough 
for me - we needed this 3 years ago, and we don't *have* another year to 
figure it out.


cheers,
Zane.

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

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Joshua Harlow

Clint Byrum wrote:

Excerpts from Joshua Harlow's message of 2017-03-09 21:53:58 -0800:

Renat Akhmerov wrote:

On 10 Mar 2017, at 06:02, Zane Bittermailto:zbit...@redhat.com>>  wrote:

On 08/03/17 11:23, David Moreau Simard wrote:

The App Catalog, to me, sounds sort of like a weird message that
OpenStack somehow requires applications to be
packaged/installed/deployed differently.
If anything, perhaps we should spend more effort on advertising that
OpenStack provides bare metal or virtual compute resources and that
apps will work just like any other places.

Look, it's true that legacy apps from the 90s will run on any VM you
can give them. But the rest of the world has spent the last 15 years
moving on from that. Applications of the future, and increasingly the
present, span multiple VMs/containers, make use of services provided
by the cloud, and interact with their own infrastructure. And users
absolutely will need ways of packaging and deploying them that work
with the underlying infrastructure. Even those apps from the 90s
should be taking advantage of things like e.g. Neutron security
groups, configuration of which is and will always be out of scope for
Docker Hub images.

So no, we should NOT spend more effort on advertising that we aim to
become to cloud what Subversion is to version control. We've done far
too much of that already IMHO.

100% agree with that.

And this whole discussion is taking me to the question: is there really
any officially accepted strategy for OpenStack for 1, 3, 5 years?

I can propose what I would like for a strategy (it's not more VMs and
more neutron security groups...), though if it involves (more) design by
committee, count me out.

I honestly believe we have to do the equivalent of a technology leapfrog
if we actually want to be relevant; but maybe I'm to eager...



Open source isn't really famous for technology leapfrogging.


Time to get famous.

I hate accepting what the status quo is just because it's not been 
famous (or easy, or turned out, or ...) before.




And before you say "but Docker.." remember that Solaris had zones 13
years ago.

What a community like ours is good at doing is gathering all the
exciting industry leading bleeding edge chaos into a boring commodity
platform. What Zane is saying (and I agree with) is let's make sure we see
the whole cloud forest and not just focus on the VM trees in front of us.

I'm curious what you (Josh) or Zane would change too.
Containers/apps/kubes/etc. have to run on computers with storage and
networks. OpenStack provides a pretty rich set of features for giving
users computers with storage on networks, and operators a way to manage
those. So I fail to see how that is svn to "cloud native"'s git. It
seems more foundational and complimentary.


__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Monty Taylor
On 03/10/2017 10:59 AM, Clint Byrum wrote:
> Excerpts from Joshua Harlow's message of 2017-03-09 21:53:58 -0800:
>> Renat Akhmerov wrote:
>>>
 On 10 Mar 2017, at 06:02, Zane Bitter >>> > wrote:

 On 08/03/17 11:23, David Moreau Simard wrote:
> The App Catalog, to me, sounds sort of like a weird message that
> OpenStack somehow requires applications to be
> packaged/installed/deployed differently.
> If anything, perhaps we should spend more effort on advertising that
> OpenStack provides bare metal or virtual compute resources and that
> apps will work just like any other places.

 Look, it's true that legacy apps from the 90s will run on any VM you
 can give them. But the rest of the world has spent the last 15 years
 moving on from that. Applications of the future, and increasingly the
 present, span multiple VMs/containers, make use of services provided
 by the cloud, and interact with their own infrastructure. And users
 absolutely will need ways of packaging and deploying them that work
 with the underlying infrastructure. Even those apps from the 90s
 should be taking advantage of things like e.g. Neutron security
 groups, configuration of which is and will always be out of scope for
 Docker Hub images.

 So no, we should NOT spend more effort on advertising that we aim to
 become to cloud what Subversion is to version control. We've done far
 too much of that already IMHO.
>>>
>>> 100% agree with that.
>>>
>>> And this whole discussion is taking me to the question: is there really
>>> any officially accepted strategy for OpenStack for 1, 3, 5 years?
>>
>> I can propose what I would like for a strategy (it's not more VMs and 
>> more neutron security groups...), though if it involves (more) design by 
>> committee, count me out.
>>
>> I honestly believe we have to do the equivalent of a technology leapfrog 
>> if we actually want to be relevant; but maybe I'm to eager...
>>
> 
> Open source isn't really famous for technology leapfrogging.
> 
> And before you say "but Docker.." remember that Solaris had zones 13
> years ago.
> 
> What a community like ours is good at doing is gathering all the
> exciting industry leading bleeding edge chaos into a boring commodity
> platform. What Zane is saying (and I agree with) is let's make sure we see
> the whole cloud forest and not just focus on the VM trees in front of us.
> 
> I'm curious what you (Josh) or Zane would change too.
> Containers/apps/kubes/etc. have to run on computers with storage and
> networks. OpenStack provides a pretty rich set of features for giving
> users computers with storage on networks, and operators a way to manage
> those. So I fail to see how that is svn to "cloud native"'s git. It
> seems more foundational and complimentary.

I agree with this strongly.

I get frustrated really quickly when people tell me that, as a user, I
_should_ want something different than what I actually do want.

It turns out, I _do_ want computers - or at least things that behave
like computers - for some percentage of my workloads. I'm not the only
one out there who wants that.

There are other humans out there who do not want computers. They don't
like computers at all. They want generic execution contexts into which
they can put their apps.

It's just as silly to tell those people that they _should_ want
computers as it is to tell me that I _should_ want a generic execution
context.

One of the wonderful things about the situation we're in now is that if
you stack a k8s on top of an OpenStack then you empower the USER to
decide what their workload is and which types of features it is - rather
than forcing a "cloud native" vision dreamed up by "thought leaders"
down everyone's throats.

It also turns out that the market agrees. Google App Engine was not
successful, until Google added IaaS. Azure was not successful until
Microsoft added IaaS. Amazon, who have a container service and a
serverless service is all built around the ecosystem that is centered on
... that's right ... an IaaS.

So rather than us trying to chase a thing we're not (we're not a
container or thin-app orchestration tool) - being comfortable with our
actual identity (IaaS provider of computers) and working with other
people who do other things ends up providing _users_ with the a real win.

Considering computers as some-how inherently 'better' or 'worse' than
some of the 'cloud-native' concepts is hog wash. Different users have
different needs. As Clint points out - kubernetes needs to run
_somewhere_. CloudFoundry needs to run _somewhere_. So those are at
least two other potential users who are not me and my collection of
things I want to run that want to run in computers.

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

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Clint Byrum
Excerpts from Joshua Harlow's message of 2017-03-09 21:53:58 -0800:
> Renat Akhmerov wrote:
> >
> >> On 10 Mar 2017, at 06:02, Zane Bitter  >> > wrote:
> >>
> >> On 08/03/17 11:23, David Moreau Simard wrote:
> >>> The App Catalog, to me, sounds sort of like a weird message that
> >>> OpenStack somehow requires applications to be
> >>> packaged/installed/deployed differently.
> >>> If anything, perhaps we should spend more effort on advertising that
> >>> OpenStack provides bare metal or virtual compute resources and that
> >>> apps will work just like any other places.
> >>
> >> Look, it's true that legacy apps from the 90s will run on any VM you
> >> can give them. But the rest of the world has spent the last 15 years
> >> moving on from that. Applications of the future, and increasingly the
> >> present, span multiple VMs/containers, make use of services provided
> >> by the cloud, and interact with their own infrastructure. And users
> >> absolutely will need ways of packaging and deploying them that work
> >> with the underlying infrastructure. Even those apps from the 90s
> >> should be taking advantage of things like e.g. Neutron security
> >> groups, configuration of which is and will always be out of scope for
> >> Docker Hub images.
> >>
> >> So no, we should NOT spend more effort on advertising that we aim to
> >> become to cloud what Subversion is to version control. We've done far
> >> too much of that already IMHO.
> >
> > 100% agree with that.
> >
> > And this whole discussion is taking me to the question: is there really
> > any officially accepted strategy for OpenStack for 1, 3, 5 years?
> 
> I can propose what I would like for a strategy (it's not more VMs and 
> more neutron security groups...), though if it involves (more) design by 
> committee, count me out.
> 
> I honestly believe we have to do the equivalent of a technology leapfrog 
> if we actually want to be relevant; but maybe I'm to eager...
> 

Open source isn't really famous for technology leapfrogging.

And before you say "but Docker.." remember that Solaris had zones 13
years ago.

What a community like ours is good at doing is gathering all the
exciting industry leading bleeding edge chaos into a boring commodity
platform. What Zane is saying (and I agree with) is let's make sure we see
the whole cloud forest and not just focus on the VM trees in front of us.

I'm curious what you (Josh) or Zane would change too.
Containers/apps/kubes/etc. have to run on computers with storage and
networks. OpenStack provides a pretty rich set of features for giving
users computers with storage on networks, and operators a way to manage
those. So I fail to see how that is svn to "cloud native"'s git. It
seems more foundational and complimentary.

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Joshua Harlow

gordon chung wrote:


On 10/03/17 12:53 AM, Joshua Harlow wrote:

I can propose what I would like for a strategy (it's not more VMs and
more neutron security groups...), though if it involves (more) design by
committee, count me out.

I honestly believe we have to do the equivalent of a technology leapfrog
if we actually want to be relevant; but maybe I'm to eager...


seems like a manifesto waiting to be penned. probably best in a separate
thread... not sure with what tag if any. regardless, i think it'd be
good to see what others long term vision is... maybe it'll help others
consider what their own expectations are.


Ya, it sort of is, ha. I will start another thread; and put my thinking 
cap on to make sure it's a tremendously huge manifesto, lol.




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


Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-10 Thread Davanum Srinivas
On Fri, Mar 10, 2017 at 12:53 AM, Joshua Harlow  wrote:
> Renat Akhmerov wrote:
>>
>>
>>> On 10 Mar 2017, at 06:02, Zane Bitter >> > wrote:
>>>
>>> On 08/03/17 11:23, David Moreau Simard wrote:

 The App Catalog, to me, sounds sort of like a weird message that
 OpenStack somehow requires applications to be
 packaged/installed/deployed differently.
 If anything, perhaps we should spend more effort on advertising that
 OpenStack provides bare metal or virtual compute resources and that
 apps will work just like any other places.
>>>
>>>
>>> Look, it's true that legacy apps from the 90s will run on any VM you
>>> can give them. But the rest of the world has spent the last 15 years
>>> moving on from that. Applications of the future, and increasingly the
>>> present, span multiple VMs/containers, make use of services provided
>>> by the cloud, and interact with their own infrastructure. And users
>>> absolutely will need ways of packaging and deploying them that work
>>> with the underlying infrastructure. Even those apps from the 90s
>>> should be taking advantage of things like e.g. Neutron security
>>> groups, configuration of which is and will always be out of scope for
>>> Docker Hub images.
>>>
>>> So no, we should NOT spend more effort on advertising that we aim to
>>> become to cloud what Subversion is to version control. We've done far
>>> too much of that already IMHO.
>>
>>
>> 100% agree with that.
>>
>> And this whole discussion is taking me to the question: is there really
>> any officially accepted strategy for OpenStack for 1, 3, 5 years?
>
>
> I can propose what I would like for a strategy (it's not more VMs and more
> neutron security groups...), though if it involves (more) design by
> committee, count me out.

Josh,
I'd like to see what you think should be done.

Thanks,
Dims

>
> I honestly believe we have to do the equivalent of a technology leapfrog if
> we actually want to be relevant; but maybe I'm to eager...
>
> Is
>>
>> there any ultimate community goal we’re moving to regardless of
>> underlying technologies (containers, virtualization etc.)? I know we’re
>> now considering various community goals like transition to Python 3.5
>> etc. but these goals don’t tell anything about our future as an IT
>> ecosystem from user perspective. I may assume that I’m just not aware of
>> it. I’d be glad if it was true. I’m eager to know the answers for these
>> questions. Overall, to me it feels like every company in the community
>> just tries to pursue its own short-term (in the best case mid-term)
>> goals without really caring about long-term common goals. So if we say
>> OpenStack is a car then it seems like the wheels of this car are moving
>> in different directions. Again, I’d be glad if it wasn’t true. So maybe
>> some governance needed around setting and achieving ultimate goals of
>> OpenStack? Or if they already exist we need to better explain them and
>> advertise publicly? That in turn IMO could attract more businesses and
>> contributors.
>>
>> Renat Akhmerov
>> @Nokia
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
> __
> OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-10 Thread gordon chung


On 10/03/17 12:53 AM, Joshua Harlow wrote:
>
> I can propose what I would like for a strategy (it's not more VMs and
> more neutron security groups...), though if it involves (more) design by
> committee, count me out.
>
> I honestly believe we have to do the equivalent of a technology leapfrog
> if we actually want to be relevant; but maybe I'm to eager...

seems like a manifesto waiting to be penned. probably best in a separate 
thread... not sure with what tag if any. regardless, i think it'd be 
good to see what others long term vision is... maybe it'll help others 
consider what their own expectations are.

cheers,

-- 
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] [tc][appcat] The future of the App Catalog

2017-03-09 Thread Joshua Harlow

Renat Akhmerov wrote:



On 10 Mar 2017, at 06:02, Zane Bitter mailto:zbit...@redhat.com>> wrote:

On 08/03/17 11:23, David Moreau Simard wrote:

The App Catalog, to me, sounds sort of like a weird message that
OpenStack somehow requires applications to be
packaged/installed/deployed differently.
If anything, perhaps we should spend more effort on advertising that
OpenStack provides bare metal or virtual compute resources and that
apps will work just like any other places.


Look, it's true that legacy apps from the 90s will run on any VM you
can give them. But the rest of the world has spent the last 15 years
moving on from that. Applications of the future, and increasingly the
present, span multiple VMs/containers, make use of services provided
by the cloud, and interact with their own infrastructure. And users
absolutely will need ways of packaging and deploying them that work
with the underlying infrastructure. Even those apps from the 90s
should be taking advantage of things like e.g. Neutron security
groups, configuration of which is and will always be out of scope for
Docker Hub images.

So no, we should NOT spend more effort on advertising that we aim to
become to cloud what Subversion is to version control. We've done far
too much of that already IMHO.


100% agree with that.

And this whole discussion is taking me to the question: is there really
any officially accepted strategy for OpenStack for 1, 3, 5 years?


I can propose what I would like for a strategy (it's not more VMs and 
more neutron security groups...), though if it involves (more) design by 
committee, count me out.


I honestly believe we have to do the equivalent of a technology leapfrog 
if we actually want to be relevant; but maybe I'm to eager...


Is

there any ultimate community goal we’re moving to regardless of
underlying technologies (containers, virtualization etc.)? I know we’re
now considering various community goals like transition to Python 3.5
etc. but these goals don’t tell anything about our future as an IT
ecosystem from user perspective. I may assume that I’m just not aware of
it. I’d be glad if it was true. I’m eager to know the answers for these
questions. Overall, to me it feels like every company in the community
just tries to pursue its own short-term (in the best case mid-term)
goals without really caring about long-term common goals. So if we say
OpenStack is a car then it seems like the wheels of this car are moving
in different directions. Again, I’d be glad if it wasn’t true. So maybe
some governance needed around setting and achieving ultimate goals of
OpenStack? Or if they already exist we need to better explain them and
advertise publicly? That in turn IMO could attract more businesses and
contributors.

Renat Akhmerov
@Nokia

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


__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-09 Thread Renat Akhmerov

> On 10 Mar 2017, at 06:02, Zane Bitter  wrote:
> 
> On 08/03/17 11:23, David Moreau Simard wrote:
>> The App Catalog, to me, sounds sort of like a weird message that
>> OpenStack somehow requires applications to be
>> packaged/installed/deployed differently.
>> If anything, perhaps we should spend more effort on advertising that
>> OpenStack provides bare metal or virtual compute resources and that
>> apps will work just like any other places.
> 
> Look, it's true that legacy apps from the 90s will run on any VM you can give 
> them. But the rest of the world has spent the last 15 years moving on from 
> that. Applications of the future, and increasingly the present, span multiple 
> VMs/containers, make use of services provided by the cloud, and interact with 
> their own infrastructure. And users absolutely will need ways of packaging 
> and deploying them that work with the underlying infrastructure. Even those 
> apps from the 90s should be taking advantage of things like e.g. Neutron 
> security groups, configuration of which is and will always be out of scope 
> for Docker Hub images.
> 
> So no, we should NOT spend more effort on advertising that we aim to become 
> to cloud what Subversion is to version control. We've done far too much of 
> that already IMHO.

100% agree with that.

And this whole discussion is taking me to the question: is there really any 
officially accepted strategy for OpenStack for 1, 3, 5 years? Is there any 
ultimate community goal we’re moving to regardless of underlying technologies 
(containers, virtualization etc.)? I know we’re now considering various 
community goals like transition to Python 3.5 etc. but these goals don’t tell 
anything about our future as an IT ecosystem from user perspective. I may 
assume that I’m just not aware of it. I’d be glad if it was true. I’m eager to 
know the answers for these questions. Overall, to me it feels like every 
company in the community just tries to pursue its own short-term (in the best 
case mid-term) goals without really caring about long-term common goals. So if 
we say OpenStack is a car then it seems like the wheels of this car are moving 
in different directions. Again, I’d be glad if it wasn’t true. So maybe some 
governance needed around setting and achieving ultimate goals of OpenStack? Or 
if they already exist we need to better explain them and advertise publicly? 
That in turn IMO could attract more businesses and contributors.

Renat Akhmerov
@Nokia

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


Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-09 Thread Zane Bitter

On 08/03/17 11:23, David Moreau Simard wrote:

The App Catalog, to me, sounds sort of like a weird message that
OpenStack somehow requires applications to be
packaged/installed/deployed differently.
If anything, perhaps we should spend more effort on advertising that
OpenStack provides bare metal or virtual compute resources and that
apps will work just like any other places.


Look, it's true that legacy apps from the 90s will run on any VM you can 
give them. But the rest of the world has spent the last 15 years moving 
on from that. Applications of the future, and increasingly the present, 
span multiple VMs/containers, make use of services provided by the 
cloud, and interact with their own infrastructure. And users absolutely 
will need ways of packaging and deploying them that work with the 
underlying infrastructure. Even those apps from the 90s should be taking 
advantage of things like e.g. Neutron security groups, configuration of 
which is and will always be out of scope for Docker Hub images.


So no, we should NOT spend more effort on advertising that we aim to 
become to cloud what Subversion is to version control. We've done far 
too much of that already IMHO.


regards,
Zane.


David Moreau Simard
Senior Software Engineer | Openstack RDO

dmsimard = [irc, github, twitter]


On Wed, Mar 8, 2017 at 9:41 AM, Jay Pipes  wrote:

On 03/06/2017 06:26 AM, Thierry Carrez wrote:


Hello everyone,

The App Catalog was created early 2015 as a marketplace of pre-packaged
applications that you can deploy using Murano. Initially a demo by
Mirantis, it was converted into an open upstream project team, and
deployed as a "beta" as apps.openstack.org.

Since then it grew additional categories (Glance images, Heat & Tosca
templates), but otherwise did not pick up a lot of steam. The website
(still labeled "beta") features 45 glance images, 6 Tosca templates, 13
heat templates and 94 murano packages (~30% of which are just thin
wrappers around Docker containers). Traffic stats show around 100 visits
per week, 75% of which only read the index page.

In parallel, Docker developed a pretty successful containerized
application marketplace (the Docker Hub), with hundreds of thousands of
regularly-updated apps. Keeping the App Catalog around (including its
thinly-wrapped Docker container Murano packages) make us look like we
are unsuccessfully trying to compete with that ecosystem, while
OpenStack is in fact completely complementary.

In the past we have retired projects that were dead upstream. The App
Catalog is not in this case: it has an active maintenance team, which
has been successfully maintaining the framework and accepting
applications. If we end up retiring the App Catalog, it would clearly
not be a reflection on that team performance, which has been stellar
despite limited resources. It would be because the beta was arguably not
successful in building an active marketplace of applications, and
because its continuous existence is not a great fit from a strategy
perspective. Such removal would be a first for our community, but I
think it's now time to consider it.

Before we discuss or decide anything at the TC level, I'd like to
collect everyone thoughts (and questions) on this. Please feel free to
reply to this thread (or reach out to me privately if you prefer). Thanks
!



Mirantis' position is that the App Catalog was a good idea, but we agree
with you that other application repositories like DockerHub and Quay.io are
both more useful and more actively used.

The OpenStack App Catalog does indeed seem to unnecessarily compete with
those application repositories, and we would support its retirement if that
is what the community would like to do. We'll provide resources and help in
winding anything down if needed.

Best,
-jay


__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-09 Thread Jeremy Stanley
On 2017-03-09 10:04:43 +0100 (+0100), Adam Heczko wrote:
[...]
> In regards to Application Catalog if OpenStack infra is not appropriate
> place for its hosting purposes maybe moving it to Github or similar hosting
> service should be considered.

I don't think there's anything wrong with the infra team continuing
to host the site/service if the community continues to consider it a
good idea. The concerns raised are mostly that it can look like an
NIH competition against much more successful cloud application
indexing services, causing those broader communities to continue to
regard us as adversarial reinventors of their particular wheels and
so hampering inter-community relationship building.
-- 
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] [tc][appcat] The future of the App Catalog

2017-03-09 Thread Adam Heczko
My 2c: agreed with everything Kevin said. IMO OpenStack is currently open
source IaaS implementation and there's nothing wrong with this. For cloud
native apps COE makes more sense and these platforms are maturing rapidly.
The way OpenStack should evolve is to make consumption and coexistence of
virtualized workloads with COE workloads straightforward.
In regards to Application Catalog if OpenStack infra is not appropriate
place for its hosting purposes maybe moving it to Github or similar hosting
service should be considered.


On Wed, Mar 8, 2017 at 6:42 PM, Fox, Kevin M  wrote:

> For the OpenStack Applications Catalog to be successful in its mission, it
> required other parts of OpenStack to consider the use case a priority. Over
> the years it became quite clear to me that a significant part of the
> OpenStack community does not want OpenStack to become a place where cloud
> native applications would be built/packaged/provided to users using
> OpenStacks apis but instead just a place to run virtual machines on which
> you might deploy a cloud native platform to handle that use case. As time
> goes on, and COE's gain multitenancy, I see a big contraction in the number
> of OpenStack deployments or deployed node count and a shifting of OpenStack
> based workloads more towards managing pet vm's, as the cloud native stuff
> moves more and more towards containers/COE's which don't actually need vm's.
>
> This I think will bring the issue to a head in the OpenStack community
> soon. What is OpenStack? Is it purely an IaaS implementation? Its pretty
> good at that now. But something that will be very niche soon I think. Is it
> an Cloud Operating system? The community seems to have made that a
> resounding no. Is it an OpenSource competitor to AWS? Today, its getting
> further and further behind in that. If nothing changes, that will be
> impossible.
>
> My 2 cents? I think the world does need an OpenSource implementation of
> what AWS provides. That can't happen on the path we're all going down now.
> We're struggling with division of vision between the two ideologies and
> lack of decision around a COE, causing us to spend a huge amount of effort
> on things like Trove/Sahara/etc to reproduce functionality in AWS, but not
> being as agile as AWS so we can't ever make headway. If we want to be an
> OpenSource AWS competitor, that requires us to make some hard calls, pick a
> COE (Kubernetes has won that space I believe), start integrating it
> quickly, and retool advanced services like Trove/Sahara/etc to target the
> COE rather then VM's for deployment. This should greatly enhance our
> ability to produce functional solutions quickly.
>
> But, its ultimately the Community who decide what OpenStack will become.
> If we're ok with the path its headed down, to basically just be an IaaS,
> that's fine with me. I'd just like it to be a conscious decision rather
> then one that just happens. If thats the way it goes, lets just decide on
> it now, and let the folks that are spinning their wheels move on to a
> system that will help them make headway in their goals. It will be better
> for everyone.
>
> Thanks,
> Kevin
>
> ____________________
> From: David Moreau Simard [d...@redhat.com]
> Sent: Wednesday, March 08, 2017 8:23 AM
> To: OpenStack Development Mailing List (not for usage questions)
> Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog
>
> The App Catalog, to me, sounds sort of like a weird message that
> OpenStack somehow requires applications to be
> packaged/installed/deployed differently.
> If anything, perhaps we should spend more effort on advertising that
> OpenStack provides bare metal or virtual compute resources and that
> apps will work just like any other places.
>
> David Moreau Simard
> Senior Software Engineer | Openstack RDO
>
> dmsimard = [irc, github, twitter]
>
>
> On Wed, Mar 8, 2017 at 9:41 AM, Jay Pipes  wrote:
> > On 03/06/2017 06:26 AM, Thierry Carrez wrote:
> >>
> >> Hello everyone,
> >>
> >> The App Catalog was created early 2015 as a marketplace of pre-packaged
> >> applications that you can deploy using Murano. Initially a demo by
> >> Mirantis, it was converted into an open upstream project team, and
> >> deployed as a "beta" as apps.openstack.org.
> >>
> >> Since then it grew additional categories (Glance images, Heat & Tosca
> >> templates), but otherwise did not pick up a lot of steam. The website
> >> (still labeled "beta") features 45 glance images, 6 Tosca templates, 13
> >> heat templates and 94 murano packages (~30% of which a

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-08 Thread Fox, Kevin M
For the OpenStack Applications Catalog to be successful in its mission, it 
required other parts of OpenStack to consider the use case a priority. Over the 
years it became quite clear to me that a significant part of the OpenStack 
community does not want OpenStack to become a place where cloud native 
applications would be built/packaged/provided to users using OpenStacks apis 
but instead just a place to run virtual machines on which you might deploy a 
cloud native platform to handle that use case. As time goes on, and COE's gain 
multitenancy, I see a big contraction in the number of OpenStack deployments or 
deployed node count and a shifting of OpenStack based workloads more towards 
managing pet vm's, as the cloud native stuff moves more and more towards 
containers/COE's which don't actually need vm's.

This I think will bring the issue to a head in the OpenStack community soon. 
What is OpenStack? Is it purely an IaaS implementation? Its pretty good at that 
now. But something that will be very niche soon I think. Is it an Cloud 
Operating system? The community seems to have made that a resounding no. Is it 
an OpenSource competitor to AWS? Today, its getting further and further behind 
in that. If nothing changes, that will be impossible.

My 2 cents? I think the world does need an OpenSource implementation of what 
AWS provides. That can't happen on the path we're all going down now. We're 
struggling with division of vision between the two ideologies and lack of 
decision around a COE, causing us to spend a huge amount of effort on things 
like Trove/Sahara/etc to reproduce functionality in AWS, but not being as agile 
as AWS so we can't ever make headway. If we want to be an OpenSource AWS 
competitor, that requires us to make some hard calls, pick a COE (Kubernetes 
has won that space I believe), start integrating it quickly, and retool 
advanced services like Trove/Sahara/etc to target the COE rather then VM's for 
deployment. This should greatly enhance our ability to produce functional 
solutions quickly.

But, its ultimately the Community who decide what OpenStack will become. If 
we're ok with the path its headed down, to basically just be an IaaS, that's 
fine with me. I'd just like it to be a conscious decision rather then one that 
just happens. If thats the way it goes, lets just decide on it now, and let the 
folks that are spinning their wheels move on to a system that will help them 
make headway in their goals. It will be better for everyone.

Thanks,
Kevin


From: David Moreau Simard [d...@redhat.com]
Sent: Wednesday, March 08, 2017 8:23 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [tc][appcat] The future of the App Catalog

The App Catalog, to me, sounds sort of like a weird message that
OpenStack somehow requires applications to be
packaged/installed/deployed differently.
If anything, perhaps we should spend more effort on advertising that
OpenStack provides bare metal or virtual compute resources and that
apps will work just like any other places.

David Moreau Simard
Senior Software Engineer | Openstack RDO

dmsimard = [irc, github, twitter]


On Wed, Mar 8, 2017 at 9:41 AM, Jay Pipes  wrote:
> On 03/06/2017 06:26 AM, Thierry Carrez wrote:
>>
>> Hello everyone,
>>
>> The App Catalog was created early 2015 as a marketplace of pre-packaged
>> applications that you can deploy using Murano. Initially a demo by
>> Mirantis, it was converted into an open upstream project team, and
>> deployed as a "beta" as apps.openstack.org.
>>
>> Since then it grew additional categories (Glance images, Heat & Tosca
>> templates), but otherwise did not pick up a lot of steam. The website
>> (still labeled "beta") features 45 glance images, 6 Tosca templates, 13
>> heat templates and 94 murano packages (~30% of which are just thin
>> wrappers around Docker containers). Traffic stats show around 100 visits
>> per week, 75% of which only read the index page.
>>
>> In parallel, Docker developed a pretty successful containerized
>> application marketplace (the Docker Hub), with hundreds of thousands of
>> regularly-updated apps. Keeping the App Catalog around (including its
>> thinly-wrapped Docker container Murano packages) make us look like we
>> are unsuccessfully trying to compete with that ecosystem, while
>> OpenStack is in fact completely complementary.
>>
>> In the past we have retired projects that were dead upstream. The App
>> Catalog is not in this case: it has an active maintenance team, which
>> has been successfully maintaining the framework and accepting
>> applications. If we end up retiring the App Catalog, it would clearly
>> not be a refle

Re: [openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-08 Thread David Moreau Simard
The App Catalog, to me, sounds sort of like a weird message that
OpenStack somehow requires applications to be
packaged/installed/deployed differently.
If anything, perhaps we should spend more effort on advertising that
OpenStack provides bare metal or virtual compute resources and that
apps will work just like any other places.

David Moreau Simard
Senior Software Engineer | Openstack RDO

dmsimard = [irc, github, twitter]


On Wed, Mar 8, 2017 at 9:41 AM, Jay Pipes  wrote:
> On 03/06/2017 06:26 AM, Thierry Carrez wrote:
>>
>> Hello everyone,
>>
>> The App Catalog was created early 2015 as a marketplace of pre-packaged
>> applications that you can deploy using Murano. Initially a demo by
>> Mirantis, it was converted into an open upstream project team, and
>> deployed as a "beta" as apps.openstack.org.
>>
>> Since then it grew additional categories (Glance images, Heat & Tosca
>> templates), but otherwise did not pick up a lot of steam. The website
>> (still labeled "beta") features 45 glance images, 6 Tosca templates, 13
>> heat templates and 94 murano packages (~30% of which are just thin
>> wrappers around Docker containers). Traffic stats show around 100 visits
>> per week, 75% of which only read the index page.
>>
>> In parallel, Docker developed a pretty successful containerized
>> application marketplace (the Docker Hub), with hundreds of thousands of
>> regularly-updated apps. Keeping the App Catalog around (including its
>> thinly-wrapped Docker container Murano packages) make us look like we
>> are unsuccessfully trying to compete with that ecosystem, while
>> OpenStack is in fact completely complementary.
>>
>> In the past we have retired projects that were dead upstream. The App
>> Catalog is not in this case: it has an active maintenance team, which
>> has been successfully maintaining the framework and accepting
>> applications. If we end up retiring the App Catalog, it would clearly
>> not be a reflection on that team performance, which has been stellar
>> despite limited resources. It would be because the beta was arguably not
>> successful in building an active marketplace of applications, and
>> because its continuous existence is not a great fit from a strategy
>> perspective. Such removal would be a first for our community, but I
>> think it's now time to consider it.
>>
>> Before we discuss or decide anything at the TC level, I'd like to
>> collect everyone thoughts (and questions) on this. Please feel free to
>> reply to this thread (or reach out to me privately if you prefer). Thanks
>> !
>
>
> Mirantis' position is that the App Catalog was a good idea, but we agree
> with you that other application repositories like DockerHub and Quay.io are
> both more useful and more actively used.
>
> The OpenStack App Catalog does indeed seem to unnecessarily compete with
> those application repositories, and we would support its retirement if that
> is what the community would like to do. We'll provide resources and help in
> winding anything down if needed.
>
> Best,
> -jay
>
>
> __
> OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-08 Thread Jay Pipes

On 03/06/2017 06:26 AM, Thierry Carrez wrote:

Hello everyone,

The App Catalog was created early 2015 as a marketplace of pre-packaged
applications that you can deploy using Murano. Initially a demo by
Mirantis, it was converted into an open upstream project team, and
deployed as a "beta" as apps.openstack.org.

Since then it grew additional categories (Glance images, Heat & Tosca
templates), but otherwise did not pick up a lot of steam. The website
(still labeled "beta") features 45 glance images, 6 Tosca templates, 13
heat templates and 94 murano packages (~30% of which are just thin
wrappers around Docker containers). Traffic stats show around 100 visits
per week, 75% of which only read the index page.

In parallel, Docker developed a pretty successful containerized
application marketplace (the Docker Hub), with hundreds of thousands of
regularly-updated apps. Keeping the App Catalog around (including its
thinly-wrapped Docker container Murano packages) make us look like we
are unsuccessfully trying to compete with that ecosystem, while
OpenStack is in fact completely complementary.

In the past we have retired projects that were dead upstream. The App
Catalog is not in this case: it has an active maintenance team, which
has been successfully maintaining the framework and accepting
applications. If we end up retiring the App Catalog, it would clearly
not be a reflection on that team performance, which has been stellar
despite limited resources. It would be because the beta was arguably not
successful in building an active marketplace of applications, and
because its continuous existence is not a great fit from a strategy
perspective. Such removal would be a first for our community, but I
think it's now time to consider it.

Before we discuss or decide anything at the TC level, I'd like to
collect everyone thoughts (and questions) on this. Please feel free to
reply to this thread (or reach out to me privately if you prefer). Thanks !


Mirantis' position is that the App Catalog was a good idea, but we agree 
with you that other application repositories like DockerHub and Quay.io 
are both more useful and more actively used.


The OpenStack App Catalog does indeed seem to unnecessarily compete with 
those application repositories, and we would support its retirement if 
that is what the community would like to do. We'll provide resources and 
help in winding anything down if needed.


Best,
-jay

__
OpenStack Development Mailing 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] [tc][appcat] The future of the App Catalog

2017-03-06 Thread Flavio Percoco

On 06/03/17 12:26 +0100, Thierry Carrez wrote:

Hello everyone,

The App Catalog was created early 2015 as a marketplace of pre-packaged
applications that you can deploy using Murano. Initially a demo by
Mirantis, it was converted into an open upstream project team, and
deployed as a "beta" as apps.openstack.org.

Since then it grew additional categories (Glance images, Heat & Tosca
templates), but otherwise did not pick up a lot of steam. The website
(still labeled "beta") features 45 glance images, 6 Tosca templates, 13
heat templates and 94 murano packages (~30% of which are just thin
wrappers around Docker containers). Traffic stats show around 100 visits
per week, 75% of which only read the index page.

In parallel, Docker developed a pretty successful containerized
application marketplace (the Docker Hub), with hundreds of thousands of
regularly-updated apps. Keeping the App Catalog around (including its
thinly-wrapped Docker container Murano packages) make us look like we
are unsuccessfully trying to compete with that ecosystem, while
OpenStack is in fact completely complementary.


This is the part I think is more important when thinking about App Catalog. As a
community, I think we should be working more and more with other communities.
Containers, in general, are a technology we've been embracing for a couple of
years already. We've talked about building bridges between the OpenStack
community and other containers community because we can indeed complement each
other.

I think this is a great opportunity for us to not only adopt an existing
marketplace but also for us to not re-invent the wheel when it comes to shipping
apps that can be consumed by people outside OpenStack. By building containers
for apps in our marketplace and using docker hub, we would not only be
standardazing what we have with an already-known format but we'd also be
building better bridges across the OpenStack community, Docker's community and 
other
COEs' communities.

As it stands right now, I'd be all for doing this change but I'm also curious to
know what other members (especially folks that have worked on App Catalog) think
about it.

Flavio

--
@flaper87
Flavio Percoco


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


[openstack-dev] [tc][appcat] The future of the App Catalog

2017-03-06 Thread Thierry Carrez
Hello everyone,

The App Catalog was created early 2015 as a marketplace of pre-packaged
applications that you can deploy using Murano. Initially a demo by
Mirantis, it was converted into an open upstream project team, and
deployed as a "beta" as apps.openstack.org.

Since then it grew additional categories (Glance images, Heat & Tosca
templates), but otherwise did not pick up a lot of steam. The website
(still labeled "beta") features 45 glance images, 6 Tosca templates, 13
heat templates and 94 murano packages (~30% of which are just thin
wrappers around Docker containers). Traffic stats show around 100 visits
per week, 75% of which only read the index page.

In parallel, Docker developed a pretty successful containerized
application marketplace (the Docker Hub), with hundreds of thousands of
regularly-updated apps. Keeping the App Catalog around (including its
thinly-wrapped Docker container Murano packages) make us look like we
are unsuccessfully trying to compete with that ecosystem, while
OpenStack is in fact completely complementary.

In the past we have retired projects that were dead upstream. The App
Catalog is not in this case: it has an active maintenance team, which
has been successfully maintaining the framework and accepting
applications. If we end up retiring the App Catalog, it would clearly
not be a reflection on that team performance, which has been stellar
despite limited resources. It would be because the beta was arguably not
successful in building an active marketplace of applications, and
because its continuous existence is not a great fit from a strategy
perspective. Such removal would be a first for our community, but I
think it's now time to consider it.

Before we discuss or decide anything at the TC level, I'd like to
collect everyone thoughts (and questions) on this. Please feel free to
reply to this thread (or reach out to me privately if you prefer). Thanks !

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