Public bug reported:

eth0 returns empty links key,
eth1 has links key
lxcbr0 returns no links key, which is the issue

"interface_set": [
            {
                "parents": [],
                "type": "bridge",
                "enabled": true,
                "id": 7,
                "vlan": {
                    "primary_rack": null,
                    "fabric": "fabric-4",
                    "resource_uri": "/MAAS/api/2.0/vlans/5005/",
                    "secondary_rack": null,
                    "id": 5005,
                    "vid": 0,
                    "external_dhcp": "10.0.3.1",
                    "mtu": 1500,
                    "name": "untagged",
                    "dhcp_on": false
                },
                "tags": [],
                "params": "",
                "name": "lxcbr0",
                "mac_address": "26:e0:1b:f7:cc:63"
            },
            {
                "parents": [],
                "resource_uri": "/MAAS/api/2.0/nodes/4y3h7n/interfaces/4/",
                "discovered": null,
                "vlan": {
                    "primary_rack": null,
                    "fabric": "fabric-1",
                    "resource_uri": "/MAAS/api/2.0/vlans/5002/",
                    "secondary_rack": null,
                    "id": 5002,
                    "vid": 0,
                    "external_dhcp": null,
                    "mtu": 1500,
                    "name": "untagged",
                    "dhcp_on": false
                },
                "tags": [],
                "children": [],
                "type": "physical",
                "links": [
                    {
                        "id": 1,
                        "mode": "static",
                        "subnet": {
                            "resource_uri": "/MAAS/api/2.0/subnets/1/",
                            "space": "space-0",
                            "cidr": "10.245.136.0/21",
                            "name": "10.245.136.0/21",
                            "rdns_mode": 2,
                            "allow_proxy": true,
                            "id": 1,
                            "dns_servers": [],
                            "vlan": {
                                "primary_rack": null,
                                "fabric": "fabric-1",
                                "resource_uri": "/MAAS/api/2.0/vlans/5002/",
                                "secondary_rack": null,
                                "id": 5002,
                                "vid": 0,
                                "external_dhcp": null,
                                "mtu": 1500,
                                "name": "untagged",
                                "dhcp_on": false
                            },
                            "gateway_ip": "10.245.136.1"
                        },
                        "ip_address": "10.245.136.6"
                    }
                ],
                "name": "eth1",
                "enabled": true,
                "id": 4,
                "params": "",
                "effective_mtu": 1500,
                "mac_address": "de:ad:be:ef:6b:b3"
            },
            {
                "parents": [],
                "resource_uri": "/MAAS/api/2.0/nodes/4y3h7n/interfaces/1/",
                "discovered": null,
                "vlan": {
                    "primary_rack": null,
                    "fabric": "fabric-0",
                    "resource_uri": "/MAAS/api/2.0/vlans/5001/",
                    "secondary_rack": null,
                    "id": 5001,
                    "vid": 0,
                    "external_dhcp": null,
                    "mtu": 1500,
                    "name": "untagged",
                    "dhcp_on": false
                },
                "tags": [],
                "children": [],
                "type": "physical",
                "links": [],
                "name": "eth0",
                "enabled": false,
                "id": 1,
                "params": "",
                "effective_mtu": 1500,
                "mac_address": "52:54:00:12:34:56"
            }
        ],

** Affects: maas
     Importance: Undecided
         Status: New


** Tags: ci

** Tags added: ci

** Also affects: maas
   Importance: Undecided
       Status: New

** No longer affects: maas (Ubuntu)

** Changed in: maas
    Milestone: None => 2.0.0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1571851

Title:
  [2.0 beta 2] interface_set returns an interface without 'links' even
  if empty

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1571851/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to