Project

General

Profile

Bug #45860

Fix traceback when creating Docker VM

Added by William Grzybowski about 2 years ago. Updated about 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Seen in:
Severity:
Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

FileNotFoundError: [Errno 2] No such file or directory: 'vm-storage/image_RancherUI'
  File "middlewared/main.py", line 155, in call_method
    result = await self.middleware.call_method(self, message)
  File "middlewared/main.py", line 1033, in call_method
    return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
  File "middlewared/main.py", line 987, in _call
    return await run_method(methodobj, *args)
  File "middlewared/main.py", line 925, in _run_in_conn_threadpool
    return await self.run_in_executor(self.__threadpool, method, *args, **kwargs)
  File "middlewared/main.py", line 913, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
  File "concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "middlewared/schema.py", line 668, in nf
    return f(*args, **kwargs)
  File "plugins/vm.py", line 1242, in decompress_gzip
    with gzip.open(src, 'rb') as src_file, open(dst, 'wb') as dst_file:
dst    'vm-storage/image_RancherUI'
src    '/mnt/FreeNAS/.bhyve_containers/iso_files/rancheros-bhyve-v1.4.0.img.gz'

https://sentry.ixsystems.com/ixsystems/freenas-middleware/issues/14491/

Docker VM.png (146 KB) Docker VM.png Jeff Ervin, 09/24/2018 12:58 PM
31586

Associated revisions

Revision 40241fa9 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): simplify creating Docker VM API design required a PhD from the UI developer to figure out every detail which should have been handled by the backend instead. Ticket: #45860

Revision f84faa36 (diff)
Added by William Grzybowski about 2 years ago

fix(gui): use a job and progress bar to create a Docker VM in legacy UI Ticket: #45860

Revision b68dd22e (diff)
Added by William Grzybowski about 2 years ago

rm(middlewared/vm): vm.create_device deprecated for vm.device.create Ticket: #45860

Revision 7c25881a (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): use password attribute in Str to hide it Ticket: #45860

Revision 3f44c072 (diff)
Added by William Grzybowski about 2 years ago

fix(gui): use a job and progress bar to create a Docker VM in legacy UI Ticket: #45860

Revision 63a96ee1 (diff)
Added by William Grzybowski about 2 years ago

rm(middlewared/vm): vm.create_device deprecated for vm.device.create Ticket: #45860

Revision 920d28be (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): use password attribute in Str to hide it Ticket: #45860

Revision 1eb63a3b (diff)
Added by William Grzybowski about 2 years ago

fix(gui): do not allow changing VM type after creation Ticket: #45860

Revision fcfdd138 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): fixes/improvements noted by @skarekrow - Not needed f-strings - Better wording - Unused var - Default value for vcpus Ticket: #45860

Revision 769b140e (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): simplify creating Docker VM API design required a PhD from the UI developer to figure out every detail which should have been handled by the backend instead. Ticket: #45860

Revision 4a21480b (diff)
Added by William Grzybowski about 2 years ago

fix(gui): use a job and progress bar to create a Docker VM in legacy UI Ticket: #45860

Revision f6728aa4 (diff)
Added by William Grzybowski about 2 years ago

rm(middlewared/vm): vm.create_device deprecated for vm.device.create Ticket: #45860

Revision 92757d96 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): use password attribute in Str to hide it Ticket: #45860

Revision 86c749b9 (diff)
Added by William Grzybowski about 2 years ago

fix(gui): do not allow changing VM type after creation Ticket: #45860

Revision 24f95e54 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): fixes/improvements noted by @skarekrow - Not needed f-strings - Better wording - Unused var - Default value for vcpus Ticket: #45860

Revision 262f8dbe (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): simplify creating Docker VM API design required a PhD from the UI developer to figure out every detail which should have been handled by the backend instead. Ticket: #45860

Revision d64687d5 (diff)
Added by William Grzybowski about 2 years ago

fix(gui): use a job and progress bar to create a Docker VM in legacy UI Ticket: #45860

Revision d0010770 (diff)
Added by William Grzybowski about 2 years ago

rm(middlewared/vm): vm.create_device deprecated for vm.device.create Ticket: #45860

Revision a7e65467 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): use password attribute in Str to hide it Ticket: #45860

Revision 6d316503 (diff)
Added by William Grzybowski about 2 years ago

fix(gui): do not allow changing VM type after creation Ticket: #45860

Revision 77d4c253 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): fixes/improvements noted by @skarekrow - Not needed f-strings - Better wording - Unused var - Default value for vcpus Ticket: #45860

Revision 522a2bcf (diff)
Added by William Grzybowski about 2 years ago

feat(middlewared/vm): move a couple validations to middleware Ticket: #45860

Revision 48511b9f (diff)
Added by William Grzybowski about 2 years ago

feat(middlewared/vm): validate device attributes Ticket: #45860

Revision eedc8693 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): do not allow to change bootloader of Container Ticket: #45860

Revision 557f41f2 (diff)
Added by William Grzybowski about 2 years ago

feat(middlewared/vm): move a couple validations to middleware Ticket: #45860

Revision c85e4b43 (diff)
Added by William Grzybowski about 2 years ago

feat(middlewared/vm): validate device attributes Ticket: #45860

Revision 220ae988 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): do not allow to change bootloader of Container Ticket: #45860

Revision 6a2e3985 (diff)
Added by William Grzybowski about 2 years ago

fix(gui): its OK to set VIRTIO for container Ticket: #45860

Revision d97a5017 (diff)
Added by William Grzybowski about 2 years ago

feat(middlewared/vm): raise error if failed to activate VM shared fs Ticket: #45860

Revision 1fa69bb4 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): simplify creating Docker VM API design required a PhD from the UI developer to figure out every detail which should have been handled by the backend instead. Ticket: #45860

Revision 28362296 (diff)
Added by William Grzybowski about 2 years ago

fix(gui): use a job and progress bar to create a Docker VM in legacy UI Ticket: #45860

Revision c6242b83 (diff)
Added by William Grzybowski about 2 years ago

rm(middlewared/vm): vm.create_device deprecated for vm.device.create Ticket: #45860

Revision 629751d6 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): use password attribute in Str to hide it Ticket: #45860

Revision f5b8f099 (diff)
Added by William Grzybowski about 2 years ago

fix(gui): do not allow changing VM type after creation Ticket: #45860

Revision 7cb2f388 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): fixes/improvements noted by @skarekrow - Not needed f-strings - Better wording - Unused var - Default value for vcpus Ticket: #45860

Revision 88a21dd6 (diff)
Added by William Grzybowski about 2 years ago

feat(middlewared/vm): move a couple validations to middleware Ticket: #45860

Revision 0f98cdc3 (diff)
Added by William Grzybowski about 2 years ago

feat(middlewared/vm): validate device attributes Ticket: #45860

Revision 501137b1 (diff)
Added by William Grzybowski about 2 years ago

fix(middlewared/vm): do not allow to change bootloader of Container Ticket: #45860

Revision 9ddf23e3 (diff)
Added by William Grzybowski about 2 years ago

fix(gui): its OK to set VIRTIO for container Ticket: #45860

Revision 95b3bbc6 (diff)
Added by William Grzybowski about 2 years ago

feat(middlewared/vm): raise error if failed to activate VM shared fs Ticket: #45860

History

#1 Updated by William Grzybowski about 2 years ago

  • Status changed from Unscreened to Not Started

#2 Updated by Bug Clerk about 2 years ago

  • Status changed from Not Started to In Progress

#3 Updated by Dru Lavigne about 2 years ago

  • Subject changed from Traceback when creating RancherOS to Fix traceback when creating Docker VM
  • Status changed from In Progress to Ready for Testing
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#4 Updated by Jeff Ervin about 2 years ago

31586

Test Passed FreeNAS-11.2-MASTER-201809240851

#5 Updated by Dru Lavigne about 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF