Re: [openstack-dev] [TC][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-30 Thread Mikhail Fedosin
Serg, you forgot that Glare v1 != Glare v0.1. And there is a small issue -
Glare v0.1 is deprecated. So I'm just wondering what are your future plans
about Glare v1. Will you use it or simply copy the v0.1 code into Murano
repo?

Best,
Mike

On Thu, Jan 26, 2017 at 2:03 AM, Serg Melikyan 
wrote:

> I would like to comment a little bit regarding usage of Glare in
> Murano and Mirantis OpenStack:
>
> > How much have these projects adopted Glare?
> Glare is preferred backend for storing murano packages, which provides
> versioning capabilities (they are not available without it)
>
> >Is Glare being deployed already?
> Mirantis OpenStack 9.0 by default is deploying Murano with Glare used
> as a backend.
>
> >What projects are the main consumers of Glare?
> Murano
>
> On Wed, Jan 25, 2017 at 2:56 PM, Mike Perez  wrote:
> > On 18:16 Jan 24, Mikhail Fedosin wrote:
> >> Hey, Flavio :) Thanks for your questions!
> >>
> >> As you said currently only Nokia's adopting Glare for its own platform,
> but
> >> if we talk about OpenStack, that I believe Mistral will start to use it
> >> soon.
> >> In my opinion Glare's adoption is low due to the fact that the project
> is
> >> not included under Big Tent. I think it will be changed soon, because
> now
> >> I'm finishing Glare v1 API proposal, and when it's done we will apply
> under
> >> BT.
> >>
> >> About Glance v2 API - as I said they are +- the same with several
> cosmetic
> >> differences (in Glance status is called 'queued', in Glare we renamed
> it to
> >> 'drafted', and so on). For this reason I'm going to implement a
> middleware,
> >> that will provide a full Image API v2 for Glare (even with unnecessary
> >> '/v2' prefix) and glance clients will be able to communicate with it as
> >> with Glance. It's definitely doable and we can discuss it more detailed
> >> during the PTG.
> >
> > Both Flavio and Doug asked you to expand on the issues with the Glance
> API. Can
> > you please expand on that.
> >
> > --
> > Mike Perez
> >
> > 
> __
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:
> unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
>
>
>
> --
> Serg Melikyan, Development Manager at Mirantis, Inc.
> http://mirantis.com | smelik...@mirantis.com
>
> __
> OpenStack Development Mailing 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][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-30 Thread Mikhail Fedosin
Thanks Renat! I agree, currently we do not have a specific plan, and also
several required features, like storing small blobs in database, are not
merged yet. We definitely should talk about it more detailed during (and
probably before) PTG. At least one session will be dedicated directly to
this and all people are welcome to participate!

Best,
Mike



On Fri, Jan 27, 2017 at 7:26 AM, Renat Akhmerov 
wrote:

>
> On 26 Jan 2017, at 22:29, Dougal Matthews  wrote:
>
>
>
> On 24 January 2017 at 16:16, Mikhail Fedosin  wrote:
>
>> Hey, Flavio :) Thanks for your questions!
>>
>> As you said currently only Nokia's adopting Glare for its own platform,
>> but if we talk about OpenStack, that I believe Mistral will start to use it
>> soon.
>>
>
> Has there been some discussion surrounding Mistral and Glare? I'd be
> interested in reading more about those plans and ideas.
>
>
> Dougal, I’ve cherished this idea for a long time and discussed it with a
> few people, but informally.
> I believe we didn’t have any official discussions around it yet. I
> included the corresponding topic
> to our PTG etherpad to finally get this going. Mike and will bring this
> topic up to discussion.
> I believe it’s worth it. We can also discuss basics before the PTG too,
> but in a separate thread.
>
> 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][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-26 Thread Renat Akhmerov

> On 26 Jan 2017, at 22:29, Dougal Matthews  wrote:
> 
> 
> 
> On 24 January 2017 at 16:16, Mikhail Fedosin  > wrote:
> Hey, Flavio :) Thanks for your questions!
> 
> As you said currently only Nokia's adopting Glare for its own platform, but 
> if we talk about OpenStack, that I believe Mistral will start to use it soon. 
> 
> Has there been some discussion surrounding Mistral and Glare? I'd be 
> interested in reading more about those plans and ideas.


Dougal, I’ve cherished this idea for a long time and discussed it with a few 
people, but informally.
I believe we didn’t have any official discussions around it yet. I included the 
corresponding topic
to our PTG etherpad to finally get this going. Mike and will bring this topic 
up to discussion.
I believe it’s worth it. We can also discuss basics before the PTG too, but in 
a separate thread.

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][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-26 Thread Dougal Matthews
On 24 January 2017 at 16:16, Mikhail Fedosin  wrote:

> Hey, Flavio :) Thanks for your questions!
>
> As you said currently only Nokia's adopting Glare for its own platform,
> but if we talk about OpenStack, that I believe Mistral will start to use it
> soon.
>

Has there been some discussion surrounding Mistral and Glare? I'd be
interested in reading more about those plans and ideas.



> In my opinion Glare's adoption is low due to the fact that the project is
> not included under Big Tent. I think it will be changed soon, because now
> I'm finishing Glare v1 API proposal, and when it's done we will apply under
> BT.
>
> About Glance v2 API - as I said they are +- the same with several cosmetic
> differences (in Glance status is called 'queued', in Glare we renamed it to
> 'drafted', and so on). For this reason I'm going to implement a middleware,
> that will provide a full Image API v2 for Glare (even with unnecessary
> '/v2' prefix) and glance clients will be able to communicate with it as
> with Glance. It's definitely doable and we can discuss it more detailed
> during the PTG.
>
> Best,
> Mike
>
> On Mon, Jan 23, 2017 at 11:51 AM, Flavio Percoco 
> wrote:
>
>> On 19/01/17 12:48 +0300, Mikhail Fedosin wrote:
>>
>>> Hi Matt!
>>>
>>> This should be discussed, for sure, but there is a lot of potential. In
>>> general, it depends on how far we are willing to go. In the minimum
>>> approximation we can seamlessly replace Glance with Glare and operators
>>> simply get additional features for versioning, validation (and
>>> conversion,
>>> if necessary) of their uploaded images on the fly, as well as support for
>>> storing files in different stores.
>>>
>>> If we dig a little deeper, then Glare allows you to store multiple files
>>> in
>>> a single artifact, so we can create a new type (ec2_image) and define
>>> three
>>> blobs inside: ami, ari, aki, and upload all three as a single object.
>>> This
>>> will get rid of a large amount of legacy code and simplify the
>>> architecture
>>> of Nova. Plus Glare will control the integrity of such artifact.
>>>
>>
>> Hey Mike,
>>
>> Thanks for bringing this up. While I think there's potential in Glare
>> given it's
>> being created during a more mature age of OpenStack and based on matured
>> principles and standards, I believe you may be promoting Glare using the
>> wrong
>> arguments.
>>
>> As you mentioned in your first email on this thread, Glare has a set of
>> functionalities that are already useful to a set of existing projects.
>> This is
>> great and I'd probably start from there.
>>
>> * How much have these projects adopted Glare?
>> * Is Glare being deployed already?
>> * What projects are the main consumers of Glare?
>>
>> Unfortunately, replacing Glance is not as simple as dropping Glare in
>> because
>> it's not only being used by Nova. Glance is also a public API (at least
>> v2) and
>> there are integrations that have been built by either cloud providers or
>> cloud
>> consumers on top of the existing Glance API.
>>
>> If Glare ships a Glance compatible API (as a way to make a drop-in
>> replacement
>> possible), it'll have to support it and live with it for a long time. In
>> addition to this, Glare will have to keep up with the changes that may
>> happen in
>> Glance's API during that time.
>>
>> The next step could be full support for OVF and other formats that require
>>> a large number of files. Here we can use artifact folders and put all the
>>> files there.
>>> "OpenStack Compute does not currently have support for OVF packages, so
>>> you
>>> will need to extract the image file(s) from an OVF package if you wish to
>>> use it with OpenStack."
>>> http://docs.openstack.org/image-guide/introduction.html
>>>
>>> Finally, I notice that there are a few nasty bugs in Glance (you know
>>> what
>>> I mean), which make it extremely inconvenient for a number of
>>> deployments.
>>>
>>
>> Not everyone is familiar with the issues of Glance's API. I believe I
>> know what
>> you're referring to but I'd recommend to expand here for the sake of
>> discussion.
>>
>> That being said, I'd also like to point out that the flaws of Glance's
>> API could
>> be fixed so I'd rather focus the discussion on the benefits Glare would
>> bring
>> rather than how Glance's API may or may not be terrible. That's the kind
>> of
>> competition I'd prefer to see in this discussion.
>>
>> Cheers,
>> Flavio
>>
>>
>> On Wed, Jan 18, 2017 at 8:26 PM, Matt Riedemann <
>>> mrie...@linux.vnet.ibm.com>
>>> wrote:
>>>
>>> On 1/18/2017 10:54 AM, Mikhail Fedosin wrote:

 Hello!
>
> In this letter I want to tell you the current status of Glare project
> and discuss its future development within the entire OpenStack
> community.
>
> In the beginning I have to say a few words about myself - my name is
> Mike and I am the PTL of Glare. Currently I work as a consultant at
> Nokia, where we're developing the 

Re: [openstack-dev] [TC][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-25 Thread Serg Melikyan
I would like to comment a little bit regarding usage of Glare in
Murano and Mirantis OpenStack:

> How much have these projects adopted Glare?
Glare is preferred backend for storing murano packages, which provides
versioning capabilities (they are not available without it)

>Is Glare being deployed already?
Mirantis OpenStack 9.0 by default is deploying Murano with Glare used
as a backend.

>What projects are the main consumers of Glare?
Murano

On Wed, Jan 25, 2017 at 2:56 PM, Mike Perez  wrote:
> On 18:16 Jan 24, Mikhail Fedosin wrote:
>> Hey, Flavio :) Thanks for your questions!
>>
>> As you said currently only Nokia's adopting Glare for its own platform, but
>> if we talk about OpenStack, that I believe Mistral will start to use it
>> soon.
>> In my opinion Glare's adoption is low due to the fact that the project is
>> not included under Big Tent. I think it will be changed soon, because now
>> I'm finishing Glare v1 API proposal, and when it's done we will apply under
>> BT.
>>
>> About Glance v2 API - as I said they are +- the same with several cosmetic
>> differences (in Glance status is called 'queued', in Glare we renamed it to
>> 'drafted', and so on). For this reason I'm going to implement a middleware,
>> that will provide a full Image API v2 for Glare (even with unnecessary
>> '/v2' prefix) and glance clients will be able to communicate with it as
>> with Glance. It's definitely doable and we can discuss it more detailed
>> during the PTG.
>
> Both Flavio and Doug asked you to expand on the issues with the Glance API. 
> Can
> you please expand on that.
>
> --
> Mike Perez
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Serg Melikyan, Development Manager at Mirantis, Inc.
http://mirantis.com | smelik...@mirantis.com

__
OpenStack Development Mailing 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][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-25 Thread Mike Perez
On 18:16 Jan 24, Mikhail Fedosin wrote:
> Hey, Flavio :) Thanks for your questions!
> 
> As you said currently only Nokia's adopting Glare for its own platform, but
> if we talk about OpenStack, that I believe Mistral will start to use it
> soon.
> In my opinion Glare's adoption is low due to the fact that the project is
> not included under Big Tent. I think it will be changed soon, because now
> I'm finishing Glare v1 API proposal, and when it's done we will apply under
> BT.
> 
> About Glance v2 API - as I said they are +- the same with several cosmetic
> differences (in Glance status is called 'queued', in Glare we renamed it to
> 'drafted', and so on). For this reason I'm going to implement a middleware,
> that will provide a full Image API v2 for Glare (even with unnecessary
> '/v2' prefix) and glance clients will be able to communicate with it as
> with Glance. It's definitely doable and we can discuss it more detailed
> during the PTG.

Both Flavio and Doug asked you to expand on the issues with the Glance API. Can
you please expand on that.

-- 
Mike Perez


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


Re: [openstack-dev] [TC][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-24 Thread Mikhail Fedosin
Hey, Flavio :) Thanks for your questions!

As you said currently only Nokia's adopting Glare for its own platform, but
if we talk about OpenStack, that I believe Mistral will start to use it
soon.
In my opinion Glare's adoption is low due to the fact that the project is
not included under Big Tent. I think it will be changed soon, because now
I'm finishing Glare v1 API proposal, and when it's done we will apply under
BT.

About Glance v2 API - as I said they are +- the same with several cosmetic
differences (in Glance status is called 'queued', in Glare we renamed it to
'drafted', and so on). For this reason I'm going to implement a middleware,
that will provide a full Image API v2 for Glare (even with unnecessary
'/v2' prefix) and glance clients will be able to communicate with it as
with Glance. It's definitely doable and we can discuss it more detailed
during the PTG.

Best,
Mike

On Mon, Jan 23, 2017 at 11:51 AM, Flavio Percoco  wrote:

> On 19/01/17 12:48 +0300, Mikhail Fedosin wrote:
>
>> Hi Matt!
>>
>> This should be discussed, for sure, but there is a lot of potential. In
>> general, it depends on how far we are willing to go. In the minimum
>> approximation we can seamlessly replace Glance with Glare and operators
>> simply get additional features for versioning, validation (and conversion,
>> if necessary) of their uploaded images on the fly, as well as support for
>> storing files in different stores.
>>
>> If we dig a little deeper, then Glare allows you to store multiple files
>> in
>> a single artifact, so we can create a new type (ec2_image) and define
>> three
>> blobs inside: ami, ari, aki, and upload all three as a single object. This
>> will get rid of a large amount of legacy code and simplify the
>> architecture
>> of Nova. Plus Glare will control the integrity of such artifact.
>>
>
> Hey Mike,
>
> Thanks for bringing this up. While I think there's potential in Glare
> given it's
> being created during a more mature age of OpenStack and based on matured
> principles and standards, I believe you may be promoting Glare using the
> wrong
> arguments.
>
> As you mentioned in your first email on this thread, Glare has a set of
> functionalities that are already useful to a set of existing projects.
> This is
> great and I'd probably start from there.
>
> * How much have these projects adopted Glare?
> * Is Glare being deployed already?
> * What projects are the main consumers of Glare?
>
> Unfortunately, replacing Glance is not as simple as dropping Glare in
> because
> it's not only being used by Nova. Glance is also a public API (at least
> v2) and
> there are integrations that have been built by either cloud providers or
> cloud
> consumers on top of the existing Glance API.
>
> If Glare ships a Glance compatible API (as a way to make a drop-in
> replacement
> possible), it'll have to support it and live with it for a long time. In
> addition to this, Glare will have to keep up with the changes that may
> happen in
> Glance's API during that time.
>
> The next step could be full support for OVF and other formats that require
>> a large number of files. Here we can use artifact folders and put all the
>> files there.
>> "OpenStack Compute does not currently have support for OVF packages, so
>> you
>> will need to extract the image file(s) from an OVF package if you wish to
>> use it with OpenStack."
>> http://docs.openstack.org/image-guide/introduction.html
>>
>> Finally, I notice that there are a few nasty bugs in Glance (you know what
>> I mean), which make it extremely inconvenient for a number of deployments.
>>
>
> Not everyone is familiar with the issues of Glance's API. I believe I know
> what
> you're referring to but I'd recommend to expand here for the sake of
> discussion.
>
> That being said, I'd also like to point out that the flaws of Glance's API
> could
> be fixed so I'd rather focus the discussion on the benefits Glare would
> bring
> rather than how Glance's API may or may not be terrible. That's the kind of
> competition I'd prefer to see in this discussion.
>
> Cheers,
> Flavio
>
>
> On Wed, Jan 18, 2017 at 8:26 PM, Matt Riedemann <
>> mrie...@linux.vnet.ibm.com>
>> wrote:
>>
>> On 1/18/2017 10:54 AM, Mikhail Fedosin wrote:
>>>
>>> Hello!

 In this letter I want to tell you the current status of Glare project
 and discuss its future development within the entire OpenStack
 community.

 In the beginning I have to say a few words about myself - my name is
 Mike and I am the PTL of Glare. Currently I work as a consultant at
 Nokia, where we're developing the service as a universal catalog of
 binary data. As I understand it right, Nokia has big plans for this
 service, Moshe Elisha can tell you more about them.

 And here I want to ask the community - how exactly Glare may be useful
 in OpenStack? Glare was developed as a repository for all possible data
 types, and it has many possible 

Re: [openstack-dev] [TC][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-23 Thread Flavio Percoco

On 19/01/17 12:48 +0300, Mikhail Fedosin wrote:

Hi Matt!

This should be discussed, for sure, but there is a lot of potential. In
general, it depends on how far we are willing to go. In the minimum
approximation we can seamlessly replace Glance with Glare and operators
simply get additional features for versioning, validation (and conversion,
if necessary) of their uploaded images on the fly, as well as support for
storing files in different stores.

If we dig a little deeper, then Glare allows you to store multiple files in
a single artifact, so we can create a new type (ec2_image) and define three
blobs inside: ami, ari, aki, and upload all three as a single object. This
will get rid of a large amount of legacy code and simplify the architecture
of Nova. Plus Glare will control the integrity of such artifact.


Hey Mike,

Thanks for bringing this up. While I think there's potential in Glare given it's
being created during a more mature age of OpenStack and based on matured
principles and standards, I believe you may be promoting Glare using the wrong
arguments.

As you mentioned in your first email on this thread, Glare has a set of
functionalities that are already useful to a set of existing projects. This is
great and I'd probably start from there.

* How much have these projects adopted Glare?
* Is Glare being deployed already?
* What projects are the main consumers of Glare?

Unfortunately, replacing Glance is not as simple as dropping Glare in because
it's not only being used by Nova. Glance is also a public API (at least v2) and
there are integrations that have been built by either cloud providers or cloud
consumers on top of the existing Glance API.

If Glare ships a Glance compatible API (as a way to make a drop-in replacement
possible), it'll have to support it and live with it for a long time. In
addition to this, Glare will have to keep up with the changes that may happen in
Glance's API during that time.


The next step could be full support for OVF and other formats that require
a large number of files. Here we can use artifact folders and put all the
files there.
"OpenStack Compute does not currently have support for OVF packages, so you
will need to extract the image file(s) from an OVF package if you wish to
use it with OpenStack."
http://docs.openstack.org/image-guide/introduction.html

Finally, I notice that there are a few nasty bugs in Glance (you know what
I mean), which make it extremely inconvenient for a number of deployments.


Not everyone is familiar with the issues of Glance's API. I believe I know what
you're referring to but I'd recommend to expand here for the sake of discussion.

That being said, I'd also like to point out that the flaws of Glance's API could
be fixed so I'd rather focus the discussion on the benefits Glare would bring
rather than how Glance's API may or may not be terrible. That's the kind of
competition I'd prefer to see in this discussion.

Cheers,
Flavio


On Wed, Jan 18, 2017 at 8:26 PM, Matt Riedemann 
wrote:


On 1/18/2017 10:54 AM, Mikhail Fedosin wrote:


Hello!

In this letter I want to tell you the current status of Glare project
and discuss its future development within the entire OpenStack community.

In the beginning I have to say a few words about myself - my name is
Mike and I am the PTL of Glare. Currently I work as a consultant at
Nokia, where we're developing the service as a universal catalog of
binary data. As I understand it right, Nokia has big plans for this
service, Moshe Elisha can tell you more about them.

And here I want to ask the community - how exactly Glare may be useful
in OpenStack? Glare was developed as a repository for all possible data
types, and it has many possible applications. For example, it's a
storage of vm images for Nova. Currently Glance is used for this, but
Glare has much more features and this transition is easy to implement.
Then it's a storage of Tosca templates. We were discussing integration
with Heat and storing templates and environments in Glare, also it may
be interesting for TripleO project. Mistral will store its workflows in
Glare, it has already been decided. I'm not sure if Murano project is
still alive, but they already use Glare 0.1 from Glance repo and it will
be removed soon (in Pike afaik), so they have no other options except to
start using Glare v1. Finally there were rumors about storing torrent
files from Ironic.

Now let me briefly describe Glare features:

 * Versioning of artifacts - each artifact has a version in SemVer
format and you can sort and filter by this field.
 * Multiblob support - there can be several files and folders per one
artifact.
 * The ease of creating new artifact types with oslo_versionedobjects
framework.
 * Fair immutability - no one can change artifact when it's active.
 * Multistore support - each artifact type data may be stored in
different storages: images may go to Swift; heat templates may be stored
directly in 

Re: [openstack-dev] [TC][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare(Geetika Batra)

2017-01-22 Thread Geetika Batra
Mike

I am glad to hear that Glare is back on track. I would be really happy to
contribute to Glare. I would be able to spend around 8-10 hours a week; I
will try to review some code on daily basis. It might take me a while to
finish of patches and fix bugs because my first priority is my job, but I
will make sure I do not disappoint you with timelines. Please let me know
if anything else is expected from my end.

Regards
Geetika Batra


ᐧ
__
OpenStack Development Mailing 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][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-19 Thread Doug Hellmann
Excerpts from Mikhail Fedosin's message of 2017-01-19 12:48:13 +0300:
> Hi Matt!
> 
> This should be discussed, for sure, but there is a lot of potential. In
> general, it depends on how far we are willing to go. In the minimum
> approximation we can seamlessly replace Glance with Glare and operators
> simply get additional features for versioning, validation (and conversion,
> if necessary) of their uploaded images on the fly, as well as support for
> storing files in different stores.
> 
> If we dig a little deeper, then Glare allows you to store multiple files in
> a single artifact, so we can create a new type (ec2_image) and define three
> blobs inside: ami, ari, aki, and upload all three as a single object. This
> will get rid of a large amount of legacy code and simplify the architecture
> of Nova. Plus Glare will control the integrity of such artifact.
> 
> The next step could be full support for OVF and other formats that require
> a large number of files. Here we can use artifact folders and put all the
> files there.
> "OpenStack Compute does not currently have support for OVF packages, so you
> will need to extract the image file(s) from an OVF package if you wish to
> use it with OpenStack."
> http://docs.openstack.org/image-guide/introduction.html
> 
> Finally, I notice that there are a few nasty bugs in Glance (you know what
> I mean), which make it extremely inconvenient for a number of deployments.

I don't actually know what you mean. Can you give more details? Are
you talking about the image upload API work?

> 
> On Wed, Jan 18, 2017 at 8:26 PM, Matt Riedemann 
> wrote:
> 
> > On 1/18/2017 10:54 AM, Mikhail Fedosin wrote:
> >
> >> Hello!
> >>
> >> In this letter I want to tell you the current status of Glare project
> >> and discuss its future development within the entire OpenStack community.
> >>
> >> In the beginning I have to say a few words about myself - my name is
> >> Mike and I am the PTL of Glare. Currently I work as a consultant at
> >> Nokia, where we're developing the service as a universal catalog of
> >> binary data. As I understand it right, Nokia has big plans for this
> >> service, Moshe Elisha can tell you more about them.
> >>
> >> And here I want to ask the community - how exactly Glare may be useful
> >> in OpenStack? Glare was developed as a repository for all possible data
> >> types, and it has many possible applications. For example, it's a
> >> storage of vm images for Nova. Currently Glance is used for this, but
> >> Glare has much more features and this transition is easy to implement.
> >> Then it's a storage of Tosca templates. We were discussing integration
> >> with Heat and storing templates and environments in Glare, also it may
> >> be interesting for TripleO project. Mistral will store its workflows in
> >> Glare, it has already been decided. I'm not sure if Murano project is
> >> still alive, but they already use Glare 0.1 from Glance repo and it will
> >> be removed soon (in Pike afaik), so they have no other options except to
> >> start using Glare v1. Finally there were rumors about storing torrent
> >> files from Ironic.
> >>
> >> Now let me briefly describe Glare features:
> >>
> >>  * Versioning of artifacts - each artifact has a version in SemVer
> >> format and you can sort and filter by this field.
> >>  * Multiblob support - there can be several files and folders per one
> >> artifact.
> >>  * The ease of creating new artifact types with oslo_versionedobjects
> >> framework.
> >>  * Fair immutability - no one can change artifact when it's active.
> >>  * Multistore support - each artifact type data may be stored in
> >> different storages: images may go to Swift; heat templates may be stored
> >> directly in sql-database; for Docker Contatiners you can use Ceph, if
> >> you want.
> >>  * Advanced sorting and filtering with various operators.
> >>  * Uploaded data validation and conversion with hooks - for example,
> >> Glare may check if uploaded file was a valid Tosca template and return
> >> Bad Request if it's not.
> >>
> >> If you're interested, I recorded several demos in asciinema, that
> >> describe how Glare works and present the most useful features. Another
> >> demo about uploading hooks will be recorded and published this week.
> >>
> >> So, please tell me what you think and recommend in what direction we
> >> should develop the project. Thanks in advance!
> >>
> >> Best,
> >> Mike
> >>
> >> Useful links:
> >> [1] Api documentation in rst format:
> >> https://etherpad.openstack.org/p/glare-api
> >> [2] Basic artifact workflow on devstack: https://asciinema.org/a/97985
> >> [3] Listing of artifacts: https://asciinema.org/a/97986
> >> [4] Creating your own artifact type with oslo_vo:
> >> https://asciinema.org/a/97987
> >> [5] Locations, Tags, Links and Folders in Glare:
> >> https://asciinema.org/a/99771
> >>
> >>
> >> 
> >> __
> 

Re: [openstack-dev] [TC][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-19 Thread Renat Akhmerov

> On 19 Jan 2017, at 19:13, Mikhail Fedosin  wrote:
> 
> Plus, Swift does not provide data immutability. Where is the guarantee that 
> user won't change his files in Swift or completely remove them? Glare manages 
> this behavior and provides full immutability for stored data, regardless of 
> the backend. In general, to address these immutability issues Glance was 
> invented in due time. But now we see that its functionality is not enough and 
> it's really hard to extend it.


+1. Glare’s versioning capability seems very important to me in this regard.

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][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-19 Thread Mikhail Fedosin
Glare does not compete with Swift, it uses this service as one of the
possible backeds. On the whole I should note that in some cases the use of
Swift is excessive: for example, for small files (a few kilobytes), it is
easier to store them directly in the database. And Glare just let you do
this - to keep large files in stores like Swift or Ceph, and use a more
appropriate location for small ones.

Plus, Swift does not provide data immutability. Where is the guarantee that
user won't change his files in Swift or completely remove them? Glare
manages this behavior and provides full immutability for stored data,
regardless of the backend. In general, to address these immutability issues
Glance was invented in due time. But now we see that its functionality is
not enough and it's really hard to extend it.

On Thu, Jan 19, 2017 at 6:25 AM, Lingxian Kong  wrote:

>
> On Thu, Jan 19, 2017 at 5:54 AM, Mikhail Fedosin 
> wrote:
>
>> And here I want to ask the community - how exactly Glare may be useful in
>> OpenStack? Glare was developed as a repository for all possible data types,
>> and it has many possible applications. For example, it's a storage of vm
>> images for Nova. Currently Glance is used for this, but Glare has much more
>> features and this transition is easy to implement. Then it's a storage of
>> Tosca templates. We were discussing integration with Heat and storing
>> templates and environments in Glare, also it may be interesting for TripleO
>> project. Mistral will store its workflows in Glare, it has already been
>> decided. I'm not sure if Murano project is still alive, but they already
>> use Glare 0.1 from Glance repo and it will be removed soon (in Pike afaik),
>> so they have no other options except to start using Glare v1. Finally there
>> were rumors about storing torrent files from Ironic.
>
>
> ​Seems Swift already could do such things.​
>
>
> Cheers,
> Lingxian Kong (Larry)
>
> __
> OpenStack Development Mailing 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][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-19 Thread Mikhail Fedosin
On Wed, Jan 18, 2017 at 9:30 PM, Doug Hellmann 
wrote:

> Excerpts from Mikhail Fedosin's message of 2017-01-18 19:54:01 +0300:
> > Hello!
> >
> > In this letter I want to tell you the current status of Glare project and
> > discuss its future development within the entire OpenStack community.
> >
> > In the beginning I have to say a few words about myself - my name is Mike
> > and I am the PTL of Glare. Currently I work as a consultant at Nokia,
> where
> > we're developing the service as a universal catalog of binary data. As I
> > understand it right, Nokia has big plans for this service, Moshe Elisha
> can
> > tell you more about them.
> >
> > And here I want to ask the community - how exactly Glare may be useful in
> > OpenStack? Glare was developed as a repository for all possible data
> types,
> > and it has many possible applications. For example, it's a storage of vm
> > images for Nova. Currently Glance is used for this, but Glare has much
> more
> > features and this transition is easy to implement. Then it's a storage of
>
> Is there actually an upgrade path today, or is that something someone
> would have to build?
>

We're discussing it with Glance community. Today there will be an IRC
meeting and I'll present my plans there.


>
> > Tosca templates. We were discussing integration with Heat and storing
> > templates and environments in Glare, also it may be interesting for
> TripleO
> > project. Mistral will store its workflows in Glare, it has already been
> > decided. I'm not sure if Murano project is still alive, but they already
> > use Glare 0.1 from Glance repo and it will be removed soon (in Pike
> afaik),
> > so they have no other options except to start using Glare v1. Finally
> there
> > were rumors about storing torrent files from Ironic.
>
> Glare is not currently an official project, and it seems to have
> very few contributors during the Ocata time frame. Do either of
> those things concern any of the project teams considering adding
> it as a dependency? Do you have plans to address those?
>

Absolutely correct observation! Unfortunately there was a hitch in the
service development caused by problems in the organization of my previous
employer. Now I try again to put the project on the right track. At least
Nokia will use Glare in production and allocates two people on it. In
addition, I received a notice from a few people who are interested in
contribution in Glare, I'll call some of them:

Geetika Batra from Red Hat
Dharini Chandrasekar from Intel
Darja Malyavkina, independent
Danil Golov from Samsung
Kairat Kushaev from Mirantis
Hemanth Makkapati from Rackspace

I think we should ask them to confirm their agreements in this thread.

Finally I'm going to announce that we'll apply under Big Tent till the end
of January.


>
> Doug
>
> >
> > Now let me briefly describe Glare features:
> >
> >  * Versioning of artifacts - each artifact has a version in SemVer format
> > and you can sort and filter by this field.
> >  * Multiblob support - there can be several files and folders per one
> > artifact.
> >  * The ease of creating new artifact types with oslo_versionedobjects
> > framework.
> >  * Fair immutability - no one can change artifact when it's active.
> >  * Multistore support - each artifact type data may be stored in
> different
> > storages: images may go to Swift; heat templates may be stored directly
> in
> > sql-database; for Docker Contatiners you can use Ceph, if you want.
> >  * Advanced sorting and filtering with various operators.
> >  * Uploaded data validation and conversion with hooks - for example,
> Glare
> > may check if uploaded file was a valid Tosca template and return Bad
> > Request if it's not.
> >
> > If you're interested, I recorded several demos in asciinema, that
> describe
> > how Glare works and present the most useful features. Another demo about
> > uploading hooks will be recorded and published this week.
> >
> > So, please tell me what you think and recommend in what direction we
> should
> > develop the project. Thanks in advance!
> >
> > Best,
> > Mike
> >
> > Useful links:
> > [1] Api documentation in rst format:
> > https://etherpad.openstack.org/p/glare-api
> > [2] Basic artifact workflow on devstack: https://asciinema.org/a/97985
> > [3] Listing of artifacts: https://asciinema.org/a/97986
> > [4] Creating your own artifact type with oslo_vo:
> > https://asciinema.org/a/97987
> > [5] Locations, Tags, Links and Folders in Glare:
> > https://asciinema.org/a/99771
>
> __
> OpenStack Development Mailing 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: 

Re: [openstack-dev] [TC][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-19 Thread Mikhail Fedosin
Hi Matt!

This should be discussed, for sure, but there is a lot of potential. In
general, it depends on how far we are willing to go. In the minimum
approximation we can seamlessly replace Glance with Glare and operators
simply get additional features for versioning, validation (and conversion,
if necessary) of their uploaded images on the fly, as well as support for
storing files in different stores.

If we dig a little deeper, then Glare allows you to store multiple files in
a single artifact, so we can create a new type (ec2_image) and define three
blobs inside: ami, ari, aki, and upload all three as a single object. This
will get rid of a large amount of legacy code and simplify the architecture
of Nova. Plus Glare will control the integrity of such artifact.

The next step could be full support for OVF and other formats that require
a large number of files. Here we can use artifact folders and put all the
files there.
"OpenStack Compute does not currently have support for OVF packages, so you
will need to extract the image file(s) from an OVF package if you wish to
use it with OpenStack."
http://docs.openstack.org/image-guide/introduction.html

Finally, I notice that there are a few nasty bugs in Glance (you know what
I mean), which make it extremely inconvenient for a number of deployments.

On Wed, Jan 18, 2017 at 8:26 PM, Matt Riedemann 
wrote:

> On 1/18/2017 10:54 AM, Mikhail Fedosin wrote:
>
>> Hello!
>>
>> In this letter I want to tell you the current status of Glare project
>> and discuss its future development within the entire OpenStack community.
>>
>> In the beginning I have to say a few words about myself - my name is
>> Mike and I am the PTL of Glare. Currently I work as a consultant at
>> Nokia, where we're developing the service as a universal catalog of
>> binary data. As I understand it right, Nokia has big plans for this
>> service, Moshe Elisha can tell you more about them.
>>
>> And here I want to ask the community - how exactly Glare may be useful
>> in OpenStack? Glare was developed as a repository for all possible data
>> types, and it has many possible applications. For example, it's a
>> storage of vm images for Nova. Currently Glance is used for this, but
>> Glare has much more features and this transition is easy to implement.
>> Then it's a storage of Tosca templates. We were discussing integration
>> with Heat and storing templates and environments in Glare, also it may
>> be interesting for TripleO project. Mistral will store its workflows in
>> Glare, it has already been decided. I'm not sure if Murano project is
>> still alive, but they already use Glare 0.1 from Glance repo and it will
>> be removed soon (in Pike afaik), so they have no other options except to
>> start using Glare v1. Finally there were rumors about storing torrent
>> files from Ironic.
>>
>> Now let me briefly describe Glare features:
>>
>>  * Versioning of artifacts - each artifact has a version in SemVer
>> format and you can sort and filter by this field.
>>  * Multiblob support - there can be several files and folders per one
>> artifact.
>>  * The ease of creating new artifact types with oslo_versionedobjects
>> framework.
>>  * Fair immutability - no one can change artifact when it's active.
>>  * Multistore support - each artifact type data may be stored in
>> different storages: images may go to Swift; heat templates may be stored
>> directly in sql-database; for Docker Contatiners you can use Ceph, if
>> you want.
>>  * Advanced sorting and filtering with various operators.
>>  * Uploaded data validation and conversion with hooks - for example,
>> Glare may check if uploaded file was a valid Tosca template and return
>> Bad Request if it's not.
>>
>> If you're interested, I recorded several demos in asciinema, that
>> describe how Glare works and present the most useful features. Another
>> demo about uploading hooks will be recorded and published this week.
>>
>> So, please tell me what you think and recommend in what direction we
>> should develop the project. Thanks in advance!
>>
>> Best,
>> Mike
>>
>> Useful links:
>> [1] Api documentation in rst format:
>> https://etherpad.openstack.org/p/glare-api
>> [2] Basic artifact workflow on devstack: https://asciinema.org/a/97985
>> [3] Listing of artifacts: https://asciinema.org/a/97986
>> [4] Creating your own artifact type with oslo_vo:
>> https://asciinema.org/a/97987
>> [5] Locations, Tags, Links and Folders in Glare:
>> https://asciinema.org/a/99771
>>
>>
>> 
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscrib
>> e
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
> What use cases does Glare make available to Nova that Nova doesn't already
> get from Glance? In other words, what problems/missing features are there
> in 

Re: [openstack-dev] [TC][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-18 Thread Lingxian Kong
On Thu, Jan 19, 2017 at 5:54 AM, Mikhail Fedosin  wrote:

> And here I want to ask the community - how exactly Glare may be useful in
> OpenStack? Glare was developed as a repository for all possible data types,
> and it has many possible applications. For example, it's a storage of vm
> images for Nova. Currently Glance is used for this, but Glare has much more
> features and this transition is easy to implement. Then it's a storage of
> Tosca templates. We were discussing integration with Heat and storing
> templates and environments in Glare, also it may be interesting for TripleO
> project. Mistral will store its workflows in Glare, it has already been
> decided. I'm not sure if Murano project is still alive, but they already
> use Glare 0.1 from Glance repo and it will be removed soon (in Pike afaik),
> so they have no other options except to start using Glare v1. Finally there
> were rumors about storing torrent files from Ironic.


​Seems Swift already could do such things.​


Cheers,
Lingxian Kong (Larry)
__
OpenStack Development Mailing 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][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-18 Thread Doug Hellmann
Excerpts from Mikhail Fedosin's message of 2017-01-18 19:54:01 +0300:
> Hello!
> 
> In this letter I want to tell you the current status of Glare project and
> discuss its future development within the entire OpenStack community.
> 
> In the beginning I have to say a few words about myself - my name is Mike
> and I am the PTL of Glare. Currently I work as a consultant at Nokia, where
> we're developing the service as a universal catalog of binary data. As I
> understand it right, Nokia has big plans for this service, Moshe Elisha can
> tell you more about them.
> 
> And here I want to ask the community - how exactly Glare may be useful in
> OpenStack? Glare was developed as a repository for all possible data types,
> and it has many possible applications. For example, it's a storage of vm
> images for Nova. Currently Glance is used for this, but Glare has much more
> features and this transition is easy to implement. Then it's a storage of

Is there actually an upgrade path today, or is that something someone
would have to build?

> Tosca templates. We were discussing integration with Heat and storing
> templates and environments in Glare, also it may be interesting for TripleO
> project. Mistral will store its workflows in Glare, it has already been
> decided. I'm not sure if Murano project is still alive, but they already
> use Glare 0.1 from Glance repo and it will be removed soon (in Pike afaik),
> so they have no other options except to start using Glare v1. Finally there
> were rumors about storing torrent files from Ironic.

Glare is not currently an official project, and it seems to have
very few contributors during the Ocata time frame. Do either of
those things concern any of the project teams considering adding
it as a dependency? Do you have plans to address those?

Doug

> 
> Now let me briefly describe Glare features:
> 
>  * Versioning of artifacts - each artifact has a version in SemVer format
> and you can sort and filter by this field.
>  * Multiblob support - there can be several files and folders per one
> artifact.
>  * The ease of creating new artifact types with oslo_versionedobjects
> framework.
>  * Fair immutability - no one can change artifact when it's active.
>  * Multistore support - each artifact type data may be stored in different
> storages: images may go to Swift; heat templates may be stored directly in
> sql-database; for Docker Contatiners you can use Ceph, if you want.
>  * Advanced sorting and filtering with various operators.
>  * Uploaded data validation and conversion with hooks - for example, Glare
> may check if uploaded file was a valid Tosca template and return Bad
> Request if it's not.
> 
> If you're interested, I recorded several demos in asciinema, that describe
> how Glare works and present the most useful features. Another demo about
> uploading hooks will be recorded and published this week.
> 
> So, please tell me what you think and recommend in what direction we should
> develop the project. Thanks in advance!
> 
> Best,
> Mike
> 
> Useful links:
> [1] Api documentation in rst format:
> https://etherpad.openstack.org/p/glare-api
> [2] Basic artifact workflow on devstack: https://asciinema.org/a/97985
> [3] Listing of artifacts: https://asciinema.org/a/97986
> [4] Creating your own artifact type with oslo_vo:
> https://asciinema.org/a/97987
> [5] Locations, Tags, Links and Folders in Glare:
> https://asciinema.org/a/99771

__
OpenStack Development Mailing 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][Glance][Nova][TripleO][Heat][Mistral][Ironic][Murano] Glare

2017-01-18 Thread Matt Riedemann

On 1/18/2017 10:54 AM, Mikhail Fedosin wrote:

Hello!

In this letter I want to tell you the current status of Glare project
and discuss its future development within the entire OpenStack community.

In the beginning I have to say a few words about myself - my name is
Mike and I am the PTL of Glare. Currently I work as a consultant at
Nokia, where we're developing the service as a universal catalog of
binary data. As I understand it right, Nokia has big plans for this
service, Moshe Elisha can tell you more about them.

And here I want to ask the community - how exactly Glare may be useful
in OpenStack? Glare was developed as a repository for all possible data
types, and it has many possible applications. For example, it's a
storage of vm images for Nova. Currently Glance is used for this, but
Glare has much more features and this transition is easy to implement.
Then it's a storage of Tosca templates. We were discussing integration
with Heat and storing templates and environments in Glare, also it may
be interesting for TripleO project. Mistral will store its workflows in
Glare, it has already been decided. I'm not sure if Murano project is
still alive, but they already use Glare 0.1 from Glance repo and it will
be removed soon (in Pike afaik), so they have no other options except to
start using Glare v1. Finally there were rumors about storing torrent
files from Ironic.

Now let me briefly describe Glare features:

 * Versioning of artifacts - each artifact has a version in SemVer
format and you can sort and filter by this field.
 * Multiblob support - there can be several files and folders per one
artifact.
 * The ease of creating new artifact types with oslo_versionedobjects
framework.
 * Fair immutability - no one can change artifact when it's active.
 * Multistore support - each artifact type data may be stored in
different storages: images may go to Swift; heat templates may be stored
directly in sql-database; for Docker Contatiners you can use Ceph, if
you want.
 * Advanced sorting and filtering with various operators.
 * Uploaded data validation and conversion with hooks - for example,
Glare may check if uploaded file was a valid Tosca template and return
Bad Request if it's not.

If you're interested, I recorded several demos in asciinema, that
describe how Glare works and present the most useful features. Another
demo about uploading hooks will be recorded and published this week.

So, please tell me what you think and recommend in what direction we
should develop the project. Thanks in advance!

Best,
Mike

Useful links:
[1] Api documentation in rst format:
https://etherpad.openstack.org/p/glare-api
[2] Basic artifact workflow on devstack: https://asciinema.org/a/97985
[3] Listing of artifacts: https://asciinema.org/a/97986
[4] Creating your own artifact type with oslo_vo:
https://asciinema.org/a/97987
[5] Locations, Tags, Links and Folders in Glare:
https://asciinema.org/a/99771


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



What use cases does Glare make available to Nova that Nova doesn't 
already get from Glance? In other words, what problems/missing features 
are there in Nova that can't be solved by Glance but can by Glare?


--

Thanks,

Matt Riedemann


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