...
Attempts to add a SSH key to a user fail (XXX stands for the user's username): wawbal-is12(config)# username XXX sshkey ssh-rsa ... Error: user:XXX account is already created through remote authentication The user is not logged in, is not created locally, cannot be manually added, removed, or logged out: wawbal-is12# sh run | in XXX wawbal-is12# sh run all | in XXX wawbal-is12# sh user-account | beg XXX user:XXX roles:network-admin account created through REMOTE authentication Credentials such as ssh server key will be cached temporarily only for this user account Local login not possible wawbal-is12(config)# username XXX password 0 role network-admin user:XXX account is already created through remote authentication. Please first delete that account using no option wawbal-is12(config)# no username XXX wawbal-is12(config)# username XXX password 0 role network-admin user:XXX account is already created through remote authentication. wawbal-is12# clear user XXX invalid user 'XXX' Inspecting DME contents shows that the DME engine stores information about this user: run bash sudo su - export DME_MANUAL_TEST=1 xtf_dme_test -D "dn=sys/userext/remoteuser-XXX" manual lookup ---- manual:lookup: Usage: xtf_dme_test -D dn= -D depth= manual|manual_nokill lookup Input params are: dn=sys/userext/remoteuser-XXX, depth=0 Printing MO... "remoteuser-XXX" : { Printing MO Props... "dn" : "sys/userext/remoteuser-XXX" "loginTime" : "1970-01-01T01:00:00.000+00:00" "modTs" : "never" "name" : "XXX" "persistentOnReload" : "false" "rn" : "remoteuser-XXX" "sequenceNumber" : "0" "unixUserId" : "0" } PASSED SUMMARY: PASSED Test case(s) executed: 1 Test case(s) failed: 0 Total checkpoints(s): 1 Elapsed time = 2267 ms However, attempts to delete it fail: the command stalls for 5 minutes and then reports an error: xtf_dme_test -D "dn=sys/userext/remoteuser-XXX" manual delete DME_MANUAL_TEST env var is set, activating manual test cases ---- manual:delete: Usage: xtf_dme_test -D dn= manual|manual_nokill delete Input params are: dn=sys/userext/remoteuser-XXX ---> ##### CHECKPOINT FAILED MO deletion commit failed ../dme/test/infra/xtf/xtf_dme_manual_test.cc:274:xtf_test_manual_delete() condition(global_dir->commit(moh) == TRUE) ---- SUMMARY OF FAILED TESTS: ---- manual:delete: ../dme/test/infra/xtf/xtf_dme_manual_test.cc:274:xtf_test_manual_delete() condition(global_dir->commit(moh) == TRUE) SUMMARY: FAILED (pass rate=0%) Test case(s) executed: 1 Test case(s) failed: 1 Total checkpoints(s): 1 Elapsed time = 303042 ms
There is a workaround for this issue. Please, reach out to Cisco TAC for further details.