Page MenuHomeVyOS Platform
Feed All Stories

May 30 2020

c-po changed the status of T2530: Error creating VRF with a name of exactly 16 characters from Open to In progress.
May 30 2020, 9:13 AM · VyOS 1.3 Equuleus (1.3.0)
c-po changed Is it a breaking change? from none to compatible on T2531: Update Linux Kernel to v4.19.125.
May 30 2020, 8:59 AM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2531: Update Linux Kernel to v4.19.125 as Resolved.
May 30 2020, 8:58 AM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2531: Update Linux Kernel to v4.19.125.
May 30 2020, 8:56 AM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T2490: Add serial (rs232) to ssh bridge service.

In addition a show opmode command should be added to list all the USB serial stuff in a human friendly way

May 30 2020, 8:30 AM · VyOS 1.3 Equuleus (1.3.0)

May 29 2020

Raeven created T2530: Error creating VRF with a name of exactly 16 characters.
May 29 2020, 9:49 PM · VyOS 1.3 Equuleus (1.3.0)
c-po claimed T2529: WWAN: migrate from ttyUSB device to new device in /dev/serial/by-bus.
May 29 2020, 8:37 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2529: WWAN: migrate from ttyUSB device to new device in /dev/serial/by-bus.
May 29 2020, 8:37 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T2490: Add serial (rs232) to ssh bridge service.

Completion helper:

May 29 2020, 8:36 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T2490: Add serial (rs232) to ssh bridge service.
vyos@vyos:~$ find /dev/serial/by-bus/ -name usb* -exec basename {} \; | sort
usb0b1.3p1.0
usb0b1.3p1.2
usb0b1.3p1.3
usb0b2.4p1.0
usb0b2.4p1.1
usb0b2.4p1.2
usb0b2.4p1.3
May 29 2020, 8:22 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) changed the status of T2000: strongSwan does not install routes to table 220 in certain cases from In progress to Needs testing.
May 29 2020, 6:21 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po closed T2528: "update dns dynamic" throws FileNotFoundError excepton as Resolved.
May 29 2020, 6:14 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po moved T2528: "update dns dynamic" throws FileNotFoundError excepton from Need Triage to Finished on the VyOS 1.3 Equuleus board.
May 29 2020, 6:14 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po moved T2342: Bridge l2tpv3 + ethX errors from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.6) board.
May 29 2020, 6:13 PM · VyOS 1.2 Crux (VyOS 1.2.6)
c-po moved T1982: Increase rotation for atop.acct from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.6) board.
May 29 2020, 6:13 PM · VyOS 1.2 Crux (VyOS 1.2.6)
c-po moved T1291: Under certain conditions the VTI will stay forever down from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.6) board.
May 29 2020, 6:13 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po moved T103: DHCP server prepends shared network name to hostnames from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.6) board.
May 29 2020, 6:13 PM · VyOS 1.2 Crux (VyOS 1.2.6)
c-po moved T2528: "update dns dynamic" throws FileNotFoundError excepton from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.6) board.
May 29 2020, 6:13 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po added a project to T2528: "update dns dynamic" throws FileNotFoundError excepton: VyOS 1.2 Crux (VyOS 1.2.6).
May 29 2020, 6:09 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po changed the status of T2528: "update dns dynamic" throws FileNotFoundError excepton from Open to In progress.
May 29 2020, 6:00 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po created T2528: "update dns dynamic" throws FileNotFoundError excepton.
May 29 2020, 6:00 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

If you think it's possible to delay dhcp6c, I'll start making patches.

May 29 2020, 4:57 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

@c-po @gadams I have a remedy in mind. Can I use the delay command to execute the delay startup in the startup service file?

May 29 2020, 4:54 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

@CRCinAU @c-po I have already submitted a PR, to repair the problems caused by the first load after boot, because the interface has not yet been initialized, but this completely depends on the automatic restart of systemctl for fault recovery. I think this is not enough. It is natural to recover from the failure, but if there is a mechanism and processing, it would be better to postpone it until all interfaces have been initialized.

May 29 2020, 2:40 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

@gadams Is there any way to dynamically increase the dependency list in vyos's current configuration?

May 29 2020, 2:36 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

There is no error in the configuration itself, and the key is the first boot load when rebooting. In this case, some of the interfaces are not initialized.

May 29 2020, 2:20 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
CRCinAU added a comment to T421: Add Pv6 prefix delegation support.

So - just to refocus for a minute...

May 29 2020, 1:15 AM · VyOS 1.3 Equuleus (1.3.0-epa1)

May 28 2020

gadams added a comment to T421: Add Pv6 prefix delegation support.

@c-po if the interface dependency system that @jjakob describes works as I might imagine, then perhaps it's just a matter of adding the interfaces that appear in prefix-delegation configs to the dependency lists. (There would be some subtleties dealing with things like vifs within an interface, but that can be sorted out.)

May 28 2020, 10:05 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T421: Add Pv6 prefix delegation support.
In T421#65476, @gadams wrote:

Recovery from failures does seem generally desirable, but it would also be preferable to discover errors in configuration while in conf code. For this reason, it seems like the best way to handle this would be to defer starting dhcp6c until the very end of configuring all the interfaces, if that's possible. Is there a mechanism already to do this, or should I look into restructuring things slightly.

May 28 2020, 9:41 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po closed T1291: Under certain conditions the VTI will stay forever down as Resolved.
May 28 2020, 9:31 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po edited projects for T1291: Under certain conditions the VTI will stay forever down, added: VyOS 1.2 Crux (VyOS 1.2.6); removed Ready for Crux (1.2.x).
May 28 2020, 9:30 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

I've been trying to find the ultimate solution to this problem, and it seems that the best solution is to postpone dhcp6c until the end of all interfaces to start it. Before that. I have done enough testing, and the previous comments in the error log have been released.

May 28 2020, 9:19 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

@jjakob I understand what you mean, so let me explain to you carefully. Over the past two days, I have been trying to find out why the first automatic startup of dhcp6c fails (this is usually due to the automatic call when vyos automatically loads the configuration). At present, the root cause has been determined. I just call dhcp6c manually by the script of vyos, and I also understand this process, but because of the particularity of prefix delegation, such as my case, When pppoe completes the call to execute dhcp6c@pppoe0 execution prefix delegation, I give the prefix to br1 and br2, respectively, which are not created at the startup of their pppoe0 and dhcp6c@pppoe0, so the dhcp6c launcher will fail. I currently have a pudding configuration that when the vyos script manually invokes and starts dhcp6c and fails, it restarts at regular intervals until the service runs or the user stops it manually. But this is far from enough, it only depends on the recovery from the failure of the systemctl startup service to complete the recovery operation. As @gadams said, due to the particularity of dhcp6c's configuration file, when its prefix is delegated, its dependency will change from configuration to change, and its behavior allows it to depend on all interfaces. Therefore, it is a good idea to postpone the startup of dhcp6c to the last call (please note that fault exploration has been completed, the root cause of this failure has been determined, and its temporary patch configuration has been tested in the local environment. Therefore, we can first approve the patch configuration merge, and then discuss the issues related to the postponement of dhcp6c)

May 28 2020, 9:09 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jjakob added a comment to T421: Add Pv6 prefix delegation support.

I haven't looked at how dhcp6c gets started currently. VyOS uses systemd to manage the services, but none of them should be set to enabled, they're all started manually via VyOS scripts. It's possible it's done differently in this case, I'm not going to speculate on something I don't know. I assumed it got started the same, when the interface script starts it.
On the dependency problem, I don't know how dhcp6c behaves when it's started with configured nonexistent interfaces. If it does cause a failure to start, that is an issue that needs to be fixed via another way. I'm not the implementer of this code so I'm not going to speculate on the best way to do it.

May 28 2020, 8:48 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jjakob added a comment to T2515: Ethernet interface is automatically disabled when removing it from bond.

That's basically re-implementing and duplicating code from the ethernet script. It would work for bonding and for the link-local, but I'm thinking there may be other attributes that enslaving it to a bond (or bridge) may have changed (MTU?) that I don't know if they're changed back by the kernel after unenslaving it. It would quickly become a kludge.
You'd also need to do the same in the bridge interface, but there there can be any interface type enslaved, so you'd need to first get the interfaces config path (via Section). You'd end up with 2 pieces of code that are slightly different that duplicate code from the interface scripts (rather I think it's been moved into configdict.intf_from_dict).
It is possible, but I don't like it at all.

May 28 2020, 8:38 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) renamed T2515: Ethernet interface is automatically disabled when removing it from bond from IPv6 link-local address is gone after removing the interfaces from bond to Ethernet interface is automatically disabled when removing it from bond.
May 28 2020, 8:37 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) added a comment to T2515: Ethernet interface is automatically disabled when removing it from bond.

I just did a few more tests and the reason why IPv6 is gone is that the interface is being automatically disabled after it leaves bond membership. I will change the description accordingly.

May 28 2020, 8:34 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

Of course, if there is a better way to solve this problem, you are welcome to put forward

May 28 2020, 8:17 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

When using dhcp6c for prefix delegation fetch, it can rely on any interface and should be called after all interfaces have finished starting

May 28 2020, 8:09 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

Because it is impossible to determine the user's dependence on the configuration interface of dhcp6c, the dependency problem has already occurred, which will cause the startup program of dhcp6c to fail after rebooting the system. I have made a patch configuration so that dhcp6c, can be restarted indefinitely in the event of failure, but this is still not the best way. Of course, the best solution may be to postpone the startup priority of dhcp6c.

May 28 2020, 8:06 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jjakob added a comment to T421: Add Pv6 prefix delegation support.

Sure, a new task would be very welcome so there's less spam in this task.
Why do you want to postpone dhcp6c startup? All the requirements and dependencies are there when the interface scripts start it. The interface is brought up before it's started. Other than waiting for a pppoe connection, yes, that would be worthwile. Each interface script has a priority so that other interfaces they depend on are configured before the one that depends on them, that's set in the priority tag in the XML definitions and done by vyatta-cfg. They're started sequentially by their priority value, not all at once.

May 28 2020, 7:55 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
Unknown Object (User) added a comment to T2515: Ethernet interface is automatically disabled when removing it from bond.

@jjakob, thanks for your opinion. What if we just add a couple of lines into the apply() function in the interfaces-bonding.py:
https://github.com/vyos/vyos-1x/compare/current...L6NqLW:T2515?expand=1

May 28 2020, 7:51 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

Because I need to recover the fault first, so I made a patch. After all, I don't have a good way to postpone its processing.

May 28 2020, 7:40 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

I think this problem can consider setting up a new task list and studying how to postpone the processing of this. Fault recovery is usually desirable, but we should not push all possible priority-induced failures to recovery in the fault.

May 28 2020, 7:39 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

I still think the failure recovery mechanism needs to exist, but I agree with you. I think we should postpone the startup mechanism of dhcp6c until all interfaces have been initialized. A better idea is to execute dhcp6c processing uniformly after all interfaces have been initialized.

May 28 2020, 7:35 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
gadams added a comment to T421: Add Pv6 prefix delegation support.

Recovery from failures does seem generally desirable, but it would also be preferable to discover errors in configuration while in conf code. For this reason, it seems like the best way to handle this would be to defer starting dhcp6c until the very end of configuring all the interfaces, if that's possible. Is there a mechanism already to do this, or should I look into restructuring things slightly.

May 28 2020, 7:32 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

Please merge this fix.

May 28 2020, 4:47 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

https://github.com/vyos/vyos-1x/pull/438

May 28 2020, 4:47 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

The repair settings take effect on tests in the local environment.

May 28 2020, 4:37 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

@gadams Yes, I thought that since the system CTL automatic restart failed, I might need to write a script to perform the automatic recovery. Now it doesn't seem necessary. I will modify its service file.

May 28 2020, 4:36 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

OK, I have found the best recovery. I will submit PR immediately. I will modify the service settings of systemctl and use its failure to restart automatically to fix the problem. When dhcp6c service fails to start, it will restart according to the preset settings.

May 28 2020, 4:35 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
gadams added a comment to T421: Add Pv6 prefix delegation support.

Something else I realized last night: In general, it's not safe to start dhcp6c before all interfaces are configured, as long as PD is specified (whether 'address dhcpv6' is specified). That's because the prefix-delegation stanza can refer to any other interface on the system--even ones that haven't been set up, yet. That might include vif interfaces (such as I noticed last night) or any other virtual interface, like br or tun.

May 28 2020, 4:35 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T421: Add Pv6 prefix delegation support.

@gadams it makes no sense to use this as a catch-all thread. New requests/bugs should go into dedicated tasks.

May 28 2020, 4:32 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
gadams added a comment to T421: Add Pv6 prefix delegation support.

@jjakob Yes, exactly my thoughts, and what my last pull request starts. I'll try to catch the remaining cases later this evening my time (in 12 hours or so). I can imagine one case that might be a little tricky.

May 28 2020, 4:24 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po closed T2523: Upgrade from 1.2.5 to 1.3-rolling-202005261512 results in broken network config on second boot as Invalid.
May 28 2020, 3:39 PM · VyOS 1.3 Equuleus (1.3.3)
c-po added a comment to T2523: Upgrade from 1.2.5 to 1.3-rolling-202005261512 results in broken network config on second boot.

Yes there have been issues with interface naming in the past. Hopefully they are finally resolved in 1.3 now.

May 28 2020, 3:39 PM · VyOS 1.3 Equuleus (1.3.3)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

In general, there are several solutions:
a) Add the CLI option of auto repair daemons, and rely on cron to execute the repair program. In case of service failure, the service can be restarted automatically
b) Find the only way to solve the problem thoroughly
Generally, I prefer a + b, so that when the service fails to start in a single time, the daemons can complete the recovery execution.
But it's just an idea. If you have any other suggestions, please let me know.

May 28 2020, 2:05 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
Unknown Object (User) added a comment to T945: Unable to change configuration after changing it from script (vbash + script-template).

@zsdc can you try to reproduce this issue on 1.3 rollings or on 1.2.5? I can't reach this behavior.

May 28 2020, 12:10 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
Unknown Object (User) changed the status of T2000: strongSwan does not install routes to table 220 in certain cases from Confirmed to In progress.
May 28 2020, 11:57 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
Unknown Object (User) added a comment to T2000: strongSwan does not install routes to table 220 in certain cases.

PR added https://github.com/vyos/vyatta-cfg-vpn/pull/33.

vyos@vyos# commit
[ vpn ]
Warning: local prefix 192.168.34.0/24 specified for peer "192.168.50.2"
is not configured on any interfaces
May 28 2020, 11:56 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
Unknown Object (User) edited projects for T2517: vyos-container: link_filter: No such file or directory, added: VyOS 1.2 Crux (VyOS 1.2.6); removed VyOS 1.2 Crux.
May 28 2020, 11:25 AM · VyOS 1.2 Crux (VyOS 1.2.6)
Unknown Object (User) changed the status of T2517: vyos-container: link_filter: No such file or directory from Open to In progress.

PR https://github.com/vyos/vyatta-cfg-quagga/pull/48
Also added the second commit which fixes the path to zebra daemon

May 28 2020, 11:25 AM · VyOS 1.2 Crux (VyOS 1.2.6)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

I try to manually modify the contents of /etc/ppp/ipv6-up.d/1000-vyos-pppoe-pppoe0 , and change the following commands:

May 28 2020, 10:54 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
jjakob added a comment to T421: Add Pv6 prefix delegation support.

@gadams I agree it's confusing, to change the syntax isn't hard, we just have to choose the best user-friendly syntax and behavior. It can be even accomplished without changing the syntax, by:
a) if 'dhcpv6-options delegate' is set, do the same as for 'parameters-only', plus start dhclient by add_addr('dhcpv6')
or
b) start dhclient if either 'dhcpv6-parameters' or 'address dhcpv6' is set but only assign an address in the 'address dhcpv6' case, may be the simplest option.

May 28 2020, 9:52 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
gadams added a comment to T421: Add Pv6 prefix delegation support.

Ah, I think I see what you, @tbr and @jjakob are getting at. If I want to do DHCPv6-PD, then I need to start the daemon. But if I don't want an address using the protocol, then I can explicitly turn it off.

May 28 2020, 9:38 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
danhusan added a comment to T2523: Upgrade from 1.2.5 to 1.3-rolling-202005261512 results in broken network config on second boot.

Reworking my config so that it uses eth0->eth3 instead of eth1->eth4 makes everything work as expected. So something has clearly changed regarding the interface naming/creation logic.

May 28 2020, 9:27 AM · VyOS 1.3 Equuleus (1.3.3)
gadams added a comment to T421: Add Pv6 prefix delegation support.

@jjakob Yes, I tried dhcpv6-options parameters-only; it had no effect. I did not try 'address dhcpv6' simply because that doesn't seem like a great configuration. But it would have been worth testing, anyway. And while that would have been good to test, it would be a pretty awkward an unexpected workaround for regular users to think of it.

May 28 2020, 9:10 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
jjakob added a comment to T421: Add Pv6 prefix delegation support.

@gadams have you tried the above 2 settings: 'address dhcpv6' and 'dhcpv6-options parameters-only' without your patch to see if the client doesn't assign an address in that case?

May 28 2020, 8:53 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
gadams added a comment to T421: Add Pv6 prefix delegation support.

I have sent a pull request: https://github.com/vyos/vyos-1x/pull/437

May 28 2020, 8:41 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
jjakob added a comment to T421: Add Pv6 prefix delegation support.

@tbr thanks for clarifying that, I agree. So the way to do that would be to set 'address dhcpv6' and 'dhcpv6-options parameters-only'. That is slightly confusing at first, as the combination of those 2 options shouldn't actually assign an address. I haven't tried it but that's how I expect it should work, I don't use PD currently. If it does work my comments regarding new methods in scripts are entirely unneeded.

May 28 2020, 8:37 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
jjakob added a comment to T2515: Ethernet interface is automatically disabled when removing it from bond.

This is difficult to solve with the current config syntax where the bond and bridge members are under the bonding and bridge nodes. When modifying bond or bridge members, only interfaces-bonding.py or interfaces-bridge.py is called, which can't modify the interfaces themselves, as all the interface logic (adding and deleting addresses) is in the interface script itself (e.g. interfaces-ethernet.py). The thing that says which script to run is the owner attribute of the interface node, which is ran by vyatta-cfg scripts on commit.

May 28 2020, 8:30 AM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2527: bonding: the last slave interface is not deleted.
May 28 2020, 8:27 AM · VyOS 1.3 Equuleus (1.3.0)
tbr added a comment to T421: Add Pv6 prefix delegation support.

Just my input: It seems there is some confusion about what DHCPv6-PD actually is. And this reflects in the endless discussions and questions here in the thread...

May 28 2020, 8:17 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
jjakob added a comment to T421: Add Pv6 prefix delegation support.

Maybe we should add new methods to the Interface or DHCP class to allow starting just DHCPv6-PD without assigning an address to it? The way it's done now is by assigning an address with the value "dhcpv6" to the interface through the add/del_addr methods of Interface class. There needs to be a separate method for DHCPv6-PD without addressing (and generate a dhcpc config that doesn't assign the address, of course).

May 28 2020, 8:03 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
gadams added a comment to T421: Add Pv6 prefix delegation support.

Aha! Thanks, @c-po. As I suspected, there is an assumption in ifconfig/interface.py that the DHCPv6 client need not be started if we're not getting our address via DHCPv6, which of course is not the case, here.

May 28 2020, 6:27 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

@gadams In my environment, oddly enough, after a reboot dhcp6c@pppoe0 Restart PPPoE 0 by using the vyos command or use systemctl to query and find that the service is manually restarted dhcp6c@pppoe0 Before that, the service was in a failed state and the Restart field of the service did not work. During the configuration loading process after system restart, I cannot make it start normally

May 28 2020, 5:44 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T421: Add Pv6 prefix delegation support.

https://github.com/vyos/vyos-1x/blob/current/python/vyos/ifconfig/dhcp.py#L113

May 28 2020, 5:43 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
gadams added a comment to T421: Add Pv6 prefix delegation support.

I'm sorry to say that with the current rolling release, still no dhcp6c is started when I add the PD configuration. Here is my test config:

May 28 2020, 5:37 AM · VyOS 1.3 Equuleus (1.3.0-epa1)

May 27 2020

Unknown Object (User) changed the status of T2527: bonding: the last slave interface is not deleted from Open to Confirmed.
May 27 2020, 8:53 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) changed the status of T2515: Ethernet interface is automatically disabled when removing it from bond from Open to Confirmed.
May 27 2020, 8:53 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2397: HTTP API: export OpenAPI definition.

Test package for 'vyos-api-tools' here:
https://github.com/jestabro/vyos-api-tools

May 27 2020, 8:26 PM · VyOS 1.4 Sagitta
c-po added a comment to T2490: Add serial (rs232) to ssh bridge service.

During testing I've found that there is a well known problem (we had for ethernet interfaces) also in the serial ports. They can be enumerated and mapped to /dev/ttyUSBxxx differently from boot to boot. This is especially painful on my development APU4 board which also has a Sierra Wireless MC7710 LTE module installed which operates via ttyUSB2 (when no serial console cable is attached) - on subsequent boots this can become ttyUSB3 or depending on the number of FT232 dongles I attach.

May 27 2020, 8:21 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) claimed T2527: bonding: the last slave interface is not deleted.
May 27 2020, 8:10 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) created T2527: bonding: the last slave interface is not deleted.
May 27 2020, 8:10 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2526: Wake-On-Lan CLI implementation.
May 27 2020, 8:06 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
jestabro closed T2396: Add debian package for flask-restx, a subtask of T2395: HTTP API move to flask/flask-restx as microframework, as Invalid.
May 27 2020, 7:28 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2396: Add debian package for flask-restx as Invalid.

Dependency dropped.

May 27 2020, 7:28 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro removed a parent task for T2397: HTTP API: export OpenAPI definition: T2395: HTTP API move to flask/flask-restx as microframework.
May 27 2020, 7:27 PM · VyOS 1.4 Sagitta
jestabro removed a subtask for T2395: HTTP API move to flask/flask-restx as microframework: T2397: HTTP API: export OpenAPI definition.
May 27 2020, 7:27 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2395: HTTP API move to flask/flask-restx as microframework as Resolved.

The dependency on flask-restx was dropped, in favor of FastAPI. The move to Flask itself for stability was completed,

May 27 2020, 7:27 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro changed the status of T2397: HTTP API: export OpenAPI definition, a subtask of T2395: HTTP API move to flask/flask-restx as microframework, from In progress to Needs testing.
May 27 2020, 7:14 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro changed the status of T2397: HTTP API: export OpenAPI definition from In progress to Needs testing.

The dependencies, such as FastAPI, are to be collected in the debian package 'vyos-api-tools'. Screenshot of the redoc page below:

oas_screen.png (612×1 px, 62 KB)

May 27 2020, 7:14 PM · VyOS 1.4 Sagitta
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

@c-po It has to be said that this is really a troublesome problem. I'm still stuck in fault exploration, rather than making patches. Therefore, there may be some assumptions and verification processes, but it's really troublesome. When the system is restarted, the automatic operation of the service will fail, and I have to restart the service manually.

May 27 2020, 4:21 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

@c-po Strangely, after rebooting the system, I specifically dhcp6c@pppoe0 Query and find that this service is manually restarted by using the vyos command to restart PPPoE 0 or by using systemctl dhcp6c@pppoe0 Before, this service was in failure status, and your Restart field of the service didn't work. I can't make it start normally during the configuration loading process after the system is restarted 。

May 27 2020, 4:18 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T421: Add Pv6 prefix delegation support.

@gadams your mentioned problem is already fixed in the latest rolling image

May 27 2020, 4:01 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po added a comment to T421: Add Pv6 prefix delegation support.

@jack9603301 your assumptions are invalid. I have a fully reboot-save PPPoE setup. Please stop making wrong assumptions! and search the code properly!

May 27 2020, 4:00 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
Viacheslav added a comment to T2389: BGP community-list unknown command.

Bug with FRRouting 7.3.1

May 27 2020, 1:41 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
Viacheslav added a comment to T2512: vyatta-op-quagga [show ip] to XML format.

PR https://github.com/vyos/vyos-1x/pull/435

May 27 2020, 12:13 PM · VyOS 1.3 Equuleus (1.3.0)
jack9603301 added a comment to T421: Add Pv6 prefix delegation support.

@c-po Trace the problem that the system cannot automatically perform prefix delegation after restarting:

May 27 2020, 11:36 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
jjakob added a comment to T2524: Restarting vyos-router.service breaks router.

ps afx shows frr processes still running. systemctl stop vyos-router; pkill -f '*.frr*.'; systemctl start vyos-router makes vyos-router start successfully, but with these errors:

May 27 2020, 11:35 AM · VyOS 1.3 Equuleus (1.3.3)