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
Using the UI it is possible adding VM Placement Policies leaving the default_compute_policy_id and default_vm_sizing_policy_id (deprecated) untouched.
Using terraform, I cannot create a vdc with system default Sizing Policy (used as default compute policy) and VM Placement Policies, because I cannot specify the id of the system default Sizing Policy (known after apply) and cannot be null.
I think it should be possible to set system default Sizing Policy as default_compute_policy_id even when a placement policy is added to the vdc.
As a workaround I created a dummy/empty VM Sizing Policy on cloud director, I assign it to the vdc and set it as default compute policy, so I can set placement policies.
I've added a comment on the closed issue #1037 but I think it's better to open a new issue.
thanks
The text was updated successfully, but these errors were encountered:
carmine73
changed the title
Cannot create a vdc with system default Compute Policy (used as default compute policy) and VM Placement Policies
Cannot create a vdc with system default Sizing Policy (used as default compute policy) and VM Placement Policies
Mar 4, 2024
Terraform Version
Affected Resource(s)
Terraform Configuration Files
I can create a vdc not specifying vm policies:
vcd creates a vdc with a system default sizing policy (empty) used as:
Expected Behavior
Using the UI it is possible adding VM Placement Policies leaving the
default_compute_policy_id
anddefault_vm_sizing_policy_id (deprecated)
untouched.Using terraform, I cannot create a vdc with system default Sizing Policy (used as default compute policy) and VM Placement Policies, because I cannot specify the id of the system default Sizing Policy (known after apply) and cannot be null.
I think it should be possible to set system default Sizing Policy as
default_compute_policy_id
even when a placement policy is added to the vdc.As a workaround I created a dummy/empty VM Sizing Policy on cloud director, I assign it to the vdc and set it as default compute policy, so I can set placement policies.
I've added a comment on the closed issue #1037 but I think it's better to open a new issue.
thanks
The text was updated successfully, but these errors were encountered: