2018-12-27 23:33:28 |
Alexander |
bug |
|
|
added bug |
2018-12-27 23:34:27 |
Alexander |
description |
I am trying to add dhcp snippet to subnets
We have 2 subnets:
1. 10.70.1.0/24 where we have installed rackd
2. 10.80.1.0/24 dhcp is relayed via 10.70.1.0/24
a) add snippet at 10.70.1.0/24 and it was added correctly:
ubuntu@maas1:~$ maas admins dhcpsnippets create name=cli_snippet_test value="authoritative;" description="" subnet="10.70.1.0/24"
Success.
Machine-readable output follows:
{
"name": "cli_snippet_test",
"description": "",
"enabled": true,
"node": null,
"subnet": {
"name": "10.70.1.0/24",
"vlan": {
"vid": 1101,
"mtu": 1500,
"dhcp_on": true,
"external_dhcp": null,
"relay_vlan": null,
"name": "VPC Infrastructure Cloud1",
"fabric": "XPT_Cloud1",
"secondary_rack": "8mawdr",
"space": "INFRA",
"primary_rack": "7a7ggh",
"id": 5020,
"fabric_id": 0,
"resource_uri": "/MAAS/api/2.0/vlans/5020/"
},
"cidr": "10.70.1.0/24",
"rdns_mode": 2,
"gateway_ip": "10.70.1.254",
"dns_servers": [
"10.70.1.81"
],
"allow_proxy": true,
"active_discovery": false,
"managed": true,
"space": "INFRA",
"id": 14,
"resource_uri": "/MAAS/api/2.0/subnets/14/"
},
"value": "authoritative;",
"history": [
{
"id": 50,
"value": "authoritative;",
"created": "Fri, 28 Dec 2018 00:12:33 -0000"
}
],
"global_snippet": false,
"id": 4,
"resource_uri": "/MAAS/api/2.0/dhcp-snippets/4/"
}
b) add snippet at 10.80.1.0/24 and it wasnt added:
ubuntu@maas1:~$ maas admins dhcpsnippets create name=cli_snippet_test value="authoritative;" description="" subnet="10.80.1.0/24"
Unable to validate DHCP config, no available rack controller connected. |
I am trying to add dhcp snippet to subnets
We have 2 subnets:
1. 10.70.1.0/24 where we have installed rackd
2. 10.80.1.0/24 dhcp is relayed via 10.70.1.0/24
a) add snippet at 10.70.1.0/24 and it was added correctly:
ubuntu@maas1:~$ maas admins dhcpsnippets create name=cli_snippet_test value="authoritative;" description="" subnet="10.70.1.0/24"
Success.
Machine-readable output follows:
{
"name": "cli_snippet_test",
"description": "",
"enabled": true,
"node": null,
"subnet": {
"name": "10.70.1.0/24",
"vlan": {
"vid": 1101,
"mtu": 1500,
"dhcp_on": true,
"external_dhcp": null,
"relay_vlan": null,
"name": "VPC Infrastructure Cloud1",
"fabric": "XPT_Cloud1",
"secondary_rack": "8mawdr",
"space": "INFRA",
"primary_rack": "7a7ggh",
"id": 5020,
"fabric_id": 0,
"resource_uri": "/MAAS/api/2.0/vlans/5020/"
},
"cidr": "10.70.1.0/24",
"rdns_mode": 2,
"gateway_ip": "10.70.1.254",
"dns_servers": [
"10.70.1.81"
],
"allow_proxy": true,
"active_discovery": false,
"managed": true,
"space": "INFRA",
"id": 14,
"resource_uri": "/MAAS/api/2.0/subnets/14/"
},
"value": "authoritative;",
"history": [
{
"id": 50,
"value": "authoritative;",
"created": "Fri, 28 Dec 2018 00:12:33 -0000"
}
],
"global_snippet": false,
"id": 4,
"resource_uri": "/MAAS/api/2.0/dhcp-snippets/4/"
}
b) add snippet at 10.80.1.0/24 and it wasnt added:
ubuntu@maas1:~$ maas admins dhcpsnippets create name=cli_snippet_test value="authoritative;" description="" subnet="10.80.1.0/24"
Unable to validate DHCP config, no available rack controller connected.
MAAS version: 2.4.2 (7034-g2f5deb8b8-0ubuntu1) |
|
2018-12-28 11:37:46 |
Alexander |
description |
I am trying to add dhcp snippet to subnets
We have 2 subnets:
1. 10.70.1.0/24 where we have installed rackd
2. 10.80.1.0/24 dhcp is relayed via 10.70.1.0/24
a) add snippet at 10.70.1.0/24 and it was added correctly:
ubuntu@maas1:~$ maas admins dhcpsnippets create name=cli_snippet_test value="authoritative;" description="" subnet="10.70.1.0/24"
Success.
Machine-readable output follows:
{
"name": "cli_snippet_test",
"description": "",
"enabled": true,
"node": null,
"subnet": {
"name": "10.70.1.0/24",
"vlan": {
"vid": 1101,
"mtu": 1500,
"dhcp_on": true,
"external_dhcp": null,
"relay_vlan": null,
"name": "VPC Infrastructure Cloud1",
"fabric": "XPT_Cloud1",
"secondary_rack": "8mawdr",
"space": "INFRA",
"primary_rack": "7a7ggh",
"id": 5020,
"fabric_id": 0,
"resource_uri": "/MAAS/api/2.0/vlans/5020/"
},
"cidr": "10.70.1.0/24",
"rdns_mode": 2,
"gateway_ip": "10.70.1.254",
"dns_servers": [
"10.70.1.81"
],
"allow_proxy": true,
"active_discovery": false,
"managed": true,
"space": "INFRA",
"id": 14,
"resource_uri": "/MAAS/api/2.0/subnets/14/"
},
"value": "authoritative;",
"history": [
{
"id": 50,
"value": "authoritative;",
"created": "Fri, 28 Dec 2018 00:12:33 -0000"
}
],
"global_snippet": false,
"id": 4,
"resource_uri": "/MAAS/api/2.0/dhcp-snippets/4/"
}
b) add snippet at 10.80.1.0/24 and it wasnt added:
ubuntu@maas1:~$ maas admins dhcpsnippets create name=cli_snippet_test value="authoritative;" description="" subnet="10.80.1.0/24"
Unable to validate DHCP config, no available rack controller connected.
MAAS version: 2.4.2 (7034-g2f5deb8b8-0ubuntu1) |
We have 2 subnets under MaaS control:
1. 10.70.1.0/24 where rackd is installed
2. 10.80.1.0/24 with dhcp-relay throw 10.70.1.0/24
and I am trying to add dhcp snippet to this subnets.
a) I don't have any problem with 10.70.1.0/24.
ubuntu@maas1:~$ maas admins dhcpsnippets create name=cli_snippet_test value="authoritative;" description="" subnet="10.70.1.0/24"
Success.
Machine-readable output follows:
{
"name": "cli_snippet_test",
"description": "",
"enabled": true,
"node": null,
"subnet": {
"name": "10.70.1.0/24",
"vlan": {
"vid": 1101,
"mtu": 1500,
"dhcp_on": true,
"external_dhcp": null,
"relay_vlan": null,
"name": "VPC Infrastructure Cloud1",
"fabric": "XPT_Cloud1",
"secondary_rack": "8mawdr",
"space": "INFRA",
"primary_rack": "7a7ggh",
"id": 5020,
"fabric_id": 0,
"resource_uri": "/MAAS/api/2.0/vlans/5020/"
},
"cidr": "10.70.1.0/24",
"rdns_mode": 2,
"gateway_ip": "10.70.1.254",
"dns_servers": [
"10.70.1.81"
],
"allow_proxy": true,
"active_discovery": false,
"managed": true,
"space": "INFRA",
"id": 14,
"resource_uri": "/MAAS/api/2.0/subnets/14/"
},
"value": "authoritative;",
"history": [
{
"id": 50,
"value": "authoritative;",
"created": "Fri, 28 Dec 2018 00:12:33 -0000"
}
],
"global_snippet": false,
"id": 4,
"resource_uri": "/MAAS/api/2.0/dhcp-snippets/4/"
}
b) but I got an error, when tryed to add snippet to 10.80.1.0/24 configuration and configuration was not changed:
ubuntu@maas1:~$ maas admins dhcpsnippets create name=cli_snippet_test value="authoritative;" description="" subnet="10.80.1.0/24"
Unable to validate DHCP config, no available rack controller connected.
MAAS version: 2.4.2 (7034-g2f5deb8b8-0ubuntu1) |
|
2019-09-19 12:07:27 |
Adam Collard |
maas: status |
New |
Invalid |
|
2020-07-21 13:06:38 |
Erlon R. Cruz |
maas: assignee |
|
Erlon R. Cruz (sombrafam) |
|
2020-07-21 13:06:55 |
Erlon R. Cruz |
maas: status |
Invalid |
Confirmed |
|
2020-10-02 08:02:18 |
Björn Tillenius |
maas: status |
Confirmed |
Triaged |
|
2020-10-02 08:02:44 |
Björn Tillenius |
maas: importance |
Undecided |
Medium |
|
2020-10-02 15:04:43 |
Erlon R. Cruz |
merge proposal linked |
|
https://code.launchpad.net/~sombrafam/maas/+git/maas/+merge/391758 |
|
2020-12-09 12:57:48 |
Erlon R. Cruz |
maas: status |
Triaged |
Fix Released |
|
2020-12-09 13:40:55 |
Alberto Donato |
maas: status |
Fix Released |
In Progress |
|
2021-04-12 14:10:52 |
MAAS Lander |
maas: status |
In Progress |
Fix Committed |
|
2021-04-12 14:10:52 |
MAAS Lander |
maas: milestone |
|
3.0-beta4 |
|
2021-04-12 15:28:14 |
Alberto Donato |
maas: milestone |
3.0.0-beta4 |
3.0.0-beta3 |
|
2021-04-14 14:53:41 |
Björn Tillenius |
maas: status |
Fix Committed |
Fix Released |
|