Page MenuHomeVyOS Platform
Feed Search

May 1 2020

jestabro added a comment to T2347: During commit, any script output directed to stdout will contain path.

The immediate issue was resolved above. As far as changing the backend code, this will only be done if there emerges another annoyance; for now, we will consider the preamble 'path' when calling print in a config session a 'feature'.

May 1 2020, 6:45 PM · 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)
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)
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)

Apr 29 2020

jestabro added a subtask for T2395: HTTP API move to flask/flask-restx as microframework: T2397: HTTP API: export OpenAPI definition.
Apr 29 2020, 6:05 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a parent task for T2397: HTTP API: export OpenAPI definition: T2395: HTTP API move to flask/flask-restx as microframework.
Apr 29 2020, 6:04 AM · VyOS 1.4 Sagitta
jestabro changed the status of T2397: HTTP API: export OpenAPI definition from Open to In progress.
Apr 29 2020, 6:04 AM · VyOS 1.4 Sagitta
jestabro added a subtask for T2395: HTTP API move to flask/flask-restx as microframework: T2396: Add debian package for flask-restx.
Apr 29 2020, 5:36 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a parent task for T2396: Add debian package for flask-restx: T2395: HTTP API move to flask/flask-restx as microframework.
Apr 29 2020, 5:36 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2395: HTTP API move to flask/flask-restx as microframework.

This has a dependency on python3-flask-restx, which will need to be added using, for example, T2396.

Apr 29 2020, 5:35 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro changed the status of T2396: Add debian package for flask-restx from Open to Needs testing.
Apr 29 2020, 5:35 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro changed the status of T2395: HTTP API move to flask/flask-restx as microframework from Open to In progress.
Apr 29 2020, 5:26 AM · VyOS 1.3 Equuleus (1.3.0)

Apr 27 2020

jestabro committed rVYOSONEX83eea4284a61: template: T2388: fix typo.
Apr 27 2020, 7:40 PM

Apr 22 2020

jestabro closed T2096: Provide "generate" and "show" commands via the http API as Resolved.
Apr 22 2020, 4:03 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro committed rVYOSONEXd2477601a6c4: http api: T2096: form of show/generate should be consistent with other cmds.
Apr 22 2020, 4:02 PM
jestabro added a comment to T2096: Provide "generate" and "show" commands via the http API.

The form will be made consistent with other commands, using an explicit 'op' (show|generate) and 'path' as list of strings. For example:

Apr 22 2020, 4:00 PM · VyOS 1.3 Equuleus (1.3.0)

Apr 21 2020

jestabro closed T2270: using load with scp/sftp and a username and password does not work as Resolved.
Apr 21 2020, 5:56 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro committed rVYOSONEX4d2fb087ccbc: remote: T2270: correct use of username:password.
Apr 21 2020, 5:55 PM
jestabro updated the task description for T2347: During commit, any script output directed to stdout will contain path.
Apr 21 2020, 3:00 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro changed the status of T2347: During commit, any script output directed to stdout will contain path from Open to In progress.
Apr 21 2020, 2:56 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro committed rVYOSONEX0a3df61f33c4: vyos.util: T2347: call will print output only if non-empty.
Apr 21 2020, 2:54 AM
jestabro triaged T2347: During commit, any script output directed to stdout will contain path as Normal priority.
Apr 21 2020, 2:47 AM · VyOS 1.3 Equuleus (1.3.0)

Apr 20 2020

jestabro moved T2292: Ensure graceful shutdown of vyos-http-api from Need Triage to Backport Candidates on the VyOS 1.3 Equuleus board.
Apr 20 2020, 2:02 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2292: Ensure graceful shutdown of vyos-http-api as Resolved.
Apr 20 2020, 2:02 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro committed rVYOSONEX6b8a6619533c: http api: T2292: handle SIGTERM from systemd restart; raise SIGINT.
Apr 20 2020, 2:01 PM

Apr 15 2020

jestabro added a comment to T2295: Passwords with Special Characters Broken.

Yes, that changed it: neither single or double quotes worked previously --- with the change to use crypt(), single quotes around plaintext password with (those) special characters now works; double quoted special characters are still interpreted.

Apr 15 2020, 9:25 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2295: Passwords with Special Characters Broken.

No it's the shell interpreting from Popen (cmd), but you may have already resolved this by using the library function; I'll check.

Apr 15 2020, 9:15 PM · VyOS 1.3 Equuleus (1.3.0)

Apr 14 2020

jestabro updated the task description for T2292: Ensure graceful shutdown of vyos-http-api.
Apr 14 2020, 5:11 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro updated the task description for T2292: Ensure graceful shutdown of vyos-http-api.
Apr 14 2020, 5:10 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro updated the task description for T2292: Ensure graceful shutdown of vyos-http-api.
Apr 14 2020, 5:09 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro triaged T2292: Ensure graceful shutdown of vyos-http-api as High priority.
Apr 14 2020, 5:07 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2203: http api: "Failed to generate committed config" .

@fetzerms Thank you for the logs; that was the output I was hoping to confirm. The WSGI server in python3-bottle is showing occasional instabilities; I am not able to confirm with collections of set commands similar to yours, though I am able to induce it artificially. There are a few recent changes that will help avoid triggering this, while I track down a root cause. If you have a chance, it would be helpful if you could try a recent rolling (>= vyos-1.3-rolling-202004100117). If your are able to monitor the output of 'journalctl -fx' on the system, while executing remote configuration, that would be very useful, though that may not be feasible in your setting.

Apr 14 2020, 12:53 PM
jestabro added a comment to T2096: Provide "generate" and "show" commands via the http API.

@adestis The status 'Backport Candidate' indicates the intention to include it in 1.2.x; I may have mistakenly removed the specific project (1.2.6) when I changed the status.

Apr 14 2020, 12:08 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro triaged T2289: Denest cerbot certificate configuration from service https as Normal priority.
Apr 14 2020, 1:54 AM · VyOS 1.3 Equuleus (1.3.6), VyOS 1.4 Sagitta

Apr 12 2020

jestabro closed T2278: build-vmware-image script has unmet dependencies (vyos/vyos-build PR#100) as Resolved.
Apr 12 2020, 9:04 PM · vyos-build
jestabro added a comment to T2278: build-vmware-image script has unmet dependencies (vyos/vyos-build PR#100).

@chrismarget I'll commit the changes shortly, and close the task; thanks!

Apr 12 2020, 8:40 PM · vyos-build
jestabro claimed T2278: build-vmware-image script has unmet dependencies (vyos/vyos-build PR#100).
Apr 12 2020, 6:51 PM · vyos-build

Apr 11 2020

jestabro added a comment to T2270: using load with scp/sftp and a username and password does not work.

True, it doesn't currently work; that patch has various problems.

Apr 11 2020, 4:52 PM · VyOS 1.3 Equuleus (1.3.0)

Apr 10 2020

jestabro closed T2253: Fix use of cmd in merge config and remote function helpers as Resolved.
Apr 10 2020, 3:54 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro committed rVYOSONEXa68198f9bf18: util: T2253: fix translation to cmd.
Apr 10 2020, 3:47 PM
jestabro committed rVYOSONEX8e6948f226f4: Revert "Revert "util: T2226: rewrite merge config to use cmd"".
Apr 10 2020, 3:47 PM
jestabro added a reverting change for rVYOSONEX6086b7fa718f: Revert "util: T2226: rewrite merge config to use cmd": rVYOSONEX8e6948f226f4: Revert "Revert "util: T2226: rewrite merge config to use cmd"".
Apr 10 2020, 3:47 PM
jestabro committed rVYOSONEX162ead0105f3: util: T2253: fix translation of subprocess.check_output to cmd.
Apr 10 2020, 3:47 PM
jestabro committed rVYOSONEXa32cb241eaf8: Revert "Revert "util: T2226: rewrite remote function helpers to use cmd"".
Apr 10 2020, 3:47 PM
jestabro added a reverting change for rVYOSONEX10717c6a3cdf: Revert "util: T2226: rewrite remote function helpers to use cmd": rVYOSONEXa32cb241eaf8: Revert "Revert "util: T2226: rewrite remote function helpers to use cmd"".
Apr 10 2020, 3:47 PM

Apr 9 2020

jestabro renamed T2253: Fix use of cmd in merge config and remote function helpers from Fix use of cmd in vyos merge and remote function helper to Fix use of cmd in merge config and remote function helpers.
Apr 9 2020, 5:19 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro triaged T2253: Fix use of cmd in merge config and remote function helpers as Normal priority.
Apr 9 2020, 5:15 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro moved T2252: HTTP API add system image can return '504 Gateway Time-out' from Backport Candidates to Finished on the VyOS 1.3 Equuleus board.
Apr 9 2020, 5:05 AM · VyOS 1.2 Crux (VyOS 1.2.5)
jestabro moved T2252: HTTP API add system image can return '504 Gateway Time-out' from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.5) board.
Apr 9 2020, 5:05 AM · VyOS 1.2 Crux (VyOS 1.2.5)
jestabro committed rVYOSONEXc4a389a2c0b9: http api: T2252: backport increase proxy_read_timeout.
Apr 9 2020, 5:00 AM
jestabro closed T2093: HTTP-API image management requests don't work as Resolved.

The time-out issue is resolved in T2252; other issues as summarized above.

Apr 9 2020, 3:51 AM
jestabro added a parent task for T2252: HTTP API add system image can return '504 Gateway Time-out': T2093: HTTP-API image management requests don't work.
Apr 9 2020, 3:16 AM · VyOS 1.2 Crux (VyOS 1.2.5)
jestabro added a subtask for T2093: HTTP-API image management requests don't work: T2252: HTTP API add system image can return '504 Gateway Time-out'.
Apr 9 2020, 3:16 AM
jestabro added a project to T2252: HTTP API add system image can return '504 Gateway Time-out': VyOS 1.2 Crux (VyOS 1.2.5).
Apr 9 2020, 3:16 AM · VyOS 1.2 Crux (VyOS 1.2.5)
jestabro closed T2252: HTTP API add system image can return '504 Gateway Time-out' as Resolved.
Apr 9 2020, 3:15 AM · VyOS 1.2 Crux (VyOS 1.2.5)
jestabro committed rVYOSONEXec99423f227f: http api: T2252: increase proxy_read_timeout for image management.
Apr 9 2020, 3:14 AM
jestabro added a reverting change for rVYOSONEX9664e7d68530: util: T2226: rewrite merge config to use cmd: rVYOSONEX6086b7fa718f: Revert "util: T2226: rewrite merge config to use cmd".
Apr 9 2020, 3:14 AM
jestabro committed rVYOSONEX6086b7fa718f: Revert "util: T2226: rewrite merge config to use cmd".
Apr 9 2020, 3:14 AM
jestabro committed rVYOSONEX10717c6a3cdf: Revert "util: T2226: rewrite remote function helpers to use cmd".
Apr 9 2020, 3:14 AM
jestabro added a reverting change for rVYOSONEX7219d4013814: util: T2226: rewrite remote function helpers to use cmd: rVYOSONEX10717c6a3cdf: Revert "util: T2226: rewrite remote function helpers to use cmd".
Apr 9 2020, 3:14 AM
jestabro created T2252: HTTP API add system image can return '504 Gateway Time-out'.
Apr 9 2020, 3:10 AM · VyOS 1.2 Crux (VyOS 1.2.5)

Apr 8 2020

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)

Apr 7 2020

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

Apr 6 2020

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
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

Apr 5 2020

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

Apr 4 2020

jestabro committed rVYOSONEX46d13b903be4: bgp: T2100: migration to drop parameter disable-network-import-check.
Apr 4 2020, 10:15 PM
jestabro added a project to T2100: BGP route adverisement wih checks rib: VyOS 1.2 Crux (VyOS 1.2.5).
Apr 4 2020, 10:02 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jestabro moved T1490: BGP configuration (is lost|not applied) when updating 1.1.8 -> 1.2.1 from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.5) board.
Apr 4 2020, 10:01 PM · VyOS 1.2 Crux (VyOS 1.2.5)
jestabro moved T1490: BGP configuration (is lost|not applied) when updating 1.1.8 -> 1.2.1 from Backport Candidates to Finished on the VyOS 1.3 Equuleus board.
Apr 4 2020, 10:01 PM · VyOS 1.2 Crux (VyOS 1.2.5)
jestabro added a project to T1490: BGP configuration (is lost|not applied) when updating 1.1.8 -> 1.2.1: VyOS 1.2 Crux (VyOS 1.2.5).
Apr 4 2020, 10:00 PM · VyOS 1.2 Crux (VyOS 1.2.5)
jestabro committed rVYOSONEXb320583b38ce: [BGP] T1490: Backport migration for obsoleted 'bgp scan-time' parameter.
Apr 4 2020, 9:46 PM

Apr 3 2020

jestabro moved T2100: BGP route adverisement wih checks rib from In Progress to Backport Candidates on the VyOS 1.3 Equuleus board.
Apr 3 2020, 1:40 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jestabro claimed T2203: http api: "Failed to generate committed config" .
Apr 3 2020, 12:51 PM

Apr 2 2020

jestabro closed T2100: BGP route adverisement wih checks rib as Resolved.
Apr 2 2020, 9:24 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jestabro committed rVYOSONEX393dabe6f1ba: bgp: T2100: migration to drop parameter disable-network-import-check.
Apr 2 2020, 8:34 PM

Mar 31 2020

jestabro closed T2052: Update vyos-merge-config.py for version string syntax change, a subtask of T2029: Switch to new syntax for config file component versions, as Resolved.
Mar 31 2020, 1:53 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2052: Update vyos-merge-config.py for version string syntax change as Resolved.
Mar 31 2020, 1:53 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2053: Update vyos-load-config.py for version string syntax change, a subtask of T2029: Switch to new syntax for config file component versions, as Resolved.
Mar 31 2020, 1:53 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2053: Update vyos-load-config.py for version string syntax change as Resolved.
Mar 31 2020, 1:53 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2180: get_config_dict should be independent of CLI edit level, a subtask of T2168: Config edit level affecting the show_config() function, as Resolved.
Mar 31 2020, 12:06 AM · Bugs
jestabro closed T2180: get_config_dict should be independent of CLI edit level as Resolved.
Mar 31 2020, 12:06 AM · VyOS 1.3 Equuleus (1.3.0)

Mar 30 2020

jestabro closed T2029: Switch to new syntax for config file component versions as Resolved.
Mar 30 2020, 9:58 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2160: Allow restricting HTTP API to specific virtual hosts as Resolved.
Mar 30 2020, 7:15 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro committed rVYOSONEX69dda9497229: http api: T2160: allow restricting HTTP API to specific servers.
Mar 30 2020, 7:08 PM
jestabro changed the subtype of T2180: get_config_dict should be independent of CLI edit level from "Task" to "Bug".
Mar 30 2020, 1:23 AM · VyOS 1.3 Equuleus (1.3.0)

Mar 29 2020

jestabro changed the status of T2180: get_config_dict should be independent of CLI edit level, a subtask of T2168: Config edit level affecting the show_config() function, from In progress to Needs testing.
Mar 29 2020, 9:40 PM · Bugs
jestabro changed the status of T2180: get_config_dict should be independent of CLI edit level from In progress to Needs testing.
Mar 29 2020, 9:40 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2180: get_config_dict should be independent of CLI edit level.

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

Mar 29 2020, 9:38 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro updated the task description for T2180: get_config_dict should be independent of CLI edit level.
Mar 29 2020, 8:14 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a subtask for T2168: Config edit level affecting the show_config() function: T2180: get_config_dict should be independent of CLI edit level.
Mar 29 2020, 7:52 PM · Bugs
jestabro added a parent task for T2180: get_config_dict should be independent of CLI edit level: T2168: Config edit level affecting the show_config() function.
Mar 29 2020, 7:52 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro changed the status of T2180: get_config_dict should be independent of CLI edit level from Open to In progress.
Mar 29 2020, 7:52 PM · VyOS 1.3 Equuleus (1.3.0)

Mar 27 2020

jestabro closed T2169: Remove redundant use of show_config in vyos-merge-config as Resolved.
Mar 27 2020, 9:10 PM · VyOS 1.3 Equuleus (1.3.0)