我部署AS时遇到问题 [英] I have a problem when I deploy AS
问题描述
当我运行DeployAzureStack.ps1时,出现了一个问题,如下所示:
报告进度:Microsoft Azure Stack POC部署失败。
Start-PocFabricInstallerTasks:POCFabricInstaller失败,因为后续任务的
失败:SetupvSwitch,CopyVhdx_Local
在C:\ ProgramData \微软\AzureStack \Deployment\RunAzureStackDeploymentTask.p
s1:158 char:19
+ ...     $ result =& "开始 - $ moduleName`Tasks" -StatusUpdatedCallback {
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
  + CategoryInfo         ;: NotSpecified :( :) [Write-Error],WriteErrorExcep
tion
  + FullyQualifiedErrorId:Microsoft.PowerShell.Commands.WriteErrorExceptio
n,Start-PocFabricInstallerTasks
在C:\ProgramData \ Microsoft &\\AzureStack \Deployment\Get-AzureStackDeploymentStatus.ps1:107 char:15
+   $ Result =报告进度($ status)
+             ~~~~~~~~~~~~~~~~~~~~~~~~~
  + CategoryInfo       :NotSpecified :( :) [Write-Error],WriteErrorException
  + FullyQualifiedErrorId:Microsoft.PowerShell.Commands.WriteErrorException,Report-Progress
感谢您在此发帖。
问题似乎是由安装程序路径的长度引起的。
将解压缩和解压缩的文件复制到根目录下的短文件夹名称时驱动它应该没有任何错误。
问候,
与Pradeep 跨度>
When I run DeployAzureStack.ps1,a problem occured,as follows:
Report-Progress : The Microsoft Azure Stack POC deployment failed.
Start-PocFabricInstallerTasks : POCFabricInstaller failed because the
following tasks failed: SetupvSwitch, CopyVhdx_Local
At C:\ProgramData\Microsoft\AzureStack\Deployment\RunAzureStackDeploymentTask.p
s1:158 char:19
+ ... $result = & "Start-$moduleName`Tasks" -StatusUpdatedCallback {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
tion
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
n,Start-PocFabricInstallerTasks
At C:\ProgramData\Microsoft\AzureStack\Deployment\Get-AzureStackDeploymentStatus.ps1:107 char:15
+ $Result = Report-Progress($status)
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Report-Progress
Hi,
Thank you for posting here.
The issue seems to be caused by the length of the installer path.
When you copy the unzipped and unpacked files to a short folder name at the root of the drive it should work without any error.
Regards,
Pradeep
这篇关于我部署AS时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!