register a user on multiple machines

Bug #1657652 reported by Anastasia
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Wishlist
Unassigned

Bug Description

From Cory Johns description in bug # 1657187:

 When automating Juju, you may want to use the same user on multiple machines, such as when a Juju-using app is scaled. Or, for a CI system, you likely want Juju run from within a pristine (containerized) environment, necessitating re-registering the controller for each run. And then of course there's usual dev / debug workflow where you may add and remove controllers multiple times while testing something.

All of these get very tedious if you have to create a new unique user every time.

Tags: cwr-ci
description: updated
tags: added: cwr-ci matrix
Revision history for this message
John A Meinel (jameinel) wrote :

Is this re-using the same token, generating multiple tokens for your user, or?

Would being able to "juju register IPADDRESS" be sufficient (you can currently juju register DNSNAME"), though you'd need to give a username+password (juju login?) on the second machine.

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

@Cory Jones,

Could you please clarify what would suit your requirements? An answer to John's questions would be great \o/

Changed in juju:
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for juju because there has been no activity for 60 days.]

Changed in juju:
status: Incomplete → Expired
Revision history for this message
Cory Johns (johnsca) wrote :

I missed this bug being created. John: I don't think I realized you could register an arbitrary controller via its DNS name. That is probably fine for CI applications, since re-using the username and password in that case is acceptable. Being able to register by IP would be a good feature as well, since the CI system might not always have a resolvable name, but I don't think it's as critical.

Perhaps just some better documentation around this feature would be enough.

Changed in juju:
status: Expired → In Progress
assignee: nobody → Anastasia (anastasia-macmood)
Changed in juju:
assignee: Anastasia (anastasia-macmood) → nobody
status: In Progress → Triaged
Caner Derici (cderici)
tags: removed: matrix
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.