Acquiring a specific node can be accomplished via the cmdline or api via hostname
maas-cli maaslocal nodes acquire name=$host
However, then after acquiring the node if I want to start it I have to do:
maas-cli maaslocal node start $SYSTEM_ID
The two separate pieces of information needed is annoying.
Things I'd like improved:
* ability to acquire a specific node by its node id:
maas-cli maaslocal nodes acquire system_id=$SYSTEM_ID
* ability to start a node by its hostname. Since hostname is valid for acquire, it would be useful to suffice for start also. Although if I can use system_id in both cases, this is less important.
* api or cmdline failure or complaint based on invalid input
Currently if I try to acquire a system and pass data like:
acquire frobnicator=19 flex_capacitor=true
Maas will happily return me a system. I'd like it complain that it doesn't know what a fronbicator is, or at very least it should return no system as none of the systems in my maas have a flex_capicitor I found this when trying to use 'system_id='
Related bugs:
* bug 1590991: Cannot allocate a node based on its system_id
Hi!
**This is an automated message**
We believe this is may no longer be an issue in the latest MAAS release. Due to the report date of this, we are currently marking it as Invalid. If you believe this bug report still valid against the latest release of MAAS, or if you are still interested in this, please re-open this bug report.
Thanks