What does machine status 11 mean?

I just find ID 4 and ID 6 on the docs.


Where I can see the interpretation of these status id?
1 Like

This table is missing from the documentation, thanks for pointing it out.

From the code:

    # The node has been created and has a system ID assigned to it.
    NEW = 0
    # Testing and other commissioning steps are taking place.
    COMMISSIONING = 1
    # The commissioning step failed.
    FAILED_COMMISSIONING = 2
    # The node can't be contacted.
    MISSING = 3
    # The node is in the general pool ready to be deployed.
    READY = 4
    # The node is ready for named deployment.
    RESERVED = 5
    # The node has booted into the operating system of its owner's choice
    # and is ready for use.
    DEPLOYED = 6
    # The node has been removed from service manually until an admin
    # overrides the retirement.
    RETIRED = 7
    # The node is broken: a step in the node lifecyle failed.
    # More details can be found in the node's event log.
    BROKEN = 8
    # The node is being installed.
    DEPLOYING = 9
    # The node has been allocated to a user and is ready for deployment.
    ALLOCATED = 10
    # The deployment of the node failed.
    FAILED_DEPLOYMENT = 11
    # The node is powering down after a release request.
    RELEASING = 12
    # The releasing of the node failed.
    FAILED_RELEASING = 13
    # The node is erasing its disks.
    DISK_ERASING = 14
    # The node failed to erase its disks.
    FAILED_DISK_ERASING = 15
    # The node is in rescue mode.
    RESCUE_MODE = 16
    # The node is entering rescue mode.
    ENTERING_RESCUE_MODE = 17
    # The node failed to enter rescue mode.
    FAILED_ENTERING_RESCUE_MODE = 18
    # The node is exiting rescue mode.
    EXITING_RESCUE_MODE = 19
    # The node failed to exit rescue mode.
    FAILED_EXITING_RESCUE_MODE = 20
    # Running tests on Node
    TESTING = 21
    # Testing has failed
    FAILED_TESTING = 22

thx !! It worked for me

if you want a human readable status, then look at the status_name output from the CLI

e.g.

$ maas karura machines read | jq ".[] | \
    {hostname:.hostname, system_id: .system_id, status_name:.status_name}" --compact-output
{"hostname":"grand-amoeba","system_id":"qt7e3e","status_name":"Ready"}
{"hostname":"grown-hawk","system_id":"8qcbef","status_name":"New"}
{"hostname":"living-goblin","system_id":"4qnwph","status_name":"Ready"}
{"hostname":"sure-quagga","system_id":"xpygmm","status_name":"Testing"}
{"hostname":"many-coyote","system_id":"h7rqdm","status_name":"Ready"}
{"hostname":"golden-liger","system_id":"etyhye","status_name":"Testing"}
{"hostname":"on-prawn","system_id":"8pes34","status_name":"Deployed"}
{"hostname":"immune-mullet","system_id":"b38mrp","status_name":"Ready"}
{"hostname":"sound-shiner","system_id":"etyht4","status_name":"Ready"}

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.