[2.3] kernel_opts is not documented in `maas admin tag update -h`

Bug #1745198 reported by Nobuto Murata on 2018-01-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Medium
Unassigned

Bug Description

This is a documenting issue, not functional one. `maas admin tag update` accepts "kernel_opts", but it's not documented in `maas admin tag update -h` as follows.

$ maas admin tag read compute-sriov
Success.
Machine-readable output follows:
{
    "resource_uri": "/MAAS/api/2.0/tags/compute-sriov/",
    "definition": "",
    "kernel_opts": "",
    "comment": "",
    "name": "compute-sriov"
}

$ maas admin tag update compute-sriov kernel_opts='console=tty0 console=ttyS0,115200n8 intel_iommu=on'
Success.
Machine-readable output follows:
{
    "resource_uri": "/MAAS/api/2.0/tags/compute-sriov/",
    "definition": "",
    "kernel_opts": "console=tty0 console=ttyS0,115200n8 intel_iommu=on",
    "comment": "",
    "name": "compute-sriov"
}

$ maas admin tag update -h
usage: maas admin tag update [--help] [-d] [-k] name [data [data ...]]

Update a specific Tag.

Positional arguments:
        name

This method accepts keyword arguments. Pass each argument as a
key-value pair with an equals sign between the key and the value:
key1=value1 key2=value key3=value3. Keyword arguments must come after
any positional arguments.

:param name: The name of the Tag to be created. This should be a short
    name, and will be used in the URL of the tag.
:param comment: A long form description of what the tag is meant for.
    It is meant as a human readable description of the tag.
:param definition: An XPATH query that will be evaluated against the
    hardware_details stored for all nodes (output of `lshw -xml`).

Nobuto Murata (nobuto) on 2018-01-24
tags: added: cpe-onsite
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.4.x
tags: added: papercut
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers