locked
Task failed: [localhost] Connecting to remote server localhost failed with the following. (GenerateWapSslCert....) RRS feed

  • Question

  • Hi getting the following error. Have retried several time.

    Time is set to local in bios.

    Please help =)

    (Machine: HP Porliant Gen 9, 1x 250gb SSD, 4x 500gb SSD, 192 gb ram)

    AzureStackDeploymentStatus.xml

    <AzureStackDeploymentStatus Status="Error" Error="[localhost] Connecting to remote server localhost failed with the following &#xD;&#xA;error message : An unknown security error occurred. For more information, see &#xD;&#xA;the about_Remote_Troubleshooting Help topic.&#xD;&#xA;    + CategoryInfo          : OpenError: (localhost:String) [], PSRemotingTran &#xD;&#xA;   sportException&#xD;&#xA;    + FullyQualifiedErrorId : -2144108387,PSSessionStateBroken&#xD;&#xA;[localhost] Connecting to remote server localhost failed with the following &#xD;&#xA;error message : An unknown security error occurred. For more information, see &#xD;&#xA;the about_Remote_Troubleshooting Help topic.&#xD;&#xA;    + CategoryInfo          : OpenError: (localhost:String) [], PSRemotingTran &#xD;&#xA;   sportException&#xD;&#xA;    + FullyQualifiedErrorId : -2144108387,PSSessionStateBroken&#xD;&#xA;[localhost] Connecting to remote server localhost failed with the following &#xD;&#xA;error message : An unknown security error occurred. For more information, see &#xD;&#xA;the about_Remote_Troubleshooting Help topic.&#xD;&#xA;    + CategoryInfo          : OpenError: (localhost:String) [], PSRemotingTran &#xD;&#xA;   sportException&#xD;&#xA;    + FullyQualifiedErrorId : -2144108387,PSSessionStateBroken&#xD;&#xA;[localhost] Connecting to remote server localhost failed with the following &#xD;&#xA;error message : An unknown security error occurred. For more information, see &#xD;&#xA;the about_Remote_Troubleshooting Help topic.&#xD;&#xA;    + CategoryInfo          : OpenError: (localhost:String) [], PSRemotingTran &#xD;&#xA;   sportException&#xD;&#xA;    + FullyQualifiedErrorId : -2144108387,PSSessionStateBroken&#xD;&#xA;[localhost] Connecting to remote server localhost failed with the following &#xD;&#xA;error message : An unknown security error occurred. For more information, see &#xD;&#xA;the about_Remote_Troubleshooting Help topic.&#xD;&#xA;    + CategoryInfo          : OpenError: (localhost:String) [], PSRemotingTran &#xD;&#xA;   sportException&#xD;&#xA;    + FullyQualifiedErrorId : -2144108387,PSSessionStateBroken&#xD;&#xA;[localhost] Connecting to remote server localhost failed with the following &#xD;&#xA;error message : An unknown security error occurred. For more information, see &#xD;&#xA;the about_Remote_Troubleshooting Help topic.&#xD;&#xA;    + CategoryInfo          : OpenError: (localhost:String) [], PSRemotingTran &#xD;&#xA;   sportException&#xD;&#xA;    + FullyQualifiedErrorId : -2144108387,PSSessionStateBroken&#xD;&#xA;[localhost] Connecting to remote server localhost failed with the following &#xD;&#xA;error message : An unknown security error occurred. For more information, see &#xD;&#xA;the about_Remote_Troubleshooting Help topic.&#xD;&#xA;    + CategoryInfo          : OpenError: (localhost:String) [], PSRemotingTran &#xD;&#xA;   sportException&#xD;&#xA;    + FullyQualifiedErrorId : -2144108387,PSSessionStateBroken&#xD;&#xA;[localhost] Connecting to remote server localhost failed with the following &#xD;&#xA;error message : An unknown security error occurred. For more information, see &#xD;&#xA;the about_Remote_Troubleshooting Help topic.&#xD;&#xA;    + CategoryInfo          : OpenError: (localhost:String) [], PSRemotingTran &#xD;&#xA;   sportException&#xD;&#xA;    + FullyQualifiedErrorId : -2144108387,PSSessionStateBroken&#xD;&#xA;[localhost] Connecting to remote server localhost failed with the following &#xD;&#xA;error message : An unknown security error occurred. For more information, see &#xD;&#xA;the about_Remote_Troubleshooting Help topic.&#xD;&#xA;    + CategoryInfo          : OpenError: (localhost:String) [], PSRemotingTran &#xD;&#xA;   sportException&#xD;&#xA;    + FullyQualifiedErrorId : -2144108387,PSSessionStateBroken&#xD;&#xA;Invoke-AzureStackInstaller : Some component configuration fails. Please check &#xD;&#xA;output for details.&#xD;&#xA;At E:\AzureStackInstaller\PoCAzureStackServicesInstaller\Microsoft.AzureStackIn&#xD;&#xA;staller.Master.ps1:1052 char:1&#xD;&#xA;+ Invoke-AzureStackInstaller -SettingsXml $SettingsXml -DeploymentCrede ...&#xD;&#xA;+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xD;&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep &#xD;&#xA;   tion&#xD;&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio &#xD;&#xA;   n,Invoke-AzureStackInstaller&#xD;&#xA; &#xD;&#xA;Start-PocAzureStackServicesInstallerTasks : POCAzureStackServicesInstaller &#xD;&#xA;failed because the following tasks failed: GenerateWapSslCert, &#xD;&#xA;GenerateStorageAdminExtensionSslCert, GenerateWossSslCert, &#xD;&#xA;GenerateComputeAdminExtensionSslCert, GenerateCrpSslCert, GenerateSrpSslCert, &#xD;&#xA;GenerateNrpSslCert, GenerateNetworkAdminExtensionSslCert, &#xD;&#xA;GenerateXrpTenantExtensionSslCert&#xD;&#xA;At C:\ProgramData\Microsoft\AzureStack\Deployment\RunAzureStackDeploymentTask.p&#xD;&#xA;s1:158 char:19&#xD;&#xA;+ ...        $result = &amp; &quot;Start-$moduleName`Tasks&quot; -StatusUpdatedCallback {&#xD;&#xA;+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xD;&#xA;    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep &#xD;&#xA;   tion&#xD;&#xA;    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio &#xD;&#xA;   n,Start-PocAzureStackServicesInstallerTasks&#xD;&#xA; &#xD;&#xA;">
      <Parameters>
        <PackagePath>D:\AzureStackInstall\Microsoft Azure Stack POC</PackagePath>
        <PoCVHD>MicrosoftAzureStackPOC.vhdx</PoCVHD>
        <SQLVHD>SQLServer2014.vhdx</SQLVHD>
        <OSVHD>WindowsServer2016Datacenter.vhdx</OSVHD>
        <GalleryVHD>WindowsServer2012R2DatacenterEval.vhd</GalleryVHD>
        <AzureStackPath>E:</AzureStackPath>
        <ADDomainName>AzureStack.local</ADDomainName>
        <ADNetBiosName>AzureStack</ADNetBiosName>
        <AdminPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAFfXXpSl5UEeuiPbrhPix3AQAAAACAAAAAAAQZgAAAAEAACAAAAB0uj7xo/Pwu+khfV7eY2/4TmwUElTqqTt3ICuK74A5owAAAAAOgAAAAAIAACAAAACMdly5dxsXWW4IOmkLwo3ZMmCLze5p2J8S1hgdGX0z4yAAAACohl1jhaTm2L9zBLkHMm5vsY9iPymc5gwtpSaQpWMftEAAAAAb0d1vj6Cx6vapx00alLVxCz/1+RltUM3wspJjrdcts1tRm50jxkDzq5zaWNxu2pR0hUGoLW18sFhMFlJLSsNH</AdminPassword>
        <NATVMStaticIP />
        <NATVMStaticGateway />
        <PublicVLan />
        <ProxyServer />
        <PortalAADClientID>6490bbc7-c30a-4274-aa8d-fe9e7629a977</PortalAADClientID>
        <FrontdoorAADClientID>00f260d9-5fe2-41ba-a624-9cdb2d5105d9</FrontdoorAADClientID>
        <FrontdoorAADClientIDUri>https://azurestack.local-api/</FrontdoorAADClientIDUri>
        <MonitoringAADClientID>c8fb90dc-9960-4c52-8746-e1c284e39e63</MonitoringAADClientID>
        <FrontdoorClientCertThumbprint>05A3DF1F0508B6106C7BBC1F3041B1A2E647E8F7</FrontdoorClientCertThumbprint>
        <MonitoringClientCertThumbprint>BFB991DA5EFFB4BC49A291FC353E196A74860A6F</MonitoringClientCertThumbprint>
        <PortalAADClientSecret>xSE8.jL-wE5j64dukSBm6@BNBxOlAhQD</PortalAADClientSecret>
        <AADTenantID>4f947d49-6e71-42f0-bc4e-26b986b0a1a4</AADTenantID>
        <TIPServiceAdmin>AzureStackTIPServiceAdmin-508ac52c-8ae3-4f9a-823c-9cf3033ab12f@tsazurestack.onmicrosoft.com</TIPServiceAdmin>
        <TIPServiceAdminPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAFfXXpSl5UEeuiPbrhPix3AQAAAACAAAAAAAQZgAAAAEAACAAAAD8f/GSmnn2cVc3pnStdj6nu4Jv8KLDSTlo43IJmYscYQAAAAAOgAAAAAIAACAAAAChSYH4XOwaTugUWHeaPo39aAVMw8HNQ014DCSI0Xi49yAAAACg2MGvjnO6mqVlNYOcl2fqXvsEyEMUsac7Eex8NYyznEAAAAAjyUL+JLOCa/HYfkA5iQNLRHYD3tYyB4ZDAMEsbNhXoIGLCYdZ1gbCSyK+q+FsZoC1+fhJwLkk3N0U0yg/sG4/</TIPServiceAdminPassword>
        <TIPServiceAdminObjectID>c5f1386d-9be4-4bfe-8388-dc1e1d4d8057</TIPServiceAdminObjectID>
        <TIPTenantAdmin>AzureStackTIPTenantAdmin-e92e67b9-76af-4880-bc85-c4b418e31f8d@tsazurestack.onmicrosoft.com</TIPTenantAdmin>
        <TIPTenantAdminPassword>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAFfXXpSl5UEeuiPbrhPix3AQAAAACAAAAAAAQZgAAAAEAACAAAACqkCt1n1rif/FaQvHUUIBDUznYNtCybTCs5whxxVgfugAAAAAOgAAAAAIAACAAAADMOfHi3w+1i1qoV0GmIaU9BLvNCldemXZwaTgL7VG4YyAAAAAGhExvkM38JFRhq2heU6ME4LXks8sUI4pQWMngJx+9+kAAAABrRCA8SM4gYNDPAILAxlPXB00BOLuGrkxEtmlcoYKPeegXDSF3tsPw8PIfTQH2sYFdb6NIzX0Pe5l3xn73aBQb</TIPTenantAdminPassword>
        <TIPTenantAdminObjectID>453f38e5-8a16-4f50-a9d3-5494273d1fa1</TIPTenantAdminObjectID>
        <UseAADChina>False</UseAADChina>
        <ServiceAdminUpn>live.com#rickard.oh@transportstyrelsen.se</ServiceAdminUpn>
        <DeploymentID>b8ec9600-fe58-4b23-8439-7459410b04f0</DeploymentID>
        <ElapsedTime>-18208</ElapsedTime>
        <StartTime>2016-02-26T15:06:13.2855268-08:00</StartTime>
      </Parameters>
      <TaskGroups>
        <TaskGroup Description="Microsoft Azure Stack POC Fabric Installer" ModulePath="PocFabricInstaller.psm1" Status="Completed" StartTime="2016-02-27T00:06:27.3409471+01:00" ElapsedTime="1">
          <Task Id="EnableRemotePS" Status="Pass" />
          <Task Id="InstallFeature" Status="Pass" />
          <Task Id="SetupvSwitch" Status="Pass" />
          <Task Id="HostConfigration" Status="Pass" />
          <Task Id="EnableVFP" Status="Pass" />
          <Task Id="DisableUnusedNic" Status="Pass" />
          <Task Id="FindFreeDisk" Status="Pass" />
          <Task Id="CopyVhdx_Local" Status="Pass" />
          <Task Id="ADVM" Status="Pass" />
          <Task Id="DCPromo" Status="Pass" />
          <Task Id="SetupDNS" Status="Pass" />
          <Task Id="SetupCA" Status="Pass" />
          <Task Id="CreateServiceAccount" Status="Pass" />
          <Task Id="DomainJoin" Status="Pass" />
          <Task Id="ChangeTimeSync" Status="Pass" />
          <Task Id="EnableCredSSP" Status="Pass" />
          <Task Id="AddHostToSG" Status="Pass" />
          <Task Id="CreateFailoverCluster" Status="Pass" />
          <Task Id="CreateStoragePool" Status="Pass" />
          <Task Id="CreateCSV" Status="Pass" />
          <Task Id="CreateSOFS" Status="Pass" />
          <Task Id="CopyVhdx_SOFS" Status="Pass" />
          <Task Id="CreateDSCCert" Status="Pass" />
          <Task Id="BGPVM" Status="Pass" />
          <Task Id="NATVM" Status="Pass" />
          <Task Id="SetupGW" Status="Pass" />
          <Task Id="SetupNAT" Status="Pass" />
          <Task Id="NCVM" Status="Pass" />
          <Task Id="MuxVM" Status="Pass" />
          <Task Id="ImportDCSCert_NCVM" Status="Pass" />
          <Task Id="SetupNC" Status="Pass" />
          <Task Id="SQLVM" Status="Pass" />
          <Task Id="PortalVM" Status="Pass" />
          <Task Id="ACSVM" Status="Pass" />
          <Task Id="xRPVM" Status="Pass" />
          <Task Id="ClientVM" Status="Pass" />
          <Task Id="SetupBGP" Status="Pass" />
          <Task Id="ImportDCSCert_MuxVM" Status="Pass" />
          <Task Id="SetupMux" Status="Pass" />
          <Task Id="ConfigureHostNetworking" Status="Pass" />
          <Task Id="AddVMtoNC_ACSVM" Status="Pass" />
          <Task Id="AddVMtoNC_PortalVM" Status="Pass" />
          <Task Id="AddVMtoNC_SQLVM" Status="Pass" />
          <Task Id="AddVMtoNC_xRPVM" Status="Pass" />
          <Task Id="AddLoadBalancer_xRPInternal" Status="Pass" />
          <Task Id="AddLoadBalancer_WAPInternal" Status="Pass" />
          <Task Id="AddLoadBalancer_xRPExternal" Status="Pass" />
          <Task Id="AddLoadBalancer_ACS" Status="Pass" />
          <Task Id="AddLoadBalancer_WAPExternal" Status="Pass" />
          <Task Id="AddLoadBalancer_WAPGallery" Status="Pass" />
          <Task Id="AddLoadBalancer_ACSVMTS" Status="Pass" />
          <Task Id="AddLoadBalancer_PortalVMTest" Status="Pass" />
        </TaskGroup>
        <TaskGroup Description="Microsoft Azure Stack POC Services Installer" ModulePath="PocAzureStackServicesInstaller.psm1" Status="Initialized" StartTime="2016-02-27T00:06:28.6339468+01:00" ElapsedTime="89">
          <Task Id="aad" Status="NotStarted" />
          <Task Id="Test" Status="NotStarted" />
          <Task Id="Client" Status="Pass" />
          <Task Id="NrpEndPoint" Status="Pass" />
          <Task Id="NrpRegistration" Status="NotStarted" />
          <Task Id="HostEndPoint" Status="Pass" />
          <Task Id="GenerateWapSslCert" Status="Failed" />
          <Task Id="EnableSSPServerSqlVM" Status="Pass" />
          <Task Id="XrpFabricCluster" Status="Pass" />
          <Task Id="NetworkAdminExtension" Status="NotStarted" />
          <Task Id="CrpEndPoint" Status="Pass" />
          <Task Id="xRPVM" Status="Pass" />
          <Task Id="NrpProxyResourceAllSubDomains" Status="Pass" />
          <Task Id="GenerateStorageAdminExtensionSslCert" Status="Failed" />
          <Task Id="StorageEndPoint" Status="Pass" />
          <Task Id="WapEndPoint" Status="Pass" />
          <Task Id="BlobFrontEndPoint" Status="Pass" />
          <Task Id="EnableSSPServerXrpVM" Status="Pass" />
          <Task Id="NrpProxyResourceEndPoint" Status="Pass" />
          <Task Id="GenerateWossSslCert" Status="Failed" />
          <Task Id="SQLVM" Status="Pass" />
          <Task Id="wap" Status="NotStarted" />
          <Task Id="SrpEndPoint" Status="Pass" />
          <Task Id="StorageAdminExtension" Status="NotStarted" />
          <Task Id="woss" Status="NotStarted" />
          <Task Id="PocDnsZone" Status="Pass" />
          <Task Id="XrpFabric" Status="Pass" />
          <Task Id="ACSVMReboot" Status="NotStarted" />
          <Task Id="WapGalleryEndPoint" Status="Pass" />
          <Task Id="Crp" Status="NotStarted" />
          <Task Id="PortalVM" Status="Pass" />
          <Task Id="NrpAdminExtensionEndPoint" Status="Pass" />
          <Task Id="WapFrontdoorEndPoint" Status="Pass" />
          <Task Id="GenerateComputeAdminExtensionSslCert" Status="Failed" />
          <Task Id="ImportNCServerCert" Status="Pass" />
          <Task Id="GenerateCrpSslCert" Status="Failed" />
          <Task Id="TableFrontEndPoint" Status="Pass" />
          <Task Id="SrpRegistration" Status="NotStarted" />
          <Task Id="GenerateDSCEncryptCert" Status="Pass" />
          <Task Id="XrpTenantExtension" Status="NotStarted" />
          <Task Id="PortalVMReboot" Status="NotStarted" />
          <Task Id="ClientVM" Status="Pass" />
          <Task Id="GenerateSrpSslCert" Status="Failed" />
          <Task Id="ComputeAdminExtension" Status="NotStarted" />
          <Task Id="EnableSSPServerPortalVM" Status="Pass" />
          <Task Id="srp" Status="NotStarted" />
          <Task Id="EnableSSPClient" Status="Pass" />
          <Task Id="GenerateNrpSslCert" Status="Failed" />
          <Task Id="ImportDSCCertForSQLVM" Status="Pass" />
          <Task Id="WapInternalEndPoint" Status="Pass" />
          <Task Id="SrpAdminExtensionEndPoint" Status="Pass" />
          <Task Id="CrpAdminExtensionEndPoint" Status="Pass" />
          <Task Id="GenerateNetworkAdminExtensionSslCert" Status="Failed" />
          <Task Id="RestartHostWinRMService" Status="NotStarted" />
          <Task Id="GenerateWossEncryptCert" Status="Pass" />
          <Task Id="EnableSSPServerClientVM" Status="Pass" />
          <Task Id="ImportWapSslCertWithPrivateKey" Status="NotStarted" />
          <Task Id="GlobalParameters" Status="Pass" />
          <Task Id="GenerateXrpTenantExtensionSslCert" Status="Failed" />
          <Task Id="sql" Status="Pass" />
          <Task Id="nrp" Status="NotStarted" />
          <Task Id="TiP" Status="NotStarted" />
          <Task Id="ADVM" Status="Pass" />
          <Task Id="ComputeEndPoint" Status="Pass" />
          <Task Id="EnableSSPServerACSVM" Status="Pass" />
          <Task Id="ACSVM" Status="Pass" />
          <Task Id="GenerateNrpEncryptCert" Status="Pass" />
          <Task Id="WossFabric" Status="Pass" />
          <Task Id="QueueFrontEndPoint" Status="Pass" />
          <Task Id="CrpRegistration" Status="NotStarted" />
          <Task Id="XrpTenantExtensionEndPoint" Status="Pass" />
        </TaskGroup>
        <TaskGroup Description="Microsoft Azure Stack POC Post Validation" ModulePath="AzureStackDeploymentPostValidation.psm1" Status="Initialized">
          <Task Id="" Status="" />
        </TaskGroup>
      </TaskGroups>
    </AzureStackDeploymentStatus>

    Friday, February 26, 2016 11:39 PM

Answers

  • I ran the script a fifth time and then it worked. 

    Weird. 

    The installation is successful. 

    Thank you for a quick response

    • Marked as answer by kalasp2 Saturday, February 27, 2016 10:18 AM
    Saturday, February 27, 2016 10:18 AM

All replies

  • Hi Kalasp2,Please collect the deployment logs and contact ascustfeedbackatmicrosoftdotcom so that we create a share for you to upload them to. You can collct the deployment logs by running Invoke-DeploymentLogCollection.ps1 from <mounted
    drive letter>:\AzureStackInstaller\PoCDeployment\ . The logs will be collected to C:\LogCollection\<GUID>

    Saturday, February 27, 2016 5:03 AM
  • I ran the script a fifth time and then it worked. 

    Weird. 

    The installation is successful. 

    Thank you for a quick response

    • Marked as answer by kalasp2 Saturday, February 27, 2016 10:18 AM
    Saturday, February 27, 2016 10:18 AM
  • Hi Kalasp2, Thanks for the update. I'm glad you were able to get past the issue. This type of issue can be time-related (though I understand you set the BIOS to local time). If the issue were to crop up again, the System event logs would shed more insight.
    Monday, February 29, 2016 6:28 PM