MAAS node deployments where failing because of timing out. This was not happening before the recent upgrade to the Intel RSD lab to deal with the InitiatorIQN bug #1682240
Now, when setting a composed node to PXE boot, after a couple minutes, it is automatically being set back to boot from HDD. I have verified this with the RSD PODM API.
MAAS node deployments where failing because of timing out. This was not happening before the recent upgrade to the Intel RSD lab to deal with the InitiatorIQN bug #1682240
Now, when setting a composed node to PXE boot, after a couple minutes, it is automatically being set back to boot from HDD. I have verified this with the RSD PODM API.
1. First, let's PATCH the node to boot from PXE:
root@maas-dev:~# curl -s -k -u admin:admin -X PATCH -H "Content-Type: application/json" -d '{"Boot": {"BootSourceOve rrideTarget" : "Pxe", "BootSourceOver rideEnabled" : "Once"}}' https:/ /10.3.0. 1:8443/ redfish/ v1/Nodes/ 8
2. Let's verify that PXE was set:
root@maas-dev:~# curl -s -k -u admin:admin -X GET https:/ /10.3.0. 1:8443/ redfish/ v1/Nodes/ 8 v1/$metadata# Nodes/Members/ $entity" , v1/Nodes/ 8", 1.0.0.ComposedN ode", 602c-0a99- 11e4-453ac10f90 c0", HealthRollup" : "OK" mMemoryGiB" : 30, HealthRollup" : "OK" State" : "PoweredOn", OverrideEnabled " : "Once", OverrideTarget" : "Pxe", stem" : { v1/Systems/ 24" v1/Systems/ 24/Processors/ 47" v1/Systems/ 24/Processors/ 48" v1/Systems/ 24/Memory/ 81" v1/Systems/ 24/Memory/ 82" v1/Systems/ 24/Memory/ 83" v1/Systems/ 24/Memory/ 84" terfaces" : [ { v1/Systems/ 24/EthernetInte rfaces/ 64" v1/Systems/ 24/EthernetInte rfaces/ 65" v1/Systems/ 24/Adapters/ 21/Devices/ 23" v1/Managers/ 1" ode.Reset" : { v1/Nodes/ 8/Actions/ ComposedNode. Reset", ode.Assemble" : { v1/Nodes/ 8/Actions/ ComposedNode. Assemble"
{
"@odata.context" : "/redfish/
"@odata.id" : "/redfish/
"@odata.type" : "#ComposedNode.
"Id" : "8",
"Name" : "second-test",
"Description" : null,
"SystemType" : "Logical",
"AssetTag" : null,
"Manufacturer" : "Quanta",
"Model" : "F20A_HSW (To be filled by O.E.M.)",
"SKU" : null,
"SerialNumber" : "To be filled by O.E.M.",
"PartNumber" : null,
"UUID" : "58c7520c-
"HostName" : null,
"PowerState" : "Off",
"BiosVersion" : "F20A1A05_D",
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"HealthRollup" : "OK"
},
"Processors" : {
"Count" : 2,
"Model" : "Intel(R) Xeon(R) CPU E5-2695 v3 @ 2.30GHz",
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"
}
},
"Memory" : {
"TotalSyste
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"
}
},
"ComposedNode
"Boot" : {
"BootSource
"BootSource
"<email address hidden>" : [ "Hdd", "Pxe" ]
},
"Oem" : { },
"Links" : {
"ComputerSy
"@odata.id" : "/redfish/
},
"Processors" : [ {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"Memory" : [ {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"EthernetIn
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"LocalDrives" : [ {
"@odata.id" : "/redfish/
} ],
"RemoteDrives" : [ ],
"ManagedBy" : [ {
"@odata.id" : "/redfish/
} ],
"Oem" : { }
},
"Actions" : {
"#ComposedN
"target" : "/redfish/
"<email address hidden>" : [ "On", "ForceOff", "GracefulShutdown", "GracefulRestart", "ForceRestart" ]
},
"#ComposedN
"target" : "/redfish/
}
}
}
Let's wait one minute before querying the node to see if it has changed:
root@maas-dev:~# curl -s -k -u admin:admin -X GET https:/ /10.3.0. 1:8443/ redfish/ v1/Nodes/ 8 v1/$metadata# Nodes/Members/ $entity" , v1/Nodes/ 8", 1.0.0.ComposedN ode", 602c-0a99- 11e4-453ac10f90 c0", HealthRollup" : "OK" mMemoryGiB" : 30, HealthRollup" : "OK" State" : "PoweredOn", OverrideEnabled " : "Once", OverrideTarget" : "Pxe", stem" : { v1/Systems/ 24" v1/Systems/ 24/Processors/ 47" v1/Systems/ 24/Processors/ 48" v1/Systems/ 24/Memory/ 81" v1/Systems/ 24/Memory/ 82" v1/Systems/ 24/Memory/ 83" v1/Systems/ 24/Memory/ 84" terfaces" : [ { v1/Systems/ 24/EthernetInte rfaces/ 64" v1/Systems/ 24/EthernetInte rfaces/ 65" v1/Systems/ 24/Adapters/ 21/Devices/ 23" v1/Managers/ 1" ode.Reset" : { v1/Nodes/ 8/Actions/ ComposedNode. Reset", ode.Assemble" : { v1/Nodes/ 8/Actions/ ComposedNode. Assemble"
{
"@odata.context" : "/redfish/
"@odata.id" : "/redfish/
"@odata.type" : "#ComposedNode.
"Id" : "8",
"Name" : "second-test",
"Description" : null,
"SystemType" : "Logical",
"AssetTag" : null,
"Manufacturer" : "Quanta",
"Model" : "F20A_HSW (To be filled by O.E.M.)",
"SKU" : null,
"SerialNumber" : "To be filled by O.E.M.",
"PartNumber" : null,
"UUID" : "58c7520c-
"HostName" : null,
"PowerState" : "Off",
"BiosVersion" : "F20A1A05_D",
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"HealthRollup" : "OK"
},
"Processors" : {
"Count" : 2,
"Model" : "Intel(R) Xeon(R) CPU E5-2695 v3 @ 2.30GHz",
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"
}
},
"Memory" : {
"TotalSyste
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"
}
},
"ComposedNode
"Boot" : {
"BootSource
"BootSource
"<email address hidden>" : [ "Hdd", "Pxe" ]
},
"Oem" : { },
"Links" : {
"ComputerSy
"@odata.id" : "/redfish/
},
"Processors" : [ {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"Memory" : [ {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"EthernetIn
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"LocalDrives" : [ {
"@odata.id" : "/redfish/
} ],
"RemoteDrives" : [ ],
"ManagedBy" : [ {
"@odata.id" : "/redfish/
} ],
"Oem" : { }
},
"Actions" : {
"#ComposedN
"target" : "/redfish/
"<email address hidden>" : [ "On", "ForceOff", "GracefulShutdown", "GracefulRestart", "ForceRestart" ]
},
"#ComposedN
"target" : "/redfish/
}
}
}
It's still set to PXE, let's wait one more minute (total of about two minutes) and check again:
root@maas-dev:~# curl -s -k -u admin:admin -X GET https:/ /10.3.0. 1:8443/ redfish/ v1/Nodes/ 8 v1/$metadata# Nodes/Members/ $entity" , v1/Nodes/ 8", 1.0.0.ComposedN ode", 602c-0a99- 11e4-453ac10f90 c0", HealthRollup" : "OK" mMemoryGiB" : 30, HealthRollup" : "OK" State" : "PoweredOn", OverrideEnabled " : "Disabled", OverrideTarget" : "None", stem" : { v1/Systems/ 24" v1/Systems/ 24/Processors/ 47" v1/Systems/ 24/Processors/ 48" v1/Systems/ 24/Memory/ 81" v1/Systems/ 24/Memory/ 82" v1/Systems/ 24/Memory/ 83" v1/Systems/ 24/Memory/ 84" terfaces" : [ { v1/Systems/ 24/EthernetInte rfaces/ 64" v1/Systems/ 24/EthernetInte rfaces/ 65" v1/Systems/ 24/Adapters/ 21/Devices/ 23" v1/Managers/ 1" ode.Reset" : { v1/Nodes/ 8/Actions/ ComposedNode. Reset", ode.Assemble" : { v1/Nodes/ 8/Actions/ ComposedNode. Assemble"
{
"@odata.context" : "/redfish/
"@odata.id" : "/redfish/
"@odata.type" : "#ComposedNode.
"Id" : "8",
"Name" : "second-test",
"Description" : null,
"SystemType" : "Logical",
"AssetTag" : null,
"Manufacturer" : "Quanta",
"Model" : "F20A_HSW (To be filled by O.E.M.)",
"SKU" : null,
"SerialNumber" : "To be filled by O.E.M.",
"PartNumber" : null,
"UUID" : "58c7520c-
"HostName" : null,
"PowerState" : "Off",
"BiosVersion" : "F20A1A05_D",
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"HealthRollup" : "OK"
},
"Processors" : {
"Count" : 2,
"Model" : "Intel(R) Xeon(R) CPU E5-2695 v3 @ 2.30GHz",
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"
}
},
"Memory" : {
"TotalSyste
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"
}
},
"ComposedNode
"Boot" : {
"BootSource
"BootSource
"<email address hidden>" : [ "Hdd", "Pxe" ]
},
"Oem" : { },
"Links" : {
"ComputerSy
"@odata.id" : "/redfish/
},
"Processors" : [ {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"Memory" : [ {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"EthernetIn
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"LocalDrives" : [ {
"@odata.id" : "/redfish/
} ],
"RemoteDrives" : [ ],
"ManagedBy" : [ {
"@odata.id" : "/redfish/
} ],
"Oem" : { }
},
"Actions" : {
"#ComposedN
"target" : "/redfish/
"<email address hidden>" : [ "On", "ForceOff", "GracefulShutdown", "GracefulRestart", "ForceRestart" ]
},
"#ComposedN
"target" : "/redfish/
}
}
}
As we can see above, the node is now set to boot from HDD and this was all done with the RSD API.