Skip to content
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

Windows DHCP issue when using kitchen #95

Open
smackmybitsup opened this issue Nov 29, 2018 · 0 comments
Open

Windows DHCP issue when using kitchen #95

smackmybitsup opened this issue Nov 29, 2018 · 0 comments

Comments

@smackmybitsup
Copy link

Versions:

  • Version of Chef-Provisioning: chef-provisioning (2.7.1)
  • Version of Chef-Provisioning-vSphere: chef-provisioning-vsphere (2.3.1)

Platform Details

Product VMware vCenter Server 6 Standard (Instances)
VMware ESXi, 6.5.0, 10175896

Scenario:

Windows client does not get a usable DHCP during a kitchen converge

  add normal.chef_provisioning = {"reference"=>{"driver_url"=>"vsphere://nscvc65d01ao.petc.local/sdk?use_ssl=true&insecure=true", "driver_version"=>"2.3.1", "server_id"=>"503ca6c3-7bda-3823-1b4c-d7dee2df4f77", "is_windows"=>true, "allocated_at"=>"2018-11-29 17:19:00 UTC", "ipaddress"=>nil}}
  add normal.tags = nil
###run converge again and it "sees" the network###
[2018-11-29T09:29:02-08:00] WARN: Checking to see if {"driver_url"=>"vsphere://nscvc65d01ao.petc.local/sdk?use_ssl=true&insecure=true", "driver_version"=>"2.3.1", "server_id"=>"503ca6c3-7bda-3823-1b4c-d7dee2df4f77", "is_windows"=>true, "allocated_at"=>"2018-11-29 17:19:00 UTC", "ipaddress"=>nil} has been created...
establishing connection to nscvc65d01ao.petc.local
[2018-11-29T09:29:02-08:00] WARN: returning existing machine
Power on VM [kitchen/win-test-windows-0049fc0e]
.IP address obtained: 172.24.201.119
update node win-test-windows-0049fc0e at chefzero://localhost:1
  update normal.chef_provisioning.reference.ipaddress from nil to "172.24.201.119"```

### Steps to Reproduce:
kitchen converge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant