You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/local/bin/sonic_installer", line 8, in <module>
sys.exit(sonic_installer())
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.7/dist-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/sonic_installer/main.py", line 437, in install
migrate_sonic_packages(bootloader, binary_image_version)
File "/usr/local/lib/python3.7/dist-packages/sonic_installer/main.py", line 332, in migrate_sonic_packages
new_image_upper_dir = get_path(UPPERDIR_NAME)
File "/usr/local/lib/python3.7/dist-packages/sonic_installer/main.py", line 329, in get_path
return stack.enter_context(bootloader.get_path_in_image(new_image_dir, path))
File "/usr/lib/python3.7/contextlib.py", line 426, in enter_context
result = _cm_type.__enter__(cm)
File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/usr/local/lib/python3.7/dist-packages/sonic_installer/bootloader/aboot.py", line 198, in get_path_in_image
offset = self._get_swi_file_offset(swipath, path)
File "/usr/local/lib/python3.7/dist-packages/sonic_installer/bootloader/aboot.py", line 186, in _get_swi_file_offset
with zipfile.ZipFile(swipath) as swi:
File "/usr/lib/python3.7/zipfile.py", line 1204, in __init__
self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory: '/host/image-HEAD.725-bfae15fb/sonic.swi'
admin@str-7260cx3-acs-2:~$ ls /host/image-HEAD.725-bfae15fb/
allowlist_paths.conf docker/ .imagehash platform/ sonic-config/ version
boot/ fs.squashfs kernel-cmdline .sonic-boot.swi swi-signature
admin@str-7260cx3-acs-2:~$ ls /host/image-HEAD.725-bfae15fb/.sonic-boot.swi
/host/image-HEAD.725-bfae15fb/.sonic-boot.swi
admin@str-7260cx3-acs-2:~$ vi /usr/local/lib/python3.7/dist-packages/sonic_installer/bootloader/aboot.py
Describe the results you expected:
Install image successful.
Output of show version:
admin@str-7260cx3-acs-2:~$ show version
SONiC Software Version: SONiC.HEAD.725-bfae15fb
Distribution: Debian 10.9
Kernel: 4.19.0-12-2-amd64
Build commit: bfae15fb
Build date: Sun May 9 03:04:43 UTC 2021
Built by: johnar@jenkins-worker-22
Output of show techsupport:
Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered:
Description
Arista platform installation is failing after sonic-net/sonic-utilities#1527
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Install image successful.
Output of
show version
:Output of
show techsupport
:Additional information you deem important (e.g. issue happens only occasionally):
The text was updated successfully, but these errors were encountered: