juju commands with -m should accept a uuid for the model name

Bug #1828455 reported by Richard Harding
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Joseph Phillips

Bug Description

It'd be great to assist in debugging and matching things from logs where you know the uuid but the admin doesn't know what it is.

Changed in juju:
milestone: none → 2.6.1
Changed in juju:
assignee: nobody → Joseph Phillips (manadart)
Revision history for this message
Richard Harding (rharding) wrote :

One note is that the controller call show-model doesn't accept a -m (since the model is a required arg) and would also need to match up appropriately.

Changed in juju:
milestone: 2.6.1 → 2.6.2
Revision history for this message
Joseph Phillips (manadart) wrote :

Should we also allow "juju switch" to accept a UUID?

Revision history for this message
Richard Harding (rharding) wrote : Re: [Bug 1828455] Re: juju commands with -m should accept a uuid for the model name

Seems ok to me if it's not creating any issues.

On Tue, May 14, 2019, 1:30 PM Joseph Phillips <email address hidden>
wrote:

> Should we also allow "juju switch" to accept a UUID?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1828455
>
> Title:
> juju commands with -m should accept a uuid for the model name
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1828455/+subscriptions
>

Revision history for this message
John A Meinel (jameinel) wrote :

I think it is just a case of "where we take a model name, allow it to be a
model uuid". Arguably we also would support short hash prefix of uuid. (eg
first 6-8 characters). I believe we've been using first 6 in log messages.

John
=:->

On Tue, May 14, 2019, 14:10 Richard Harding <email address hidden>
wrote:

> Seems ok to me if it's not creating any issues.
>
> On Tue, May 14, 2019, 1:30 PM Joseph Phillips <email address hidden>
> wrote:
>
> > Should we also allow "juju switch" to accept a UUID?
> >
> > --
> > You received this bug notification because you are subscribed to the bug
> > report.
> > https://bugs.launchpad.net/bugs/1828455
> >
> > Title:
> > juju commands with -m should accept a uuid for the model name
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/juju/+bug/1828455/+subscriptions
> >
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1828455
>
> Title:
> juju commands with -m should accept a uuid for the model name
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1828455/+subscriptions
>

Revision history for this message
Richard Harding (rharding) wrote :

Ooh short ones is bonus awesome

On Tue, May 14, 2019, 2:25 PM John A Meinel <email address hidden> wrote:

> I think it is just a case of "where we take a model name, allow it to be a
> model uuid". Arguably we also would support short hash prefix of uuid. (eg
> first 6-8 characters). I believe we've been using first 6 in log messages.
>
> John
> =:->
>
> On Tue, May 14, 2019, 14:10 Richard Harding <email address hidden>
> wrote:
>
> > Seems ok to me if it's not creating any issues.
> >
> > On Tue, May 14, 2019, 1:30 PM Joseph Phillips <
> <email address hidden>>
> > wrote:
> >
> > > Should we also allow "juju switch" to accept a UUID?
> > >
> > > --
> > > You received this bug notification because you are subscribed to the
> bug
> > > report.
> > > https://bugs.launchpad.net/bugs/1828455
> > >
> > > Title:
> > > juju commands with -m should accept a uuid for the model name
> > >
> > > To manage notifications about this bug go to:
> > > https://bugs.launchpad.net/juju/+bug/1828455/+subscriptions
> > >
> >
> > --
> > You received this bug notification because you are subscribed to juju.
> > Matching subscriptions: juju bugs
> > https://bugs.launchpad.net/bugs/1828455
> >
> > Title:
> > juju commands with -m should accept a uuid for the model name
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/juju/+bug/1828455/+subscriptions
> >
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1828455
>
> Title:
> juju commands with -m should accept a uuid for the model name
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1828455/+subscriptions
>

Changed in juju:
milestone: 2.6.2 → 2.6.3
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Joseph Phillips (manadart) wrote :
Changed in juju:
milestone: 2.6.3 → 2.6.4
Changed in juju:
milestone: 2.6.4 → 2.6.5
Changed in juju:
milestone: 2.6.5 → 2.6.6
Changed in juju:
milestone: 2.6.6 → 2.6.7
Revision history for this message
Joseph Phillips (manadart) wrote :
Changed in juju:
milestone: 2.6.7 → 2.7-beta1
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.