大家好,
在PoC部署期间,我在步骤60.61上收到以下错误消息,这会停止进度。知道我需要做什么吗? 我还没有重新启动部署。
完成:操作'部署 - 阶段3 - WOSSDeployment' VERBOSE:1> 2 - ;行动:"部署 - 阶段3 - WOSSDeployment"的状态为"成功"。 - 2016年10月6日 3:02:34 PM 完成:任务云 - 部署 - 阶段3 - WOSSDeployment VERBOSE:1> 2 - ;任务:角色'云'的行动状态'部署 - 阶段3 - WOSSDeployment'是'成功'。 - 2016年10月6日下午3:02:34 VERBOSE:1>步骤:步骤"阶段3 - ConfigureVMs-Part1"的状态为"错误"。 - 2016年10月6日下午3:02:34 Invoke-EceAction:1>操作:调用步骤60.61失败。停止调用行动计划。 - 2016年10月6日下午3:02:34 行:7字符:2 + Invoke-EceAction -RolePath Cloud -ActionType部署-Start 0.16 ... + ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ + CategoryInfo:InvalidOperation :( :) [Invoke-EceAction],异常 + FullyQualifiedErrorId:未指定错误,CloudEngine.Cmdlets.InvokeCmdlet VERBOSE:1>操作:"部署 - 阶段2 - 配置堆栈"的状态为"错误"。 - 2016年10月6日3:02:34 PM 完成:任务云 - 部署 - 阶段2 - 配置堆栈 VERBOSE:1>任务:角色"云"的操作"部署 - 阶段2 - 配置堆栈"状态为"错误"。 - 10/6/2016 3:02:34 PM VERBOSE:步骤:步骤'阶段2 - 配置VM'的状态为'错误'。 - 2016年10月6日下午3:02:34 Invoke-EceAction:操作:调用步骤60失败。停止调用行动计划。 - 10/6/2016 3:02:34 PM 行:7 char:2 + Invoke-EceAction -RolePath Cloud -ActionType Deployment -Start 0.16 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo:InvalidOperation :( :) [Invoke-EceAction],异常 + FullyQualifiedErrorId:未指定错误,CloudEngine .Cmdlets.InvokeCmdlet我检查了部署日志,它说明了以下内容
2016-10-06 14:34:58错误1> 4>任务:调用角色'Cloud\Fabric \IdentityProvider'的界面'部署'失败: 模块'Roles\IdentityProvider\IdentityProvider.psd1'中的'Create-ActiveDirectoryApplication'函数引发了例外: 在Get-GraphApplication,C:\CloudDeployment中找不到标识符为"https://vault.azurestack.local/8c143426-a17e-407e-b53f-7af183e4d39a"的应用程序 \ Roles\IdentityProvider \ GraphAPI.psm1:第568行在Initialize-GraphApplication,C:\CloudDeployment \Roles \IdentityProvider \ GraphAPI.psm1:第1044行在Create-ActiveDirectoryApplication ,C:\ CloudDeployment \Roles \IdentityProvider \IdentityProvider.psm1:第82行 at< ScriptBlock>,< No file> ;:第18行 2016-10-06 14:34 :58详细1> 4>步骤:步骤'(Katal)的状态创建AzureStack服务主体'是'错误'。 2016-10-06 14:34:58错误1> 4>操作:调用步骤60.61.93失败。停止调用行动计划。 2016-10-06 14:34:58详细1> 4>操作:"部署 - 阶段3-CreateServicePrincipals"的状态为"错误"。 2016-10-06 14:34:58详细1> 4>任务:角色'Cloud'的行动状态'Deployment-Phase3-CreateServicePrincipals'为'错误'。
Summary.xml显示此
- < Task RolePath =" Cloud"操作类型= QUOT;部署 - 阶段3-CreateServicePrincipals" StartTimeUtc = QUOT; 2016-10-06T21:34:35.2485074Z"状态= QUOT;错误" EndTimeUtc = QUOT; 2016-10-06T21:34:58.1235625Z"> - < Action Type =" Deployment-Phase3-CreateServicePrincipals"范围= QUOT;内部及QUOT; StartTimeUtc = QUOT; 2016-10-06T21:34:35.2485074Z"状态= QUOT;错误" EndTimeUtc = QUOT; 2016-10-06T21:34:58.1235625Z"> - <步骤> - < Step Index =" 93" Name ="(Katal)创建AzureStack服务主体" Description ="在AAD中创建Azure图形应用程序和服务主体"。 StartTimeUtc = QUOT; 2016-10-06T21:34:35.2485074Z"状态= QUOT;错误" EndTimeUtc = QUOT; 2016-10-06T21:34:58.1235625Z"> - < Task RolePath =" Cloud\Fabric \IdentityProvider" InterfaceType = QUOT;部署" StartTimeUtc = QUOT; 2016-10-06T21:34:35.2485074Z"状态= QUOT;错误" EndTimeUtc = QUOT; 2016-10-06T21:34:58.1235625Z"> - <例外> < Message>模块'Roles\IdentityProvider\IdentityProvider.psd1'中的'Create-ActiveDirectoryApplication'函数引发了一个异常:带有标识符'https://vault.azurestack.local/8c143426-a17e-407e的应用程序-b53f-7af183e4d39a'未在Get-GraphApplication中找到,C:\CloudDeployment \Roles \IdentityProvider \GraphAPI.psm1:第568行在Initialize-GraphApplication,C:\ CloudDeployment \Roles \IdentityProvider \ GraphAPI .psm1:Create-ActiveDirectoryApplication的第1044行,C:\CloudDeployment \Roles \IdentityProvider \IdentityProvider.psm1:< ScriptBlock>的第82行,< No file> ;:第18行< / Message>位于CloudEngine.Actions.InterfaceTask.Invoke(Configuration roleConfiguration,Object legacyConfigurationObject,MultiLevelIndexRange indexRange,CancellationToken令牌)的CloudEngine.Actions.PowerShellHost.Invoke(InterfaceParameters参数,Object legacyConfigurationObject,CancellationToken令牌)中的< StackTrace>< /栈跟踪> < Raw> CloudEngine.Actions.InterfaceInvocationFailedException:模块'Roles\IdentityProvider\IdentityProvider.psd1'中的函数'Create-ActiveDirectoryApplication'引发了一个异常:带有标识符'https://vault.azurestack.local的应用程序在Get-GraphApplication中找不到/ 8c143426-a17e-407e-b53f-7af183e4d39a,C:\ CloudDeployment \Roles \IdentityProvider \GraphAPI.psm1:在初始化 - GraphApplication中的第568行,C:\ CloudDeployment \Roles \IdentityProvider \ GraphAPI.psm1:Create-ActiveDirectoryApplication的第1044行,C:\CloudDeployment \Roles \IdentityProvider \IdentityProvider.psm1:< ScriptBlock>的第82行,< No file>:第18行at at CloudEngine.Actions.Herter.Av中的CloudEngine.Actions.PowerShellHost.Invoke(InterfaceParameters参数,Object legacyConfigurationObject,CancellationToken标记)(Configuration roleConfiguration,Object legacyConfigurationObject,MultiLevelIndexR) ange indexRange,CancellationToken token)< / Raw> < /例外>
解决方案
从主机上的提升命令提示符,以azurestack \ azurestackadmin身份登录,运行以下命令:
导入 - 模块 C : \CloudDeployment\CloudDeployment 。 psd1 - 强制
导入 - 模块 C :\CloudDeployment\ECEngine\EnterpriseCloudEngine.psd1 - 强制
Invoke-EceAction -RolePath Cloud -ActionType Deployment -Start 60.61.93 - 详细
参考:aka.ms/azurestackrerundeploy
Hi guys,
during PoC deployment I receive the following error message on Step 60.61which stops the progress. Any idea what I need to do? I did not restart the deployment yet.
COMPLETE: Action 'Deployment-Phase3-WOSSDeployment' VERBOSE: 1> 2> Action: Status of 'Deployment-Phase3-WOSSDeployment' is 'Success'. - 10/6/2016 3:02:34 PM COMPLETE: Task Cloud - Deployment-Phase3-WOSSDeployment VERBOSE: 1> 2> Task: Status of action 'Deployment-Phase3-WOSSDeployment' of role 'Cloud' is 'Success'. - 10/6/2016 3:02:34 PM VERBOSE: 1> Step: Status of step 'Phase 3 - ConfigureVMs-Part1' is 'Error'. - 10/6/2016 3:02:34 PM Invoke-EceAction : 1> Action: Invocation of step 60.61 failed. Stopping invocation of action plan. - 10/6/2016 3:02:34 PM At line:7 char:2 + Invoke-EceAction -RolePath Cloud -ActionType Deployment -Start 0.16 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Invoke-EceAction], Exception + FullyQualifiedErrorId : Unspecified error,CloudEngine.Cmdlets.InvokeCmdlet VERBOSE: 1> Action: Status of 'Deployment-Phase2-ConfigureStack' is 'Error'. - 10/6/2016 3:02:34 PM COMPLETE: Task Cloud - Deployment-Phase2-ConfigureStack VERBOSE: 1> Task: Status of action 'Deployment-Phase2-ConfigureStack' of role 'Cloud' is 'Error'. - 10/6/2016 3:02:34 PM VERBOSE: Step: Status of step 'Phase 2 - ConfigureVMs' is 'Error'. - 10/6/2016 3:02:34 PM Invoke-EceAction : Action: Invocation of step 60 failed. Stopping invocation of action plan. - 10/6/2016 3:02:34 PM At line:7 char:2 + Invoke-EceAction -RolePath Cloud -ActionType Deployment -Start 0.16 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Invoke-EceAction], Exception + FullyQualifiedErrorId : Unspecified error,CloudEngine.Cmdlets.InvokeCmdletI checked the deployment log and it states the following
2016-10-06 14:34:58 Error 1> 4> Task: Invocation of interface 'Deployment' of role 'Cloud\Fabric\IdentityProvider' failed: Function 'Create-ActiveDirectoryApplication' in module 'Roles\IdentityProvider\IdentityProvider.psd1' raised an exception: Application with identifier 'vault.azurestack.local/8c143426-a17e-407e-b53f-7af183e4d39a' not found at Get-GraphApplication, C:\CloudDeployment\Roles\IdentityProvider\GraphAPI.psm1: line 568 at Initialize-GraphApplication, C:\CloudDeployment\Roles\IdentityProvider\GraphAPI.psm1: line 1044 at Create-ActiveDirectoryApplication, C:\CloudDeployment\Roles\IdentityProvider\IdentityProvider.psm1: line 82 at <ScriptBlock>, <No file>: line 18 2016-10-06 14:34:58 Verbose 1> 4> Step: Status of step '(Katal) Create AzureStack Service Principals' is 'Error'. 2016-10-06 14:34:58 Error 1> 4> Action: Invocation of step 60.61.93 failed. Stopping invocation of action plan. 2016-10-06 14:34:58 Verbose 1> 4> Action: Status of 'Deployment-Phase3-CreateServicePrincipals' is 'Error'. 2016-10-06 14:34:58 Verbose 1> 4> Task: Status of action 'Deployment-Phase3-CreateServicePrincipals' of role 'Cloud' is 'Error'.Summary.xml shows this
- <Task RolePath="Cloud" ActionType="Deployment-Phase3-CreateServicePrincipals" StartTimeUtc="2016-10-06T21:34:35.2485074Z" Status="Error" EndTimeUtc="2016-10-06T21:34:58.1235625Z"> - <Action Type="Deployment-Phase3-CreateServicePrincipals" Scope="Internal" StartTimeUtc="2016-10-06T21:34:35.2485074Z" Status="Error" EndTimeUtc="2016-10-06T21:34:58.1235625Z"> - <Steps> - <Step Index="93" Name="(Katal) Create AzureStack Service Principals" Description="Create Azure Graph Applications and Service Principals in AAD." StartTimeUtc="2016-10-06T21:34:35.2485074Z" Status="Error" EndTimeUtc="2016-10-06T21:34:58.1235625Z"> - <Task RolePath="Cloud\Fabric\IdentityProvider" InterfaceType="Deployment" StartTimeUtc="2016-10-06T21:34:35.2485074Z" Status="Error" EndTimeUtc="2016-10-06T21:34:58.1235625Z"> - <Exception> <Message>Function 'Create-ActiveDirectoryApplication' in module 'Roles\IdentityProvider\IdentityProvider.psd1' raised an exception: Application with identifier 'vault.azurestack.local/8c143426-a17e-407e-b53f-7af183e4d39a' not found at Get-GraphApplication, C:\CloudDeployment\Roles\IdentityProvider\GraphAPI.psm1: line 568 at Initialize-GraphApplication, C:\CloudDeployment\Roles\IdentityProvider\GraphAPI.psm1: line 1044 at Create-ActiveDirectoryApplication, C:\CloudDeployment\Roles\IdentityProvider\IdentityProvider.psm1: line 82 at <ScriptBlock>, <No file>: line 18</Message> <StackTrace>at CloudEngine.Actions.PowerShellHost.Invoke(InterfaceParameters parameters, Object legacyConfigurationObject, CancellationToken token) at CloudEngine.Actions.InterfaceTask.Invoke(Configuration roleConfiguration, Object legacyConfigurationObject, MultiLevelIndexRange indexRange, CancellationToken token)</StackTrace> <Raw>CloudEngine.Actions.InterfaceInvocationFailedException: Function 'Create-ActiveDirectoryApplication' in module 'Roles\IdentityProvider\IdentityProvider.psd1' raised an exception: Application with identifier 'vault.azurestack.local/8c143426-a17e-407e-b53f-7af183e4d39a' not found at Get-GraphApplication, C:\CloudDeployment\Roles\IdentityProvider\GraphAPI.psm1: line 568 at Initialize-GraphApplication, C:\CloudDeployment\Roles\IdentityProvider\GraphAPI.psm1: line 1044 at Create-ActiveDirectoryApplication, C:\CloudDeployment\Roles\IdentityProvider\IdentityProvider.psm1: line 82 at <ScriptBlock>, <No file>: line 18 at CloudEngine.Actions.PowerShellHost.Invoke(InterfaceParameters parameters, Object legacyConfigurationObject, CancellationToken token) at CloudEngine.Actions.InterfaceTask.Invoke(Configuration roleConfiguration, Object legacyConfigurationObject, MultiLevelIndexRange indexRange, CancellationToken token)</Raw> </Exception> 解决方案From an elevated command prompt on the HOST, logged in as azurestack\azurestackadmin, run the following commands:
Import-Module C:\CloudDeployment\CloudDeployment.psd1 -Force
Import-Module C:\CloudDeployment\ECEngine\EnterpriseCloudEngine.psd1 -Force
Invoke-EceAction -RolePath Cloud -ActionType Deployment -Start 60.61.93 -Verbose
Reference: aka.ms/azurestackrerundeploy
更多推荐
Azure Stack TP2部署问题
发布评论