[RTFACT-18371] helm repositories fail to update index.yaml when one of the cached chart in remote-cache is deleted Created: 28/Jan/19  Updated: 20/Feb/19  Resolved: 20/Feb/19

Status: Resolved
Project: Artifactory Binary Repository
Component/s: None
Affects Version/s: 6.7.0
Fix Version/s: 6.8.0

Type: Bug Priority: Normal
Reporter: Balaji Satish Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Relationship
relates to RTFACT-18375 Helm calculates index.yaml for cache ... Resolved

 Description   

1) Setup helm repository (http://mill.jfrog.info:12070/artifactory)
2) Try to fetch multiple chart 
3) Delete one of the charts from the remote-cache
4) Do a zap cache

See the index.yaml expires, See the index.yaml expires, Even though there are multiple cache artifacts available 

{
"errors" : [

{ "status" : 404, "message" : "Resource has expired" }

]
}

This also causes failures when trying to fetch the same chart again. When the same steps are performed with helm client on local resolving the Artifactory instance in remote we see the below Error when doing the helm fetch for the second time after deleting the cached chart
Error: chart "xray" matching 0.4.2 not found in helm index. (try 'helm repo update'). No chart version found for xray-0.4.2

 

Need to manually delete the index.yaml


Generated at Sun Oct 20 12:04:27 UTC 2019 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.