Your Catalogue Wants To Go Out & Play (Internet Librarian International 2013)
Glance wants to go public
-
Upload
flavio-percoco-premoli -
Category
Technology
-
view
268 -
download
0
description
Transcript of Glance wants to go public
![Page 1: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/1.jpg)
@flaper87 at OpenStack Israel
OpenStack Image
wants to go public
![Page 2: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/2.jpg)
@flaper87 at OpenStack Israel
I mean... Why?How's that even possible?What needs to be changed?
DAFUQ?
![Page 3: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/3.jpg)
Who's this dude?
@flaper87 (a.k.a, Flavio Percoco):Very proud Red Hatter, who's also part of the MongoDB Master team and has contributed to Open Source since... forever.
One of those who thinks about programming when he's not programming.
member of
![Page 4: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/4.jpg)
@flaper87 at OpenStack Israel
OpenStack Image (Glance)
![Page 5: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/5.jpg)
@flaper87 at OpenStack Israel
DISCLAIMER
From this slide on, everything is UNDER DISCUSSION
![Page 6: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/6.jpg)
@flaper87 at OpenStack Israel
Sick of Nova proxying Glance's calls
WHY?
![Page 7: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/7.jpg)
@flaper87 at OpenStack Israel
Easier to distribute images to the Outside World™Sick of Nova proxying Glance's calls
WHY?
![Page 8: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/8.jpg)
@flaper87 at OpenStack Israel
Users want to upload their own imagesSick of Nova proxying Glance's calls
Easier to distribute images to the Outside World™
WHY?
![Page 9: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/9.jpg)
@flaper87 at OpenStack Israel
It's the best excuseto finally have Quotas #WINSick of Nova proxying Glance's calls
Easier to distribute images to the Outside World™
Users want to upload their own images
WHY?
![Page 10: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/10.jpg)
@flaper87 at OpenStack Israel
How many lines of code
does this thing cost?
![Page 11: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/11.jpg)
@flaper87 at OpenStack Israel
Well ... and the scared rabbit ran away
![Page 12: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/12.jpg)
@flaper87 at OpenStack Israel
Enhanced RBAC (Role Based Access Control)
{ "context_is_admin": "role:admin", "default": "", "manage_image_cache": "role:admin"}
moar Stuff like this
![Page 13: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/13.jpg)
@flaper87 at OpenStack Israel
Protected Image properties
class ImageProperty(BASE, ModelBase): id = Column(Integer, ...) image_id = Column(String(36), ...) image = relationship(Image, ...) name = Column(String(255), ...) value = Column(Text)
No protection at all
![Page 14: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/14.jpg)
@flaper87 at OpenStack Israel
Rate Limits
Within Glance?
… or as third-party service ?
![Page 15: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/15.jpg)
@flaper87 at OpenStack Israel
Quotasyou know, just in case
Do we really need Quotas?Yep, we dared to ask
![Page 16: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/16.jpg)
@flaper87 at OpenStack Israel
Quotasyou know, just in case
What to limit?Do we really need Quotas?
![Page 17: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/17.jpg)
@flaper87 at OpenStack Israel
Quotasyou know, just in case
How to do it?What to limit?Do we really need Quotas?
![Page 18: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/18.jpg)
@flaper87 at OpenStack Israel
New image upload / download workflow
![Page 19: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/19.jpg)
@flaper87 at OpenStack Israel
Use Cases
It's all about providing images, right?
![Page 20: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/20.jpg)
@flaper87 at OpenStack Israel
Use Cases
Cross region image sharingIt's all about providing images, right?
![Page 21: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/21.jpg)
@flaper87 at OpenStack Israel
Use Cases
Live ISO ImagesCross region image sharingIt's all about providing images, right?
![Page 22: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/22.jpg)
@flaper87 at OpenStack Israel
Use Cases
Vagrant BoxesCross region image sharingIt's all about providing images, right?
Live ISO images
![Page 23: Glance wants to go public](https://reader034.fdocuments.net/reader034/viewer/2022051014/54c206ea4a7959e6068b45af/html5/thumbnails/23.jpg)
@flaper87 at OpenStack Israel
Q&A
Thankswe
're hi
ring