Thanks for the replies. I sent a patch as suggested: https://git.lavasoftware.org/lava/pkg/docker-compose/-/merge_requests/22/dif...
With it, the coordinator starts fine. I have just a doubt about the need (or not) to use a docker volume here. I would say no. Please confirm.
Thanks,
Philippe
-----Original Message----- From: Lava-users lava-users-bounces@lists.lavasoftware.org On Behalf Of Stevan Radakovic Sent: Wednesday, May 13, 2020 11:55 AM To: lava-users@lists.lavasoftware.org Subject: [EXT] Re: [Lava-users] docker-compose: how to administrate a LAVA master from this?
Caution: EXT Email
On 5/13/20 11:14 AM, Milosz Wasilewski wrote:
On Mon, 11 May 2020 at 14:50, Philippe Mazet (OSS) philippe.mazet@oss.nxp.com wrote:
Hi,
I am looking into https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit .lavasoftware.org%2Flava%2Fpkg%2Fdocker-compose&data=02%7C01%7Cph ilippe.mazet%40nxp.com%7C76ee89456ed043cd460608d7f723e51e%7C686ea1d3b c2b4c6fa92cd99c5c301635%7C0%7C0%7C637249605874783409&sdata=Ztawct l583u1YQH47BWKGGefnqRfjs67kSh%2BMSrdkoI%3D&reserved=0
I have few questions about it:
Are there guidelines somewhere about how to administrate a “master only” instance run from this docker-compose? Like tutorials about creating/restoring a backup, periodic maintenance/cleanup, restart one of the containers idenpendantly, upgrade versions, etc…
Some of the tasks are withing docker-compose documentation. There currently are no lava specific docs on the subject.
Is there an easy way to inject a backup created from a previous instance? (backup created with pg_dump. Note that I am not psql expert at all…)
Hmm, good catch. I don't think there is. You would need to start only postgres container, run pg_restore from within the container and only after that start all other lava bits.
Is LAVA coordinator supported in this docker solution ?
@Stevan? I don't think it is.
Not at the moment. We have a support for it in the lava-server docker image though: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.lavaso...
It would be easy to add in the compose file. Something along the lines of: https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.debi...
As Remi likes to say, patches are welcome :)
milosz
Many thanks,
Philippe
Lava-users mailing list Lava-users@lists.lavasoftware.org https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flis ts.lavasoftware.org%2Fmailman%2Flistinfo%2Flava-users&data=02%7C0 1%7Cphilippe.mazet%40nxp.com%7C76ee89456ed043cd460608d7f723e51e%7C686 ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637249605874783409&sdata= br%2F4y7mFynMJz%2BnedtOOPaxwvLYw5nbiUGz31iRtIrU%3D&reserved=0
Lava-users mailing list Lava-users@lists.lavasoftware.org https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist s.lavasoftware.org%2Fmailman%2Flistinfo%2Flava-users&data=02%7C01% 7Cphilippe.mazet%40nxp.com%7C76ee89456ed043cd460608d7f723e51e%7C686ea1 d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637249605874783409&sdata=br%2 F4y7mFynMJz%2BnedtOOPaxwvLYw5nbiUGz31iRtIrU%3D&reserved=0
-- Stevan Radaković | LAVA Engineer Linaro.org https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linaro.org%2F&data=02%7C01%7Cphilippe.mazet%40nxp.com%7C76ee89456ed043cd460608d7f723e51e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637249605874783409&sdata=bTyLcBgh7aVTIhW4xEBKMFDngsdy6WWiMnqnuMCAz%2Fo%3D&reserved=0 │ Open source software for ARM SoCs
_______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.org https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.lava...