Add support for tagging devices

Bug #1743386 reported by Stéphane Graber
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Go MAAS API Library
New
Undecided
Unassigned

Bug Description

The MAAS API allows for tags on machines/devices but those aren't exposed or modifiable right now through gomaasapi (other than when requesting a new machine).

What I'd like to get is the ability to specify a "lxd" tag when calling CreateDevice() and then be able to filter the devices through DevicesArgs to only show me those that have that "lxd" tag.

This would let LXD and Juju each tag our devices separately, allowing us to compare our internal state to MAAS and clean things up as needed without risking destroying devices that belong to the other.

Revision history for this message
Anastasia (anastasia-macmood) wrote :

I am not sure if this is the best place to report bug or make suggestions for gomaasapi as although we, as Juju, are interested in it and are using it, it feels like this may not be solely on Juju team.

I will keep it as a wishlist for now and see if we can address it as an extra-curriculum activity :)

Changed in juju:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1743386] Re: [gomaasapi] Add support for tagging devices

Should we be adding https://bugs.launchpad.net/gomaasapi ?

On Wed, Jan 31, 2018 at 5:26 AM, Anastasia <email address hidden>
wrote:

> I am not sure if this is the best place to report bug or make
> suggestions for gomaasapi as although we, as Juju, are interested in it
> and are using it, it feels like this may not be solely on Juju team.
>
> I will keep it as a wishlist for now and see if we can address it as an
> extra-curriculum activity :)
>
>
> ** Changed in: juju
> Status: New => Triaged
>
> ** Changed in: juju
> Importance: Undecided => Wishlist
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1743386
>
> Title:
> [gomaasapi] Add support for tagging devices
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1743386/+subscriptions
>

Revision history for this message
Stéphane Graber (stgraber) wrote : Re: [gomaasapi] Add support for tagging devices

Can someone mark this as Triaged+Wishlist on the gomaasapi side?

no longer affects: juju
summary: - [gomaasapi] Add support for tagging devices
+ Add support for tagging devices
Revision history for this message
Adam Collard (adam-collard) wrote :

@petevg: this would be needed for Juju tagging MAAS with unit/services feature we talked about last week

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.