AppSync:AppSync CLI 命令间歇性失败
Summary: AppSync:AppSync CLI 命令间歇性失败
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
当同时尝试多个 AppSync CLI 登录时,会出现此问题。此问题是高度间歇性的。
用户运行 AppSync CLI 来运行服务计划、列出所有拷贝并装载/卸载拷贝,但间歇性地失败。
运行服务计划失败,并显示:
列出为服务计划或应用程序对象创建的所有拷贝失败,并显示:
位于 C:\EMC\AppSync\apache-tomcat\bin 中的 AppSync cas.log显示以下内容:
用户运行 AppSync CLI 来运行服务计划、列出所有拷贝并装载/卸载拷贝,但间歇性地失败。
运行服务计划失败,并显示:
C:\EMC\AppSync\appsync-cli\appsync-cli.bat -login server=xxxxxx port=8445 user=admin password=xxxxxxxx
INFO:已成功验证 AppSync!
C:\EMC\AppSync\appsync-cli\appsync-cli.bat -runSP app=filesystem service_plan=xxxxxxx
ERROR:未能运行 SP!
INFO:已成功验证 AppSync!
C:\EMC\AppSync\appsync-cli\appsync-cli.bat -runSP app=filesystem service_plan=xxxxxxx
ERROR:未能运行 SP!
列出为服务计划或应用程序对象创建的所有拷贝失败,并显示:
C:\EMC\AppSync\appsync-cli\appsync-cli.bat -login server=xxxxxx port=8445 user=admin password=xxxxxxxx
INFO:已成功验证 AppSync!
C:\EMC\AppSync\appsync-cli\appsync-cli.bat -listCopies app=filesystem service_plan=xxxxxx age=all
ERROR:Could not find copies!
INFO:已成功验证 AppSync!
C:\EMC\AppSync\appsync-cli\appsync-cli.bat -listCopies app=filesystem service_plan=xxxxxx age=all
ERROR:Could not find copies!
位于 C:\EMC\AppSync\apache-tomcat\bin 中的 AppSync cas.log显示以下内容:
2017-01-05 10:20:18,330 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor 构造函数
2017-01-05 10:20:18330 INFO [com.emc.archway.cas.auth.CASAuthenticationHandler] - CASAuthenticationManager:: authenticateUsernamePasswordInternal username = admin
2017-01-05 10:20:18,330 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor:: authenticate
2017-01-05 10:20:18330 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor:: authenticate Using CST...
2017-01-05 10:20:18330 INFO [com.emc.archway.cas.auth.CSTInterface] - Checking for LDAP authority:PSO-AD-Authority
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - obtainCredentials: authority = PSO-AD-Authority
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - found choice authority = PSO-AD-Authority (PSO-AD-Authority)
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CSTInterface] - CST authentication failure com.emc.csp.error.SystemException:Error decrypting data
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - OS Login disabled
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - obtainCredentials: authority = LocalDirectoryTest
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - found choice authority = LocalDirectoryTest
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor 构造函数
2017-01-05 10:20:18345 INFO [com.emc.archway.cas.auth.CASAuthenticationHandler] - CASAuthenticationManager:: authenticateUsernamePasswordInternal username = admin
2017-01-05 10:20:18345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor:: authenticate
2017-01-05 10:20:18345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor:: authenticate Using CST...
2017-01-05 10:20:18345 INFO [com.emc.archway.cas.auth.CSTInterface] - Checking for LDAP authority:PSO-AD-Authority
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - obtainCredentials: authority = PSO-AD-Authority
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - found choice authority = PSO-AD-Authority (PSO-AD-Authority)
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - CST authentication failure com.emc.csp.error.SystemException:Error decrypting data
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - OS Login disabled
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - obtainCredentials: authority = LocalDirectoryTest
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - found choice authority = LocalDirectoryTest
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - Authentication succeeded...
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - Storing roles in lockbox ...
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - Storing userRole1 = DataAdministrator
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - Storing userRole2 = ResourceAdmin
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Storing userRole3 = SecurityAdmin
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Storing userRole4 = ServicePlanAdministrator
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Authentication succeeded...
2017-01-05 10:20:18377 INFO [com.emc.archway.cas.auth.CSTInterface] - Storing roles in lockbox ...
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Total roles = 4
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - Authentication succeeded - token
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - getPerson called for admin
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - retrieved cstIF ....
com.emc.archway.cas.auth.CSTInterface@16ea70b 2017-01-05 10:20:18377 INFO [com.emc.archway.cas.auth.CSTInterface] - Accesing roles in lockbox ...
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Accesing roles in lockbox ...
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - storing roles - exception 密码箱项目已存在
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - 找到的角色总数 = 4
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - 存储角色 - 异常 密码箱项已存在
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - Accessed role DataAdministrator
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - storing roles - exception 密码箱项目已存在
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - 访问的角色 ResourceAdmin
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - storing roles - exception 密码箱项目已存在
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - Accessed role SecurityAdmin
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - Total roles = 4
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - Authentication succeeded - token
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - getPerson called for admin
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - retrieved cstIF ....
com.emc.archway.cas.auth.CSTInterface@16ea70b 2017-01-05 10:20:18392 INFO [com.emc.archway.cas.auth.CSTInterface] - Accesing roles in lockbox ...
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - Accesing roles in lockbox ...
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - 找到的角色总数 = 4
2017-01-05 10:20:18,408 INFO [com.emc.archway.cas.auth.CSTInterface] - 访问的角色 ServicePlanAdministrator 2017-01-05 10:20:18,408 INFO [com.emc.archway.cas.auth.CSTInterface] - 访问的角色异常
2017-01-05 10:20:18,408 错误 [com.emc.archway.cas.auth.CSTInterface] - 密码箱
中不存在项目名称 com.emc.csp.error.ObjectNotFoundException
:项目名称在密码箱
中不存在,位于 com.emc.cst.cstBridge.cstBridgeJNI.LockboxService_retrieveItemAsText(本机方法)
com.emc.cst.cstBridge.LockboxService.retrieveItemAsText(LockboxService.java:153) com.emc.csp.services.lockbox.LockboxService.retrieveItemAsText(LockboxService.java:509)
2017-01-05 10:20:18330 INFO [com.emc.archway.cas.auth.CASAuthenticationHandler] - CASAuthenticationManager:: authenticateUsernamePasswordInternal username = admin
2017-01-05 10:20:18,330 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor:: authenticate
2017-01-05 10:20:18330 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor:: authenticate Using CST...
2017-01-05 10:20:18330 INFO [com.emc.archway.cas.auth.CSTInterface] - Checking for LDAP authority:PSO-AD-Authority
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - obtainCredentials: authority = PSO-AD-Authority
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - found choice authority = PSO-AD-Authority (PSO-AD-Authority)
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CSTInterface] - CST authentication failure com.emc.csp.error.SystemException:Error decrypting data
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - OS Login disabled
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - obtainCredentials: authority = LocalDirectoryTest
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - found choice authority = LocalDirectoryTest
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor 构造函数
2017-01-05 10:20:18345 INFO [com.emc.archway.cas.auth.CASAuthenticationHandler] - CASAuthenticationManager:: authenticateUsernamePasswordInternal username = admin
2017-01-05 10:20:18345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor:: authenticate
2017-01-05 10:20:18345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor:: authenticate Using CST...
2017-01-05 10:20:18345 INFO [com.emc.archway.cas.auth.CSTInterface] - Checking for LDAP authority:PSO-AD-Authority
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - obtainCredentials: authority = PSO-AD-Authority
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - found choice authority = PSO-AD-Authority (PSO-AD-Authority)
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - CST authentication failure com.emc.csp.error.SystemException:Error decrypting data
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - OS Login disabled
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - obtainCredentials: authority = LocalDirectoryTest
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - found choice authority = LocalDirectoryTest
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - Authentication succeeded...
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - Storing roles in lockbox ...
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - Storing userRole1 = DataAdministrator
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - Storing userRole2 = ResourceAdmin
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Storing userRole3 = SecurityAdmin
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Storing userRole4 = ServicePlanAdministrator
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Authentication succeeded...
2017-01-05 10:20:18377 INFO [com.emc.archway.cas.auth.CSTInterface] - Storing roles in lockbox ...
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Total roles = 4
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - Authentication succeeded - token
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - getPerson called for admin
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - retrieved cstIF ....
com.emc.archway.cas.auth.CSTInterface@16ea70b 2017-01-05 10:20:18377 INFO [com.emc.archway.cas.auth.CSTInterface] - Accesing roles in lockbox ...
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Accesing roles in lockbox ...
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - storing roles - exception 密码箱项目已存在
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - 找到的角色总数 = 4
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - 存储角色 - 异常 密码箱项已存在
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - Accessed role DataAdministrator
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - storing roles - exception 密码箱项目已存在
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - 访问的角色 ResourceAdmin
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - storing roles - exception 密码箱项目已存在
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - Accessed role SecurityAdmin
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - Total roles = 4
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - Authentication succeeded - token
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - getPerson called for admin
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - retrieved cstIF ....
com.emc.archway.cas.auth.CSTInterface@16ea70b 2017-01-05 10:20:18392 INFO [com.emc.archway.cas.auth.CSTInterface] - Accesing roles in lockbox ...
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - Accesing roles in lockbox ...
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - 找到的角色总数 = 4
2017-01-05 10:20:18,408 INFO [com.emc.archway.cas.auth.CSTInterface] - 访问的角色 ServicePlanAdministrator 2017-01-05 10:20:18,408 INFO [com.emc.archway.cas.auth.CSTInterface] - 访问的角色异常
2017-01-05 10:20:18,408 错误 [com.emc.archway.cas.auth.CSTInterface] - 密码箱
中不存在项目名称 com.emc.csp.error.ObjectNotFoundException
:项目名称在密码箱
中不存在,位于 com.emc.cst.cstBridge.cstBridgeJNI.LockboxService_retrieveItemAsText(本机方法)
com.emc.cst.cstBridge.LockboxService.retrieveItemAsText(LockboxService.java:153) com.emc.csp.services.lockbox.LockboxService.retrieveItemAsText(LockboxService.java:509)
Cause
AppSync 服务器旨在收集经过身份验证后分配给用户的角色列表。
AppSync 服务器在完成身份验证后收集角色信息,并将其写入密码箱(这类似于文件)以便稍后检索。
一旦 AppSync 服务器检索到存储的信息,就会删除这些信息。但是,如果同时尝试多次登录,则一个会话将在另一个会话检索信息之前删除该信息。
简而言之,这是由于同时登录多个(多个)而导致的并发问题
AppSync 服务器在完成身份验证后收集角色信息,并将其写入密码箱(这类似于文件)以便稍后检索。
一旦 AppSync 服务器检索到存储的信息,就会删除这些信息。但是,如果同时尝试多次登录,则一个会话将在另一个会话检索信息之前删除该信息。
简而言之,这是由于同时登录多个(多个)而导致的并发问题
Resolution
解决 方案:
此问题的解决方案已经存在,但它需要 EMC 客户支持的帮助。
请联系 EMC 客户支持,并参考此文章以获取热修复程序
此问题的解决方案已经存在,但它需要 EMC 客户支持的帮助。
请联系 EMC 客户支持,并参考此文章以获取热修复程序
Affected Products
AppSyncProducts
AppSyncArticle Properties
Article Number: 000059230
Article Type: Solution
Last Modified: 10 Sept 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.