Page MenuHomePhabricator

201910180117 fails startup with 'Permission Denied' errors
Closed, ResolvedPublicBUG

Description

This image also will not allow you to create a fresh install - any time you try to do a 'save' it says that the current config is not a valid config file.

Log

Oct 19 05:12:27 localhost vyos-router[1203]: Mounting VyOS Config...done.
Oct 19 05:12:27 localhost vyos-router[1203]: Starting VyOS router: migrateTraceback (most recent call last):
Oct 19 05:12:27 localhost vyos-router[1203]: File "/usr/libexec/vyos/run-config-migration.py", line 83, in <module>
Oct 19 05:12:27 localhost vyos-router[1203]: main()
Oct 19 05:12:27 localhost vyos-router[1203]: File "/usr/libexec/vyos/run-config-migration.py", line 77, in main
Oct 19 05:12:27 localhost vyos-router[1203]: migration.run()
Oct 19 05:12:27 localhost vyos-router[1203]: File "/usr/lib/python3/dist-packages/vyos/migrator.py", line 153, in run
Oct 19 05:12:27 localhost vyos-router[1203]: rev_versions = self.run_migration_scripts(cfg_versions, sys_versions)
Oct 19 05:12:27 localhost vyos-router[1203]: File "/usr/lib/python3/dist-packages/vyos/migrator.py", line 105, in run_migration_scripts
Oct 19 05:12:27 localhost vyos-router[1203]: self._config_file])
Oct 19 05:12:27 localhost vyos-router[1203]: File "/usr/lib/python3.4/subprocess.py", line 607, in check_output
Oct 19 05:12:27 localhost vyos-router[1203]: with Popen(*popenargs, stdout=PIPE, **kwargs) as process:
Oct 19 05:12:27 localhost vyos-router[1203]: File "/usr/lib/python3.4/subprocess.py", line 859, in __init__
Oct 19 05:12:27 localhost vyos-router[1203]: restore_signals, start_new_session)
Oct 19 05:12:27 localhost vyos-router[1203]: File "/usr/lib/python3.4/subprocess.py", line 1457, in _execute_child
Oct 19 05:12:27 localhost vyos-router[1203]: raise child_exception_type(errno_num, err_msg)
Oct 19 05:12:27 localhost vyos-router[1203]: PermissionError: [Errno 13] Permission denied
Oct 19 05:12:32 localhost vyos-hostsd[942]: Received a configuration change request

Details

Difficulty level
Easy (less than an hour)
Version
201910180117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

xrobau created this task.Oct 19 2019, 5:16 AM

Out of curiosity, I tried 201910170117, and it was fine (at least for booting). The 20191018 image may be broken - should it be pulled?

c-po added a subscriber: c-po.Oct 19 2019, 6:20 AM

This is already fixed in vyos-1x package but there is currently a problem with the CI.

c-po claimed this task.Oct 19 2019, 6:20 AM
c-po added a comment.Oct 19 2019, 6:57 AM

ISO has been pulled. Next rolling will have the fix.

c-po closed this task as Resolved.Oct 19 2019, 7:37 AM
c-po edited projects, added VyOS 1.3 Equuleus; removed vyatta-config-migrate.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.Oct 19 2019, 8:15 AM