substrate gets tenant-id from config, not credentials

Bug #1661660 reported by Aaron Bentley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-ci-tools
Triaged
Medium
Unassigned

Bug Description

Juju 2 rejects unexpected values from credentials.yaml, including tenant-id for Azure-arm.
environments.yaml for azure-arm contains tenant-id.

substrates.py requires tenant-id, so it gets it from JujuData._config.

Ideally, we would change substrates.py to not require tenant-id (if there's a way to do that and still support Azure storage). Failing that, we could provide tenant-id through an alternative mechanism such as an environment variable, commandline arg, or additional credentials file.

Tags: azure
Aaron Bentley (abentley)
description: updated
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.