Project

General

Profile

Bug #64635

Traceback when stopping a VM

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

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Seen in:
Severity:
Low
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

ProcessLookupError: [Errno 3] No such process
  File "middlewared/main.py", line 161, in call_method
    result = await self.middleware.call_method(self, message)
  File "middlewared/main.py", line 1109, in call_method
    return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
  File "middlewared/main.py", line 1049, in _call
    return await methodobj(*args)
  File "middlewared/schema.py", line 664, in nf
    return await f(*args, **kwargs)
  File "plugins/vm.py", line 1132, in start
    await self._manager.start(vm)
  File "plugins/vm.py", line 61, in start
    list(done)[0].result()
  File "plugins/vm.py", line 309, in run
    await self.manager.stop(self.vm['id'])
  File "plugins/vm.py", line 68, in stop
    err = await supervisor.stop(force)
  File "plugins/vm.py", line 425, in stop
    os.kill(self.proc.pid, signal.SIGTERM)

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


Related issues

Copied to FreeNAS - Bug #64656: Fix traceback when stopping a VMDone

Associated revisions

Revision bf080f51 (diff)
Added by William Grzybowski almost 2 years ago

fix(middlewared/vm): process is already being kill after Also there is no point in showing bhyve_error right after kill, odds are process will not exit and set status so fast. Ticket: #64635

Revision 19fe8952 (diff)
Added by William Grzybowski almost 2 years ago

fix(middlewared/vm): process is already being kill after Also there is no point in showing bhyve_error right after kill, odds are process will not exit and set status so fast. Ticket: #64635

Revision f17e4fda (diff)
Added by William Grzybowski almost 2 years ago

fix(middlewared/vm): process is already being kill after Also there is no point in showing bhyve_error right after kill, odds are process will not exit and set status so fast. Ticket: #64635 (cherry picked from commit bf080f51f70f048e99f75b73211902a139ebcd36)

History

#1 Updated by Bug Clerk almost 2 years ago

  • Status changed from Screened to In Progress

#2 Updated by Bug Clerk almost 2 years ago

  • Status changed from In Progress to Ready for Testing

#3 Updated by Bug Clerk almost 2 years ago

  • Copied to Bug #64656: Fix traceback when stopping a VM added

#4 Updated by William Grzybowski almost 2 years ago

  • Status changed from Ready for Testing to Done
  • Target version changed from 11.3 to Master - FreeNAS Nightlies

#5 Updated by Dru Lavigne almost 2 years ago

  • Needs QA changed from Yes to No
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

Also available in: Atom PDF