Azure Stack POCFabricInstaller failed because the following tasks failed: EnableRemotePS #AzureStack #Azure #MAS

Currently I’m testing several MAS POC deployments. With this I deployed my Servers With VMM ready for MAS.

But there are some issues during the deployment.

POCFabricInstaller failed because the following tasks failed: EnableRemotePS

 

clip_image001

Winrm is configured / installer is full admin  so why ?

As the Azure Stack is running in verbose mode I get some info in a lot of log files

clip_image002

As the Deployment failed here

Microsoft Azure Stack POC Deployment
7 out of 124 task(s) completed
[ooooooo

Running
Microsoft Azure Stack POC Fabric Installer
Running Task(s): 1, Completed Task(s): 7, Total Tasks: 52
[ooooooooooooooo

 

So time to view the log files for the cause of this error. I know it is not the WinRM config

When checking the log files I find the following info :

 

System.Management.Automation.RemoteException
Cannot stop service ‘Windows Remote Management (WS-Management) (WinRM)’
because it has dependent services. It can only be stopped if the Force flag is
set.
Job fail due state: Failed

 

So some dependency is stopping my WinRM service.  when looking at the Service and dependencies I saw this :

 

clip_image005

ah the VMM agent is causing this error during the Azure Stack deployment.

VERBOSE: Importing function ‘Start-AzureStackDeploymentScheduledTask’.
Report-Progress : The Microsoft Azure Stack POC deployment failed.
Start-PocFabricInstallerTasks : POCFabricInstaller failed because the
following tasks failed: EnableRemotePS
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

clip_image004

Uninstalling the VMM agent and kicked the Azure Stack deployment PowerShell script again and it worked smoothly

clip_image006

The Logs Can be found here :

C:\ProgramData\Microsoft\AzureStack\Logs\AzureStackFabricInstaller

Happy Stacking

Robert Smit

Twitter: @clustermvp

Cloud and Datacenter MVP ( Expertise:  High Available )

Author: Robert Smit [MVP]

Robert Smit is Senior Technical Evangelist and is a current Microsoft MVP in Clustering as of 2009. Robert has over 20 years experience in IT with experience in the educational, health-care and finance industries. Robert’s past IT experience in the trenches of IT gives him the knowledge and insight that allows him to communicate effectively with IT professionals who are trying to address real concerns around business continuity, disaster recovery and regulatory compliance issues. Robert holds the following certifications: MCT - Microsoft Certified Trainer, MCTS - Windows Server Virtualization, MCSE, MCSA and MCPS. He is an active participant in the Microsoft newsgroup community and is currently focused on Hyper-V, Failover Clustering, SQL Server, Azure and all things related to Cloud Computing and Infrastructure Optimalization. Follow Robert on Twitter @ClusterMVP Or follow his blog https://robertsmit.wordpress.com Linkedin Profile Http://nl.linkedin.com/in/robertsmit Robert is also capable of transferring his knowledge to others which is a rare feature in the field of IT. He makes a point of not only solving issues but also of giving on the job training of his colleagues. A customer says " Robert has been a big influence on our technical staff and I have to come to know him as a brilliant specialist concerning Microsoft Products. He was Capable with his in-depth knowledge of Microsoft products to troubleshoot problems and develop our infrastructure to a higher level. I would certainly hire him again in the future. " Details of the Recommendation: "I have been coordinating with Robert implementing a very complex system. Although he was primarily a Microsoft infrastructure specialist; he was able to understand and debug .Net based complext Windows applications and websites. His input to improve performance of applications proved very helpful for the success of our project

2 thoughts on “Azure Stack POCFabricInstaller failed because the following tasks failed: EnableRemotePS #AzureStack #Azure #MAS”

  1. Have you found any other possible causes for this error? I am getting the exact same error but I do not have the VMM agent installed on my POC machine.

    Bert

  2. Bert the best way is to start with a clean installation and make sure there is shared storage around 200GB that can be used as cluster storage.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: