juju / 1.25-upgrade

Tools to upgrade and move a 1.25 environment to a 2.2.4+ controller
4 stars 7 forks source link

Add update-maas-agentname command #15

Closed axw closed 7 years ago

axw commented 7 years ago

In Juju 1.25, we assigned a new UUID specifically for the MAAS agent_name to associate nodes to Juju environments. In Juju 2.x, we use the model UUID for the agent_name.

We Introduce a new command that will update the maas-agent-name config attribute in the Juju 1.25 environ config, instructing the user to run a command on the MAAS region controller to update the MAAS database. This is necessary as there is no API to change the agent_name for a node once it has been acquired.

axw commented 7 years ago

Nice. Could you please add what the agent name was before to the description, for a little more context?

done, and added to output