UI should show default VM composition values

Bug #1879772 reported by Lee Trager
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Caleb Ellis

Bug Description

In LP:1877126 we decided to raise the default memory amount for a VM to 2G. We also discussed that the default values should be shown in the UI. The default core count, memory, and disk amount are now included in the power details for Pods. This information should be displayed in the UI

{
  "10": {
    "driver_type": "pod",
    "name": "lxd",
    "description": "LXD (virtual systems)",
    "fields": [
      {
        "name": "power_address",
        "label": "LXD address",
        "required": true,
        "field_type": "string",
        "choices": [],
        "default": "",
        "scope": "bmc"
      },
      {
        "name": "instance_name",
        "label": "Instance name",
        "required": true,
        "field_type": "string",
        "choices": [],
        "default": "",
        "scope": "node"
      },
      {
        "name": "password",
        "label": "LXD password (optional)",
        "required": false,
        "field_type": "password",
        "choices": [],
        "default": "",
        "scope": "bmc"
      }
    ],
    "missing_packages": [],
    "chassis": true,
    "queryable": true,
    "defaults": {
      "cores": 1,
      "memory": 2048,
      "storage": 8
    }
  }
}

{
  "15": {
    "driver_type": "pod",
    "name": "rsd",
    "description": "Rack Scale Design",
    "fields": [
      {
        "name": "power_address",
        "label": "Address",
        "required": true,
        "field_type": "string",
        "choices": [],
        "default": "",
        "scope": "bmc"
      },
      {
        "name": "power_user",
        "label": "User",
        "required": true,
        "field_type": "string",
        "choices": [],
        "default": "",
        "scope": "bmc"
      },
      {
        "name": "power_pass",
        "label": "Password",
        "required": true,
        "field_type": "password",
        "choices": [],
        "default": "",
        "scope": "bmc"
      },
      {
        "name": "node_id",
        "label": "Node ID",
        "required": true,
        "field_type": "string",
        "choices": [],
        "default": "",
        "scope": "node"
      }
    ],
    "missing_packages": [],
    "chassis": true,
    "queryable": true,
    "defaults": {
      "cores": 1,
      "memory": 2048,
      "storage": 8
    }
  }
}

{
  "19": {
    "driver_type": "pod",
    "name": "virsh",
    "description": "Virsh (virtual systems)",
    "fields": [
      {
        "name": "power_address",
        "label": "Address",
        "required": true,
        "field_type": "string",
        "choices": [],
        "default": "",
        "scope": "bmc"
      },
      {
        "name": "power_pass",
        "label": "Password (optional)",
        "required": false,
        "field_type": "password",
        "choices": [],
        "default": "",
        "scope": "bmc"
      },
      {
        "name": "power_id",
        "label": "Virsh VM ID",
        "required": true,
        "field_type": "string",
        "choices": [],
        "default": "",
        "scope": "node"
      }
    ],
    "missing_packages": [],
    "chassis": true,
    "queryable": true,
    "defaults": {
      "cores": 1,
      "memory": 2048,
      "storage": 8
    }
  }
}

Tags: ui
Changed in maas:
assignee: nobody → Caleb Ellis (caleb-ellis)
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Caleb Ellis (caleb-ellis) wrote :
Changed in maas:
status: In Progress → Fix Committed
Alberto Donato (ack)
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.