Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apiserver: Per model directory for charm get cache #5081

Closed
wants to merge 2 commits into from

Conversation

mjs
Copy link

@mjs mjs commented Apr 11, 2016

Fixes LP #1541482.

Local charms in different models of the same controller were sharing the same cache filename when they had the same charm URL. This was causing charm hash mismatches when units downloaded a charm and received a different version to what was expected.

Also simplified temp file cleanup during charm download.

(Review request: http://reviews.vapour.ws/r/4524/)

Menno Smits added 2 commits April 12, 2016 11:08
Fixes LP #1541482.

Local charms in different models of the same controller were sharing
the same cache filename when they had the same charm URL. This was
causing charm hash mismatches when units downloaded a charm and
received a different version to what was expected.
Fixed some unnecessarily strange defers and documents some non-obvious
details.
@mjs
Copy link
Author

mjs commented Apr 12, 2016

Retargetting to "next" branch.

@mjs mjs closed this Apr 12, 2016
@mjs mjs deleted the 1541482-charm-hash-mismatch branch April 13, 2016 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant