Commit: fedcb444d11eacbfa51521f2f5479c62eb93e093
Author: Mike Fedosin <email address hidden>
Date: Mon Dec 28 14:05:06 2015
Implement trust support for Glance
This commit adds new functionality in Glance,
called 'trusts', that are used to prevent token
expiration during longtime upload.
The algorighm is the following:
1. If galnce uses registry server to communicate with db, create a trust
2. Upload an image
3. Try to update the image status to 'active' in registry
4. If trust has been created succcessfully and 401 occured during
updating the image status then renew the token and try to update
the image record in registry again
If keystone server doesn't support trust functionality
then glance automatically returns to the basic workflow
with user token.
Reviewed: https:/ /review. fuel-infra. org/14329 ci/fuel- 8.0/liberty
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-
Commit: fedcb444d11eacb fa51521f2f5479c 62eb93e093
Author: Mike Fedosin <email address hidden>
Date: Mon Dec 28 14:05:06 2015
Implement trust support for Glance
This commit adds new functionality in Glance,
called 'trusts', that are used to prevent token
expiration during longtime upload.
The algorighm is the following:
1. If galnce uses registry server to communicate with db, create a trust
2. Upload an image
3. Try to update the image status to 'active' in registry
4. If trust has been created succcessfully and 401 occured during
updating the image status then renew the token and try to update
the image record in registry again
If keystone server doesn't support trust functionality
then glance automatically returns to the basic workflow
with user token.
Co-Authored-By: Mike Fedosin <email address hidden>
Co-Authored-By: Kairat Kushaev <email address hidden>
Closes-bug: #1456573
Change-Id: Ia3b82782b14f5d fc93457620633c1 039c38fc366