Project

General

Profile

Bug #46293

Perform memory and space check when creating Docker VM in new UI

Added by Chris Burge about 2 years ago. Updated almost 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Vaibhav Chauhan
Category:
GUI (new)
Target version:
Seen in:
Severity:
New
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

Problem: Expected validation when creating a "Docker Host" VM via the wizard and subsequent editing in card/slim view is missing. Namely:

A. During Docker Host creation

1. Step 3 of wizard - cpu & memory: You cannot reduce memory below 2048 MB, there is no error message to this effect.
2. Step 3 of wizard - cpu & memory: There is no "guaranteed memory" check at this stage, only after a docker host VM is created and then started.
3. Step 5 of wizard - storage: There is no space check when creating a RAW file.
4. Step 5 of wizard - storage: There is no field to enter a "rancheros password" as per the old UI.

B. Editing a Docker Host VM in either card or slim view

1. You can change the "bootloader type" from GRUB to UEFI or UEFI-CSM. Shouldn't this be invalid?
2. In devices you can change the RAW file type from AHCI to VirtIO. Shouldn't this be invalid?
3. In devices you can add one or more of these additional devices, CD-ROM, NIC, DISK , RAW FILE. Does that make sense for a docker host vm?

C. Starting a a Docker Host VM.

1. Its only at this stage that any "guarenteed memory" check takes place, rather than both here and during the wizard creation.


Subtasks

Bug #47224: Step 5 of wizard - storage: do space check when creating a RAW file. ClosedVaibhav Chauhan

History

#1 Updated by Dru Lavigne about 2 years ago

  • Assignee changed from Release Council to Lola Yang
  • Target version changed from Backlog to 11.2-RC1

#2 Updated by Chris Burge about 2 years ago

Belatedly realised that in BETA3 the password of a "Docker Host" VM defaults to "docker" and so no password field is required on the newUI. Is an update to the User Guide pending?

#3 Updated by Dru Lavigne about 2 years ago

Notes that the password is already noted in this section of the Guide: http://doc.freenas.org/11.2/vms.html#creating-docker-vms.

#4 Updated by Lola Yang about 2 years ago

  • Assignee changed from Lola Yang to Vaibhav Chauhan

#5 Updated by Vaibhav Chauhan about 2 years ago

Chris Burge wrote:

Problem: Expected validation when creating a "Docker Host" VM via the wizard and subsequent editing in card/slim view is missing. Namely:

A. During Docker Host creation

1. Step 3 of wizard - cpu & memory: You cannot reduce memory below 2048 MB, there is no error message to this effect.

added

2. Step 3 of wizard - cpu & memory: There is no "guaranteed memory" check at this stage, only after a docker host VM is created and then started.

underlying ZFS operation does not allow to give user exact "guaranteed memory", even though there is a memory check if user is asking for more memory than system can provide.

3. Step 5 of wizard - storage: There is no space check when creating a RAW file.

filed middleware ticket: https://redmine.ixsystems.com/issues/47213

4. Step 5 of wizard - storage: There is no field to enter a "rancheros password" as per the old UI.

B. Editing a Docker Host VM in either card or slim view

1. You can change the "bootloader type" from GRUB to UEFI or UEFI-CSM. Shouldn't this be invalid?

fixed

2. In devices you can change the RAW file type from AHCI to VirtIO. Shouldn't this be invalid?

its perfectly valid to use switch AHCI to VirtIO and back.

3. In devices you can add one or more of these additional devices, CD-ROM, NIC, DISK , RAW FILE. Does that make sense for a docker host vm?

this should be mentioned in documentation which all devices can be added to the docker host VM

C. Starting a a Docker Host VM.

1. Its only at this stage that any "guarenteed memory" check takes place, rather than both here and during the wizard creation.

#6 Updated by Vaibhav Chauhan about 2 years ago

  • Status changed from Unscreened to In Progress

#7 Updated by Vaibhav Chauhan almost 2 years ago

  • Status changed from In Progress to Ready for Testing

#8 Updated by Dru Lavigne almost 2 years ago

  • Subject changed from Docker Host VM creation/use - multiple validation errors to Perform memory and space check when creating Docker VM in new UI
  • Needs Merging changed from Yes to No

#9 Updated by Jeff Ervin almost 2 years ago

32422
32433
32444

Test Passed FreeNAS-11.2-MASTER-201809280853 (See screenshots)

Problem: Expected validation when creating a "Docker Host" VM via the wizard and subsequent editing in card/slim view is missing. Namely:
A. During Docker Host creation
1. Step 3 of wizard - cpu & memory: You cannot reduce memory below 2048 MB, there is no error message to this effect. (Test Passed FreeNAS-11.2-MASTER-201809280853)
3. Step 5 of wizard - storage: There is no space check when creating a RAW file.
4. Step 5 of wizard - storage: There is no field to enter a "rancheros password" as per the old UI. (Test Passed FreeNAS-11.2-MASTER-201809280853)
B. Editing a Docker Host VM in either card or slim view
1. You can change the "bootloader type" from GRUB to UEFI or UEFI-CSM. Shouldn't this be invalid? (Test Passed FreeNAS-11.2-MASTER-201809280853)
2. In devices you can change the RAW file type from AHCI to VirtIO. Shouldn't this be invalid? (N/A)
C. Starting a a Docker Host VM. (Test Passed FreeNAS-11.2-MASTER-201809280853)
1. Its only at this stage that any "guarenteed memory" check takes place, rather than both here and during the wizard creation.

Created and started a Docker VM, entered Rancher without issue.

#10 Updated by Aaron St. John almost 2 years ago

  • Needs Doc changed from Yes to No

(docs) UPDATE: In the docs it mentions that "20 GiB of storage space is required for the Docker VM." and "The Docker VM requires 2 GiB of RAM while running." This was said to be sufficient.

#11 Updated by Dru Lavigne almost 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF