User cannot access Spectrum Oneclick after name change

book

Article ID: 144176

calendar_today

Updated On:

Products

CA eHealth CA Spectrum

Issue/Introduction

Environment:
RHEL7
Spectrum 10.3.2

 

Problem Description:
The User X215640 cannot access the Spectrum Onelick administration page or GUI.

The Onelick administration page shows SPC-OCA-10474: Invalid user name and or password.

The user has license and access to all landscapes as seen from OC user tab and the user exists and has rights via CLI on the SpectroSERVER.

Environment

Release : 10.3

Component : Spectrum Core / SpectroSERVER

Resolution

Checking in CLI:

[[email protected] vnmsh]$ ./show models | grep X215640
0xda91461 X215640 (Active) 0x10004 User

To verify the attributes are set to this name:
[[email protected] vnmsh]$ ./show attributes mh=0xda91461 | grep X215640
0x1006e Model_Name X215640
0x101f3 User_ID X215640

Verify there is no space in the name:

[[email protected] vnmsh]$ ./update mh=0xda91461 attr=0x1006e,val="X215640"
Id Name Iid Value
0x1006e Model_Name X215640

[[email protected] vnmsh]$ ./update mh=0xda91461 attr=0x101f3,val="X215640"
Id Name Iid Value
0x101f3 User_ID X215640

If the model name is updated but the user still has no privileges, restart the tomcat service as the tomcat cache will need to be reset.