Skip to content
This repository was archived by the owner on Jun 3, 2023. It is now read-only.

Newly created VM stays as a template #28

Description

@zzzuzik

Hi @ringods and @mborodin
thank you for working on this gem.

My TF is failing (minimized example version) to actually start VM, just template is created.
No error in after applying, just "1 added"
The trace shows this:

[DEBUG] plugin.terraform-provider-xenserver.exe: 2018/03/02 18:37:35 Consumed total  1  bytes to generate hash
[DEBUG] plugin.terraform-provider-xenserver.exe: 2018/03/02 18:37:35 String for hash:  0
[DEBUG] plugin.terraform-provider-xenserver.exe: 2018/03/02 18:37:35 [DEBUG] Query VBD
[DEBUG] plugin.terraform-provider-xenserver.exe: 2018/03/02 18:37:35 [DEBUG] Creating  1  VBDS of type  Disk
[DEBUG] plugin.terraform-provider-xenserver.exe: 2018/03/02 18:37:35 [DEBUG] Got 2 VDIs
[DEBUG] plugin.terraform-provider-xenserver.exe: 2018/03/02 18:37:35 [DEBUG] Query VBD
[DEBUG] plugin.terraform-provider-xenserver.exe: 2018/03/02 18:37:35 [ERROR]  API Error: HANDLE_INVALID VDI OpaqueRef:NULL
[DEBUG] plugin.terraform-provider-xenserver.exe: 2018/03/02 18:37:35 [ERROR]  <nil>

Could you please point me to where should I dig further.

TF.11.03
XS: 7.1ECU1
The base template is healthy, has 1 disk. I can spin up VMs from it within 3 seconds

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions