Activity log for bug #1597324

Date Who What changed Old value New value Message
2016-06-29 12:36:07 Matthew Rees bug added bug
2016-06-29 12:36:07 Matthew Rees attachment added node-interfaces https://bugs.launchpad.net/bugs/1597324/+attachment/4692223/+files/node-interfaces
2016-06-29 12:39:06 Matthew Rees description Hi there I am testing MAAS 2.0 in a proof of concept environment, and my networking configuration looks like this: eno1: MAAS PXE interface, untagged, MAAS DHCP managed eno2: Office/Internet facing interface, untagged, external DHCP bond0: Multiple tagged VLAN interfaces for workload segregation, all managed by MAAS DHCP This naming and configuration is shared by the MAAS node and by the nodes it manages. By default after acquiring, commissioning and deploying a node, eno1 is set as the default gateway interface but I would like eno2 to be the default. Attached is the output of "maas xxx interfaces read 4y3h7q" where "4y3h7q" is one of the nodes managed by MAAS, but the output for eno2 specifically is: { "params": "", "mac_address": "bc:30:5b:d7:39:3a", "links": [ { "subnet": { "resource_uri": "/MAAS/api/2.0/subnets/11/", "name": "192.168.32.0/22", "space": "maas-external", "allow_proxy": true, "vlan": { "name": "untagged", "resource_uri": "/MAAS/api/2.0/vlans/5013/", "mtu": 1500, "id": 5013, "fabric": "fabric-5", "dhcp_on": false, "vid": 0, "primary_rack": null, "external_dhcp": "192.168.32.3", "secondary_rack": null }, "id": 11, "rdns_mode": 2, "cidr": "192.168.32.0/22", "gateway_ip": "192.168.32.2", "dns_servers": [] }, "id": 101, "mode": "dhcp", "ip_address": "192.168.34.117" } ], "tags": [], "resource_uri": "/MAAS/api/2.0/nodes/4y3h7q/interfaces/43/", "effective_mtu": 1500, "vlan": { "name": "untagged", "resource_uri": "/MAAS/api/2.0/vlans/5013/", "mtu": 1500, "id": 5013, "fabric": "fabric-5", "dhcp_on": false, "vid": 0, "primary_rack": null, "external_dhcp": "192.168.32.3", "secondary_rack": null }, "name": "eno2", "discovered": [ { "subnet": { "resource_uri": "/MAAS/api/2.0/subnets/11/", "name": "192.168.32.0/22", "space": "maas-external", "allow_proxy": true, "vlan": { "name": "untagged", "resource_uri": "/MAAS/api/2.0/vlans/5013/", "mtu": 1500, "id": 5013, "fabric": "fabric-5", "dhcp_on": false, "vid": 0, "primary_rack": null, "external_dhcp": "192.168.32.3", "secondary_rack": null }, "id": 11, "rdns_mode": 2, "cidr": "192.168.32.0/22", "gateway_ip": "192.168.32.2", "dns_servers": [] }, "ip_address": "192.168.34.117" } ], "type": "physical", "children": [], "id": 43, "parents": [], "enabled": true }, Attempting to set the default gateway interface of the node via "maas XXX interface set-default-gateway 4y3h7q 43" results in the following: {"__all__": ["This interface has no usable gateways."]} Attempting to provide the link_id via "maas XXX interface set-default-gateway 4y3h7q 43 link_id=101" results in: {"link_id": ["'101' is not a valid link_id. It should be one of: ."], "__all__": ["This interface has no usable gateways."]} If you need any further debugging, logs or info please let me know, and thanks! Matthew Hi there I am testing MAAS 2.0 in a proof of concept environment, and my networking configuration looks like this: eno1: MAAS PXE interface, untagged, MAAS DHCP managed eno2: Office/Internet facing interface, untagged, external DHCP bond0: Multiple tagged VLAN interfaces for workload segregation, all managed by MAAS DHCP This naming and configuration is shared by the MAAS node and by the nodes it manages. By default after acquiring, commissioning and deploying a node, eno1 is set as the default gateway interface but I would like eno2 to be the default. Attached is the output of: "maas xxx interfaces read 4y3h7q" where "4y3h7q" is one of the nodes managed by MAAS, but the output for eno2 specifically is:     {         "params": "",         "mac_address": "bc:30:5b:d7:39:3a",         "links": [             {                 "subnet": {                     "resource_uri": "/MAAS/api/2.0/subnets/11/",                     "name": "192.168.32.0/22",                     "space": "maas-external",                     "allow_proxy": true,                     "vlan": {                         "name": "untagged",                         "resource_uri": "/MAAS/api/2.0/vlans/5013/",                         "mtu": 1500,                         "id": 5013,                         "fabric": "fabric-5",                         "dhcp_on": false,                         "vid": 0,                         "primary_rack": null,                         "external_dhcp": "192.168.32.3",                         "secondary_rack": null                     },                     "id": 11,                     "rdns_mode": 2,                     "cidr": "192.168.32.0/22",                     "gateway_ip": "192.168.32.2",                     "dns_servers": []                 },                 "id": 101,                 "mode": "dhcp",                 "ip_address": "192.168.34.117"             }         ],         "tags": [],         "resource_uri": "/MAAS/api/2.0/nodes/4y3h7q/interfaces/43/",         "effective_mtu": 1500,         "vlan": {             "name": "untagged",             "resource_uri": "/MAAS/api/2.0/vlans/5013/",             "mtu": 1500,             "id": 5013,             "fabric": "fabric-5",             "dhcp_on": false,             "vid": 0,             "primary_rack": null,             "external_dhcp": "192.168.32.3",             "secondary_rack": null         },         "name": "eno2",         "discovered": [             {                 "subnet": {                     "resource_uri": "/MAAS/api/2.0/subnets/11/",                     "name": "192.168.32.0/22",                     "space": "maas-external",                     "allow_proxy": true,                     "vlan": {                         "name": "untagged",                         "resource_uri": "/MAAS/api/2.0/vlans/5013/",                         "mtu": 1500,                         "id": 5013,                         "fabric": "fabric-5",                         "dhcp_on": false,                         "vid": 0,                         "primary_rack": null,                         "external_dhcp": "192.168.32.3",                         "secondary_rack": null                     },                     "id": 11,                     "rdns_mode": 2,                     "cidr": "192.168.32.0/22",                     "gateway_ip": "192.168.32.2",                     "dns_servers": []                 },                 "ip_address": "192.168.34.117"             }         ],         "type": "physical",         "children": [],         "id": 43,         "parents": [],         "enabled": true     }, Attempting to set the default gateway interface of the node via: "maas XXX interface set-default-gateway 4y3h7q 43" results in the following: {"__all__": ["This interface has no usable gateways."]} Attempting to provide the link_id via: "maas XXX interface set-default-gateway 4y3h7q 43 link_id=101" results in: {"link_id": ["'101' is not a valid link_id. It should be one of: ."], "__all__": ["This interface has no usable gateways."]} If you need any further debugging, logs or info please let me know, and thanks! Matthew edit: edited for clarity of the commands used and their output
2016-06-29 14:45:33 Launchpad Janitor branch linked lp:~blake-rouse/maas/fix-1597324
2016-06-29 14:46:29 Blake Rouse maas: importance Undecided High
2016-06-29 14:46:31 Blake Rouse maas: milestone 2.0.0
2016-06-29 14:46:33 Blake Rouse maas: status New In Progress
2016-06-29 14:46:39 Blake Rouse nominated for series maas/2.0
2016-06-29 14:46:39 Blake Rouse bug task added maas/2.0
2016-06-29 14:46:44 Blake Rouse maas/2.0: status New In Progress
2016-06-29 14:46:45 Blake Rouse maas/2.0: importance Undecided High
2016-06-29 14:46:50 Blake Rouse maas: milestone 2.0.0 2.1.0
2016-06-29 14:46:52 Blake Rouse maas/2.0: milestone 2.0.0
2016-06-30 14:13:20 MAAS Lander maas: status In Progress Fix Committed
2016-06-30 15:21:48 Launchpad Janitor branch linked lp:~blake-rouse/maas/fix-1597324-2.0
2016-06-30 16:07:55 MAAS Lander maas/2.0: status In Progress Fix Committed
2016-07-06 13:50:17 Launchpad Janitor branch linked lp:~maas-maintainers/maas/packaging
2016-08-22 15:44:19 Andres Rodriguez maas/2.0: status Fix Committed Fix Released
2016-08-22 16:34:10 Andres Rodriguez maas: status Fix Committed Fix Released
2016-08-22 16:34:13 Andres Rodriguez maas: milestone 2.0.1