I’m trying to define in maas3.3/dhcp static entries for my management network (ipmi, dell@idrac, and so on) for which the commissioning is not possible, but although I use “commission=false deployed=true”, the nodes are defined with commissioning in pending state (displayed in UI).
Ho @r00ta, thanks for the reply. The indicated link (plus maas admin machines create --help ) is exactly what I used for enlisting the machines, but I cannot find any way to disable the commissioning for the newly added nodes.
According to the displayed help, commission=false should disable the commissioning, but this is not happening.
:param commission: Optional. Request
the newly created machine to be created with status set to
COMMISSIONING. Machines will wait for COMMISSIONING results and not
time out. **Machines created by administrators will be commissioned**
**unless set to false**.
I guess you are talking about the following behaviour, when after adding machine like this: maas admin machines create architecture=amd64 mac_addresses=cafebabe0001 hostname=foo commissioning=false deployed=true
that’s exactly the scenario I was talking about. My concern is mostly this: is the pending state something displayed by the UI as a result of the missing hw info? Or there are also some other tasks scheduled in the background waiting to be finished once a commission process is performed - and, at the same time, consuming resources?
Yes, thats the reason.
You can add an already deployed machine, but in this case MAAS won’t know anything about machine hardware and the only thing you can do via MAAS is power management.
These pending commissioning scripts are just rows in the database. There are no background jobs or anything else that might consume resources.
They are in a pending state, because it is possible to provide this information to MAAS later, by manually starting hardware-sync service.