In version 3.2.8 of maas, createadmin command seems to be missing. What is the alternate way for creating admin and generating api key
root@abc:/etc/apt# maas -h
Usage: /usr/local/bin/maas COMMAND …
MAAS provides complete automation of your physical servers for amazing data
center operational efficiency.
See https://maas.io/docs for documentation.
Common commands:
/usr/local/bin/maas login Log-in to a MAAS.
/usr/local/bin/maas switch Switch the active profile.
/usr/local/bin/maas machines List machines.
/usr/local/bin/maas deploy Allocate and deploy machine.
/usr/local/bin/maas release Release machine.
/usr/local/bin/maas fabrics List fabrics.
/usr/local/bin/maas subnets List subnets.
Example help commands:
`/usr/local/bin/maas help` This help page
`/usr/local/bin/maas help commands` Lists all commands
`/usr/local/bin/maas help deploy` Shows help for command 'deploy'
root@abc:/etc/apt# dpkg -l | grep maas
ii maas 1:3.2.8-12050-g.fc2c8d020-0ubuntu1~20.04.1 all “Metal as a Service” is a physical cloud and IPAM
ii maas-cli 1:3.2.8-12050-g.fc2c8d020-0ubuntu1~20.04.1 all MAAS client and command-line interface
ii maas-common 1:3.2.8-12050-g.fc2c8d020-0ubuntu1~20.04.1 all MAAS server common files
ii maas-dhcp 1:3.2.8-12050-g.fc2c8d020-0ubuntu1~20.04.1 all MAAS DHCP server
ii maas-proxy 1:3.2.8-12050-g.fc2c8d020-0ubuntu1~20.04.1 all MAAS Caching Proxy
ii maas-rack-controller 1:3.2.8-12050-g.fc2c8d020-0ubuntu1~20.04.1 all Rack Controller for MAAS
ii maas-region-api 1:3.2.8-12050-g.fc2c8d020-0ubuntu1~20.04.1 all Region controller API service for MAAS
ii maas-region-controller 1:3.2.8-12050-g.fc2c8d020-0ubuntu1~20.04.1 all Region Controller for MAAS
ii python3-django-maas 1:3.2.8-12050-g.fc2c8d020-0ubuntu1~20.04.1 all MAAS server Django web framework (Python 3)
ii python3-maas-client 1:3.2.8-12050-g.fc2c8d020-0ubuntu1~20.04.1 all MAAS python API client (Python 3)
ii python3-maas-provisioningserver 1:3.2.8-12050-g.fc2c8d020-0ubuntu1~20.04.1 all MAAS server provisioning libraries (Python 3)
Until version maas 3.2.6, createadmin command was available. Couldn’t find any documentation or information about the alternate
root@maas-node:~# maas -h
usage: maas [-h] COMMAND …
optional arguments:
-h, --help show this help message and exit
drill down:
COMMAND
login Log in to a remote API, and remember its description and credentials.
logout Log out of a remote API, purging any stored credentials.
list List remote APIs that have been logged-in to.
refresh Refresh the API descriptions of all profiles.
init Initialize controller.
apikey Used to manage a user’s API keys. Shows existing keys unless --generate or --delete is passed.
configauth Configure external authentication.
config-tls Configure MAAS Region TLS.
createadmin Create a MAAS administrator account.
changepassword
Change a MAAS user’s password.
admin Interact with http://192.168.200.1:5240/MAAS/api/2.0/
root@maas-node:~# dpkg -l | grep maas
ii maas 1:3.2.6-12016-g.19812b4da-0ubuntu1~20.04.1 all “Metal as a Service” is a physical cloud and IPAM
ii maas-cli 1:3.2.6-12016-g.19812b4da-0ubuntu1~20.04.1 all MAAS client and command-line interface
ii maas-common 1:3.2.6-12016-g.19812b4da-0ubuntu1~20.04.1 all MAAS server common files
ii maas-dhcp 1:3.2.6-12016-g.19812b4da-0ubuntu1~20.04.1 all MAAS DHCP server
ii maas-proxy 1:3.2.6-12016-g.19812b4da-0ubuntu1~20.04.1 all MAAS Caching Proxy
ii maas-rack-controller 1:3.2.6-12016-g.19812b4da-0ubuntu1~20.04.1 all Rack Controller for MAAS
ii maas-region-api 1:3.2.6-12016-g.19812b4da-0ubuntu1~20.04.1 all Region controller API service for MAAS
ii maas-region-controller 1:3.2.6-12016-g.19812b4da-0ubuntu1~20.04.1 all Region Controller for MAAS
ii python3-django-maas 1:3.2.6-12016-g.19812b4da-0ubuntu1~20.04.1 all MAAS server Django web framework (Python 3)
ii python3-maas-client 1:3.2.6-12016-g.19812b4da-0ubuntu1~20.04.1 all MAAS python API client (Python 3)
ii python3-maas-provisioningserver 1:3.2.6-12016-g.19812b4da-0ubuntu1~20.04.1 all MAAS server provisioning libraries (Python 3)