[2.0 b3] tag only supports 'nodes' and and not 'machines' or 'controller's

Bug #1573644 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Unassigned

Bug Description

Trying to list all machines with a specific tag, I came across this command:

retcode for maas maas ['tag', 'machines', 'all']: {{{2}}}
stderr for maas maas ['tag', 'machines', 'all']: {{{
usage: /usr/bin/maas maas tag [-h] COMMAND ...

Manage a Tag.

optional arguments:
  -h, --help show this help message and exit

drill down:
  COMMAND
    update-nodes
                Add or remove nodes being associated with this tag.
    read Read a specific Tag.
    update Update a specific Tag.
    rebuild Manually trigger a rebuild the tag <=> node mapping.
    nodes Get the list of nodes that have this tag.
    delete Delete a specific Tag.

Tags are properties that can be associated with a Node and serve as
criteria for selecting and allocating nodes.

A Tag is identified by its name.

argument COMMAND: invalid choice: 'machines' (choose from 'update-nodes', 'read', 'update', 'rebuild', 'nodes', 'delete')
}}}

MAAS should allow the following:

maas <user> tag *machines* <tag_name> # All machines
maas <user> tag *controllers* <tag_name> # all controllers
maas <user> tag *nodes* <tag_name> # all machines, controllers, devices, etc.

Related branches

Changed in maas:
milestone: none → 2.0.0
importance: Undecided → Medium
status: New → Triaged
summary: - [2.0 beta 3] tag only supports 'nodes' and don't specifically support
+ [2.0 b3] tag only supports 'nodes' and don't specifically support
'machines' or 'controller's
summary: - [2.0 b3] tag only supports 'nodes' and don't specifically support
- 'machines' or 'controller's
+ [2.0 b3] tag only supports 'nodes' and and not 'machines' or
+ 'controller's
Changed in maas:
status: Triaged → 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.

Other bug subscribers

Remote bug watches

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