Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1700327

Summary: [RFE] Improve glance cache client tooling
Product: Red Hat OpenStack Reporter: Gregory Charot <gcharot>
Component: openstack-glanceAssignee: Cyril Roelandt <cyril>
Status: CLOSED DUPLICATE QA Contact: Mike Abrams <mabrams>
Severity: high Docs Contact: Tana <tberry>
Priority: unspecified    
Version: 16.0 (Train)CC: agurenko, bdobreli, eglynn
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-16 12:34:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1635862    
Bug Blocks:    

Description Gregory Charot 2019-04-16 10:07:11 UTC
Description of problem:

DCN architecture now leverages glance cache at the edge. In order to improve the user experience the glance cache client needs to be enhanced.

Today the glance cache can be managed with the glance-cache-manage commands
https://docs.openstack.org/glance/latest/cli/glancecachemanage.html

This RFE tracks the changes required to glance cache user management.


Version-Release number of selected component (if applicable):

16

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Cyril Roelandt 2019-04-18 18:23:29 UTC
I think the main thing here is being able to list all Glance cache nodes. Once we've got that, everything else should be fairly easy. I'm not sure if there is already a way to list all the cache nodes in Glance, though.

Some of the operations listed in the Google docs seem to be already available. For instance, can't "List all cached images from a specific node" be done with "glance-cache-manage list-cached -H <NODE>"?

Comment 4 Gregory Charot 2019-05-16 12:34:53 UTC
Tooling will be improved with the use of an Ansible playbook + enhancements in glance in order to move cache operations into the API. Tracking these efforts separately.

*** This bug has been marked as a duplicate of bug 1710557 ***