Sean Walberg

Results 114 comments of Sean Walberg

I'm seeing something similar on CentOS 6. ``` $ ruby -r httpclient -e "puts HTTPClient.new.get_content('https://ertw.nationbuilder.com')" /home/campaign/.gem/ruby/2.2.3/gems/httpclient-2.8.2.4/lib/httpclient/ssl_socket.rb:46:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError) ```...

Thanks @shawzt. I didn't realize `set_default_paths` was an option. I ended up using ```Ruby http_client.ssl_config.add_trust_ca CA_BUNDLE_LOCATION if CA_BUNDLE_LOCATION ```

Hm, yea that is odd. Are there other APIs I could be missing? Such as to resolve a name to a UUID then do the recursive search on UUID?

@sdorsett yea we're doing something [close to that](https://github.com/chef-partners/knife-vsphere/blob/c2d82f062c1e7008adae386b32498002439b963b/lib/chef/knife/base_vsphere_command.rb#L141-L152) right now and the problem is that it's really slow. Can take a minute or more in one of our DCs vs...

Just did a quick test of the `ContainerView` and it's not any faster than what we have now. I think the problem is that the view returns all the objects...

Sorry I dropped the ball on this one... Playing around with it now and filtering the properties doesn't seem to help at all. Some co-workers who use powershell say that...

So far I seem to have something based on @sdorsett's work. ``` def containerview1(vmname) pc = @vim.serviceInstance.content.propertyCollector viewmgr = @vim.serviceInstance.content.viewManager rootFolder = @vim.serviceInstance.content.rootFolder vmview = viewmgr.CreateContainerView(container: rootFolder, type: ['VirtualMachine'], recursive:...

@nimDevOps if you downgrade to the older `chef-provisioning-vsphere`, it supports templates and VMs in subfolders for the kitchen driver.

Thanks for bringing this one up. It comes up every so often here and I'm sure more often elsewhere that doesn't go logged. I even got this error last week....

Since it's giving a `VirtualEthernetCardBackingInfo` I think we're hitting the block [here](https://github.com/chef-partners/knife-vsphere/blob/54dc42e26f162af0edabb0073a99375a5d761be3/lib/chef/knife/vsphere_vm_clone.rb#L657-L664). The code doesn't log anything and the `rescue` will catch anything, so this could be a variety of...