Plugin directory "No such file or dir
Description
Problem/Justification
Impact
duplicates
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity

Joe Maloney February 26, 2020 at 7:17 PM

Thorsten Behrens February 4, 2020 at 1:02 PM
Clearly my search-fu can be improved. I looked for a report and didn't find it. Time to close this.

Thorsten Behrens February 3, 2020 at 1:43 PMEdited
Hit enter to soon, please complete subject with '" on first load'
After upgrading to 11.3 from 11.2, and navigating to the plugin directory for the first time, this error was displayed:
[Errno 2] No such file or directory: '/mnt/Gion/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git/INDEX'
Traceback is shown with it:
Error: Traceback (most recent call last):
{{ }}
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 130, in call_method io_thread=False)
{{ }}
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1091, in _call_
return await run_method(methodobj, *args)
{{}}
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1015, in _run_in_conn_threadpool return await self.run_in_executor(self._ws_threadpool, method, *args, **kwargs)
{{ }}
File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1003, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
{{ }}
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 953, in nf return f(*args, **kwargs)
{{ }}
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/jail.py", line 179, in query resource_list = iocage.list('all', plugin=True, plugin_data=True) File "/usr/local/lib/python3.7/site-packages/iocage_lib/iocage.py", line 1323, in list **kwargs
{{ }}
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_list.py", line 84, in list_datasets _all = self.list_all(ds)
{{ }}
File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_list.py", line 493, in list_all os.path.join(repo_obj.git_destination, 'INDEX')
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/Gion/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git/INDEX'
The missing file is created in the background, and the error does not occur again when navigating to the plugins list again.
Details
Assignee
Triage TeamTriage TeamReporter
Thorsten BehrensThorsten BehrensLabels
Fix versions
Priority
Low
Details
Details
Assignee

Reporter

Closing as requested. If we can get a debug we might be able to investigate further.