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] cluster macro is not supported in command calm decompile bp #283

Closed glover-chris closed 7 months ago

glover-chris commented 9 months ago

Describe the bug When decompiling a bp with cluster macro, we receive the following error:

[2024-01-18 12:58:04] [ERROR] [calm.dsl.builtins.models.calm_ref:669] Entity with type ahv_cluster and uuid @@{target_cluster.uuid}@@ not found in cache. Please update cache

Branch/Container master

To Reproduce Steps to reproduce the behavior:

  1. Decompile a bp with cluster macro.

Expected behavior Bp decompiles.

Findings/Troubleshooting Done See error above.

Available Logs/Data If there is any CLI command stack traceback or some logs

Screenshots If applicable, add screenshots to help explain your problem.

System Configuration:

Additional context Add any other context about the problem here.

dwivediprab commented 7 months ago

PR: https://github.com/ideadevice/calm-dsl/pull/395