-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no power on machine #77
Comments
Could you elaborate on your test steps that can help reproduce the issue? |
This is my main.tf:
I execute all command:
The vm is create and appears as "Running":
Also we are trying to autoconfig network. |
Could you try using resource instead of data source here, please ref to the example of resource vm
Since you set the amount of resources and data sources in the main.tf, Terraform will process in parallel by using the -parallelism flag which defaults to 10. You could set this to 1 and then Terraform will only process one resource at a time. Your other option here would be to force Terraform to create dependencies between these resources by using the depends_on configuration block. |
Try to query xenserver_vm data source with xenserver_vm.uuid or xenserver_vm.name_label.
The data source is added later after resource is created, we get
|
When created a VM not is power on.
The VM is created.
The data.xenserver_vm.X.data_items[0].power_state report it as "Running".
Why?
The text was updated successfully, but these errors were encountered: