Page MenuHomeVyOS Platform
Feed All Stories

Apr 8 2020

jjakob added a comment to T2186: Provide more information to the user when a traceback is reported to the user.

Personally I'd use systemd-journald which I think provides the same logging facilities as rsyslog used to, but vyos still runs both. IMO the logging section is a mess and would need a complete rewrite to journal.

Apr 8 2020, 11:31 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2186: Provide more information to the user when a traceback is reported to the user.
# sudo lsof  | grep dev-log
I am officially daft .. I thought it was not running !
Apr 8 2020, 11:27 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin updated subscribers of T2186: Provide more information to the user when a traceback is reported to the user.

@dmbaturin I was aked on slack to report the information via syslog. However the syslog server is not listening on on UDP port 514 on localhost. How would you like to proceed ?
should it be opened (I am not sure where this should be configured) or should the log be written on the drive using the python logging module (as I currently have implemented).

Apr 8 2020, 10:44 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin updated the task description for T2057: Generalised Interface configuration.
Apr 8 2020, 10:42 AM · VyOS 1.3 Equuleus (1.3.0)
thomas-mangin added a comment to T2232: Prevent deletion of bridge member interfaces.

@cpo AFAIU the patches are not right as the code making use of Config() in the verify() section and AFAIU this is against the separation between get_config()

Apr 8 2020, 10:28 AM · Restricted Project, VyOS 1.5 Circinus
Viacheslav reopened T2172: Enable conf VXLAN without remote address, a subtask of T1315: Allow BGP to use address-family l2vpn evpn, as Open.
Apr 8 2020, 10:09 AM · VyOS 1.3 Equuleus (1.3.0)
Viacheslav reopened T2172: Enable conf VXLAN without remote address as "Open".
Apr 8 2020, 10:09 AM · VyOS 1.3 Equuleus (1.3.0)
zsdc changed the status of T723: Add support for first boot or installation time saved config modification from Open to Needs testing.

Already possible via Cloud-init. For different environments may be required differently tuned images (data sources, additional tools like guest agents, etc.).

Apr 8 2020, 10:02 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
c-po committed rVYOSONEX3d65f12e38f7: bridge: T2232: bugfix wifi and wwan verify() section.
Apr 8 2020, 6:03 AM
fetzerms added a comment to T2203: http api: "Failed to generate committed config" .

I think I can pinpoint it down to the mesh generation using wireguard. Please see the logs of two failed nodes attached. I dont find older rotations of the log file. Thats all I have.

Apr 8 2020, 5:07 AM
jestabro closed T2160: Allow restricting HTTP API to specific virtual hosts as Resolved.
Apr 8 2020, 2:58 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro committed rVYOSONEX0587839ebead: http api: T2160: Fix error message when api proxy restricted..
Apr 8 2020, 2:57 AM
jestabro committed rVYOSONEXf8fafbb05a79: http api: T2160: move 'api virtual-host' to 'api-restrict virtual-host'.
Apr 8 2020, 2:57 AM
jestabro reopened T2160: Allow restricting HTTP API to specific virtual hosts as "Open".
Apr 8 2020, 2:56 AM · VyOS 1.3 Equuleus (1.3.0)
syncer changed the status of T2239: build-vmware-image script ignores the predefined file path, uses the environment variable unconditionally. from Open to Confirmed.
Apr 8 2020, 1:09 AM · VyOS 1.3 Equuleus (1.3.0)
kroy added a comment to T2239: build-vmware-image script ignores the predefined file path, uses the environment variable unconditionally..

Looks good. I don't have merge access but this definitely is a fix to an oversight in the build.

Apr 8 2020, 1:07 AM · VyOS 1.3 Equuleus (1.3.0)

Apr 7 2020

syncer closed T2237: l2tp, pptp, pppoe wrong chap-secrets file as Unknown Status.
Apr 7 2020, 11:08 PM · VyOS 1.3 Equuleus (1.3.0)
syncer added a project to T2237: l2tp, pptp, pppoe wrong chap-secrets file: VyOS 1.3 Equuleus.
Apr 7 2020, 11:07 PM · VyOS 1.3 Equuleus (1.3.0)
syncer added a comment to T2239: build-vmware-image script ignores the predefined file path, uses the environment variable unconditionally..

@chrismarget we autogenerate list of resolved issues for releases
so tasks names should be with more context

Apr 7 2020, 10:37 PM · VyOS 1.3 Equuleus (1.3.0)
syncer renamed T2239: build-vmware-image script ignores the predefined file path, uses the environment variable unconditionally. from Review/Merge(?) PR #98 in vyos-build to build-vmware-image script ignores the predefined file path, uses the environment variable unconditionally..
Apr 7 2020, 10:36 PM · VyOS 1.3 Equuleus (1.3.0)
syncer assigned T2240: Support for bind vif-c interfaces into VRFs to c-po.
Apr 7 2020, 10:35 PM · VyOS 1.3 Equuleus (1.3.0)
syncer added a comment to T2239: build-vmware-image script ignores the predefined file path, uses the environment variable unconditionally..

Not really, just make sure you include VyOS 1.3 project so we can track what can be backported
you will need to adjust your PR message to include task number T2239

Apr 7 2020, 10:34 PM · VyOS 1.3 Equuleus (1.3.0)
chrismarget added a comment to T2239: build-vmware-image script ignores the predefined file path, uses the environment variable unconditionally..

Did I do the wrong thing by tagging this for vyos-build?

Apr 7 2020, 10:32 PM · VyOS 1.3 Equuleus (1.3.0)
JB_VCC created T2240: Support for bind vif-c interfaces into VRFs.
Apr 7 2020, 10:30 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2203: http api: "Failed to generate committed config" .

@fetzerms I was mistaken: cfg-stdout.log is logrotated, but not removed on boot, and this is useful info. When you are able to reproduce, please share. I believe the corner case I am seeing is distinct but related to what you are seeing. Thanks.

Apr 7 2020, 9:39 PM
syncer assigned T2239: build-vmware-image script ignores the predefined file path, uses the environment variable unconditionally. to kroy.
Apr 7 2020, 9:34 PM · VyOS 1.3 Equuleus (1.3.0)
chrismarget triaged T2239: build-vmware-image script ignores the predefined file path, uses the environment variable unconditionally. as Normal priority.
Apr 7 2020, 9:29 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEXfcce4714146a: bridge: T2232: prevent deletion of enslaved interfaces.
Apr 7 2020, 8:04 PM
c-po committed rVYOSONEX681576fff6a2: l2tpv3: T1923: switch to formatted strings in verify().
Apr 7 2020, 8:04 PM
c-po committed rVYOSONEX7a276aa9961b: vyos.util: T2226: add proper comments.
Apr 7 2020, 8:04 PM
c-po updated the task description for T2232: Prevent deletion of bridge member interfaces.
Apr 7 2020, 8:03 PM · Restricted Project, VyOS 1.5 Circinus
Unknown Object (User) closed T1114: VyOS 1.2 tftp issue, NAT client could not boot via tftp server, same setup on VyOS 1.1.8 works fine as Resolved.

The automatic helper assignment is enabled in both the LTS and the current rolling releases. The only thing that is needed to make the TFTP working is to allow the udp/69 and "related" traffic.

Apr 7 2020, 8:02 PM
c-po updated the task description for T2232: Prevent deletion of bridge member interfaces.
Apr 7 2020, 7:54 PM · Restricted Project, VyOS 1.5 Circinus
c-po updated the task description for T2232: Prevent deletion of bridge member interfaces.
Apr 7 2020, 7:54 PM · Restricted Project, VyOS 1.5 Circinus
c-po updated the task description for T2238: After re-writing list_interfaces.py to use Interfaces() pseudo-ethernet is missing.
Apr 7 2020, 7:51 PM · VyOS 1.3 Equuleus (1.3.0)
c-po assigned T2238: After re-writing list_interfaces.py to use Interfaces() pseudo-ethernet is missing to thomas-mangin.
Apr 7 2020, 7:50 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2238: After re-writing list_interfaces.py to use Interfaces() pseudo-ethernet is missing.
Apr 7 2020, 7:50 PM · VyOS 1.3 Equuleus (1.3.0)
c-po updated the task description for T2232: Prevent deletion of bridge member interfaces.
Apr 7 2020, 7:42 PM · Restricted Project, VyOS 1.5 Circinus
c-po updated the task description for T2232: Prevent deletion of bridge member interfaces.
Apr 7 2020, 7:32 PM · Restricted Project, VyOS 1.5 Circinus
c-po renamed T2232: Prevent deletion of bridge member interfaces from l2tpv3 interface can be deleted while it is still assigned to a bridge to Prevent deletion of bridge member interfaces.
Apr 7 2020, 6:45 PM · Restricted Project, VyOS 1.5 Circinus
Unknown Object (User) closed T1095: Connection tracking NAT / FIREWALL as Resolved.

The automatic helper assignment is enabled in both the LTS and the current rolling releases. The only thing that is needed to make the FTP working is to allow the tcp/21, "related" and "established" traffic.

Apr 7 2020, 6:28 PM
thomas-mangin closed T2190: Instantiating Interfaces without risk of creation as Resolved.
Apr 7 2020, 3:02 PM
thomas-mangin claimed T2190: Instantiating Interfaces without risk of creation.
Apr 7 2020, 3:02 PM
thomas-mangin closed T2226: unify all the ways commands are run as Resolved.
Apr 7 2020, 3:01 PM
hagbard changed the status of T2237: l2tp, pptp, pppoe wrong chap-secrets file from In progress to Needs testing.

merged.

Apr 7 2020, 2:05 PM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEX34e9e428b51b: Merge pull request #310 from DmitriyEshenko/fix-chap-secrets (authored by hagbard-01 <39653662+hagbard-01@users.noreply.github.com>).
Apr 7 2020, 2:05 PM
Unknown Object (User) renamed T2237: l2tp, pptp, pppoe wrong chap-secrets file from l2tp wrong chap-secrets file to l2tp, pptp, pppoe wrong chap-secrets file.
Apr 7 2020, 1:24 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) changed the subtype of T2237: l2tp, pptp, pppoe wrong chap-secrets file from "Task" to "Bug".
Apr 7 2020, 10:29 AM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) changed the status of T2237: l2tp, pptp, pppoe wrong chap-secrets file from Open to In progress.
Apr 7 2020, 10:29 AM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEX8cc6bd529c76: Merge pull request #308 from thomas-mangin/T2226-merge (authored by c-po).
Apr 7 2020, 9:25 AM
GitHub <noreply@github.com> committed rVYOSONEX09ad28b28c9e: Merge pull request #307 from thomas-mangin/T2226 (authored by c-po).
Apr 7 2020, 6:28 AM

Apr 6 2020

Unknown Object (User) updated subscribers of T2236: DMVPN broken after tunnel rewrite to XML/Python.

@UnicronNL

vyos@R3# run show version all | match strongswan
ii  strongswan                       5.7.2-1                             all          IPsec VPN solution metapackage

But in this case, we have an issue with command

vyos@R3# sudo ip link add tun0 type gretap local 0.0.0.0
RTNETLINK answers: File exists

In old scripts, tunnels were created by following commands

ip tunnel add tun0 local 0.0.0.0 mode gre key 1 ttl 255 tos inherit
ip link set tun0 multicast on allmulticast on up
ip addr add 10.0.0.4/24 broadcast + dev tun0
ip tunnel cha tun0 local 0.0.0.0
Apr 6 2020, 10:12 PM · VyOS 1.3 Equuleus (1.3.0)
UnicronNL added a comment to T2236: DMVPN broken after tunnel rewrite to XML/Python.

@Dmitry @c-po is this an other version of strongswan? or is this the strongswan with dmvpn pathes in from vyos repo?

Apr 6 2020, 10:07 PM · VyOS 1.3 Equuleus (1.3.0)
Unknown Object (User) added a comment to T2236: DMVPN broken after tunnel rewrite to XML/Python.

The main reason for this issue - we can't create properly tunnel

set interfaces tunnel tun0 address 10.0.0.3/24
set interfaces tunnel tun0 encapsulation gre
set interfaces tunnel tun0 local-ip 0.0.0.0
set interfaces tunnel tun0 multicast enable
set interfaces tunnel tun0 parameters ip key 1
Apr 6 2020, 9:52 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2203: http api: "Failed to generate committed config" .

@fetzerms I am able to reproduce this, in a manner that's not completely clean, but which will allow me to investigate further. Feel free to add any other details you run across; thanks.

Apr 6 2020, 9:36 PM
Unknown Object (User) claimed T2236: DMVPN broken after tunnel rewrite to XML/Python.

@c-po let me reproduce this locally, I will find an answer.

Apr 6 2020, 8:31 PM · VyOS 1.3 Equuleus (1.3.0)
c-po updated subscribers of T2236: DMVPN broken after tunnel rewrite to XML/Python.

@Dmitry maybe you have an idea why?

Apr 6 2020, 6:54 PM · VyOS 1.3 Equuleus (1.3.0)
c-po triaged T2236: DMVPN broken after tunnel rewrite to XML/Python as High priority.
Apr 6 2020, 6:45 PM · VyOS 1.3 Equuleus (1.3.0)
c-po created T2236: DMVPN broken after tunnel rewrite to XML/Python.
Apr 6 2020, 6:44 PM · VyOS 1.3 Equuleus (1.3.0)
jjakob triaged T2235: OpenVPN server client IP doesn't reserve that IP in the pool as Wishlist priority.
Apr 6 2020, 4:28 PM · VyOS 1.3 Equuleus (1.3.0), openvpn
jjakob added a comment to T2203: http api: "Failed to generate committed config" .

Re: logging, DANOS mounts a permanent /var/log at boot (I think it's shared by all images). If any work on logging is going to be done, /var/log should be mounted before any vyos config migration or load is done so it can be used as the destination for logging.

Apr 6 2020, 3:31 PM
jjakob changed the status of T2234: Controlling whitespace in Jinja templates (template cleanup parent task) from Open to In progress.
Apr 6 2020, 3:26 PM · VyOS 1.3 Equuleus (1.3.6)
jestabro added a comment to T2203: http api: "Failed to generate committed config" .

Note, there is /opt/vyatta/etc/config/vyos-migrate.log (/config/vyos-migrate.log after image installation) that will list failed migration scripts, if any). This is created before /var/log is available, hence the non-canonical location.

Apr 6 2020, 2:57 PM
jestabro added a comment to T2203: http api: "Failed to generate committed config" .

Regarding the first question, yes, cfg-stdout.log is cleared on reboot, unfortunately. The commit error logging is currently a mixture of (un-verbose) reporting from the backend, and limited reporting from python; improvements pending. Firstly, if there are migration errors, those need to be investigated; secondly, the error that you initially reported is (generally) related to stale information in the config hierarchy itself, but may be obscuring earlier errors.

Apr 6 2020, 2:47 PM
Viacheslav added a comment to T2141: Static ARP is not applied on boot.

If you comment out this line, arp after reboot doesn't lose.

Apr 6 2020, 2:30 PM · VyOS 1.3 Equuleus (1.3.0)
GitHub <noreply@github.com> committed rVYOSONEXe0f13b79a669: Merge pull request #297 from sever-sever/clear-igmp (authored by c-po).
Apr 6 2020, 2:25 PM
jjakob added a comment to T2203: http api: "Failed to generate committed config" .

I couldn't find anything in /var/log/vyatta the last few times I've ran into boot-time commit errors. It seems like the python code doesn't log commit errors into a file or syslog, or at least I couldn't find it. I had to log into the console, go into config mode, load the config (usually pre-migration when there are migrator script errors) and commit it, then the errors are printed to the console. Someone can correct me if I'm wrong.

Apr 6 2020, 2:09 PM
Viacheslav added a comment to T1926: poweroff in 5 displays an error message.

Latest rolling.

sever@vyos-1.3:~$ poweroff in 5
Poweroff is scheduled 2020-04-06 12:02:52
sever@vyos-1.3:~$
Apr 6 2020, 12:04 PM
Viacheslav added a comment to T1406: MAC addresses cause invalid arguments in firewall.

I think we can close this task

Apr 6 2020, 11:46 AM
Viacheslav added a comment to T1249: multiple PBR rules can set to a single interface.

@dongjunbo Can you send an example?

Apr 6 2020, 11:25 AM · VyOS 1.3 Equuleus (1.3.0-epa1)
zsdc assigned T1095: Connection tracking NAT / FIREWALL to Unknown Object (User).
Apr 6 2020, 10:10 AM
zsdc assigned T1114: VyOS 1.2 tftp issue, NAT client could not boot via tftp server, same setup on VyOS 1.1.8 works fine to Unknown Object (User).
Apr 6 2020, 10:10 AM
Viacheslav added a comment to T2156: PIM op-mode commands.

Commands were rewritten to:

$ reset ip igmp interfaces
$ reset ip multicast route
Apr 6 2020, 9:19 AM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX1730afc6ebb5: ipsec: T2230: bugfix code cleanup.
Apr 6 2020, 8:48 AM
Viacheslav added a comment to T2172: Enable conf VXLAN without remote address.

@c-po the second part of task.
An example, we can't execute analog of this command in the VyOS syntax:

sudo ip link add vxlan11 type vxlan id 11 dstport 8472 local 22.22.22.1 nolearning

We need to add commands for vxlan:

Apr 6 2020, 8:46 AM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEXe8b9eaddb5d8: lldp: use vyos.version over handcrafted open().read().split() code.
Apr 6 2020, 7:22 AM
c-po committed rVYOSONEX10c06217a53b: ipsec: T2230: bugfix rewriting Jinja2 code.
Apr 6 2020, 7:22 AM
fetzerms added a comment to T2203: http api: "Failed to generate committed config" .

Does this get cleared on each reboot? Because I usually rebooted after it "locked".

Apr 6 2020, 2:59 AM

Apr 5 2020

GitHub <noreply@github.com> committed rVYOSONEX960e9e0bc0ab: Merge pull request #306 from alainlamar/T2233 (authored by c-po).
Apr 5 2020, 9:23 PM
c-po closed T2230: Split out inlined Jina2 template to data/templates folder as Resolved.
Apr 5 2020, 9:22 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEXdbc174dd2b85: ipsec: T2230: move inlined templates to dedicated files.
Apr 5 2020, 9:21 PM
c-po committed rVYOSONEX6b4aed73cbb1: salt-minion: T2230: move inlined templates to dedicated files.
Apr 5 2020, 9:21 PM
c-po committed rVYOSONEX118681664310: pim: T2230: move inlined templates to dedicated files.
Apr 5 2020, 9:21 PM
c-po committed rVYOSONEXda6883549b7e: mpls: T2230: move inlined templates to dedicated files.
Apr 5 2020, 9:03 PM
c-po committed rVYOSONEXefe8eaa626a6: igmp: T2230: move inlined templates to dedicated files.
Apr 5 2020, 9:02 PM
c-po committed rVYOSONEX839189228915: ipoe-server: T2230: move inlined templates to dedicated files.
Apr 5 2020, 8:56 PM
c-po committed rVYOSONEXebb54c107e30: pppoe-server: T2230: move inlined templates to dedicated files.
Apr 5 2020, 8:48 PM
c-po committed rVYOSONEX59cf7f59ac69: pptp: T2230: move inlined templates to dedicated files.
Apr 5 2020, 8:40 PM
c-po committed rVYOSONEX3ea3c8ed6bd4: router-advert: T2230: move inlined templates to dedicated files.
Apr 5 2020, 8:32 PM
c-po committed rVYOSONEX5a04f7d6a9c4: wifi-regdom: T2230: move inlined templates to dedicated files.
Apr 5 2020, 8:27 PM
c-po committed rVYOSONEX5171e61d9b30: system-login: T2230: move inlined templates to dedicated files.
Apr 5 2020, 8:27 PM
c-po committed rVYOSONEX6563f29bedb6: vrrp: T2230: convert template from dos to unix line endings.
Apr 5 2020, 8:27 PM
alainlamar claimed T2233: Typos in wlanX.cfg.
Apr 5 2020, 8:10 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX1556b15e9644: https: T2230: convert template from dos to unix line endings.
Apr 5 2020, 7:54 PM
c-po committed rVYOSONEXbc848a8e62c3: mdns-repeater: T2230: convert template from dos to unix line endings.
Apr 5 2020, 7:54 PM
c-po committed rVYOSONEX542cdf7b5e16: vrf: T2230: move inlined templates to dedicated files.
Apr 5 2020, 7:54 PM
alainlamar added a comment to T2233: Typos in wlanX.cfg.

Pull request: https://github.com/vyos/vyos-1x/pull/306

Apr 5 2020, 7:48 PM · VyOS 1.3 Equuleus (1.3.0)
c-po committed rVYOSONEX166b86163824: bfd: T2230: move inlined templates to dedicated files.
Apr 5 2020, 7:47 PM
alainlamar created T2233: Typos in wlanX.cfg.
Apr 5 2020, 7:38 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2203: http api: "Failed to generate committed config" .

In this failure case, there are some expected "failed" lines in /var/log/vyatta/cfg-stdout.log. Although they are not detailed log messages, they may help narrow down the source of the failure, if you could share those.

Apr 5 2020, 7:35 PM