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
When attempting to create a citrix_scvmm_hypervisor_resource_pool resource with the Citrix Terraform Provider, the process fails because the specified host or host group cannot be resolved. It seems that the host parameter does not correctly interpret the values provided, even though they match the SCVMM configuration.
Steps to Reproduce:
Terraform configuration:
resource"citrix_scvmm_hypervisor_resource_pool""main" {
name="VLAN123"hypervisor=citrix_scvmm_hypervisor.main.idhost="HOSTGROUP\\mgtphyp07.company.com"# Example value, several formats testednetworks=["VLAN123"]
storage=[
{
storage_name ="Local storage on mgtphyp07.company.com"
superseded =false
}
]
temporary_storage=[
{
storage_name ="Local storage on mgtphyp07.company.com"
superseded =false
}
]
use_local_storage_caching=false
}
Tested multiple variants of the host parameter, including:
Hostname only: mgtphyp07
Host FQDN: mgtphyp07.company.com
Host group and host: HOSTGROUP\\mgtphyp07
SCVMM path: All Hosts\\HOSTGROUP\\mgtphyp07.company.com
DaaS internal path: HOSTGROUP.hostgroup/mgtphyp07.host
Creating the connection and resource pool manually in Citrix DaaS works without issue.
The DaaS PowerShell and API logs show that hosts are internally referenced using paths like HOSTGROUP.hostgroup/mgtphyp07.host. However, this format is not accepted by the Terraform Provider.
The host is confirmed to exist in SCVMM and works in other configurations.
PowerShell commands confirm correct host, host group, and network names:
Get-SCVMHost | Select Name, ID
Get-SCVMHostGroup | Select Name
Get-SCVMNetwork | Select Name
@xinghengl-citrix@AlanCitrix
Could you please check and let us know if we need any logs etc information?
Please note that we are using Hyper-V Local Storage
We have identified the cause of the issue. Currently our provider doesn't have the capability to handle host within a host group. We will add a new field in citrix_scvmm_hypervisor_resource_pool for specifying host_group.
Hi,
When attempting to create a citrix_scvmm_hypervisor_resource_pool resource with the Citrix Terraform Provider, the process fails because the specified host or host group cannot be resolved. It seems that the host parameter does not correctly interpret the values provided, even though they match the SCVMM configuration.
Steps to Reproduce:
Terraform configuration:
Tested multiple variants of the host parameter, including:
Error message:
Additional Information:
Creating the connection and resource pool manually in Citrix DaaS works without issue.
The DaaS PowerShell and API logs show that hosts are internally referenced using paths like HOSTGROUP.hostgroup/mgtphyp07.host. However, this format is not accepted by the Terraform Provider.
The host is confirmed to exist in SCVMM and works in other configurations.
PowerShell commands confirm correct host, host group, and network names:
Get-SCVMHost | Select Name, ID
Get-SCVMHostGroup | Select Name
Get-SCVMNetwork | Select Name
Example output:
API log of a successful manual creation in DaaS:
Environment:
Terraform Version: 1.0.8
CitrixIssueId: 59626
The text was updated successfully, but these errors were encountered: