Link to home
Start Free TrialLog in
Avatar of strivoli
strivoliFlag for Italy

asked on

Newly added VMs using vSphere Web Client are visible using vSphere Client

My vCenter manages 1 Datacenter which has 1 Cluster which has 2 hosts. Very simple scenario.
When I create a VM (using vSphere Web Client), the process runs OK but I can't list the created VM using vSphere Web Client. The VM is listed using vSphere Client.
The vCenter VM and a previous created VM (not by me) is listed using Web Client but any new VMs aren't.
What am I missing?
SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of strivoli

ASKER

Thanks to both. I use the root account on both Web Client and Client. I've checked using the Client and it seems OK. Please have a look at the attached Screen Shot. SRV-A001 is the vCenter VM.
The Screen Shot...
Screen-Shot-1.PNG
It appears you're logging in with the domain name vsphere.local\administrator is this the correct domain name. (Just seems off to me)
I'm logging in with the root account. root is what I type in the user name text box in both Client and Web Client.
Is there multiple hosts? I have a feeling you're logging into a single host and only seeing the machines on that host.
root account ?

this is an account, usually used for access to ESXi only.

unless, someone has created an account called root?

You need to assign the correct permissions, and add a user account with correct permissions.
I've logged in the Web Client using the VSPHERE.LOCAL\Administrator account but I get the same result. I created the SRV-A002 VM but I can only see it using the Client (not the Web Client). Consider that when I log in the Client I use the vCenter IP address (which is 192.168.0.111/22). Please see the attached Screen Shot.
Both root and VSPHERE.LOCAL\Administrator are defined in SRV-A011 (which is the vCenter) and both are part of the Administrator Role on both hosts (192.168.2.1 and 192.168.2.11 are set the same).
Should I try creating a new account and giving it the Administrator Role?
Screen-Shot-2.PNG
just check the permissions on each VM object are also root? Permissions may not be propagated down the tree.

I would create a new account, with Administrator Role.
The Cluster lists (please see the Screen Shot 2 attached in my previous post) 2 hosts and 7 VMs (one of these is the vCenter). All 9 objects have the same entries in the "Permissions" tab. They are identical.
I will create a new account and report back.
Okay, you cannot login to a vsphere web client with the root username. You will need to create a new account, under administrator and make sure it has rights to the entire datacenter.

Try logging into the vSphere application first with your new credentials. Then try logging into your vSphere web client: https://srv-a011/vsphere-client/

If you're logging in with IP's make sure that you're using the same IP as your vCenter Server. Whatever srv-a011 is.
Thanks for the suggestions. I have 1 VM that works as it should and it wasn't created by me. Might it be it was created using another account (not root) and that account has been deleted? If I could find out which account it has been used, I could use it again. How can I find out which account created a specific VM?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This discussion fully replicates my scenario. I think there's no issue with the user (account) root being used. I think the issue happens because vCenter isn't working as it should. If you have any suggestions on how to fix vCenter, they are welcome. Thanks.
Yes, vsphere web client is of sub-standard usability.
We are almost not using it since 5.5U2 client allows us to get back access to VMs mistakenly converted to vmx-10.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
UPDATE: I use Firefox to access the Web Client. After the VMware vCenter Server Appliance UPDT I had to clear Firefox's cache.
The solution is to apply the update to VMware vCenter Server Appliance. Sometimes, updates do help :-)
Although, you have taken the time to read my question and provide suggestions. This is why I decided to split points to all partecipants.
Thank you for helping.