api ignores unknown parameters

Bug #1368307 reported by Brad Figg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Won't Fix
Medium
Unassigned
maas (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I'm using the command 'maas maas nodes acquire system_id="node-b0685f4e-3843-11e4-922e-00163e6ffb81"' and maas is acquiring a random node. The problem is that "system_id" is not a valid parameter to the nodes acquire command.

1. If an invalid parameter is given then it should return an error and not acquire a random node. (bug 1250392)
2. I think that system_id should be a valid parameter.

$ dpkg -l | grep maas
ii maas 1.6.0+bzr2545-0ubuntu1~ppa1 all MAAS server all-in-one metapackage
ii maas-cli 1.6.0+bzr2545-0ubuntu1~ppa1 all MAAS command line API tool

Tags: api maas-cli
Revision history for this message
Diogo Matsubara (matsubara) wrote :

Set package task as invalid since this is an upstream issue.

Changed in maas (Ubuntu):
status: New → Invalid
tags: added: api maas-cli
description: updated
description: updated
Revision history for this message
Julian Edwards (julian-edwards) wrote :

This might be a dupe but I can't find the original.

Changed in maas:
status: New → Triaged
summary: - maas <profile> nodes acquire system_id=<system_id> acquires a random
- node
+ api ignores unknown parameters
Changed in maas:
importance: Undecided → Medium
Changed in maas:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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