az defaults to wrong subscription when checking resource groups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Azure Integrator Charm |
New
|
Undecided
|
Unassigned | ||
Kubernetes Control Plane Charm |
New
|
Undecided
|
Unassigned | ||
Kubernetes Worker Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
When setting up the azure integration with an account that has more than one subscription associated with it the azure cli will attempt to read on a subscription on which it does not neccessarily have permsissions.
This results in a error:
> /var/lib/
-> request.vm_name, request.unit_name
(Pdb) n
> /var/lib/
-> layer.azure.
(Pdb) n
charms.
No workaround currently,
Thanks,
Peter
description: | updated |
Draft PRs:
https:/ /github. com/juju- solutions/ interface- azure-integrati on/pull/ 7
https:/ /github. com/juju- solutions/ charm-azure- integrator/ pull/34