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

Revert "feat(agw): IPv6 data path support (#11926)" #12897

Merged
merged 1 commit into from Jun 2, 2022

Conversation

nstng
Copy link
Contributor

@nstng nstng commented Jun 2, 2022

This reverts commit 2eae88c.

Summary

looks like #11926 breaks the master build-all workflow - see https://github.com/magma/magma/runs/6704655581?check_suite_focus=true

Should #11926 be reverted for now?

Test Plan

Additional Information

  • This change is backwards-breaking

@nstng nstng requested review from a team June 2, 2022 08:57
@nstng nstng requested a review from a team as a code owner June 2, 2022 08:57
@pull-request-size pull-request-size bot added the size/L Denotes a Pull Request that changes 100-499 lines. label Jun 2, 2022
@nstng nstng requested a review from ulaskozat June 2, 2022 08:57
@github-actions github-actions bot added component: agw Access gateway-related issue component: ci All updates on CI (Jenkins/CircleCi/Github Action) labels Jun 2, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2022

Thanks for opening a PR! 💯

A couple initial guidelines

Howto

  • Reviews. The "Reviewers" listed for this PR are the Magma maintainers who will shepherd it.
  • Checks. All required CI checks must pass before merge.
  • Merge. Once approved and passing CI checks, use the ready2merge label to indicate the maintainers can merge your PR.

More info

Please take a moment to read through the Magma project's

If this is your first Magma PR, also consider reading

@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2022

feg-workflow

    2 files  202 suites   38s ⏱️
371 tests 371 ✔️ 0 💤 0
385 runs  385 ✔️ 0 💤 0

Results for commit fa3c855.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 2, 2022

dp-workflow

  2 files    2 suites   3m 14s ⏱️
15 tests 15 ✔️ 0 💤 0

Results for commit fa3c855.

@sebathomas
Copy link
Contributor

Looks like the job was green in the PR of #11926. Is it because it wasn't rebased?

@nstng
Copy link
Contributor Author

nstng commented Jun 2, 2022

Looks like the job was green in the PR of #11926. Is it because it wasn't rebased?

In build_all.yml the job agw-build is guared by github.repository_owner == 'magma'. It is only executed on master. (I assume it would be executed if a branch is created in magma and not on a fork.)

Copy link
Collaborator

@ssanadhya ssanadhya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's fix CI before merging this

@ssanadhya ssanadhya merged commit da4855c into magma:master Jun 2, 2022
@ssanadhya
Copy link
Collaborator

@pruthvihebbani , could you please look into this failure https://github.com/magma/magma/runs/6704655581?check_suite_focus=true from PR #11926 ? Specifically:

==> magma: Clearing any previously set network interfaces...
The IP address configured for the host-only network is not within the
allowed ranges. Please update the address used to be within the allowed
ranges and run the command again.
  Address: 3001::10
  Ranges: 192.168.0.0/16
Valid ranges can be modified in the /etc/vbox/networks.conf file. For
more information including valid format see:
 [ https://www.virtualbox.org/manual/ch06.html#network_hoston](https://www.virtualbox.org/manual/ch06.html#network_hostonly)

Did vagrant destroy magma and vagrant up magma work in your local setup? Did you have to modify /etc/vbox/networks.conf on your host machine before creating the new VM?

@pruthvihebbani
Copy link
Contributor

pruthvihebbani commented Jun 8, 2022

Yes I have destroyed multiple times in my local setup without making any other changes. It has always worked.

@ssanadhya
Copy link
Collaborator

Yes I have destroyed multiple times in my local setup without making any other changes. It has always worked.

@sebathomas , can you help debug this build failure? @pruthvihebbani needs to add Ipv6 network interfaces to magma_dev VM as part of #11926, by modifying the Vagrantfile. This is working in her local setup but not in CI.

@nstng
Copy link
Contributor Author

nstng commented Jun 8, 2022

@pruthvihebbani This can be reproduced locally with a newer virtualbox version. For me it failed with 6.1.34 and did not fail with 6.1.26. See https://stackoverflow.com/questions/70704093/the-ip-address-configured-for-the-host-only-network-is-not-within-the-allowed-ra. In the workflow files I checked this is setup for ipv4 in a step "Open up network interfaces for VM". I assume this needs be adapted for your ipv6 ip. Also iirc this is part of the gettin started documentation and should be adapted there too.

@pruthvihebbani
Copy link
Contributor

pruthvihebbani commented Jun 9, 2022

I upgraded vbox to version 6.1.34. I am still not able to reproduce the error. On my local Ubuntu 18.04 host I am able to successfully bringup magma_dev vm after destroying and also able to execute ipv6 data test. Does this mean this error is specific to macOS?
magma vm after vbox upgrade
image
image

@sebathomas
Copy link
Contributor

That's strange. Maybe you already have an entry in /etc/vbox/networks.conf in your local system?

@nstng
Copy link
Contributor Author

nstng commented Jun 9, 2022

Does this mean this error is specific to macOS?

I was able to reproduce it on Ubuntu 20.04 (and @jheidbrink on nixos).

@pruthvihebbani
Copy link
Contributor

In my local system /etc/vbox/ folder is empty. I dont have networks.conf this file at all.

@pruthvihebbani
Copy link
Contributor

Does this mean this error is specific to macOS?

I was able to reproduce it on Ubuntu 20.04 (and @jheidbrink on nixos).

Can you share the contents of /etc/vbox/networks.conf file? I will create it in my local system and check if I can recreate the issue

@nstng
Copy link
Contributor Author

nstng commented Jun 10, 2022

just for the record: discussion continued offline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: agw Access gateway-related issue component: ci All updates on CI (Jenkins/CircleCi/Github Action) size/L Denotes a Pull Request that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants