Project

General

Profile

Bug #19565

Manual update using .tar file is failing.

Added by Vaibhav Chauhan over 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Critical
Assignee:
Vaibhav Chauhan
Category:
OS
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

I am seeing follwing traceback right after Manual update process fails.

FreeNAS-9.10.2-INTERNAL6.tar is located at freenas.ixsystems.com/sj-storage/Dev/William

Dec 13 14:37:07 stable-shark freenas-update: [freenasOS.Update:1587] Cached server, default, does not match system update server, Internal Update Server
Dec 13 14:37:08 stable-shark freenas-update: [freenasOS.Update:1587] Cached server, default, does not match system update server, Internal Update Server
Dec 13 14:37:08 stable-shark freenas-update: [freenasOS.Update:949] DownloadUpdate(FreeNAS-9.10-STABLE, /var/tmp/firmware):  Got exception Cached server name does not match system update server; removing cache
Dec 13 14:37:08 stable-shark freenas-update: [freenas-update:223] [Errno 13] Permission denied
Traceback (most recent call last):
  File "/usr/local/bin/freenas-update", line 192, in DoDownload
    pkg_type=pkg_type,
  File "/usr/local/lib/freenasOS/Update.py", line 1010, in DownloadUpdate
    latest_mani.RunValidationProgram(directory, kind=Manifest.VALIDATE_UPDATE)
  File "/usr/local/lib/freenasOS/Manifest.py", line 662, in RunValidationProgram
    subprocess.check_output(valid_script, preexec_fn=PreExecHook, stderr=subprocess.STDOUT)
  File "/usr/local/lib/python2.7/subprocess.py", line 567, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/local/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/local/lib/python2.7/subprocess.py", line 1343, in _execute_child
    raise child_exception
OSError: [Errno 13] Permission denied
Dec 13 14:37:08 stable-shark manage.py: [middleware.exceptions:37] [MiddlewareError: Failed to apply update Command '['/usr/local/bin/freenas-update', '-C', u'/var/tmp/firmware', 'update']' returned non-zero exit status 1: ]

Associated revisions

Revision fdcf9976 (diff)
Added by William Grzybowski over 2 years ago

fix(gui): write SERVER file

Ticket: #19565

Revision ebadf825 (diff)
Added by William Grzybowski over 2 years ago

fix(gui): write SERVER file

Ticket: #19565
(cherry picked from commit fdcf997696477b80b6acd8a2217abb6b45850dba)

Revision cd340b79 (diff)
Added by William Grzybowski over 2 years ago

fix(gui): write SERVER file

Ticket: #19565
(cherry picked from commit fdcf997696477b80b6acd8a2217abb6b45850dba)

History

#1 Updated by William Grzybowski over 2 years ago

  • Status changed from Unscreened to Screened

#2 Updated by William Grzybowski over 2 years ago

  • Status changed from Screened to Needs Developer Review

#3 Updated by Sean Fagan over 2 years ago

  • Status changed from Needs Developer Review to Reviewed
  • Assignee changed from William Grzybowski to Vaibhav Chauhan

Reviewed

#4 Updated by Vaibhav Chauhan over 2 years ago

  • Status changed from Reviewed to Ready For Release

#5 Updated by Dru Lavigne about 2 years ago

  • Private changed from Yes to No

#6 Updated by Dru Lavigne over 1 year ago

  • Status changed from Ready For Release to Resolved

Also available in: Atom PDF