Error "The user xxxxxx already exists" when trying to create a user in Spectrum
search cancel

Error "The user xxxxxx already exists" when trying to create a user in Spectrum

book

Article ID: 7302

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

After deleting a Spectrum user, when I try to recreate the user, I am seeing the following error:

"SPC-OCC-11916 The user xxxxxx already exists."

However, this user is not seen in the Users tab.

Environment

Release: 20.2.x
Component: SPCCSS - SpectroSERVER Core

Cause

The entire user model did not get completely deleted. This is seen most often in a Distributed SpectroSERVER (DSS) environment.

Resolution

Do the following on each primary SpectroSERVER in the environment:

1. Log into the SpectroSERVER system as the user that owns the Spectrum installation

2. If on Windows, start a bash shell by running "bash -login"

3. cd to the $SPECROOT/vnmsh directory

4. Enter the following command to start a Command Line Interface (CLI) session

./connect

5. Enter the following command, where <xxxxxx> is the User model deleted, to search for any left over models related to the User model that was deleted:

./show models | grep <xxxxxx> 

6. If a User model or AccessGroup model for the <xxxxxx> is found, delete the model using the following CLI command where <MH> is the model handle of the model:

./destroy model -n mh=<MH>

7. After checking each SpectroSERVER system using steps 1-6 above, log out of OneClick and then restart tomcat on the OneClick server to clear the OneClick cache.

8. Log into OneClick and recreate the User model

Additional Information

Please reference the "Command Line Interface" section of the documentation for more information on using CLI.

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/spectrum/22-2/managing-client-applications/command-line-interface.html