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
Sonic-installer failure log using install operation.
File “/usr/local/lib/python3.9/dist-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python3.9/dist-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/usr/local/lib/python3.9/dist-packages/sonic_installer/main.py”, line 543, in install
if not skip_platform_check and not bootloader.verify_image_platform(image_path):
File “/usr/local/lib/python3.9/dist-packages/sonic_installer/bootloader/uboot.py”, line 81, in verify_image_platform
return os.path.isfile(image_path)
NameError: name ‘os’ is not defined
Steps to reproduce the issue
sonic-installer install
Describe the results you received
Describe the results you expected
sonic-installer to work seamlessly.
Additional information you deem important (e.g. issue happens only occasionally)
What I did
Fixes#2089.
Sonic-installer failure was seen due to missing import in uboot.py.
How I did it
Fix is just adding missing import.
How to verify it
Fix has been tested for successful sonic installation from sonic-installer
Change-Id: I44bea3d2f89413d2d0dacfb1b6b7d19b15e52a09
Signed-off-by: Pavan Naregundi <[email protected]>
What I did
Fixes#2089.
Sonic-installer failure was seen due to missing import in uboot.py.
How I did it
Fix is just adding missing import.
How to verify it
Fix has been tested for successful sonic installation from sonic-installer
Change-Id: I44bea3d2f89413d2d0dacfb1b6b7d19b15e52a09
Signed-off-by: Pavan Naregundi <[email protected]>
Description
Sonic-installer failure log using install operation.
File “/usr/local/lib/python3.9/dist-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python3.9/dist-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/usr/local/lib/python3.9/dist-packages/sonic_installer/main.py”, line 543, in install
if not skip_platform_check and not bootloader.verify_image_platform(image_path):
File “/usr/local/lib/python3.9/dist-packages/sonic_installer/bootloader/uboot.py”, line 81, in verify_image_platform
return os.path.isfile(image_path)
NameError: name ‘os’ is not defined
Steps to reproduce the issue
Describe the results you received
Describe the results you expected
sonic-installer to work seamlessly.
Additional information you deem important (e.g. issue happens only occasionally)
Output of
show version
The text was updated successfully, but these errors were encountered: