UI does not send interface constraints when composing a machine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Caleb Ellis | ||
maas-ui |
Fix Released
|
Unknown
|
Bug Description
I tried to compose a machine with two interfaces using the UI. The request went through with no errors however the region never received any interface constraints. Below is what was sent over the websocket. As you can see "interfaces" is set to ""
Note this effects all Pod types and this bug may exist previous versions of MAAS.
{
"type": 0,
"request_id": 24,
"method": "pod.compose",
"params": {
"storage": "0:4(maas)
"requests": [
{
"poolId": "e9c55659-
"size": 8,
}
],
"interfaces": "",
"domain": 0,
"zone": 1,
"cores": "2",
"memory": "2048",
"id": 78
}
}
description: | updated |
Changed in maas: | |
milestone: | none → 2.8.0rc1 |
Changed in maas: | |
importance: | Undecided → High |
Changed in maas-ui: | |
status: | Unknown → New |
Changed in maas: | |
assignee: | nobody → Caleb Ellis (caleb-ellis) |
status: | New → In Progress |
Changed in maas-ui: | |
status: | New → Fix Released |
Changed in maas: | |
status: | Fix Committed → Fix Released |
If add a couple of interfaces with manually entered IP addresses I get: 192.168. 1.1;eth1: ip=196. 168.1.2" ,
"interfaces": "eth0:ip=
If I do the same but select subnets istead I get: cidr=10. 249.0.0/ 21;eth1: subnet_ cidr=172. 16.99.0/ 24",
"interfaces": "eth0:subnet_
But if I add a couple of interfaces but enter/select no other information I get:
"interfaces": "",
What should the shape of the interfaces constraint look like in this case?