nutanix / calm-dsl

Keep Calm and DSL On!
https://nutanix.github.io/calm-dsl/
Apache License 2.0
33 stars 51 forks source link

[Bug]Invalid cluster name is getting identified in command decompile operation #250

Closed Harish-Kumar-S closed 1 year ago

Harish-Kumar-S commented 2 years ago

Describe the bug Invalid cluster name is getting identified during decompile operation.

Unable to launch the brownfield application using a local (to DSL) blueprint. The error is:
[2022-09-21 15:08:32] [DEBUG] [calm.dsl.builtins.models.ahv_vm_cluster:48] Ahv Cluster (name = ‘_CalmRef5a9876b5’) not found in registered Nutanix PC account (uuid = ‘66b5d19d-9017-485c-aa00-68ab22c674ba’) in project (name = ‘Blueprints’)
[2022-09-21 15:08:32] [ERROR] [calm.dsl.builtins.models.ahv_vm_cluster:53] AHV Cluster _CalmRef5a9876b5 not found. Please run: calm update cache

Branch/Container Branch or Container where it is happening: calm-DSL 3.4.0

Expected behavior The decompile command should identify the correct cluster name