Open kpettijohn opened 8 years ago
Looks like I raised #33 at the same time you were typing this out ;)
Haha! I am in the same situation as we use the minimal permissions necessary for our admins/CI.
@robcoward I was able to get things working by following a tip from the rlane/rbvmomi#19 issue.
Granted this is a bit of a hack... but it works haha.
Replace line 84 with the following:
rootFolder = vim.serviceInstance.content.rootFolder
@datacenter ||= rootFolder.childEntity.grep(RbVmomi::VIM::Datacenter).find { |x| x.name == datacenter_name } ||
@kpettijohn this fixed an error i was getting as well. any reason not to submit a PR for this?
@johnsmyth No real reason. I figured my changed was a bit of a hack as I didn't fully understand the permissions.
I created a PR (#55) with the changes I have been using since this issue was originally created.
This might be more of a question than an issue but I seem to be fighting with some permission issues. I am attempting to use the vsphere driver with test-kitchen and but I am getting the following error.
Here is my configuration:
I came across an issue from rbvmomi (rlane/rbvmomi/issues/19), which might be related to what I am experiencing. Any suggestions/ideas would be greatly appreciated!