lago
lago copied to clipboard
template_store and template_repos should be part of enviroment
Moved from https://bugzilla.redhat.com/show_bug.cgi?id=1272034
Those two dirs tend to be very large in size and files may collide between projects Not everybody has free 20GB on their / dir They should reside in the working directory.
I'd rather see a per-user shared cache in the XDG standard location then one per environment, as its quite likely that multiple environments used by the same user will share images.
On 27 January 2016 at 21:39, David Caro [email protected] wrote:
Moved from https://bugzillaredhatcom/show_bugcgi?id=1272034
Those two dirs tend to be very large in size and files may collide between projects Not everybody has free 20GB on their / dir They should reside in the working directory
— Reply to this email directly or view it on GitHub https://github.com/lago-project/lago/issues/60.
Barak Korren [email protected] RHEV-CI Team
So the idea is to store images in ~/.cache/lago/store ~/.cache/lago/repos
Which will be auto-created if they do not exist. Only question left ATM is subnets - we need a world writeable/readable, as this is a system-wide resource, even if you install it via pip.
Also this means that once we make this change - images will be downloaded again for most users..(unless they change the location in lago.conf)
On Jun 19, 2017 6:28 PM, "Nadav Goldin" [email protected] wrote:
So the idea is to store images in ~/.cache/lago/store ~/.cache/lago/repos
Isn't there some /var/cache that can be used?
Which will be auto-created if they do not exist. Only question left ATM is subnets - we need a world writeable/readable, as this is a system-wide resource, even if you install it via pip.
Also this means that once we make this change - images will be downloaded again for most users..(unless they change the location in lago.conf)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lago-project/lago/issues/60#issuecomment-309475786, or mute the thread https://github.com/notifications/unsubscribe-auth/AEcJ6TDQHTLlSo9QQLxWFJV0yRFLAM9sks5sFpOzgaJpZM4HNubd .
Isn't there some /var/cache that can be used?
/var/cache will not be per-user, so if you use 'pip install' you'd still have to create those directories with appropriate permissions(for all users), so that is the same as /var/lib I think, though will need to check
You can still always configure it to a shared location in lago.conf, the question is what would be the default.