AppSync: AppSync-komentoriviliittymän ajoittainen epäonnistuu

Summary: AppSync: AppSync-komentoriviliittymän ajoittainen epäonnistuu

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

Ongelma ilmenee, kun useita AppSync-komentoriviliittymän kirjautumisia yritetään samanaikaisesti. Ongelma on erittäin ajoittainen.
 

Käyttäjä käyttää AppSync-komentoriviliittymää suorittaakseen palvelusuunnitelman, antaakseen luettelon kaikista kopioista ja lisätäkseen kopion tai poistaakseen sen käytöstä, mutta se epäonnistuu ajoittain.

Palvelusopimuksen suorittaminen epäonnistuu ja tilanne epäonnistuu:
C:\EMC\AppSync\appsync-cli\appsync-cli.bat -login server=xxxxxx port=8445 user=admin password=xxxxxxxx

INFO: AppSyncin todennus onnistui!

C:\EMC\AppSync\appsync-cli\appsync-cli.bat -runSP app=filesystem service_plan=xxxxxxx

VIRHE: SP:n suorittaminen epäonnistui!

Luetteloi kaikki kopiot, jotka on luotu palvelusopimukselle tai sovellusobjektille epäonnistuu seuraavasti:
C:\EMC\AppSync\appsync-cli\appsync-cli.bat -login server=xxxxxx port=8445 user=admin password=xxxxxxxx

INFO: AppSyncin todennus onnistui!

C:\EMC\AppSync\appsync-cli\appsync-cli.bat -listCopies app=filesystem service_plan=xxxxxx age=all

VIRHE: Kopioita ei löytynyt!


AppSync-cas.log, joka sijaitsee kansiossa C:\EMC\AppSync\apache-tomcat\bin, näyttää seuraavat:
 
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::authenticateUsernamePasswordSisäinen käyttäjätunnus = admin
2017-01-05 10:20:18,330 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdapteror::authenticate
2017-01-05 10:20:18,330 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor::authenticate CST:n avulla...
2017-01-05 10:20:18,330 INFO [com.emc.archway.cas.auth.CSTInterface] - LDAP-auktoriteetin tarkistaminen: 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-todennusvirhe com.emc.csp.error.SystemException: Virhe purettaessa tietoja
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - Käyttöjärjestelmän kirjautuminen poistettu käytöstä
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] - löydetty valintaviranomainen = LocalDirectoryTest
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdapteror] - CASAuthenticationAdapteror constructor
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CASAuthenticationHandler] - CASAuthenticationManager::authenticateUsernamePasswordSisäinen käyttäjätunnus = admin
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdapteror] - CASAuthenticationAdapteror::authenticate
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CASAuthenticationAdaptor] - CASAuthenticationAdaptor::authenticate CST:n avulla...
2017-01-05 10:20:18,345 INFO [com.emc.archway.cas.auth.CSTInterface] - LDAP-auktoriteetin tarkistaminen: 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-todennusvirhe com.emc.csp.error.SystemException: Virhe purettaessa tietoja
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - Käyttöjärjestelmän kirjautuminen poistettu käytöstä
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] - löydetty valintaviranomainen = LocalDirectoryTest
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - Todennus onnistui...
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - Roolien tallentaminen lukkolaatikkoon ... 
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - Tallennetaan userRole1 = DataAdministrator
2017-01-05 10:20:18,361 INFO [com.emc.archway.cas.auth.CSTInterface] - Tallennetaan userRole2 = ResourceAdmin
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Tallennetaan userRole3 = SecurityAdmin
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Tallennetaan userRole4 = ServicePlanAdministrator
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Todennus onnistui...
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Roolien tallentaminen lockboxiin ... 
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Roolit yhteensä = 4
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - Todennus onnistui - token
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - getPerson kutsuttiin adminiksi
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - haettu cstIF ....
com.emc.archway.cas.auth.CSTInterface@16ea70b 2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Accessesing roles in lockbox ... 
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Accessesing roles in lockbox ... 
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - roolien tallentaminen - poikkeus Lockbox-kohde on jo olemassa
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - Löydettyjä rooleja yhteensä = 4
2017-01-05 10:20:18,377 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface-todennus - roolien tallentaminen - poikkeus Lockbox-kohde on jo olemassa
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - Käytetty rooli DataAdministrator
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - roolien tallentaminen - poikkeus Lockbox-kohde on jo olemassa
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] – Käyttöoikeusrooli ResourceAdmin
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - CSTInterface authenticat - roolien tallentaminen - poikkeus Lockbox-kohde on jo olemassa
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - Käytetty rooli SecurityAdmin
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - Roolit yhteensä = 4
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.ArchwayAuthentication] - Todennus onnistui - tunnus
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - getPerson kutsuttiin adminiksi
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.attributes.rolePersonAttributeDao] - haettu cstIF ....
com.emc.archway.cas.auth.CSTInterface@16ea70b 2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - Accessesing roles in lockbox ... 
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - Roolien lisääminen lockboxissa ... 
2017-01-05 10:20:18,392 INFO [com.emc.archway.cas.auth.CSTInterface] - Löydettyjä rooleja yhteensä = 4
2017-01-05 10:20:18,408 INFO [com.emc.archway.cas.auth.CSTInterface] - Käytetty rooli ServicePlanAdministrator 2017-01-05 10:20:18,408 INFO [com.emc.archway.cas.auth.CSTInterface] - Käytetty roolipoikkeus
2017-01-05 10:20:18,408 VIRHE [com.emc.archway.cas.auth.CSTInterface] - Kohteen nimeä ei ole Lockboxissa
com.emc.csp.error.ObjectNotFoundException
: Kohteen nimeä ei ole Lockboxissa
osoitteessa com.emc.cst.cstBridge.cstBridgeJNI.LockboxService_retrieveItemAsText(Native Method)
osoitteessa com.emc.cst.cstBridge.LockboxService.retrieveItemAsText(LockboxService.java:153)
osoitteessa com.emc.csp.services.lockbox.LockboxService.retrieveItemAsText(LockboxService.java:509)

Cause

AppSync-katkaisin on suunniteltu keräämään luettelo käyttäjälle määritetyistä rooleista, kun se on todennettu.

AppSync-palvelin kerää roolitiedot todennuksen jälkeen ja kirjoittaa ne avainruutuun (tiedosto muistuttaa tiedostoa) noutaakseen ne myöhemmin.
Kun AppSync-palvelin hakee tallennetut tiedot, ne poistetaan. Jos kuitenkin useita kirjautumisia yritettiin samanaikaisesti, yksi istunto poistaa tiedot, ennen kuin toinen istunto noutaa ne. 

Yksinkertaisesti sanottuna tämä on samanaikaisuusongelma, joka johtuu useista kirjautumisista (useammasta kuin yhdestä) samanaikaisesti

Resolution

Workaround:
Tähän ongelmaan on olemassa ratkaisu, mutta se vaatii EMC:n asiakastuen apua.

Ota yhteys EMC:n asiakastukeen ja lue hotfix-korjaus tästä artikkelista

Affected Products

AppSync

Products

AppSync
Article 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.