VMware Cloud Community
uchacker11
Contributor
Contributor

vSphere 6 Web Client Empty Inventory

Hello

I am experiencing an odd behavior with permissions in the Web Client.  We have several custom Roles and Permissions applied to give service owners access to their VMs in vSphere.  Every morning when users login to vSphere to manage their VMs, they receive "Empty Inventory" messages.  The users permissions have not changed and they are able to search for their VMs with no issues.  They simply cannot see a list of them in "Hosts and Clusters" or "VMs and Templates."

Logging in via the Windows Client works just fine.  I can fix the issue temporarily by editing the users permissions on an object and simply clicking OK (not changing the role or propagation settings).

Has anyone seen this before?  It just started happening when we upgraded to 6.0 from 5.5u1.

0 Kudos
14 Replies
greco827
Expert
Expert

At what level are their permissions set?  Can they see VM's from the VM's & Templates view, but not the Hosts & Clusters view, or in neither?

If you find this or any other answer useful please mark the answer as correct or helpful https://communities.vmware.com/people/greco827/blog
0 Kudos
uchacker11
Contributor
Contributor

Permissions are typically applied at the folder level.  There are some special cases where perms are applied to other objects but there aren't many of those.

Users cannot see anything in either VMs and Templates or Hosts and Clusters.  They can only see VMs if they search for them or if I kick the permissions.

Also, If a user has access to multiple different entities, I only need to kick the permissions on one entity to fix all of their permissions.

0 Kudos
greco827
Expert
Expert

Try setting their permissions to read-only at the cluster level and leaving their folder based roles in place.  This should allow them to see what you want them to.

If you find this or any other answer useful please mark the answer as correct or helpful https://communities.vmware.com/people/greco827/blog
0 Kudos
estereterete
Enthusiast
Enthusiast

Same here.

So far, I retried creating new roles fcloned from power user v6 sample.

This is my Role:

    <Role Name="DGC 6 Power user" Label="My Power user" Summary="My Power user">

      <Privilege Name="Datastore.Browse" />

      <Privilege Name="Global.CancelTask" />

      <Privilege Name="ScheduledTask.Create" />

      <Privilege Name="ScheduledTask.Delete" />

      <Privilege Name="ScheduledTask.Edit" />

      <Privilege Name="ScheduledTask.Run" />

      <Privilege Name="System.Anonymous" />

      <Privilege Name="System.Read" />

      <Privilege Name="System.View" />

      <Privilege Name="VirtualMachine.Config.AddExistingDisk" />

      <Privilege Name="VirtualMachine.Config.AddNewDisk" />

      <Privilege Name="VirtualMachine.Config.AddRemoveDevice" />

      <Privilege Name="VirtualMachine.Config.AdvancedConfig" />

      <Privilege Name="VirtualMachine.Config.CPUCount" />

      <Privilege Name="VirtualMachine.Config.DiskLease" />

      <Privilege Name="VirtualMachine.Config.EditDevice" />

      <Privilege Name="VirtualMachine.Config.Memory" />

      <Privilege Name="VirtualMachine.Config.RemoveDisk" />

      <Privilege Name="VirtualMachine.Config.Rename" />

      <Privilege Name="VirtualMachine.Config.ResetGuestInfo" />

      <Privilege Name="VirtualMachine.Config.Resource" />

      <Privilege Name="VirtualMachine.Config.Settings" />

      <Privilege Name="VirtualMachine.Config.UpgradeVirtualHardware" />

      <Privilege Name="VirtualMachine.Interact.AnswerQuestion" />

      <Privilege Name="VirtualMachine.Interact.ConsoleInteract" />

      <Privilege Name="VirtualMachine.Interact.DeviceConnection" />

      <Privilege Name="VirtualMachine.Interact.GuestControl" />

      <Privilege Name="VirtualMachine.Interact.PowerOff" />

      <Privilege Name="VirtualMachine.Interact.PowerOn" />

      <Privilege Name="VirtualMachine.Interact.Reset" />

      <Privilege Name="VirtualMachine.Interact.SetCDMedia" />

      <Privilege Name="VirtualMachine.Interact.SetFloppyMedia" />

      <Privilege Name="VirtualMachine.Interact.Suspend" />

      <Privilege Name="VirtualMachine.Interact.ToolsInstall" />

    </Role>

Right now, all what non administrators users see in web client is

      Empty inventory

They see their machines in vmware viclient, and they also see them in the

      Vcenter Inventory Lists > Virtual Machines

0 Kudos
estereterete
Enthusiast
Enthusiast

Actually, if they dont have permission (not even ro) at cluster level, there might be a good reason for that.

This does not solve the problem

0 Kudos
tcsm_bi
Contributor
Contributor

Hi,

Did you ever get a resolution for this?

We are having the same issue.

Thanks.

0 Kudos
rnelson0
Contributor
Contributor

Any update on Schrodinger's Permissions? Having the same issue and the same workaround of edit->no change->OK fixes it, temporarily.

0 Kudos
rnelson0
Contributor
Contributor

I did find a potential resolution at http://www.virtually-limitless.com/troubleshooting/vcenter-server-displays-blank-or-no-inventory-aft... but since it's after 5, I'm not risking it tonight. Has anyone tried that?

0 Kudos
spenceratarbor
Contributor
Contributor

We're running into this as well. using the appliances and external PSC's. It's driving my users crazy because I have to go in and fix it every time it dies. Would love to know a resolution if one is found.

Our installation was from scratch, no upgrades.

0 Kudos
schlagy
Contributor
Contributor

The same problem here after upgrading from 5.5 to 6.0 u1!

0 Kudos
rnelson0
Contributor
Contributor

The solution at Cloud permissions for VMware vSphere (Roles, Privileges and Permissions) | JohnBorhek.com worked for me. Essentially, intermediate objects now need to be readable for users to have their rights at the lower level. Let's say your structure in the Hosts And Clusters view is:

  • DataCenterA:
    • Cluster1:
      • HostA
      • HostB

In 5.5 you would have assigned rights to Cluster1 and everything was okay. In 6.0 you still assign rights to Cluster1, but also assign read-only (or higher) permissions that do not propogate on DataCenterA, and any other intermediate items.. All four views - H&C, VMs & Templates, Storage, and Networking - have the same issue, so add the read-only rights on all intermediate items in each view.

Thanks to unsichtbare for the tip on this!

0 Kudos
spenceratarbor
Contributor
Contributor

Sadly I just had this happen again to me. My user group is a member of "Administrators" in Global Permissions, and I logged in and saw an entire vCenter missing (the one I was logging into no less!). I could get to resources on the other vCenter server in ELM, but the local one was gone.

Something is far more broken if a global admin has entire vCenter's drop out.

Like always, using the Windows client works fine. I had to reboot vCenter to get my access back.

0 Kudos
rnelson0
Contributor
Contributor

I was told by support that there is a completely different problem that has similar symptoms wherein the inventory service itself is affected. I wasn't given a KB for that but maybe log analysis will show if that service had an issue? In this case, the permissions error looked like:

2015-10-20T18:37:57.859Z [tomcat-exec-80  WARN com.vmware.cis.authorization.impl.AclPrivilegeValidator  opId=<GUID>] User DOMAIN\username does not have privileges [System.View] on object urn%3Aacl%3Aglobal%3Apermissions

That was from the catalina (tomcat) log IIRC

0 Kudos
spenceratarbor
Contributor
Contributor

Yes, I have seen that error in the web UI when trying to look at one of the tabs (i forget which) when the inventory is missing.

0 Kudos