VLAN not set up in deployed node

Hi everyone,

I am trying to deploy some nodes in a VLAN “infected” environment and I must be doing something wrong as the interface created in 18.04 are not vlan ready.

In my MAAS interface, I can see the vlan, but in the netplan configuration generated, I don’t see any vlan part.

Are you guys able to deploy interfaces with vlans?

Thanks in advance and kudos for the team for a great pece on software :slight_smile:
I am using MAAS version 2.6.1

I am posting some extract of the “interface_set” part maas nodes read output below and further down the netplan configuration in a deployed node in 18.04.

   "links": [
      {
        "id": 153,
        "mode": "static",
        "ip_address": "10.234.174.6",
        "subnet": {
          "name": "10.234.172.0/22",
          "vlan": {
            "vid": 15,
            "mtu": 1500,
            "dhcp_on": false,
            "external_dhcp": "10.234.172.51",
            "relay_vlan": null,
            "primary_rack": null,
            "name": "15",
            "space": "undefined",
            "fabric_id": 2,
            "fabric": "hebex",
            "id": 5004,
            "secondary_rack": null,
            "resource_uri": "/MAAS/api/2.0/vlans/5004/"
          },
          "cidr": "10.234.172.0/22",
          "rdns_mode": 2,
          "gateway_ip": "10.234.172.4",
          "dns_servers": [],
          "allow_dns": true,
          "allow_proxy": true,
          "active_discovery": false,
          "managed": true,
          "space": "undefined",
          "id": 3,
          "resource_uri": "/MAAS/api/2.0/subnets/3/"
        }
      }
    ],

And the netplan generated without vlan part:

network:
    ethernets:
        enp3s0f0:
            dhcp4: true
            match:
                macaddress: e4:11:5b:11:55:84
            mtu: 1500
            set-name: enp3s0f0
        enp4s0f0:
            match:
                macaddress: e4:11:5b:11:55:88
            mtu: 1500
            set-name: enp4s0f0
        enp4s0f1:
            match:
                macaddress: e4:11:5b:11:55:8a
            mtu: 1500
            set-name: enp4s0f1
        vlan15:
            addresses:
            - 10.234.174.6/22
            gateway4: 10.234.172.4
            match:
                macaddress: e4:11:5b:11:55:86
            mtu: 1500
            nameservers:
                addresses:
                - 192.168.200.1
                - 10.98.250.115
                search:
                - maas
            set-name: vlan15
    version: 2

It works fine, I was the problem :slightly_smiling_face:

I did not initially create the VLAN interface after the physical one.
Now it is ok.

Sorry for the noise!

1 Like

is there anyway you can elaborate on this, i seem to be running into a very similar issue where i have the vlans created in maas, a bonded interface but i dont see the ability to create the vlan interface in gui?