VMware Solutions Discussions
VMware Solutions Discussions
I just did an in place upgrade of VSC 4.1 to 4.2.1. When looking at the roles inside the VIC, I do not see any of the new default canned vsc roles. I now have no access to my backups. Has anyone seen this before? Is a reboot required? It is not mentioned in the documentation from what I saw, but it could have been over looked.
Solved! See The Solution
Found the solution:
We are using custom roles in the environment. When using custom roles, the default canned roles do not get populated in the same manner. Once finding where they were being populated, modifying permissions corrected the issue.
The new roles should be created/updated on VSC service startup. Verify that the file VSC_INSTALL_DIR\etc\roleDefinitions.xml was installed, and restart the "Virtual Storage Console for VMware vSphere" service. Do you see any related log entries in nvpf.log during startup?
the RoleDefinitions.xml file is on the system. When reading through the nvpf.log the only thing glaring out at me is the following which occurs for some of the roles.
"Communication failure while creating role: VSC Administrator com.vmware.vim25.NoPermission"
What role does the user have whose credentials are registered at https://VSC_HOST:8143/Register.html? Those credentials should belong to a user with the Administrator role (not just "VSC Administrator").
The account used to register the VSC is an Admin role without the permission to change permission, otherwise it is a full admin. As previously stated, I cannot see any of the "canned" VSC roles inside the VIC.
Could you add back the permission that was removed to that account and retry restarting VSC?
Added that role back to the account that registered the VSC. No luck. I have not tried to register VSC though since making that change. I will try that.
Tried to re-register the plugin with the same account. I am still not seeing the default canned VSC roles inside virtual center.
Just so I understand,
What do you see in VSC_INSTALL_DIR\log\nvpf.log on VSC service restart?
That is correct. I am seeing the same things in the log. The only thing that glares out to me is "Communication failure while creating role: VSC Administrator com.vmware.vim25.NoPermission".
Checking the event log I see the following: Persistence file ../../etc/vsphere-credentials does not exsist. as well as ../../etc/cred I am however seeing these files.
Found this even log entry as well:
10452 [WrapperSimpleAppMain] WARN com.netapp.common.flow.Engine - FLOW-10099: Exception while enabling Java Management Extensions
the message resource is present but the message is not found in the string/message table
Try this:
1. Delete VSC_INSTALL_DIR/etc/vsphere-credentials,
2. Restart the VSC service,
3. Re-register at https://localhost:8143/Register.html with credentials for the user that is a vSphere Administrator (has all vSphere privileges).
No luck. I am seeing the same erros in the nvpf log as well as the event viewer. The Java error appears to be gone, but now it says it cannot find the /etc/cred as well as /etc/vsphere-credentials.
I have opened a case with NetApp as well. I am still not seeing the canned roles.
I just sent you a PM asking for the case number so that we can get this escalated in support for you, please send it directly.
Email sent. Thanks so much.
Found the solution:
We are using custom roles in the environment. When using custom roles, the default canned roles do not get populated in the same manner. Once finding where they were being populated, modifying permissions corrected the issue.
We are experiencing the exact same warning message in our application logs on our vsphere server following a massive enterprise wide
password change. We have reregistered at https://localhost:8143/Register.html. DrWoodberry referred to roles
not being correct. Not sure which roles and permissions he was referring to, in our case we just did a password change.