chef-provisioning-vsphere icon indicating copy to clipboard operation
chef-provisioning-vsphere copied to clipboard

Race condition/Timing issue: Getting credentials

Open crutchfield opened this issue 7 years ago • 0 comments

chef-stacktrace.txt default.rb.txt

Versions:

  • Version of Chef-Provisioning:
  • Version of Chef-Provisioning-vSphere: 2.0.10

Platform Details

  • Version of vSphere/vCenter: 6.5.0 build 7119157
  • Version of ESXi: 6.5.0 build 5969303

Scenario:

Using chef-provisioning-vsphere to start a single machine on vSphere from a template. Work intermittently. Works in test environment (development executing via docker chef/chefdk) does not work in gitlab CI (using docker chef/chefdk). Quest machine is Centos 7.

Steps to Reproduce:

Issue is intermittent. It appears to get vSphere user/password most the time and makes a copy from template in vSphere. Other times, it reports invalid userid or password.

Expected Result:

Expect same result every time. A full provisioned guest VM on vSphere.

Actual Result:

Sometime (almost always in itlab CI) guest machine is not built and recipe fails. scm-term-output.txt

crutchfield avatar Dec 23 '17 00:12 crutchfield