Project

General

Profile

Bug #24599

Ensure minimum memory for VM guest

Added by John Brodie over 1 year ago. Updated 11 months ago.

Status:
Resolved
Priority:
No priority
Assignee:
Marcelo Araujo
Category:
Middleware
Target version:
Seen in:
Sprint:
Severity:
New
Backlog Priority:
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Upon VM creation, I can connect only once to the VM via VNC, but am presented with a blank screen and a "Connection reset by peer" error a few seconds later. Additional attempts return a "connection refused error". If I refresh the FN gui page, I can see that the VM status changes to STOPPED after the first connection attempt. I can repeat this cycle and the same behavior happens every time.

This install started at FN 9.10, and was just updated to FN 11. Never on 10, never on nightlies. Running with an abundance of CPU and memory, the server has so far been essentially idle.

Interesting line from middlewared.log: vm_run error -1, errno 14

Associated revisions

Revision 20a70c1a (diff)
Added by Marcelo Araujo over 1 year ago

fix(vm/old-gui): Assure a minimum memory for a guest.

Ticket: #24599

History

#1 Updated by John Brodie over 1 year ago

  • File debug-freenas-20170617230532.txz added

#2 Updated by John Brodie over 1 year ago

Not sure how to close this - looked in the bhyve code, found that error 14 is for low memory, and then realized the GUI wants memory in MB, not GB. Oops. Changed "8" to "8000" and VNC connected without issue.

#3 Updated by Marcelo Araujo over 1 year ago

  • Status changed from Unscreened to Screened

Thanks for the report, I will add some extra debug logs anyway.

#4 Updated by Marcelo Araujo over 1 year ago

  • Status changed from Screened to Resolved
  • Target version set to 11.1

#5 Avatar?id=14398&size=24x24 Updated by Kris Moore about 1 year ago

  • Seen in changed from Unspecified to N/A

#6 Updated by Dru Lavigne about 1 year ago

  • File deleted (debug-freenas-20170617230532.txz)

#7 Updated by Dru Lavigne about 1 year ago

  • Private changed from Yes to No

#8 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Cannot connect to VM via VNC to Assure minimum memory for VM guest

#9 Updated by Dru Lavigne about 1 year ago

  • Subject changed from Assure minimum memory for VM guest to Ensure minimum memory for VM guest

#10 Updated by Dru Lavigne about 1 year ago

  • Target version changed from 11.1 to 11.1-BETA1

#11 Updated by Nick Wolff 11 months ago

  • QA Status Test Passes FreeNAS added
  • QA Status deleted (Not Tested)

#12 Updated by Joe Maloney 11 months ago

  • Needs QA changed from Yes to No

Also available in: Atom PDF