nutanix / calm-dsl

Keep Calm and DSL On!

Home Page:https://nutanix.github.io/calm-dsl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] calm.dsl.tools.validator.validation_error: Additional properties are not allowed : 'machine_type' in command calm decompile bp

nx-sbourdeaud opened this issue · comments

Describe the bug
When trying to decompile a blueprint with a VM using UEFI and secure boot, calm dsl fails with the following error:
calm.dsl.tools.validator.validation_error: Additional properties are not allowed : 'machine_type'

Branch/Container
Branch or Container where it is happening: master

To Reproduce
Steps to reproduce the behavior:

  1. In blueprint, configure service vm object on AHV provider and select UEFI and secure boot
  2. Try to decompile that saved blueprint
  3. See error

Expected behavior
Blueprint should decompile successfully

Findings/Troubleshooting Done
n/a

Available Logs/Data
n/a

Screenshots
n/a

** System Configuration:**

  • OS: macosx
  • Python: Python 3.10.8

Additional context
n/a