maas-cli reports unknown operation if you're logged in with the wrong credentials

Bug #1058316 reported by Diogo Matsubara
14
This bug affects 4 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Gavin Panella

Bug Description

ubuntu@lenovo-RD230-01:~$ maas-cli api maas nodes list
400 BAD REQUEST

  -Content-Encoding: gzip
         Connection: close
     Content-Length: 26
       Content-Type: text/html; charset=utf-8
               Date: Fri, 28 Sep 2012 20:00:27 GMT
             Server: Apache/2.2.22 (Ubuntu)
             Status: 400
               Vary: Authorization,Cookie,Accept-Encoding

Unknown operation: 'list'.

I had previously logged in with the maas-cli using credentials that I purged. Once I logout and login with the proper credentials I could get the list of nodes.

Tags: api cli

Related branches

Changed in maas:
status: New → Triaged
importance: Undecided → Critical
Gavin Panella (allenap)
Changed in maas:
status: Triaged → In Progress
assignee: nobody → Gavin Panella (allenap)
Gavin Panella (allenap)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.