Hello,
It seems like after upgrading to MaaS 3.5 stable, the cli has stopped fully working. The available commands are limited, and running commands result in a HTTP signature error.
[root@util01 ~]# maas apikey --username=syseng > api-key
[root@util01 ~]# maas login admin http://127.0.0.1:5240/MAAS/api/2.0/ < api-key
API key (leave empty for anonymous access):
You are now logged in to the MAAS server at
http://127.0.0.1:5240/MAAS/api/2.0/ with the profile name 'admin'.
For help with the available commands, try:
maas admin --help
[root@util01 ~]# maas admin --help
usage: maas admin [-h] COMMAND ...
Issue commands to the MAAS region controller at http://127.0.0.1:5240/MAAS/api/2.0/.
options:
-h, --help show this help message and exit
drill down:
COMMAND
devices Manage the collection of all the devices in the MAAS.
files Manage the collection of all the files in this MAAS.
machines Manage the collection of all the machines in the MAAS.
nodes Manage the collection of all the nodes in the MAAS.
rack-controllers Manage the collection of all rack controllers in MAAS.
region-controllers
Manage the collection of all region controllers in MAAS.
version Information about this MAAS instance.
This is a profile. Any commands you issue on this profile will
operate on the MAAS region server.
The command information you see here comes from the region server's
API; it may differ for different profiles. If you believe the API may
have changed, use the command's 'refresh' sub-command to fetch the
latest version of this help information from the server.
[root@util01 ~]# maas admin machines read
Unrecognised signature: method=GET op=None
Looking at logs, I think the http log is the only one with information relating to this.
Aug 14 11:45:40 util01 maas-http[2866400]: 127.0.0.1 - - [14/Aug/2024:11:45:40 -0400] "GET /MAAS/api/2.0/machines/ HTTP/1.1" 400 42 "-" "Python-httplib2/0.20.2 (gzip)"
Happy to do further investigations, any help is welcome.