[azure] creating models in the same resource group as the controller - breaks the controller

Bug #1954782 reported by Peter Jose De Sousa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Medium
Unassigned

Bug Description

[azure] creating models in the same resource group as the controller breaks the controller

Hi,

When deploying juju using the config for resource group name (--config resource-group-name=my-rg) for both the controller and the deployment model, juju will pickup machine-0 as a new machine in the model and attempt to provision it.

This results in a broken controller and dysfunctional cloud.

[Workaround]

Deploy models into seperate resource groups,

Thanks,

Peter

summary: - [azure] creating models in the same resource group as the breaks the
- controller
+ [azure] creating models in the same resource group as the controller -
+ breaks the controller
Revision history for this message
Ian Booth (wallyworld) wrote :

The Azure provider requires that each model belong to a separate resource group. In the case where a user specified RG is not used, Juju creates one based on the model UUID.

We should add a check to ensure the user cannot incorrectly try and assign the same resource group to 2 models.

Changed in juju:
milestone: none → 2.9.23
importance: Undecided → Medium
status: New → Triaged
Changed in juju:
milestone: 2.9.23 → 2.9.24
Changed in juju:
milestone: 2.9.24 → 2.9.25
Changed in juju:
milestone: 2.9.25 → 2.9.26
Changed in juju:
milestone: 2.9.26 → 2.9.27
Changed in juju:
milestone: 2.9.27 → 2.9.28
Changed in juju:
milestone: 2.9.28 → 2.9.29
Revision history for this message
John A Meinel (jameinel) wrote :

we could at least do a sanity check that we don't collide on the resource group so that it doesn't break things

Changed in juju:
milestone: 2.9.29 → 2.9-next
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This Medium-priority bug has not been updated in 60 days, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
Harry Pidcock (hpidcock)
Changed in juju:
importance: Low → Medium
milestone: 2.9-next → 3.2-beta1
Changed in juju:
milestone: 3.2-beta1 → 3.2-rc1
Changed in juju:
milestone: 3.2-rc1 → 3.2.0
Changed in juju:
milestone: 3.2.0 → 3.2.1
Changed in juju:
milestone: 3.2.1 → 3.2.2
Changed in juju:
milestone: 3.2.2 → 3.2.3
Changed in juju:
milestone: 3.2.3 → 3.2.4
Changed in juju:
milestone: 3.2.4 → 3.2.5
Ian Booth (wallyworld)
tags: added: usability
Changed in juju:
milestone: 3.2.5 → none
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.