Glance Cache getting ignored

Bug #1438952 reported by webking
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Won't Fix
Undecided
Unassigned
OpenStack Compute (nova)
Confirmed
Low
Unassigned

Bug Description

Step to reproduce:
1. Install glance registry on controller
2. Install galnce api con compute node & enable cachemanagement (flavor=keystone+cachemanagement)
3. Add an image to the registry and expose it as http://..../imagepath (so that in db the location is http based)
4. From compute node, invoke glance-cache-manage queue-image ID_OF_IMAGE
5. Run glance-cache-prefetcher
6. Run
nova boot --image <ID_IMAGE> --flavor 1 --availability-zone nova:<hostname_compute_node> MACHINENAME

You'll see that image is downloaded again from network instead of using the local one in /var/lub/glance/image-cache

Eli Qiao (taget-9)
Changed in nova:
assignee: nobody → Eli Qiao (taget-9)
Revision history for this message
webking (albertogeniola) wrote :

Please be sure, in order to reproduce the bug, to match the configuration in picture.

The only glance endpoint listed in keystone is the compute's one. The compute glance-api.conf points the registry on controller as the central one. The images are stored into a webserver local to the controller, so their location into the db begins with http://......

Changed in nova:
status: New → Confirmed
importance: Undecided → Low
Erno Kuvaja (jokke)
tags: added: kilo-backport-potential
Eli Qiao (taget-9)
Changed in nova:
assignee: Eli Qiao (taget-9) → nobody
Revision history for this message
Abhishek Kekane (abhishek-kekane) wrote :

Marking as Won't Fix as registry is now removed from glance code base.

Changed in glance:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.