Adding a LXD cluster with MAAS running in snap results in an individual host and cluster

Bug #1950827 reported by Christian Grabowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Alexsander de Souza
3.1
Fix Released
Critical
Alexsander de Souza

Bug Description

Steps to reproduce:
1. Install MAAS snap 3.1/edge
2. Add a LXD cluster using a remote address and certificate

Actual result: there will be both an individual host with the settings configure, and a cluster with one of the members as you configured. Both will have the same configured address.

Expected result: no individual host is present, only clustered hosts are present, including the one configured.

Related branches

Changed in maas:
status: New → Triaged
description: updated
Revision history for this message
Christian Grabowski (cgrabowski) wrote :
Download full text (16.6 KiB)

maas $profile vm-hosts read output:

[
    {
        "capabilities": [],
        "memory_over_commit_ratio": 1.0,
        "storage_pools": [],
        "tags": [
            "pod-console-logging"
        ],
        "available": {
            "cores": 0,
            "memory": 0,
            "local_storage": 0
        },
        "version": "",
        "host": {
            "system_id": "8w7btg", ...

Revision history for this message
Christian Grabowski (cgrabowski) wrote :

maas $PROFILE vm-cluster read $ID output:
{
    "name": "lxd",
    "project": "default",
    "version": "4.19",
    "vm_count": 2,
    "id": 1,
    "storage_pools": {
        "local": {
            "free": 71961541632,
            "total": 89961541632,
            "allocated_tracked": 18000000000,
            "allocated_other": 0,
            "path": "None",
            "backend": "dir"
        }
    },
    "used": {
        "cores": 2,
        "memory": 3221225472,
        "local_storage": 18000000000
    },
    "vmhost_count": 3,
    "available": {
        "cores": 10,
        "memory": 9663676416,
        "local_storage": 71961541632
    },
    "total": {
        "cores": 12,
        "memory": 12884901888,
        "local_storage": 89961541632
    },
    "resource_uri": "/MAAS/api/2.0/vm-clusters/1"
}

Changed in maas:
assignee: nobody → Alexsander de Souza (alexsander-souza)
status: Triaged → In Progress
Alberto Donato (ack)
no longer affects: maas/3.1
Alberto Donato (ack)
Changed in maas:
milestone: 3.1.0-rc1 → none
Changed in maas:
milestone: none → 3.1.0
status: In Progress → Fix Committed
Alberto Donato (ack)
Changed in maas:
milestone: 3.1.0 → 3.1.0-rc1
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.