locked
Deploy Fails at 60.120.124 RRS feed

  • Question

  • Hello,

    I am having a problem on this step , below the details , take in mind that Internet connection is tested and working and that I have deployed already 4 times trying to debug and still get the same problem.

    Log error on POC :

    STARTING: Task Cloud\Fabric\AAD - Configure
    VERBOSE: 1> 2> Task: Running interface 'Configure' of role 'Cloud\Fabric\AAD'. - 13/01/2017
    18:23:42
    VERBOSE: 1> 2> Interface: Path to module: C:\CloudDeployment\Roles\AAD\AAD.psd1 - 13/01/2017
    18:23:42
    VERBOSE: 1> 2> Interface: Running interface Configure (Roles\AAD\AAD.psd1, ConfigureAAD) -
    13/01/2017 18:23:42
    VERBOSE: 1> 2> & : BEGIN on RLWAZSTACK02 as AZURESTACK\AzureStackAdmin - 13/01/2017 18:23:46
    VERBOSE: 1> 2> & DirectoryTenantID: <tenantid> - 13/01/2017 18:23:46
    VERBOSE: 1> 2> & [PSCredential]DomainAdmin: AzureStack\FabricAdmin - 13/01/2017 18:23:46
    VERBOSE: 1> 2> & AzureEnvironment: AzureCloud - 13/01/2017 18:23:46
    VERBOSE: 1> 2> & AAD Admin User: xxxxxxATfqdn.onmicrosoft.com,UniqueNameClaim: xxxxxxATfqdn.onmicrosoft.com - 13/01/2017 18:23:46
    VERBOSE: 1> 2> & SqlServer: MAS-WAP-HA\MASSqlWAP - 13/01/2017 18:23:46
    VERBOSE: 1> 2> & KeyVaultResourceId:
    https://vault.azurestack.local/<tenantid>, KeyVaultEndpointTemplate:
    https://{0}.vault.azurestack.local - 13/01/2017 18:23:46
    VERBOSE: 1> 2> & ArmEndpoint: https://api.AzureStack.Local - 13/01/2017 18:23:46
    VERBOSE: 1> 2> & : Invoking command on MAS-WAS01 as AzureStack\FabricAdmin - 13/01/2017 18:23:47
    Invoke-EceAction : {"error":{"code":"AuthenticationFailed","message":"Authentication failed."}}
    At line:6 char:2
    +  Invoke-EceAction -RolePath Cloud -ActionType Deployment -Start 0.16  ...
    +  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:PSObject) [Invoke-EceA
       ction], Exception
        + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeR
       estMethodCommand,CloudEngine.Cmdlets.InvokeCmdlet
    VERBOSE: 1> 2> Step: Status of step '(Katal) Azure Stack AAD Configuration.' is 'Error'. - 13/01/2017 18:24:18
    Invoke-EceAction : 1> 2> Action: Invocation of step 60.120.124 failed. Stopping invocation of
    action plan. - 13/01/2017 18:24:18
    At line:6 char:2
    +  Invoke-EceAction -RolePath Cloud -ActionType Deployment -Start 0.16  ...
    +  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [Invoke-EceAction], Exception
        + FullyQualifiedErrorId : Unspecified error,CloudEngine.Cmdlets.InvokeCmdlet
    
    VERBOSE: 1> 2> Action: Status of 'Deployment-Phase4-ConfigureWAS' is 'Error'. - 13/01/2017
    18:24:18

    MAS-WAS01 Log :

    **********************
    Windows PowerShell transcript start
    Start time: 20170116144819
    Username: AZURESTACK\FabricAdmin
    RunAs User: AZURESTACK\FabricAdmin
    Machine: MAS-WAS01 (Microsoft Windows NT 10.0.14393.0)
    Host Application: C:\Windows\system32\wsmprovhost.exe -Embedding
    Process ID: 3988
    PSVersion: 5.1.14393.206
    PSEdition: Desktop
    PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.14393.206
    BuildVersion: 10.0.14393.206
    CLRVersion: 4.0.30319.42000
    WSManStackVersion: 3.0
    PSRemotingProtocolVersion: 2.3
    SerializationVersion: 1.1.0.1
    **********************
    VERBOSE: Importing function 'Clear-StorageDiagnosticInfo'.
    VERBOSE: Importing function 'Get-StorageDiagnosticInfoInternal'.
    VERBOSE: Importing function 'Get-StorageSubSystem'.
    VERBOSE: Importing function 'New-MaskingSet'.
    VERBOSE: Importing function 'New-StorageFileServer'.
    VERBOSE: Importing function 'New-StoragePool'.
    VERBOSE: Importing function 'New-StorageSubsystemVirtualDisk'.
    VERBOSE: Importing function 'Start-StorageDiagnosticLog'.
    VERBOSE: Importing function 'Stop-StorageDiagnosticLog'.
    VERBOSE: Importing alias 'Disable-StorageDiagnosticLog'.
    VERBOSE: Importing alias 'Enable-StorageDiagnosticLog'.
    VERBOSE: Exporting function 'Get-StorageHealth'.
    VERBOSE: Exporting function 'Get-StorageHealthSettingInternal'.
    VERBOSE: Exporting function 'Remove-StorageHealthSettingInternal'.
    VERBOSE: Exporting function 'Set-StorageHealthSettingInternal'.
    VERBOSE: Exporting function 'Clear-StorageDiagnosticInfo'.
    VERBOSE: Exporting function 'Get-StorageDiagnosticInfoInternal'.
    VERBOSE: Exporting function 'Get-StorageSubSystem'.
    VERBOSE: Exporting function 'New-MaskingSet'.
    VERBOSE: Exporting function 'New-StorageFileServer'.
    VERBOSE: Exporting function 'New-StoragePool'.
    VERBOSE: Exporting function 'New-StorageSubsystemVirtualDisk'.
    VERBOSE: Exporting function 'Start-StorageDiagnosticLog'.
    VERBOSE: Exporting function 'Stop-StorageDiagnosticLog'.
    VERBOSE: Exporting function 'CreateErrorRecord'.
    VERBOSE: Exporting function 'Get-PhysicalDisk'.
    VERBOSE: Exporting function 'Get-PhysicalExtent'.
    VERBOSE: Exporting function 'Get-PhysicalExtentAssociation'.
    VERBOSE: Exporting function 'Enable-PhysicalDiskIdentification'.
    VERBOSE: Exporting function 'Disable-PhysicalDiskIdentification'.
    VERBOSE: Exporting function 'Reset-PhysicalDisk'.
    VERBOSE: Exporting function 'Get-StorageFirmwareInformation'.
    VERBOSE: Exporting function 'Update-StorageFirmware'.
    VERBOSE: Exporting function 'Get-PhysicalDiskStorageNodeView'.
    VERBOSE: Exporting function 'Get-DiskStorageNodeView'.
    VERBOSE: Exporting function 'Get-StorageEnclosureStorageNodeView'.
    VERBOSE: Exporting function 'Get-StorageHealthAction'.
    VERBOSE: Exporting function 'Get-StorageFaultDomain'.
    VERBOSE: Exporting function 'New-Volume'.
    VERBOSE: Exporting function 'Get-StorageAdvancedProperty'.
    VERBOSE: Exporting function 'Get-StorageHealthReport'.
    VERBOSE: Exporting function 'Get-StorageHealthSetting'.
    VERBOSE: Exporting function 'Set-StorageHealthSetting'.
    VERBOSE: Exporting function 'Remove-StorageHealthSetting'.
    VERBOSE: Exporting function 'Debug-StorageSubSystem'.
    VERBOSE: Exporting function 'Debug-FileShare'.
    VERBOSE: Exporting function 'Debug-Volume'.
    VERBOSE: Exporting function 'Enable-StorageMaintenanceMode'.
    VERBOSE: Exporting function 'Disable-StorageMaintenanceMode'.
    VERBOSE: Exporting function 'Get-StorageDiagnosticInfo'.
    VERBOSE: Exporting alias 'Disable-StorageDiagnosticLog'.
    VERBOSE: Exporting alias 'Enable-StorageDiagnosticLog'.
    VERBOSE: Exporting alias 'Enable-PhysicalDiskIndication'.
    VERBOSE: Exporting alias 'Disable-PhysicalDiskIndication'.
    VERBOSE: Exporting alias 'Get-PhysicalDiskSNV'.
    VERBOSE: Exporting alias 'Get-DiskSNV'.
    VERBOSE: Exporting alias 'Get-StorageEnclosureSNV'.
    VERBOSE: Adding new ACL rule for 'S-1-5-82-2699861480-139441918-3172239802-227876058-2239630229' on private key 'C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\bbbd84154b5f5aa4ce6349589847fb1c_0a6de5aa-85a0-4abf-857a-3cd69b8af935' for certificate '766713CF2D812BAB06631929E59ED7367B48CC37'
    VERBOSE: Adding new ACL rule for 'S-1-5-82-2100338048-76060490-347169973-2028959449-1309629683' on private key 'C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\bbbd84154b5f5aa4ce6349589847fb1c_0a6de5aa-85a0-4abf-857a-3cd69b8af935' for certificate '766713CF2D812BAB06631929E59ED7367B48CC37'
    VERBOSE: Adding new ACL rule for 'S-1-5-82-151719502-3379035933-363574962-24702114-4058119228' on private key 'C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\6f90e9a52d9e08889ce3b6cecbf7c751_0a6de5aa-85a0-4abf-857a-3cd69b8af935' for certificate '6000CEEC7F05632FD2861B1703766A301B54BA26'
    VERBOSE: Adding new ACL rule for 'S-1-5-82-1468657960-213188414-1193330982-775079561-109385672' on private key 'C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\940ef62dd7e0d8136992d20e420bc456_0a6de5aa-85a0-4abf-857a-3cd69b8af935' for certificate '6F9816D930DA7DDD911412FB6019EFC6DF527637'
    VERBOSE: Adding new ACL rule for 'S-1-5-82-2835481193-3413989992-46192687-3300590913-2124418781' on private key 'C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys\81a27de85ef3a22ff7e460748d4791d0_0a6de5aa-85a0-4abf-857a-3cd69b8af935' for certificate 'B2D9B535DB92266D5DFC5310BDDED3AC55FF5729'
    VERBOSE: Initializing new connection string: 'Data Source=MAS-WAP-HA\MASSqlWAP;Integrated Security=True;Pooling=False'
    VERBOSE: Initializing services using connection string 'Data Source=MAS-WAP-HA\MASSqlWAP;Integrated Security=True;Pooling=False'
    VERBOSE: Updating owner of root admin subscription '1B79CF34-FCE9-453B-B9CA-714679FF4F28' from 'xxxxxxATfqdn.onmicrosoft.com' to 'xxxxxxATfqdn.onmicrosoft.com' (DirectoryTenantId=).
    VERBOSE: Updating 0/5 changed settings (44 total) in 'C:\inetpub\AzureStack-Authorization\web.config'.
    VERBOSE: Updating 0/4 changed settings (55 total) in 'C:\inetpub\AzureStack-Monitoring\web.config'.
    VERBOSE: Updating 0/14 changed settings (101 total) in 'C:\inetpub\AzureStack-Policy\web.config'.
    VERBOSE: Updating 0/0 changed connection strings (18 total) in 'C:\inetpub\AzureStack-Policy\web.config'.
    VERBOSE: Updating 0/14 changed settings (364 total) in 'C:\inetpub\AzureStack-ResourceManager\web.config'.
    VERBOSE: Updating 0/14 changed settings (367 total) in 'C:\inetpub\AzureStack-ResourceManagerAdmin\web.config'.
    VERBOSE: Updating 0/8 changed settings (83 total) in 'C:\inetpub\AzureStack-ShellSite\web.config'.
    VERBOSE: Updating 0/0 changed settings (17 total) in 'C:\inetpub\AzureStack-BillingExtension\web.config'.
    VERBOSE: Updating 0/0 changed settings (42 total) in 'C:\inetpub\AzureStack-HubsExtension\web.config'.
    VERBOSE: Updating 0/0 changed settings (53 total) in 'C:\inetpub\AzureStack-InsightsTenantExtension\web.config'.
    VERBOSE: Updating 0/0 changed settings (26 total) in 'C:\inetpub\AzureStack-MarketplaceTenantExtension\web.config'.
    VERBOSE: Updating 0/7 changed settings (41 total) in 'C:\inetpub\AzureStack-RbacExtension\web.config'.
    VERBOSE: Updating 0/0 changed settings (17 total) in 'C:\inetpub\AzureStack-SubscriptionsTenantExtension\web.config'.
    VERBOSE: Attempting to acquire a token using parameters: {
        "Credential":  {
                           "UserName":  "xxxxxxATfqdn.onmicrosoft.com",
                           "Password":  "System.Security.SecureString"
                       },
        "Resource":  "https://api.azurestack.local/2ac8d62b-0528-4a35-8f87-7f5494c1891e",
        "Authority":  "https://login.windows.net/",
        "AadTenantId":  "TenantIDplaceholder",
        "ClientId":  "1950a258-227b-4e31-a9cf-717495945fc2"
    }
    WARNING: Get-AzureStackToken cmdlet will be deprecated in a future release of AzureStackAdmin module.
    VERBOSE: Verifying connection to ARM service at https://api.AzureStack.Local/metadata/endpoints?api-version=2015-01-01
    VERBOSE: GET https://api.azurestack.local/metadata/endpoints?api-version=2015-01-01 with 0-byte payload
    VERBOSE: received 303-byte response of content type application/json; charset=utf-8
    VERBOSE: Verified a successful connection to the ARM service; response received: {
        "StatusCode":  200,
        "StatusDescription":  "OK",
        "Headers":  {
                        "Pragma":  "no-cache",
                        "x-ms-request-id":  "2aaf0157-ebf7-45c0-80e4-1f9246081a41",
                        "x-ms-correlation-request-id":  "2aaf0157-ebf7-45c0-80e4-1f9246081a41",
                        "x-ms-routing-request-id":  "LOCAL:20170116T134834Z:2aaf0157-ebf7-45c0-80e4-1f9246081a41",
                        "Strict-Transport-Security":  "max-age=31536000; includeSubDomains",
                        "Content-Length":  "303",
                        "Cache-Control":  "no-cache",
                        "Content-Type":  "application/json; charset=utf-8",
                        "Date":  "Mon, 16 Jan 2017 13:48:33 GMT",
                        "Expires":  "-1"
                    },
        "Content":  "{\"galleryEndpoint\":\"https://portal.azurestack.local:30015/\",\"graphEndpoint\":\"https://graph.windows.net/\",\"portalEndpoint\":\"https://portal.azurestack.local/\",\"authentication\":{\"loginEndpoint\":\"https://login.windows.net/\",\"audiences\":[\"https://api.azurestack.local/2ac8d62b-0528-4a35-8f87-7f5494c1891e\"]}}"
    }
    VERBOSE: Calling ARM to check if RBAC assignment already exists... (https://api.AzureStack.Local/subscriptions/1B79CF34-FCE9-453B-B9CA-714679FF4F28/providers/Microsoft.Authorization/roleAssignments?api-version=2015-07-01)
    

    MAS Application Erroro :

    Log Name:      Application
    Source:        ASP.NET 4.0.30319.0
    Date:          16/01/2017 14:48:24
    Event ID:      1309
    Task Category: Web Event
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      MAS-WAS01.AzureStack.Local
    Description:
    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 1/16/2017 2:48:24 PM 
    Event time (UTC): 1/16/2017 1:48:24 PM 
    Event ID: ca53e96b01d241dfa4bf4c38168af65a 
    Event sequence: 2 
    Event occurrence: 1 
    Event detail code: 0 
     
    Application information: 
        Application domain: /LM/W3SVC/6/ROOT-1-131290480805222206 
        Trust level: Full 
        Application Virtual Path: / 
        Application Path: C:\inetpub\AzureStack-GalleryArtifacts\ 
        Machine name: MAS-WAS01 
     
    Process information: 
        Process ID: 2868 
        Process name: w3wp.exe 
        Account name: IIS APPPOOL\AzureStack-GalleryArtifacts 
     
    Exception information: 
        Exception type: HttpException 
        Exception message: One or more errors occurred.
       at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
       at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
       at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
       at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
       at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
    
    One or more errors occurred.
       at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
       at Microsoft.Azure.Gallery.Service.RequestHandlers.HttpConfigurationInitializer.InitializeProviders()
       at Microsoft.WindowsAzureStack.Gallery.Artifacts.GalleryArtifacts.Application_Start()
    
    Unable to connect to the remote server
       at Microsoft.WindowsAzure.Storage.Core.Util.StorageAsyncResult`1.End()
       at Microsoft.WindowsAzure.Storage.Table.CloudTable.EndCreateIfNotExists(IAsyncResult asyncResult)
       at Microsoft.WindowsAzure.Storage.Core.Util.AsyncExtensions.<>c__DisplayClass1`1.<CreateCallback>b__0(IAsyncResult ar)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageOperationContextLogger.<ExecuteOperationAsync>d__9`1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageArtifactsHelper.<CreateTableIfNotExistAsync>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.ResourceStack.Common.Storage.CloudStorageDataProvider.<CreateTableIfNotExist>d__66.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.ResourceStack.Common.Storage.CloudStorageDataProvider.<FindRangeSegmentedInternal>d__3f`1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageDataProvider.<FindRangeInternal>d__b`1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Azure.Gallery.GalleryItemStore`1.<CreateItemsCache>d__89.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Azure.Gallery.GalleryItemStore`1.<<.ctor>b__0>d__2.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Azure.Gallery.ItemsStoreCache`1.<RefreshTimerCallback>d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Azure.Gallery.ItemsStoreCache`1.<InitializeAsync>d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Azure.Gallery.GalleryItemStore`1.<InitializeAsync>d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Azure.Gallery.GalleryStoreProvider`2.<InitializeAsync>d__1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Azure.Gallery.GalleryProvider.<InitializeAsync>d__0.MoveNext()
    
    Unable to connect to the remote server
       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndGetResponse[T](IAsyncResult getResponseResult)
    
    No connection could be made because the target machine actively refused it 127.0.0.1:10002
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
    
     
     
    Request information: 
        Request URL: http://localhost/ 
        Request path: / 
        User host address: 127.0.0.1 
        User:  
        Is authenticated: False 
        Authentication Type:  
        Thread account name: IIS APPPOOL\AzureStack-GalleryArtifacts 
     
    Thread information: 
        Thread ID: 8 
        Thread account name: IIS APPPOOL\AzureStack-GalleryArtifacts 
        Is impersonating: False 
        Stack trace:    at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
       at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
       at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
       at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
       at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
     
     
    Custom event details: 
    
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="ASP.NET 4.0.30319.0" />
        <EventID Qualifiers="32768">1309</EventID>
        <Level>3</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2017-01-16T13:48:24.334748300Z" />
        <EventRecordID>300</EventRecordID>
        <Channel>Application</Channel>
        <Computer>MAS-WAS01.AzureStack.Local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>3005</Data>
        <Data>An unhandled exception has occurred.</Data>
        <Data>1/16/2017 2:48:24 PM</Data>
        <Data>1/16/2017 1:48:24 PM</Data>
        <Data>ca53e96b01d241dfa4bf4c38168af65a</Data>
        <Data>2</Data>
        <Data>1</Data>
        <Data>0</Data>
        <Data>/LM/W3SVC/6/ROOT-1-131290480805222206</Data>
        <Data>Full</Data>
        <Data>/</Data>
        <Data>C:\inetpub\AzureStack-GalleryArtifacts\</Data>
        <Data>MAS-WAS01</Data>
        <Data>
        </Data>
        <Data>2868</Data>
        <Data>w3wp.exe</Data>
        <Data>IIS APPPOOL\AzureStack-GalleryArtifacts</Data>
        <Data>HttpException</Data>
        <Data>One or more errors occurred.
       at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
       at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
       at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
       at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
       at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
    
    One or more errors occurred.
       at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
       at Microsoft.Azure.Gallery.Service.RequestHandlers.HttpConfigurationInitializer.InitializeProviders()
       at Microsoft.WindowsAzureStack.Gallery.Artifacts.GalleryArtifacts.Application_Start()
    
    Unable to connect to the remote server
       at Microsoft.WindowsAzure.Storage.Core.Util.StorageAsyncResult`1.End()
       at Microsoft.WindowsAzure.Storage.Table.CloudTable.EndCreateIfNotExists(IAsyncResult asyncResult)
       at Microsoft.WindowsAzure.Storage.Core.Util.AsyncExtensions.&lt;&gt;c__DisplayClass1`1.&lt;CreateCallback&gt;b__0(IAsyncResult ar)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageOperationContextLogger.&lt;ExecuteOperationAsync&gt;d__9`1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageArtifactsHelper.&lt;CreateTableIfNotExistAsync&gt;d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.ResourceStack.Common.Storage.CloudStorageDataProvider.&lt;CreateTableIfNotExist&gt;d__66.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.ResourceStack.Common.Storage.CloudStorageDataProvider.&lt;FindRangeSegmentedInternal&gt;d__3f`1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.WindowsAzure.ResourceStack.Common.Storage.StorageDataProvider.&lt;FindRangeInternal&gt;d__b`1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Azure.Gallery.GalleryItemStore`1.&lt;CreateItemsCache&gt;d__89.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Azure.Gallery.GalleryItemStore`1.&lt;&lt;.ctor&gt;b__0&gt;d__2.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Azure.Gallery.ItemsStoreCache`1.&lt;RefreshTimerCallback&gt;d__3.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Azure.Gallery.ItemsStoreCache`1.&lt;InitializeAsync&gt;d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Azure.Gallery.GalleryItemStore`1.&lt;InitializeAsync&gt;d__5.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Azure.Gallery.GalleryStoreProvider`2.&lt;InitializeAsync&gt;d__1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.Azure.Gallery.GalleryProvider.&lt;InitializeAsync&gt;d__0.MoveNext()
    
    Unable to connect to the remote server
       at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.EndGetResponse[T](IAsyncResult getResponseResult)
    
    No connection could be made because the target machine actively refused it 127.0.0.1:10002
       at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket&amp; socket, IPAddress&amp; address, ConnectSocketState state, IAsyncResult asyncResult, Exception&amp; exception)
    
    </Data>
        <Data>http://localhost/</Data>
        <Data>/</Data>
        <Data>127.0.0.1</Data>
        <Data>
        </Data>
        <Data>False</Data>
        <Data>
        </Data>
        <Data>IIS APPPOOL\AzureStack-GalleryArtifacts</Data>
        <Data>8</Data>
        <Data>IIS APPPOOL\AzureStack-GalleryArtifacts</Data>
        <Data>False</Data>
        <Data>   at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
       at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
       at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
       at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
       at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
    </Data>
      </EventData>
    </Event>
    Thank you and Best Regards
    Monday, January 16, 2017 3:29 PM

Answers

All replies

  • Did you supply the '-enviromentdns' parameter with the installation script? If not then the deployment scripts uses the default on configured on the host. If its not there or not working then you can get the error you encountered.

    On the host , type in 'dnsmgmt.msc' in the prompt and connect to MAS-DC01 and check the forwarders there and verify your dns server is working, otherwise remove that one and provide a working new one.

    If your DNS server is already added and working then verify if you can access the internet from MAS-WAS01 by executing a web request.

    invoke-webrequest www.google.com
    It should immediately return the request. If not then verify that your MAS-BGPNAT01 network adapter is configured correctly and can access the internet. 


    Cheers,

    Ruud
    Twitter:    Blog: AzureStack.Blog  LinkedIn:    
    Note: Please “Vote As Helpful” if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.


    Monday, January 16, 2017 7:14 PM
  • Hi ruud,

    thanks for the answer , unfortunately I already checked internet connection on both WAS01 and BGPNAT01 and everything looks fine , I did start my deploy with the -enviromentdns parameter

    any other idea ?

    Tuesday, January 17, 2017 7:43 AM
  • HI,

    Do all the servers have the same time? I heard from another person the time was one hour off on his systems and caused this error.

    Mark


    Best regards, Mark Scholman. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Tuesday, January 17, 2017 9:07 AM
  • Correct, that could also be the issue in the TP2 Refresh. Change to UTC in the bios and check timezones and please report the exact fix if it was the time issue. Thanks.

    Cheers,

    Ruud
    Twitter:    Blog: AzureStack.Blog  LinkedIn:    
    Note: Please “Vote As Helpful” if you find my contribution useful or “Mark As Answer” if it does answer your question. That will encourage me - and others - to take time out to help you.

    Tuesday, January 17, 2017 9:42 AM
  • Well , I ll give that a try as soon as Il be back working on the issue, should be monday, I'll start a new deploy from scratch and be back with the results.

    Cheers,

    Wednesday, January 18, 2017 7:56 AM
  • Azure Stack TP3 has been released on March 1, 2017.

    If you are experiencing any issues with the TP2 release, please download and redeploy using the latest Azure Stack POC deployment package

    Please see the updated deployment documentation:

    https://docs.microsoft.com/en-us/azure/azure-stack/azure-stack-run-powershell-script

    And updated Azure Stack Docs:

    https://docs.microsoft.com/en-us/azure/azure-stack/

     

    If you experience any issues with TP3 release, feel free to contact us.

    https://azure.microsoft.com/en-us/blog/hybrid-application-innovation-with-azure-and-azure-stack/


    Gary Gallanes

    Wednesday, March 1, 2017 5:49 PM