Skip to content

dial tcp: lookup context canceled #366

@rismoney

Description

@rismoney

Terraform Version

0.11.1

vSphere Provider Version

1.1.1

Affected Resource(s)

simple terraform run

Terraform Configuration Files

any TF code

Panic Output

11:21:45 * module.mybox.data.vsphere_network.network: 
11:21:45 data.vsphere_network.network: error fetching network: Post 
11:21:45 https://vc.mydom.com/sdk: dial tcp: lookup 
11:21:45 vc.mydom.com: context canceled
11:21:45 
11:21:45 * module.mybox.data.vsphere_virtual_machine.template: 1 error(s) 
11:21:45 occurred:
11:21:45 
11:21:45 
11:21:45 
11:21:45 * module.mybox.data.vsphere_virtual_machine.template: 
11:21:45 data.vsphere_virtual_machine.template: error fetching virtual machine: Post 
11:21:45 https://vc.mydom.com/sdk: dial tcp: lookup 
11:21:45 vc.mydom.com: context canceled

Expected Behavior

TF should have run successfully and connected to vsphere.

Actual Behavior

TF apply or plan failed. Subsequent runs may succeed usually after 1 additional run, sometimes 2.
Almost always fails first time.

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply or terraform plan

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions