Comment 0 for bug 1947087

Revision history for this message
Mk4UmHa (mk4umha) wrote :

Debian MAAS 3.1.0~beta3 installed inside LXD Container.

Fresh 20.04 install on bare metal.

UI Creation of KVM is OK but not from CLI.

    "available": {
        "cores": 80,
        "memory": 772649,
        "local_storage": 5952253325312
    },
    "architectures": [
        "amd64/generic"
    ],
    "used": {
        "cores": 0,
        "memory": 0,
        "local_storage": 0
    },
    "total": {
        "cores": 80,
        "memory": 772649,
        "local_storage": 5952253325312
    },

Create one VM with 24 Cores and 128GB Memory through UI.

    "total": {
        "cores": 80,
        "memory": 772649,
        "local_storage": 5952253325312
    "used": {
        "cores": 24,
        "memory": 130048,
        "local_storage": 100000000000
    },
    "available": {
        "cores": 56,
        "memory": 642601,
        "local_storage": 5852253325312
    },

Create one VM with 24 Cores and 128GB Memory through CLI and Available is incorrect.

maas $PROFILE vm-host compose $VM_HOST_ID cores=24 memory=131072 architecture="amd64/generic" "storage=mylabel:64(default),mylabel:1000(default),mylabel:1000(default)"

    "used": {
        "cores": 72,
        "memory": 393216,
        "local_storage": 2064000000000
    },
    "total": {
        "cores": 80,
        "memory": 772649,
        "local_storage": 5952253325312
    "available": {
        "cores": 8,
        "memory": 379433,
        "local_storage": 3888253325312