Page MenuHomeVyOS Platform
Feed Search

May 1 2020

c-po added a comment to T2130: XML schema: add valueHelp support in op-mode definitions..

The following adds support into the XML generation but I have no clue about vyatta-cfg how those files get executed.

May 1 2020, 7:34 AM · VyOS Rolling, Restricted Project
c-po added a comment to T2130: XML schema: add valueHelp support in op-mode definitions..

Presumably a val_help line in the op-mode node.def, too

May 1 2020, 7:20 AM · VyOS Rolling, Restricted Project
c-po added a comment to T2129: XML schema: tagNode not allowed on first level in new XML op-mode definition.

Tested good - migrating traceroute now

May 1 2020, 7:06 AM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2129: XML schema: tagNode not allowed on first level in new XML op-mode definition from Open to Blocked.
May 1 2020, 7:06 AM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2198: Rewrite NAT in new XML/Python style from Open to In progress.
May 1 2020, 7:04 AM · VyOS 1.3 Equuleus (1.3.0)

Apr 30 2020

jestabro added a comment to T2409: At boot, effective config should not be equal to current config.

On boot, the existing config file is committed.

Apr 30 2020, 11:40 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob triaged T2410: Unify addressing and options of dummy and other interfaces as Wishlist priority.
Apr 30 2020, 11:03 PM
jjakob added a comment to T2409: At boot, effective config should not be equal to current config.

Right. In my opinion it would be necessary to change that.

Apr 30 2020, 10:58 PM · VyOS 1.3 Equuleus (1.3.0)
syncer added a project to T2408: DHCP Relay upstream and downstream interfaces: VyOS 1.3 Equuleus.
Apr 30 2020, 10:10 PM · VyOS 1.4 Sagitta
jestabro added a comment to T2409: At boot, effective config should not be equal to current config.

Definition of effective is here:

Apr 30 2020, 8:28 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob triaged T2409: At boot, effective config should not be equal to current config as Normal priority.
Apr 30 2020, 7:56 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) added a comment to T1276: dhcp relay + VLAN fails.

Enhancement created.
Question to ISC submitted (https://gitlab.isc.org/isc-projects/dhcp/-/issues/104)

Apr 30 2020, 7:49 PM · VyOS 1.3 Equuleus (1.3.5), VyOS 1.4 Sagitta, test
jestabro edited projects for T2397: HTTP API: export OpenAPI definition, added: VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.
Apr 30 2020, 7:07 PM · VyOS 1.4 Sagitta
jestabro edited projects for T2396: Add debian package for flask-restx, added: VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.
Apr 30 2020, 7:07 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro edited projects for T2395: HTTP API move to flask/flask-restx as microframework, added: VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.
Apr 30 2020, 7:06 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) added a comment to T1276: dhcp relay + VLAN fails.

@ddiguru
I confirm all the issues that you have observed. I was able to reproduce them in the both our LTS and currect rolling releases.

  1. Issue with a wrong giaddr address. This sounds like a bug in the isc-dhp-relay package. Fortunately, those extra packets with a wrong giaddr address could be eliminated in newer versions by using "-id" and "-iu" instead of muliple "-i" options. isc-dhcp-relay allows for this since v4.3.5. I will create a Feature Request to modify the VyOS config syntax and isc-dhcp-relay config file accordingly. In the meantime I will try to confirm with ISC people that this indeed is a bug.
  2. Issue with duplicate packets. isc-dhp-relay seems to unnecessarily relay unicast packets (I have no idea why it does so). That's why you see all unicast packets doubled. Looks like another bug :) The good news is that it is more cosmetic issue. I already submitted the ticket for it (https://gitlab.isc.org/isc-projects/dhcp/-/issues/102)
Apr 30 2020, 7:04 PM · VyOS 1.3 Equuleus (1.3.5), VyOS 1.4 Sagitta, test
jjakob placed T2198: Rewrite NAT in new XML/Python style up for grabs.
Apr 30 2020, 5:35 PM · VyOS 1.3 Equuleus (1.3.0)
c-po reassigned T2406: DHCPv6 CLI improvements from c-po to Unknown Object (User).
Apr 30 2020, 4:23 PM · VyOS 1.3 Equuleus (1.3.0), Restricted Project
c-po added a project to T2406: DHCPv6 CLI improvements: Restricted Project.
Apr 30 2020, 3:44 PM · VyOS 1.3 Equuleus (1.3.0), Restricted Project
c-po changed the status of T2406: DHCPv6 CLI improvements from Open to In progress.
Apr 30 2020, 3:41 PM · VyOS 1.3 Equuleus (1.3.0), Restricted Project
c-po updated the task description for T2406: DHCPv6 CLI improvements.
Apr 30 2020, 3:13 PM · VyOS 1.3 Equuleus (1.3.0), Restricted Project
c-po created T2406: DHCPv6 CLI improvements.
Apr 30 2020, 3:01 PM · VyOS 1.3 Equuleus (1.3.0), Restricted Project
syncer raised the priority of T94: commit archive to AWS S3 from Wishlist to Low.
Apr 30 2020, 12:44 PM · VyOS Rolling
syncer triaged T2405: commit archive to GIT as Low priority.
Apr 30 2020, 12:43 PM · VyOS 1.5 Circinus, VyOS 1.4 Sagitta
syncer reassigned T139: Commit archive backends from dmbaturin to Viacheslav.
Apr 30 2020, 12:43 PM · VyOS Rolling
syncer added a parent task for T2405: commit archive to GIT: T139: Commit archive backends.
Apr 30 2020, 12:33 PM · VyOS 1.5 Circinus, VyOS 1.4 Sagitta
syncer added a subtask for T139: Commit archive backends: T2405: commit archive to GIT.
Apr 30 2020, 12:33 PM · VyOS Rolling
michal_iwanczuk created T2405: commit archive to GIT.
Apr 30 2020, 12:30 PM · VyOS 1.5 Circinus, VyOS 1.4 Sagitta
michal_iwanczuk created T2404: Cannot change MTU.
Apr 30 2020, 12:27 PM · VyOS 1.3 Equuleus (1.3.6)
zsdc changed the status of T2403: Full support for networking config in Cloud-init from Open to In progress.
Apr 30 2020, 9:47 AM · VyOS 1.3 Equuleus (1.3.0)
zsdc created T2403: Full support for networking config in Cloud-init.
Apr 30 2020, 9:47 AM · VyOS 1.3 Equuleus (1.3.0)
kroy closed T2402: Live ISO should warn when configuring that changes won't persist as Unknown Status.
Apr 30 2020, 4:58 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
kroy claimed T2402: Live ISO should warn when configuring that changes won't persist.
Apr 30 2020, 4:57 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
kroy added a comment to T2402: Live ISO should warn when configuring that changes won't persist.

This PR should address this simple usability enhancement

Apr 30 2020, 4:57 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
kroy created T2402: Live ISO should warn when configuring that changes won't persist.
Apr 30 2020, 4:54 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)

Apr 29 2020

jjakob added a comment to T2241: Changing settings on an interface causes it to fall out of bridge.

I found that it was due to set_vrf which uses the same master/nomaster commands that bridge uses. I'm adding checks and conditions to all interfaces to prevent that - raise ConfigError if both are set, and only set_vrf if vrf is set. The prior idea I had with re-adding the interface to the bridge at the end isn't necessary in this case, but for other interface types, where the interface itself is deleted and recreated, re-adding it is still necessary. The PR should be ready for initial review tomorrow.

Apr 29 2020, 10:14 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2399: op-mode "dhcp client leases" does not return leases as Resolved.
Apr 29 2020, 5:35 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2398: op-mode "dhcp client leases interface" completion helper misses interfaces as Resolved.
Apr 29 2020, 2:28 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po moved T2398: op-mode "dhcp client leases interface" completion helper misses interfaces from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.6) board.
Apr 29 2020, 2:27 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
elbandi created T2400: OpenVPN: dont restart server if no need.
Apr 29 2020, 2:09 PM · VyOS 1.3 Equuleus ( 1.3.1)
c-po changed the status of T2399: op-mode "dhcp client leases" does not return leases from Open to In progress.
Apr 29 2020, 1:36 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2399: op-mode "dhcp client leases" does not return leases.
Apr 29 2020, 1:36 PM · VyOS 1.3 Equuleus (1.3.0)
c-po updated the task description for T2398: op-mode "dhcp client leases interface" completion helper misses interfaces.
Apr 29 2020, 1:26 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po created T2398: op-mode "dhcp client leases interface" completion helper misses interfaces.
Apr 29 2020, 1:20 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po added a comment to T2268: DHCPv6 is broken.

Resolved with T2393

Apr 29 2020, 1:07 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2268: DHCPv6 is broken as Resolved.
Apr 29 2020, 1:07 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2393: dhclient: migrate from SysVinit to systemd as Resolved.
Apr 29 2020, 1:07 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2394: dhcpv6 client does not start, a subtask of T2393: dhclient: migrate from SysVinit to systemd, as Resolved.
Apr 29 2020, 1:07 PM · VyOS 1.3 Equuleus (1.3.0)
c-po closed T2394: dhcpv6 client does not start as Resolved.
Apr 29 2020, 1:07 PM · VyOS 1.3 Equuleus (1.3.0)

Apr 28 2020

Unknown Object (User) closed T1227: rip PW can't be set at interface config as Resolved.

This is solved in both the current LTS and rolling releases.

Apr 28 2020, 7:50 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
thomas-mangin added a comment to T2394: dhcpv6 client does not start.

I had already reported before my refactor of the code that DHCPv6 does not work.
https://phabricator.vyos.net/T2268

Apr 28 2020, 6:53 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2394: dhcpv6 client does not start.

http://man7.org/linux/man-pages/man8/start-stop-daemon.8.html

EXIT STATUS
Apr 28 2020, 6:47 PM · VyOS 1.3 Equuleus (1.3.0)
c-po renamed T2394: dhcpv6 client does not start from DHCPv6 broken to dhcpv6 client does not start.
Apr 28 2020, 6:16 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2394: dhcpv6 client does not start from Open to In progress.
Apr 28 2020, 5:36 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2394: dhcpv6 client does not start, a subtask of T2393: dhclient: migrate from SysVinit to systemd, from Open to In progress.
Apr 28 2020, 5:36 PM · VyOS 1.3 Equuleus (1.3.0)
c-po claimed T2394: dhcpv6 client does not start.
Apr 28 2020, 5:36 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2394: dhcpv6 client does not start.
Apr 28 2020, 5:36 PM · VyOS 1.3 Equuleus (1.3.0)
c-po changed the status of T2393: dhclient: migrate from SysVinit to systemd from Open to In progress.
Apr 28 2020, 4:22 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2393: dhclient: migrate from SysVinit to systemd.
Apr 28 2020, 4:22 PM · VyOS 1.3 Equuleus (1.3.0)
c-po moved T2131: Improve syslog remote host CLI definition from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.6) board.
Apr 28 2020, 3:45 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po added a project to T2131: Improve syslog remote host CLI definition: VyOS 1.2 Crux (VyOS 1.2.6).
Apr 28 2020, 3:45 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po moved T2385: salt-minion: improve completion helpers from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.6) board.
Apr 28 2020, 3:40 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po added a project to T2385: salt-minion: improve completion helpers: VyOS 1.2 Crux (VyOS 1.2.6).
Apr 28 2020, 3:39 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
jjakob added a comment to T2184: OpenVPN op_mode tools broken.

Wrong location of status file - it was moved to /run/openvpn

Apr 28 2020, 12:02 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2184: OpenVPN op_mode tools broken.
vyos@vyos:~$ show interfaces openvpn vtun1
vtun1: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 100
    link/none
    inet 127.0.0.1 peer 10.255.1.2/32 scope host vtun1
       valid_lft forever preferred_lft forever
    inet6 fe80::a6ba:dc03:94c5:6b42/64 scope link stable-privacy
       valid_lft forever preferred_lft forever
Apr 28 2020, 10:58 AM · VyOS 1.3 Equuleus (1.3.0)
zsdc assigned T1276: dhcp relay + VLAN fails to Unknown Object (User).
Apr 28 2020, 9:39 AM · VyOS 1.3 Equuleus (1.3.5), VyOS 1.4 Sagitta, test
zsdc reassigned T1227: rip PW can't be set at interface config from zsdc to Unknown Object (User).
Apr 28 2020, 9:36 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
Unknown Object (User) closed T2021: OSPFv3 doesn't support decimal area syntax as Unknown Status.
Apr 28 2020, 9:03 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
thomas-mangin added a comment to T2184: OpenVPN op_mode tools broken.

@jjakob sorry for wasting your time here :-( I will try to replicate.

Apr 28 2020, 8:57 AM · VyOS 1.3 Equuleus (1.3.0)

Apr 27 2020

c-po closed T2010: Reboot at reports wrong time or missing timezone as Resolved.
Apr 27 2020, 8:03 PM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T2010: Reboot at reports wrong time or missing timezone.

Nice catch - I was not aware of that show command.

Apr 27 2020, 8:03 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) closed T1381: Enable DHCP option 121 processing as Resolved.

The issue has been solved by the above merge.

Apr 27 2020, 7:26 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2184: OpenVPN op_mode tools broken.

They're still broken here. Maybe a different bug. It would be nice to switch to 'status-version' 2 or 3 too for more info.

vyos@rt-home:~$ show openvpn server
Apr 27 2020, 7:20 PM · VyOS 1.3 Equuleus (1.3.0)
primoz created T2392: SSTP with ipv6.
Apr 27 2020, 3:24 PM · VyOS 1.3 Equuleus (1.3.0), Restricted Project
Viacheslav added a comment to T1899: Unionfs metadata folder is copied to the active configuration directory.

How I reproduce it.

Apr 27 2020, 3:11 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2390: unify the chmod_ function of VyOS.

To explain the permission for the user/group/world are expressed in octal (3 bits) so 755 is binary for 111 101 101

Apr 27 2020, 2:47 PM · VyOS 1.4 Sagitta
Unknown Object (User) closed T2373: Required auth options for pppoe-server as Resolved.

Successfully tested on 1.3-rolling-202004270117

Apr 27 2020, 2:40 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) changed the status of T2391: pppoe-server session-control does not work from In progress to Needs testing.

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

Apr 27 2020, 2:34 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2184: OpenVPN op_mode tools broken.

@jjakob can we close this task ?

Apr 27 2020, 2:03 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) changed the status of T2391: pppoe-server session-control does not work from Open to In progress.
Apr 27 2020, 1:05 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) created T2391: pppoe-server session-control does not work.
Apr 27 2020, 1:05 PM · VyOS 1.3 Equuleus (1.3.0)
zsdc renamed T1899: Unionfs metadata folder is copied to the active configuration directory from Unable to delete vyos user to Unionfs metadata folder is copied to the active configuration directory.
Apr 27 2020, 12:29 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2388: template rendering should create folder and set permission.

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

Apr 27 2020, 11:18 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin created T2390: unify the chmod_ function of VyOS.
Apr 27 2020, 10:36 AM · VyOS 1.4 Sagitta
thomas-mangin added a comment to T2363: Use pyroute2 instead of calling 'ip'.

Should a iproute.py wrapper be considered to prevent having calls to "ip" everywhere in the code?
Therefore if at a later date a better solution comes along the calls to binary would not be everywhere in the code ?

Apr 27 2020, 10:22 AM
thomas-mangin added a comment to T2363: Use pyroute2 instead of calling 'ip'.

Fair enough. I have gone thought the bug tracker of pyroute2 and indeed it does not inspire confidence!

Apr 27 2020, 10:20 AM
Viacheslav closed T2352: l2tpv3 conf_mode errors, a subtask of T2353: Interface [conf_mode] errors parent task, as Resolved.
Apr 27 2020, 10:04 AM · VyOS 1.3 Equuleus (1.3.6)
Viacheslav added a project to T2389: BGP community-list unknown command: VyOS 1.2 Crux (VyOS 1.2.6).
Apr 27 2020, 9:38 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
Viacheslav created T2389: BGP community-list unknown command.
Apr 27 2020, 9:37 AM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
c-po reopened T2010: Reboot at reports wrong time or missing timezone as "In progress".
Apr 27 2020, 8:08 AM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav added a comment to T2010: Reboot at reports wrong time or missing timezone.

@c-po errors in latest rolling VyOS 1.3-rolling-202004270117

$ show poweroff
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/powerctrl.py", line 193, in <module>
    main()
  File "/usr/libexec/vyos/op_mode/powerctrl.py", line 188, in main
    check_shutdown()
  File "/usr/libexec/vyos/op_mode/powerctrl.py", line 74, in check_shutdown
    dt = datetime.strptime(output['DATETIME'], '%Y-%m-%d %H:%M:%S')
TypeError: 'NoneType' object is not subscriptable
Apr 27 2020, 7:48 AM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav closed T2370: Ability to see bridge-related interfaces as Invalid.
show bridge
Apr 27 2020, 7:23 AM · VyOS 1.3 Equuleus (1.3.0)
c-po added a comment to T2363: Use pyroute2 instead of calling 'ip'.

Nope. Before I‘ve invented vyos.ifconfig it was actually based on pyroute2. The problem with pyroute2 was that it lacked required functionality for VyOS which let me to developing our own lib.

Apr 27 2020, 6:02 AM

Apr 26 2020

thomas-mangin created T2388: template rendering should create folder and set permission.
Apr 26 2020, 10:05 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob added a comment to T2381: OpenVPN: openvpn-option parsed/rendered improperly.

If in crux this was just a option string passed to the openvpn process,
quoting or escaping could be used to pass a parameter with '--' to an
openvpn option. I need to have a good long look at how Crux did this and
have some real life examples. For example: openvpn-option '--mssfix --up
"/some/command --param1 --param2"' (I'm not sure if this would've worked
on Crux, the quoting is probably wrong, and the up option parameter too,
but my point remains that this could've been a valid option syntax)

Apr 26 2020, 10:05 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2379: DHCPv6 address for interface deletion triggers a script error.

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

Apr 26 2020, 9:48 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin closed T2350: Interface geneve conf-mode error, a subtask of T2353: Interface [conf_mode] errors parent task, as Resolved.
Apr 26 2020, 8:51 PM · VyOS 1.3 Equuleus (1.3.6)
thomas-mangin closed T2350: Interface geneve conf-mode error as Resolved.
Apr 26 2020, 8:51 PM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2363: Use pyroute2 instead of calling 'ip'.

I agree but it will be quite some work ... I would happy to work on this as it would remove my of my issues with calling "cmd()" for network interface setting.

Apr 26 2020, 8:39 PM
c-po added a comment to T2381: OpenVPN: openvpn-option parsed/rendered improperly.

@elbandi how should this approach fix the error on image upgrade?

Apr 26 2020, 7:25 PM · VyOS 1.3 Equuleus (1.3.0)