You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get rid of Virtualbox and use docker for AGW Testing.
Problem
We currently use the Packer+Vagrant(Virtualbox) in order to spin up Magma Access Gateway (AGW). This is very costly especially in CI and local deployment due to the size of the VM. Since we achieved to "dockerize" all AGW services we should take advantage of those to replace the big Vagrant VM.
The only tricky part is that we can't run OVS in a container due to the gtp patch and we'll have to run a sidecar. @jordanvrtanoski has already a solution in place (also correct me if I'm wrong I haven't checked the code yet)
Solution
The solution would be to magma AGW VM by docker containers in all the above job, this isn't an easy job since we have to make sure the "dockerized" AGW can run smoothly on CI nodes with the OVS sidecar and we also have different VMs for traffic and testing purposes that will also need to be converted to docker
What are the pros of doing that:
Image size will be decreased
Testing will be faster
Github Action is way faster when using docker nodes
Running test locally will be way easier
If docker becomes the way to deploy it will be super easy to do releases since we won't have to deal with packages and cycling dependencies
Cons:
Rewriting the test jobs is not an easy job and will probably take time, is it worth the investment? (Open question)
Non-goals
None
Proposed roadmap
1 - Make sure the AGW can run smoothly locally in an Ubuntu VM with docker installed
2 - Start with that job .github/workflows/lte-integ-test-bazel-magma-deb.yml - Duplicate it, change the AGW to the dockerized one, make sure it runs smoothly for a week or two, kill the old job
3 - Tackle the other jobs listed above with the same process as #2
4 - Update documentation for local testing and development
5 - Be happy
The text was updated successfully, but these errors were encountered:
Get rid of Virtualbox and use docker for AGW Testing.
Problem
We currently use the Packer+Vagrant(Virtualbox) in order to spin up Magma Access Gateway (AGW). This is very costly especially in CI and local deployment due to the size of the VM. Since we achieved to "dockerize" all AGW services we should take advantage of those to replace the big Vagrant VM.
Jobs that currently use magma Vagrant VM:
The only tricky part is that we can't run OVS in a container due to the gtp patch and we'll have to run a sidecar. @jordanvrtanoski has already a solution in place (also correct me if I'm wrong I haven't checked the code yet)
Solution
The solution would be to magma AGW VM by docker containers in all the above job, this isn't an easy job since we have to make sure the "dockerized" AGW can run smoothly on CI nodes with the OVS sidecar and we also have different VMs for traffic and testing purposes that will also need to be converted to docker
What are the pros of doing that:
Cons:
Non-goals
None
Proposed roadmap
1 - Make sure the AGW can run smoothly locally in an Ubuntu VM with docker installed
2 - Start with that job .github/workflows/lte-integ-test-bazel-magma-deb.yml - Duplicate it, change the AGW to the dockerized one, make sure it runs smoothly for a week or two, kill the old job
3 - Tackle the other jobs listed above with the same process as #2
4 - Update documentation for local testing and development
5 - Be happy
The text was updated successfully, but these errors were encountered: