Gavin Payne Transparent Data Encryption The Hows, Whys and Whens.
Revamped Image Upload: Whys and Hows - Flavio Percoco - OpenStack Day Israel 2016
-
Upload
openstack-israel -
Category
Technology
-
view
59 -
download
0
Transcript of Revamped Image Upload: Whys and Hows - Flavio Percoco - OpenStack Day Israel 2016
Revamped Image Upload Whys and Hows
The problem
An user wants to create an image
An OP wants to provide an image
A service needs to create an image
The (real) problem
WE F***ED this UP
The (real) problem
Let’s not even talk about “tasks”
Glance uploads are not resilient
Glance doesn’t allow for verification
The (real) problem
copy-from is gone in V2
Not interoperable
Not discoverable
What do we really want?
interoperability discoverability resiliency
What do we really want?
interoperability discoverability resiliency
What do we really want?
interoperability discoverability resiliency
What do we really want?
interoperability discoverability resiliency
Import Workflow
must be
Discoverable
Async
Interoperable
Well Defined In summary, the
API must be discoverable and allow for async processing w/o
giving up interopeability
how can we fix this?
1. Create2. Upload3. Import
3-steps import
It mustn’t change.create
Either direct or from other
sourcesUpload
Why multiple sources?
Upload
Data is staged for processing
Upload
Trigger async
processingImport
- Validation- Conversion- Nothing (?)
Image Processing
Keeping the old upload
queued
saving
Uploading
importingactive
queued
saving
Uploading
importingactive
queued
saving
Uploading
importingactive
queued
saving
Uploading
importingactive
queued
saving
Uploading
importingactive
queued
saving
Uploading
importingactive
1
2
3
4
The entire API will be discoverableYou don’t have to support multi-sourcesThe old API won’t be removedDefCore has been part of the design
5 Operating on images on upload: OK!
Summary-ish
1
2
3
4
Yes, there will be two paths for uploadsThe task API is deprecated2 new statuses (uploading, importing)Backwards compatible
5 We’ll hopefully not f**k this up again
Summary-ish
Questions?