Status presents unnecessary MAAS API info for machines

Bug #1501475 reported by Mark Shuttleworth
92
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Tim McNamara

Bug Description

When using Juju with MAAS, I often see things like this:

   /MAAS/api/1.0/nodes/node-0c15c2d0-61df-11e5-aa84-000e1e989680/

I believe that's the canonical REST URL for the node in MAAS, but it's overkill. It would be more than sufficient to say this:

  node-0c15c2d0-61df-11e5-aa84-000e1e989680

Please can we find and fix all of those? In particular:

Bootstrapping environment "garage"
Starting new instance for initial state server
Launching instance
WARNING no architecture was specified, acquiring an arbitrary node
 - /MAAS/api/1.0/nodes/node-0c15c2d0-61df-11e5-aa84-000e1e989680/

This one would be better as:

  node-0c15c2d0-61df-11e5-aa84-000e1e989680 (nuc-1.cluster.mallards)

And this one:

[Machines]
ID STATE VERSION DNS INS-ID SERIES HARDWARE
0 started 1.24.6 nuc-1.cluster.mallards /MAAS/api/1.0/nodes/node-0c15c2d0-61df-11e5-aa84-000e1e989680/ trusty arch=amd64 cpu-cores=4 mem=8192M

Again, INS-ID could just be node-0c15c2d0-61df-11e5-aa84-000e1e989680

Thanks!

Curtis Hovey (sinzui)
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.26-alpha1
tags: added: maas-provider ui
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.26-alpha1 → 1.26-alpha2
Changed in juju-core:
milestone: 1.26-alpha2 → 1.26-beta1
Changed in juju-core:
milestone: 1.26-beta1 → 2.0-alpha2
Changed in juju-core:
milestone: 2.0-alpha2 → 2.0-alpha3
Changed in juju-core:
milestone: 2.0-alpha3 → 2.0-beta3
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta3 → 2.0-beta4
Revision history for this message
Cheryl Jennings (cherylj) wrote :

This will be addressed with the MAAS 2.0 support.

Changed in juju-core:
milestone: 2.0-beta4 → 2.0.1
Changed in juju-core:
milestone: 2.0.1 → 2.0-beta7
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta7 → 2.0-beta8
Revision history for this message
Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1501475] Re: Status presents unnecessary MAAS API info for machines

When we get to this (pre-2.0 please) please use the MAAS hostname in
that column, not the ID.

Thanks,
Mark

Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta8 → 2.0-beta9
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta9 → 2.0-beta10
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta10 → 2.0-beta11
tags: added: 2.0
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta11 → 2.0-beta12
Changed in juju-core:
milestone: 2.0-beta12 → 2.0-beta13
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta13 → 2.0-beta14
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta14 → 2.0-beta15
Changed in juju-core:
milestone: 2.0-beta15 → 2.0-beta16
Changed in juju-core:
milestone: 2.0-beta16 → 2.0-beta17
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta17 → none
milestone: none → 2.0-beta17
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0-beta17 → 2.0-beta18
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0-beta18 → 2.0-beta19
Changed in juju:
milestone: 2.0-beta19 → 2.0-rc1
assignee: nobody → Alexis Bruemmer (alexis-bruemmer)
Changed in juju:
milestone: 2.0-rc1 → 2.0-rc2
Revision history for this message
Mark Shuttleworth (sabdfl) wrote :

This is already much improved (at least in gmaas?)

MACHINE STATE DNS INS-ID SERIES AZ
0 started 192.168.9.11 ect8sh xenial default

All I would like is the unique host name instead, but this one is OK for
now if needed :)

Mark

Changed in juju:
milestone: 2.0-rc2 → 2.0.1
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.1 → none
Changed in juju:
milestone: none → 2.2.0
Changed in juju:
assignee: Alexis Bruemmer (alexis-bruemmer) → nobody
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.2-beta1 → 2.2-beta2
tags: added: sprint-topic-1705
Changed in juju:
milestone: 2.2-beta2 → none
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Tim McNamara (tim-clicks)
milestone: none → 2.5.1
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.5.1 → 2.5.2
Changed in juju:
milestone: 2.5.2 → 2.5.3
Ian Booth (wallyworld)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
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.