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
錯誤:無法執行 SP!
INFO:已成功驗證 AppSync!
C:\EMC\AppSync\appsync-cli\appsync-cli.bat -runSP app=filesystem service_plan=xxxxxxx
錯誤:無法執行 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:找不到副本!
INFO:已成功驗證 AppSync!
C:\EMC\AppSync\appsync-cli\appsync-cli.bat -listCopies app=filesystem service_plan=xxxxxx age=all
ERROR:找不到副本!
位於 C:\EMC\AppSync\apache-tomcat\bin 中的 AppSync cas.log會顯示下列資訊:
2017-01-05 10:20:18,330 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdapteror constructor
2017-01-05 10:20:18,330 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:18,330 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor::使用 CST 進行身份驗證...
2017-01-05 10:20:18,330 INFO [com.emc.archway.cas.auth.CSTInterface] - 檢查 LDAP 授權:PSO-AD-Authority
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - getCredentials: authority = PSO-AD-Authority
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - 找到選擇權限 = PSO-AD-Authority (PSO-AD-Authority)
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CSTInterface] - CST 驗證失敗 com.emc.csp.error.SystemException:解密資料
時發生錯誤 2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - 操作系統登入已停用
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] - 找到 選擇權限 = LocalDirectoryTest
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdapteror constructor
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CASAuthenticationHandler] - CASAuthenticationManager::authenticateUsernamePasswordInternal username = admin
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor::authenticate
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor::使用 CST 進行身份驗證...
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CSTInterface] - 檢查 LDAP 授權: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] - 找到選擇權限 = PSO-AD-Authority (PSO-AD-Authority)
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - CST 驗證失敗 com.emc.csp.error.SystemException:解密資料
時發生錯誤 2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - 操作系統登入已停用
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] - 找到 選擇權限 = LocalDirectoryTest
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - 驗證成功...
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - 將角色儲存在密碼箱中...
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - 儲存 userRole1 = DataAdministrator
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - 儲存 userRole2 = ResourceAdmin
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - 儲存 userRole3 = SecurityAdmin
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - 儲存 userRole4 = ServicePlanAdministrator
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - 驗證成功...
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - 將角色儲存在密碼箱中...
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.archwayAuthentication] - 身份驗證成功 - token
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - getPerson 已呼叫管理員
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - 已檢索 cstIF ....
com.emc.archway.cas.auth.CSTInterface@16ea70b 2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - 在密碼箱中加入角色...
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - 在密碼箱中存取角色...
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - 儲存角色 - 例外 密碼箱項目已存在
2017-01-05 10:20:18,377 資訊 [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] - 已存取角色 DataAdministrator
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - 儲存角色 - 例外 加密箱項目已存在
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 - 儲存角色 - 例外 密碼箱項目已存在
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - 已存取角色 SecurityAdmin
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - 角色總數 = 4
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - 驗證成功 - 權杖
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - getPerson 已呼叫管理員
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - 已檢索 cstIF ....
com.emc.archway.cas.auth.CSTInterface@16ea70b 2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - 在密碼箱中加入角色...
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - 在密碼箱中存取角色...
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 ERROR [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.retrieveItemAsText(LockboxService.java:509)
2017-01-05 10:20:18,330 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:18,330 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor::使用 CST 進行身份驗證...
2017-01-05 10:20:18,330 INFO [com.emc.archway.cas.auth.CSTInterface] - 檢查 LDAP 授權:PSO-AD-Authority
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - getCredentials: authority = PSO-AD-Authority
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthCredentialProvider] - 找到選擇權限 = PSO-AD-Authority (PSO-AD-Authority)
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CSTInterface] - CST 驗證失敗 com.emc.csp.error.SystemException:解密資料
時發生錯誤 2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - 操作系統登入已停用
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] - 找到 選擇權限 = LocalDirectoryTest
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdapteror constructor
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CASAuthenticationHandler] - CASAuthenticationManager::authenticateUsernamePasswordInternal username = admin
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor::authenticate
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor::使用 CST 進行身份驗證...
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CSTInterface] - 檢查 LDAP 授權: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] - 找到選擇權限 = PSO-AD-Authority (PSO-AD-Authority)
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - CST 驗證失敗 com.emc.csp.error.SystemException:解密資料
時發生錯誤 2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - 操作系統登入已停用
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] - 找到 選擇權限 = LocalDirectoryTest
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - 驗證成功...
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - 將角色儲存在密碼箱中...
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - 儲存 userRole1 = DataAdministrator
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - 儲存 userRole2 = ResourceAdmin
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - 儲存 userRole3 = SecurityAdmin
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - 儲存 userRole4 = ServicePlanAdministrator
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - 驗證成功...
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - 將角色儲存在密碼箱中...
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.archwayAuthentication] - 身份驗證成功 - token
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - getPerson 已呼叫管理員
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - 已檢索 cstIF ....
com.emc.archway.cas.auth.CSTInterface@16ea70b 2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - 在密碼箱中加入角色...
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - 在密碼箱中存取角色...
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - 儲存角色 - 例外 密碼箱項目已存在
2017-01-05 10:20:18,377 資訊 [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] - 已存取角色 DataAdministrator
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - 儲存角色 - 例外 加密箱項目已存在
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 - 儲存角色 - 例外 密碼箱項目已存在
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - 已存取角色 SecurityAdmin
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - 角色總數 = 4
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - 驗證成功 - 權杖
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - getPerson 已呼叫管理員
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - 已檢索 cstIF ....
com.emc.archway.cas.auth.CSTInterface@16ea70b 2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - 在密碼箱中加入角色...
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - 在密碼箱中存取角色...
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 ERROR [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.retrieveItemAsText(LockboxService.java:509)
Cause
AppSync 伺服器的設計目的是在驗證後收集指派給使用者的角色清單。
AppSync 伺服器會在驗證後收集角色資訊,並將其寫入加密箱 (類似於檔案),以供日後擷取。
一旦 AppSync 伺服器擷取儲存的資訊,便會將其刪除。但是,如果同時嘗試多個登錄,則一個會話將在另一個會話檢索資訊之前將其刪除。
簡而言之,由於同時多次登錄(多次登錄),這是一個併發問題
AppSync 伺服器會在驗證後收集角色資訊,並將其寫入加密箱 (類似於檔案),以供日後擷取。
一旦 AppSync 伺服器擷取儲存的資訊,便會將其刪除。但是,如果同時嘗試多個登錄,則一個會話將在另一個會話檢索資訊之前將其刪除。
簡而言之,由於同時多次登錄(多次登錄),這是一個併發問題
Resolution
因應措施:
這個問題有解決方案,但需要 EMC 客戶支援部門的協助。
請聯絡 EMC 客戶支援,並參考本文以取得 hotfix
這個問題有解決方案,但需要 EMC 客戶支援部門的協助。
請聯絡 EMC 客戶支援,並參考本文以取得 hotfix
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.