Azure DevOps 2019 On-Prem-컬렉션 생성시 오류 : "프레임 워크 보안 네임 스페이스 생성 단계의 LeaseLostException"

데미안

관리 콘솔에서 온-프레미스 Azure DevOps에 컬렉션을 만들려고하면 오류가 발생합니다.

DevOps가 CreateCollection.Service.Analytics부품을 관리 할 때 발생하는 것 같습니다 . Google에서이 문제에 대한 언급을 찾을 수 없습니다.

마법사에서 상속 프로세스 모델을 선택하고 설치를 시작할 때 몇 분 후에 다음을 수행합니다.

[15:15:32.793] Executing step: Enable analytics on-prem for new collections
[15:15:32.793]   Executing step: 'Enable analytics on-prem for new collections' AnalyticsCollection.EnableAnalyticsOnPrem (360 of 387)
[15:16:13.407]   [Warning] Impossible d'activer Analytics pour cette nouvelle collection. Vous pouvez y remédier en réactivant Analytics manuellement. Pour plus d'informations, consultez la documentation : https://go.microsoft.com/fwlink/?linkid=2093060.
[15:16:13.533]   [Warning] Analytics failed to enable for new collection due to: Le bail de AnalyticsStateService.SetFeatureState, dont le propriétaire est f24b9929-5d00-498c-9b4c-1e6d8c5f8f77, obtenu le 10/03/2020 14:15:33 par le processus abde3e12-0d37-4751-a1fe-23387f8c5268 a expiré le 10/03/2020 14:16:03
*** 
in english : 
Unable to enable Analytics for this new collection. You can fix it by reactivating Analytics manually (so later no ??? )
The lease for AnalyticsStateService.SetFeatureState, owned by f24b9929-5d00-498c-9b4c-1e6d8c5f8f77, obtained on 10/03/2020 14:15:33 by the process abde3e12-0d37-4751-a1fe-23387f8c5268 expired on 10 / 03/2020 14:16:03 
***
[15:16:13.540] Step passed (with warnings): Enable analytics on-prem for new collections. Execution time: 40 seconds.
[15:16:13.540]   [StepDuration] 40,7454734
[15:16:13.597]   [GroupDuration] 67,5660477
[15:16:13.597]   [OperationDuration] 67,56617
[15:16:13.597] +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[15:16:13.597] ++ Executing - Operation: CreateCollection.Service.Analytics.Sdk, Group: CreateCollection.Service.Analytics.Sdk
[15:16:13.597] +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[15:16:13.597] Step skipped: Queue Analytics Maintain Staging Schedules Job.
[15:16:13.600]   [GroupDuration] 0,0046515
[15:16:13.600]   [OperationDuration] 0,0046985
[15:16:13.600] +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[15:16:13.600] ++ Executing - Operation: CreateCollection.Service.Notifications, Group: CreateCollection.Service.Notifications
[15:16:13.600] +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[15:16:13.600] Executing step: Load service tokens
[15:16:13.600]   Executing step: 'Load service tokens' FrameworkTokens.ConfigureServiceTokens (362 of 387)
[15:16:13.603] Step passed: Load service tokens. Execution time: 3 milliseconds.
[15:16:13.603]   [StepDuration] 0,0002612
[15:16:13.603] +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Executing step: Create Framework Security Namespaces
[15:16:13.603]   Executing step: 'Create Framework Security Namespaces' Security.CreateSecurityNamespaces (363 of 387)
[15:16:13.603]   There are 1 security namespaces to create/update.
[15:16:13.603]   Validating 'EventSubscription' security namespace.
[15:16:13.603]   Creating/updating security namespace(s).
[15:16:13.603]   [Error] Le bail de AnalyticsStateService.SetFeatureState, dont le propriétaire est f24b9929-5d00-498c-9b4c-1e6d8c5f8f77, obtenu le 10/03/2020 14:15:33 par le processus abde3e12-0d37-4751-a1fe-23387f8c5268 a expiré le 10/03/2020 14:16:03
*** 
in english : 
Same error but with stack trace
The lease for AnalyticsStateService.SetFeatureState, owned by f24b9929-5d00-498c-9b4c-1e6d8c5f8f77, obtained on 10/03/2020 14:15:33 by the process abde3e12-0d37-4751-a1fe-23387f8c5268 expired on 10 / 03/2020 14:16:03 
***
[15:16:13.633]   Microsoft.TeamFoundation.Framework.Server.LeaseLostException: Le bail de AnalyticsStateService.SetFeatureState, dont le propriétaire est f24b9929-5d00-498c-9b4c-1e6d8c5f8f77, obtenu le 10/03/2020 14:15:33 par le processus abde3e12-0d37-4751-a1fe-23387f8c5268 a expiré le 10/03/2020 14:16:03
[15:16:13.633]      à Microsoft.TeamFoundation.Framework.Server.VssRequestContext.CheckCanceled(Boolean throwIfShutdown)
[15:16:13.633]      à Microsoft.TeamFoundation.Framework.Server.VssRequestContext.get_ServiceProvider()
[15:16:13.633]      à Microsoft.TeamFoundation.Framework.Server.VssRequestContextExtensions.GetService[TService](IVssRequestContext context)
[15:16:13.633]      à Microsoft.VisualStudio.Services.Framework.SecurityStepPerformer.CreateOrUpdateSecurityNamespaces(IVssRequestContext requestContext, ServicingContext servicingContext, LocalNamespaceDescriptionStepData[] securityNamespaceDescriptions)
[15:16:13.633]      à Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformHostStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepData, ServicingContext servicingContext)
[15:16:13.633]      à Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, String stepType, String stepData, ServicingContext servicingContext)
[15:16:13.633]      à Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps)
[15:16:13.633] Step failed: Create Framework Security Namespaces. Execution time: 30 milliseconds.

Azure DevOps에서 처음부터 만든 첫 번째 컬렉션이지만 이미 잘 작동하는 tfs 2015에서 마이그레이션 된 컬렉션이 있습니다. tfs2015에서 내 컬렉션을 devops로 마이그레이션하기 위해서만 만들고 싶지 않습니다.

보고서가 구성되지 않았습니다. 나중에 실제로 사용하고 싶을 때 구성 할 수 있다는 것을 이해합니다. SSRS를 설치하지 않았지만 필요한 경우 설치하겠습니다.

Analytics 서비스 기능이 SQL Server 인스턴스에 설치되었습니다. SQL Server는 동일한 서버에 설치됩니다.

컬렉션에 대한 데이터베이스가 생성되었지만 콘솔의 상태가 오프라인이고 생성 작업을 다시 실행할 수 없습니다. 오류가 발생하여 명령 줄로 삭제해야합니다.


편집하다:

xml 프로세스 모델로 생성을 테스트했으며 작동 중입니다. 설정 페이지에서 Analytics가 활성화되어 있습니다.

편집 2 : @ PatrickLu-MSFT 덕분에 작동합니다. 게시하기 전에 이미 서버를 다시 시작하려고 시도했지만 성공하지 못했습니다.

이번에는 SQL 구성 관리자에서 모든 SQL 서비스를 다시 시작하고 컬렉션을 다시 만들려고했지만 여전히 실패했으며 충분하지 않았습니다.

그런 다음 서비스를 사용하여 서비스를 다시 시작했습니다. SQL Server (MSSSQLSERVER)와 Patrick이 말한대로 서버를 재부팅했습니다. 그리고 그것은 효과가 있었고 상속 모델로 컬렉션을 만들 수있었습니다!

PatrickLu-MSFT

설명에 따르면 SQL 서비스에 문제가있을 수 있습니다.

SQL Server 서비스다시 시작하고 서비스 를 중지하는 동안 중단 된 경우 시도하십시오. 그런 다음 서버를 재부팅하고 새 컬렉션을 다시 만들 수 있습니다.

이것이 트릭을 수행하지 않으면 이벤트보기에 정보가 있는지도 친절하게 확인하십시오 . 문제를 정확히 파악하는 데 도움이 될 수 있습니다.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

Related 관련 기사

뜨겁다태그

보관