cloudfoundry / bosh-vsphere-cpi-release

BOSH vSphere CPI
Apache License 2.0
31 stars 35 forks source link

Missing creds from vSphere admin account #15

Closed forddonald closed 7 years ago

forddonald commented 7 years ago

I just tested the permissions roster listed in the docs file perm-by-perm for making an administrative user in vCenter and found there are eight missing permissions required when building PCF v1.8 with vSphere 6.0.

Those are:

Virtual Machine: Inventory: Register Virtual Machine: Inventory: Unregister Virtual Machine: Interact: Console Interaction Virtual Machine: Interact: Guest Control with VIX Virtual Machine: Interact: Defragment All Disks Virtual Machine: Guest Operations: Query Virtual Machine: Guest Operations: Modify Virtual Machine: Guest Operations: Execute

pcf admin role virtual machine guest ops and interaction pcf admin role virtual machine config

forddonald commented 7 years ago

pcf admin role virtual machine inventory and provisioning

ljfranklin commented 7 years ago

@forddonald Thanks, this is good stuff. Did you see errors from the CPI during a BOSH deployment (debug output) or was the error from the OpsMgr UI (pop-up dialogue)? That will guide us whether we need to update our (CPI's) docs or work with the commercial team to update the commercial docs. That doc is the set of required permissions for a pure BOSH deployment while some additional permissions may or may not be required for commercial installations.

forddonald commented 7 years ago

The error reported during the Ops Mgr Apply Changes validation stage. Here's a screenshot of what I saw. pcf vsphere missing creds

ljfranklin commented 7 years ago

@forddonald OpsMgr tries to perform some validation to fail quickly, but in this case I think it's checking for permissions that aren't actually required. Could you add a +1 on this story for OpsMgr: https://www.pivotaltracker.com/story/show/129641855? I'm going to close this out as it's an issue with a commercial offering rather than this open source project, but ping me on that Tracker story if you'd like more info.