-
Notifications
You must be signed in to change notification settings - Fork 19
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
[READY] - reenable dhcpv6 kea and nixosTest core updates #762
Conversation
This reverts commit 214c377. Reenable dhcpv6 for the core role
Without explicitly overriding the network config for eth0 the core machine wasnt available extra config for the driverInteractive nixosTest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sarcasticadmin this is cool. I tested the following and confirmed all functional. Please let me know if there's a better method or if there is anything else I should confirm. 🚢 If not I'll go ahead and merge.
- Both build commands you specified work
- I didn't know a better way to test the ssh config so I did the following to confirm SSH is listening:
nix run .#checks.x86_64-linux.core.driverInteractive
once in the shell I didstart_all()
which booted all 3 vms. On the host I rannetstat -lan | grep 222 | grep LISTEN
and got the following output:
tcp 0 0 0.0.0.0:2222 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:2223 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:2224 0.0.0.0:* LISTEN
- Confirmed DHCP by reviewing the console output after boot and found this:
client1 # [ 104.848672] systemd-networkd[492]: eth1: DHCPv6 client: Sent Renew
client1 # [ 104.854158] systemd-networkd[492]: eth1: DHCPv6 client: Next retransmission in 9s
client1 # [ 104.861349] systemd-networkd[492]: eth1: DHCPv6 client: Processed Reply message
client1 # [ 104.864365] systemd-networkd[492]: eth1: DHCPv6 client: T1 expires in 1min 33s
client1 # [ 104.868636] systemd-networkd[492]: eth1: DHCPv6 client: T2 expires in 2min 17s
client1 # [ 104.872425] systemd-networkd[492]: eth1: DHCPv6 client: Valid lifetime expires in 5min
client1 # [ 104.876315] systemd-networkd[492]: eth1: DHCPv6 client: State changed: renew -> bound
client1 # [ 104.880296] systemd-networkd[492]: eth1: DHCPv6 address 2001:470:f026:103:d8c::1/128 (valid for 4min 59s, preferred for 3min 6s)
@kylerisse thanks for diving in and confirm the changes 🚀
You can connect to each node via
Nice, yes that's looking good! |
Description of PR
Relates to: #537 #753
Reenable the dhcpv6 server without any rpi specific tftpboot options. We will reenable the option when #753 and the rpi firmware supports it.
Previous Behavior
core
serverNew Behavior
core
serverdriverInteractive
specific config fornixosTest.core
to allow forssh
to each test vmdriverInteractive
graphics during testsTests
nix build .#checks.x86_64-linux.core.driverInteractive
works as expected for all vmsnix build .#checks.x86_64-linux.core
works