You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
Bug description
I am creating management and workload clusters on Azure.
Management cluster created successfully (meaning the Azure tenant, client and secret are ok).
Configuring a Workload Cluster With an Object Spec File is failing due to missing Azure Tenant ID
Expected behavior
Generated valid Object Spec yaml including Azure Tenant ID (as it was populated in legacy Configuration File)
Steps to reproduce the bug / Relevant debug output
Create management cluster on Azure (using valid Azure tenant, client and secret)
Running tanzu cluster create --file with the generated Object Spec File yaml
Getting the following message Error: workload cluster configuration validation failed: Azure config validation failed: failed to initialize Azure client: failed to get Azure Tenant ID
As a workaround running tanzu config set features.cluster.auto-apply-generated-clusterclass-based-configuration true
And running the same above legacy Configuration File and the deployment is working fine.
It seems like the generated Object Spec File is missing Azure Tenant ID property although it was populated in the legacy Configuration File.
Output of tanzu version
version: v0.28.0
buildDate: 2023-01-20
sha: 3c34115-dirty
Environment where the bug was observed (cloud, OS, etc)
I am usign Ubuntu 22.04.1 LTS
and deploying into Azure
The text was updated successfully, but these errors were encountered:
vuil
transferred this issue from vmware-tanzu/tanzu-cli
Feb 7, 2023
Hey @devozs! Thanks for opening your first issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on Tanzu Framework.
Bug description
I am creating management and workload clusters on Azure.
Management cluster created successfully (meaning the Azure tenant, client and secret are ok).
Configuring a Workload Cluster With an Object Spec File is failing due to missing Azure Tenant ID
Expected behavior
Generated valid Object Spec yaml including Azure Tenant ID (as it was populated in legacy Configuration File)
Steps to reproduce the bug / Relevant debug output
tanzu cluster create my-cluster --file my-cluster-config.yaml --dry-run > my-cluster-spec.yaml
with legacy Configuration File yamltanzu cluster create --file
with the generated Object Spec File yamlGetting the following message
Error: workload cluster configuration validation failed: Azure config validation failed: failed to initialize Azure client: failed to get Azure Tenant ID
As a workaround running
tanzu config set features.cluster.auto-apply-generated-clusterclass-based-configuration true
And running the same above legacy Configuration File and the deployment is working fine.
It seems like the generated Object Spec File is missing Azure Tenant ID property although it was populated in the legacy Configuration File.
Output of
tanzu version
version: v0.28.0
buildDate: 2023-01-20
sha: 3c34115-dirty
Environment where the bug was observed (cloud, OS, etc)
I am usign Ubuntu 22.04.1 LTS
and deploying into Azure
The text was updated successfully, but these errors were encountered: