Closed kingboyk closed 5 years ago
Try adding
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
directly underneath the <TargetFramework>
element in StatelessCalculatorService.csproj
If that works for you, could you please open a PR?
That helped, thanks, but now I have The api IStatelessServiceInstance.Open on node _Node_0 is stuck
in the cluster manager. I'm trying to get to the bottom of it but without much luck so far.
Running locally I do not see that issue - if you can collect logs then I'll try to help
I can't see anything pertinent in the events nor can I find any text log files (and I've had a good look). Tempted to abandon this and try starting from a blank project. Thanks for your help - I'll report back if I discover anything. Oh and yes ofc happy to PR if I manage to get it working.
Hi Everyone, After adding:
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
to the statelessservice csproj file I don't get the deploy error anymore but I'm experiencing the same issue of the "stuck node" on VS2019 and Windows Server 2019, Service fabric tools are up to date (SDK Version 3.3.654, Runtime Version 6.4.654.9590) trying both 1 node and 5 node local cluster configurations. The same issue happens also on Windows 10 using VS2017. I've also made a new Service fabric project defining a .net core stateless service for the calculatorservice, updating all Orleans and SF nuget packages to the latest version then pasting the statelesscalculatorapp code, the result is the same
Here's the warning messages that can be seen from Service Fabric Manager at the lowest level of the "Cluster" section:
Event Warning 'System.RAP' reported Warning for property 'IStatelessServiceInstance.OpenDuration'. The api IStatelessServiceInstance.Open on node _Node_0 is stuck. Start Time (UTC): 2019-05-03 08:15:05.134.
Event Warning 'System.RA' reported Warning for property 'ReplicaOpenStatus'. Replica had multiple failures during open on _Node_0. API call: IStatelessServiceInstance.Open(); Error = Orleans.Runtime.OrleansLifecycleCanceledException (-2146233088) Lifecycle start canceled due to errors at stage 8000 at Orleans.LifecycleSubject.OnStart(CancellationToken ct) at Orleans.Runtime.Scheduler.AsyncClosureWorkItem.Execute() at Orleans.Runtime.Silo.StartAsync(CancellationToken cancellationToken) at Orleans.Hosting.ServiceFabric.OrleansCommunicationListener.OpenAsync(CancellationToken cancellationToken) at Microsoft.ServiceFabric.Services.Runtime.StatelessServiceInstanceAdapter.OpenCommunicationListenersAsync(CancellationToken cancellationToken) at Microsoft.ServiceFabric.Services.Runtime.StatelessServiceInstanceAdapter.System.Fabric.IStatelessServiceInstance.OpenAsync(IStatelessServicePartition partition, CancellationToken cancellationToken) For more information see: https://aka.ms/sfhealth
Additionaly here's the Service Fabric logs taken filtering only error and waning events
Level Date and Time Source Event ID Task Category Error 5/3/2019 12:37:00 AM Microsoft-ServiceFabric 59904 FabricDCA Kernel crash upload is configured but failed to get kernel crash dump folder. Warning 5/3/2019 12:37:03 AM Microsoft-ServiceFabric 4121 Transport "client-WIN-9E3M0JHUQ6J:19000/[fe80::d50:1443:b96e:1780]:19000: error = 2147943625, failureCount=4. Filter by (type~Transport.St && ~""(?i)WIN-9E3M0JHUQ6J:19000"") to get listener lifecycle. Connect failure is expected if listener was never started, or listener/its process was stopped before/during connecting." Warning 5/3/2019 12:37:03 AM Microsoft-ServiceFabric 4097 Transport client-WIN-9E3M0JHUQ6J:19000 : connect failed, having tried all addresses Warning 5/3/2019 12:37:08 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FABRIC_E_SERVICE_OFFLINE Warning 5/3/2019 12:41:58 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=53 Warning 5/3/2019 12:37:08 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FABRIC_E_SERVICE_OFFLINE Warning 5/3/2019 12:37:08 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FABRIC_E_SERVICE_OFFLINE Warning 5/3/2019 12:37:06 AM Microsoft-ServiceFabric 4121 Transport "client-WIN-9E3M0JHUQ6J:19000/172.26.192.1:19000: error = 2147943625, failureCount=5. Filter by (type~Transport.St && ~""(?i)WIN-9E3M0JHUQ6J:19000"") to get listener lifecycle. Connect failure is expected if listener was never started, or listener/its process was stopped before/during connecting." Warning 5/3/2019 12:37:09 AM Microsoft-ServiceFabric 19769 PLB Insufficient resources when adding service NamingService for metric NamingServicePrimaryCount: Requested 1, Available 0, Reserved0 BufferPercentage 0, Capacity 0 Warning 5/3/2019 12:36:51 AM Microsoft-ServiceFabric 59649 ImageBuilder One or more ports don't have values in cluster manifest. Warning 5/3/2019 12:37:07 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FMNotReadyForUse Warning 5/3/2019 12:37:00 AM Microsoft-ServiceFabric 4121 Transport "client-WIN-9E3M0JHUQ6J:19000/172.26.192.1:19000: error = 2147943625, failureCount=1. Filter by (type~Transport.St && ~""(?i)WIN-9E3M0JHUQ6J:19000"") to get listener lifecycle. Connect failure is expected if listener was never started, or listener/its process was stopped before/during connecting." Warning 5/3/2019 12:36:51 AM Microsoft-ServiceFabric 59649 ImageBuilder Current profile will be disabled by default for firewall rule Warning 5/3/2019 12:36:51 AM Microsoft-ServiceFabric 58369 FabricDeployer AclClusterLevelCerts: No load cert is defined. Warning 5/3/2019 12:41:52 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=41 Warning 5/3/2019 12:37:08 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FABRIC_E_SERVICE_OFFLINE Warning 5/3/2019 12:37:08 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FABRIC_E_SERVICE_OFFLINE Warning 5/3/2019 12:37:12 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={__FabricSystem_App4294967295:ES:EventStoreServiceType,1.0:1.0:0}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=11 Warning 5/3/2019 12:41:48 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=34 Warning 5/3/2019 12:37:19 AM Microsoft-ServiceFabric 59393 SystemFabric "AsyncCalloutAdapter-53052340: end delegate threw an exception System.Collections.Generic.KeyNotFoundException: Element not found ---> System.Runtime.InteropServices.COMException: Element not found. (Exception from HRESULT: 0x80070490) at System.Fabric.Data.Log.Interop.NativeLog.IKPhysicalLogStream2.EndMultiRecordRead(IFabricAsyncOperationContext Context, IKIoBuffer& ResultingMetadata, IKIoBuffer& ResultingIoPageAlignedBuffer) at System.Fabric.Data.Log.Interop.PhysicalLogStream.MultiRecordReadEndWrapper(IFabricAsyncOperationContext Context) at System.Fabric.Interop.AsyncCallOutAdapter2`1.Finish(IFabricAsyncOperationContext context, Boolean expectedCompletedSynchronously) --- End of inner exception stack trace ---" Warning 5/3/2019 12:41:55 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=47 Warning 5/3/2019 12:37:13 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={__FabricSystem_App4294967295:ES:EventStoreServiceType,1.0:1.0:0}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=13 Warning 5/3/2019 12:37:07 AM Microsoft-ServiceFabric 4121 Transport "client-WIN-9E3M0JHUQ6J:19000/10.0.2.15:19000: error = 2147943625, failureCount=6. Filter by (type~Transport.St && ~""(?i)WIN-9E3M0JHUQ6J:19000"") to get listener lifecycle. Connect failure is expected if listener was never started, or listener/its process was stopped before/during connecting." Warning 5/3/2019 12:41:56 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=50 Warning 5/3/2019 12:46:17 AM 2 (65532) Warning 5/3/2019 12:37:07 AM Microsoft-ServiceFabric 4121 Transport "client-WIN-9E3M0JHUQ6J:19000/10.0.2.15:19000: error = 2147943625, failureCount=6. Filter by (type~Transport.St && ~""(?i)WIN-9E3M0JHUQ6J:19000"") to get listener lifecycle. Connect failure is expected if listener was never started, or listener/its process was stopped before/during connecting." Warning 5/3/2019 12:37:09 AM Microsoft-ServiceFabric 18448 FM Cluster has recovered from pause state. UpNodeCount = 1 Warning 5/3/2019 12:46:17 AM Microsoft-ServiceFabric 59393 SystemFabric "The description for Event ID 59393 from source Microsoft-ServiceFabric cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
The message resource is present but the message was not found in the message table
"
Warning 5/3/2019 12:41:51 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=39
Warning 5/3/2019 12:37:08 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FABRIC_E_SERVICE_OFFLINE
Warning 5/3/2019 12:37:10 AM Microsoft-ServiceFabric 59393 SystemFabric "AsyncCalloutAdapter-56140151: end delegate threw an exception
System.TimeoutException: Operation timed out. ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80071BFF
at System.Fabric.Interop.NativeClient.IFabricPropertyManagementClient2.EndNameExists(IFabricAsyncOperationContext context)
at System.Fabric.FabricClient.PropertyManagementClient.NameExistsEndWrapper(IFabricAsyncOperationContext context)
at System.Fabric.Interop.AsyncCallOutAdapter21.Finish(IFabricAsyncOperationContext context, Boolean expectedCompletedSynchronously) --- End of inner exception stack trace ---" Warning 5/3/2019 12:37:08 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FABRIC_E_SERVICE_OFFLINE Warning 5/3/2019 12:37:09 AM Microsoft-ServiceFabric 18433 FM Rebuild is waiting for nodes: (bf865279ba277deb864a976fbf4c200e:132013426199824929) Warning 5/3/2019 12:41:48 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=33 Warning 5/3/2019 12:37:08 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FABRIC_E_SERVICE_OFFLINE Warning 5/3/2019 12:37:06 AM Microsoft-ServiceFabric 59393 SystemFabric "AsyncCalloutAdapter-2808346: end delegate threw an exception System.Fabric.FabricTransientException: Could not ping any of the provided Service Fabric gateway endpoints. ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80071C49 at System.Fabric.Interop.NativeClient.IFabricQueryClient10.EndGetServiceList2(IFabricAsyncOperationContext context) at System.Fabric.FabricClient.QueryClient.GetServiceListAsyncEndWrapper(IFabricAsyncOperationContext context) at System.Fabric.Interop.AsyncCallOutAdapter2
1.Finish(IFabricAsyncOperationContext context, Boolean expectedCompletedSynchronously)
--- End of inner exception stack trace ---"
Warning 5/3/2019 12:37:07 AM Microsoft-ServiceFabric 19457 FMM bf865279ba277deb864a976fbf4c200e:132013426199824929:132013426271168100 failed to process ChangeNotificationMessage full:1
Warning 5/3/2019 12:37:09 AM Microsoft-ServiceFabric 19769 PLB Insufficient resources when adding service ClusterManagerServiceName for metric ClusterManagerServicePrimaryCount: Requested 1, Available 0, Reserved0 BufferPercentage 0, Capacity 0
Warning 5/3/2019 12:37:06 AM Microsoft-ServiceFabric 4121 Transport "client-WIN-9E3M0JHUQ6J:19000/172.26.192.1:19000: error = 2147943625, failureCount=5. Filter by (type~Transport.St && ~""(?i)WIN-9E3M0JHUQ6J:19000"") to get listener lifecycle. Connect failure is expected if listener was never started, or listener/its process was stopped before/during connecting."
Warning 5/3/2019 12:41:57 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=52
Warning 5/3/2019 12:36:59 AM Microsoft-ServiceFabric 23041 Hosting Container Log Root not found at:C:\SFDevCluster\Log\Containers for appServiceId:. Container folder will not be marked.
Warning 5/3/2019 12:37:14 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={FabricSystem_App4294967295:ES:EventStoreServiceType,1.0:1.0:0}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=14
Warning 5/3/2019 12:41:47 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=31
Warning 5/3/2019 12:37:08 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FABRIC_E_SERVICE_OFFLINE
Warning 5/3/2019 12:41:49 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=36
Warning 5/3/2019 12:37:08 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FABRIC_E_SERVICE_OFFLINE
Warning 5/3/2019 12:37:10 AM Microsoft-ServiceFabric 25601 FabricNode Failed to get fabric upgrade progress. error = FABRIC_E_TIMEOUT
Warning 5/3/2019 12:41:50 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=37
Warning 5/3/2019 12:37:08 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FABRIC_E_SERVICE_OFFLINE
Warning 5/3/2019 12:36:54 AM Microsoft-ServiceFabric 257 Common CreateFileW failed: file=\?\C:\SfDevCluster\Data\FabricHostSettings.xml error=32
Warning 5/3/2019 12:37:17 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={FabricSystem_App4294967295:DnsService:DnsServiceType,1.0:1.0:0}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=26
Warning 5/3/2019 12:37:12 AM Microsoft-ServiceFabric 25601 FabricNode Failed to get fabric upgrade progress. error = FABRIC_E_TIMEOUT
Warning 5/3/2019 12:46:37 AM Microsoft-ServiceFabric 17157 Api Api IStatelessServiceInstance.Open() slow on node bf865279ba277deb864a976fbf4c200e:132013426199824929(_Node_0) on partition {33ed3d8c-e144-43b5-bdca-3aa6d259ca3f} replica 132013429062556050, StartTimeUTC = 2019-05-03T07:46:17.470742300Z
Warning 5/3/2019 12:41:53 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=44
Warning 5/3/2019 12:36:54 AM Microsoft-ServiceFabric 28161 ServiceModel ParseConfigSettings: ErrorCode=E_FAIL, FileName=C:\SfDevCluster\Data\FabricHostSettings.xml
Warning 5/3/2019 12:36:54 AM Microsoft-ServiceFabric 59649 ImageBuilder One or more ports don't have values in cluster manifest.
Warning 5/3/2019 12:41:54 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=46
Warning 5/3/2019 12:37:09 AM Microsoft-ServiceFabric 25615 FabricNode bf865279ba277deb864a976fbf4c200e:132013426199824929 retrying Naming Service creation because of error FABRIC_E_INSUFFICIENT_CLUSTER_CAPACITY.
Warning 5/3/2019 12:36:54 AM Microsoft-ServiceFabric 59649 ImageBuilder Current profile will be disabled by default for firewall rule
Warning 5/3/2019 12:37:15 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={FabricSystem_App4294967295:ES:EventStoreServiceType,1.0:1.0:0}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=17
Warning 5/3/2019 12:37:15 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={FabricSystem_App4294967295:DnsService:DnsServiceType,1.0:1.0:0}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=18
Warning 5/3/2019 12:42:24 AM Microsoft-ServiceFabric 17157 Api Api IStatelessServiceInstance.Open() slow on node bf865279ba277deb864a976fbf4c200e:132013426199824929(_Node_0) on partition {33ed3d8c-e144-43b5-bdca-3aa6d259ca3f} replica 132013429062556050, StartTimeUTC = 2019-05-03T07:42:04.255932800Z
Warning 5/3/2019 12:37:08 AM Microsoft-ServiceFabric 4184 Transport client-WIN-9E3M0JHUQ6J:19000: dropping message {5e460e41-2ba8-4ba8-b22c-a9cbe6ecfc60}:7, Actor = NamingGateway, Action = 'PingRequest'
Warning 5/3/2019 12:44:34 AM Microsoft-ServiceFabric 17157 Api Api IStatelessServiceInstance.Open() slow on node bf865279ba277deb864a976fbf4c200e:132013426199824929(_Node_0) on partition {33ed3d8c-e144-43b5-bdca-3aa6d259ca3f} replica 132013429062556050, StartTimeUTC = 2019-05-03T07:44:14.221023000Z
Warning 5/3/2019 12:37:08 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FABRIC_E_SERVICE_OFFLINE
Warning 5/3/2019 12:37:16 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={__FabricSystem_App4294967295:DnsService:DnsServiceType,1.0:1.0:0}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=22
Warning 5/3/2019 12:37:09 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FABRIC_E_SERVICE_OFFLINE
Warning 5/3/2019 12:44:13 AM 2 (65532)
Warning 5/3/2019 12:41:52 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=42
Warning 5/3/2019 12:37:14 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={__FabricSystem_App4294967295:ES:EventStoreServiceType,1.0:1.0:0}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=16
Warning 5/3/2019 12:44:14 AM Microsoft-ServiceFabric 59393 SystemFabric "The description for Event ID 59393 from source Microsoft-ServiceFabric cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
The message resource is present but the message was not found in the message table
"
Warning 5/3/2019 12:41:49 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=35
Warning 5/3/2019 12:37:13 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={FabricSystem_App4294967295:ES:EventStoreServiceType,1.0:1.0:0}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=12
Warning 5/3/2019 12:37:17 AM Microsoft-ServiceFabric 59393 SystemFabric "AsyncCalloutAdapter-63835064: end delegate threw an exception
System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at System.Fabric.Data.Log.Interop.NativeLog.IKPhysicalLogManager.EndOpenLogContainer(IFabricAsyncOperationContext Context, IKPhysicalLogContainer& Result)
at System.Fabric.Data.Log.Interop.PhysicalLogManager.1.Finish(IFabricAsyncOperationContext context, Boolean expectedCompletedSynchronously)" Warning 5/3/2019 12:41:58 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=54 Warning 5/3/2019 12:37:02 AM Microsoft-ServiceFabric 4121 Transport "client-WIN-9E3M0JHUQ6J:19000/[fe80::fd67:4a2b:9ad7:50c7]:19000: error = 2147943625, failureCount=3. Filter by (type~Transport.St && ~""(?i)WIN-9E3M0JHUQ6J:19000"") to get listener lifecycle. Connect failure is expected if listener was never started, or listener/its process was stopped before/during connecting." Warning 5/3/2019 12:41:55 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=48 Warning 5/3/2019 12:41:54 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=45 Warning 5/3/2019 12:37:07 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with MessageHandlerDoesNotExistFault Warning 5/3/2019 12:37:02 AM Microsoft-ServiceFabric 59393 SystemFabric "AsyncCalloutAdapter-4032828: end delegate threw an exception System.Fabric.FabricTransientException: Could not ping any of the provided Service Fabric gateway endpoints. ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80071C49 at System.Fabric.Interop.NativeClient.IFabricPropertyManagementClient2.EndNameExists(IFabricAsyncOperationContext context) at System.Fabric.FabricClient.PropertyManagementClient.NameExistsEndWrapper(IFabricAsyncOperationContext context) at System.Fabric.Interop.AsyncCallOutAdapter2
1.Finish(IFabricAsyncOperationContext context, Boolean expectedCompletedSynchronously)
--- End of inner exception stack trace ---"
Warning 5/3/2019 12:37:02 AM Microsoft-ServiceFabric 4121 Transport "client-WIN-9E3M0JHUQ6J:19000/[fe80::fd67:4a2b:9ad7:50c7]:19000: error = 2147943625, failureCount=3. Filter by (type~Transport.St && ~""(?i)WIN-9E3M0JHUQ6J:19000"") to get listener lifecycle. Connect failure is expected if listener was never started, or listener/its process was stopped before/during connecting."
Warning 5/3/2019 12:41:50 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=38
Warning 5/3/2019 12:37:01 AM Microsoft-ServiceFabric 4121 Transport "client-WIN-9E3M0JHUQ6J:19000/10.0.2.15:19000: error = 2147943625, failureCount=2. Filter by (type~Transport.St && ~""(?i)WIN-9E3M0JHUQ6J:19000"") to get listener lifecycle. Connect failure is expected if listener was never started, or listener/its process was stopped before/during connecting."
Warning 5/3/2019 12:41:51 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=40
Warning 5/3/2019 12:37:01 AM Microsoft-ServiceFabric 4121 Transport "client-WIN-9E3M0JHUQ6J:19000/10.0.2.15:19000: error = 2147943625, failureCount=2. Filter by (type~Transport.St && ~""(?i)WIN-9E3M0JHUQ6J:19000"") to get listener lifecycle. Connect failure is expected if listener was never started, or listener/its process was stopped before/during connecting."
Warning 5/3/2019 12:41:53 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=43
Warning 5/3/2019 12:37:03 AM Microsoft-ServiceFabric 4097 Transport client-WIN-9E3M0JHUQ6J:19000 : connect failed, having tried all addresses
Warning 5/3/2019 12:37:07 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FMNotReadyForUse
Warning 5/3/2019 12:41:56 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={StatelessCalculatorApp_App0:StatelessCalculatorServicePkg:StatelessCalculatorServiceType,1.0:1.0:132013429044612791}, ActivationContext=, ServicePackagePublicActivationId=, SequenceNumber=49
Warning 5/3/2019 12:37:07 AM Microsoft-ServiceFabric 16385 Reliability FM resolving failed with FABRIC_E_SERVICE_OFFLINE
Warning 5/3/2019 12:37:15 AM Microsoft-ServiceFabric 23041 Hosting End(BeginDownloadAndActivate): Error=HostingDeploymentInProgress, VersionedServiceTypeId={
If additional input is required let me know, I'm literally got struggled with this.... thanks very much!
Hi, I found the problem, since the example uses local Azure Tables I just forgot to start the Azure Storage Emulator on local machine, once done that the Silo service start without getting stucked anymore.
I think the problem has been solved, so I'll close this. Feel free to open a new issue if there are still issues
I'm having trouble getting the sample "Samples/2.1/ServiceFabric/Stateless/StatelessCalculatorApp" to deploy. I'm using Visual Studio 2017 Community and Windows 10 Pro; OS, IDE and Service Fabric tools are all up to date.
I'm able to run a home rolled Service Fabric application/service, but just to be sure I reset my cluster and rebooted.
No doubt I'm doing something wrong - any idea what?
Build log:
1>------ Build started: Project: StatelessCalculatorApp, Configuration: Debug x64 ------ 2>------ Deploy started: Project: StatelessCalculatorApp, Configuration: Debug x64 ------ 2>Started executing script 'GetApplicationExistence'. 2>Finished executing script 'GetApplicationExistence'. 2>Time elapsed: 00:00:11.1557189 2>Started executing script 'Set-LocalClusterReady'. 2>powershell -NonInteractive -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command "Import-Module 'C:\Program Files\Microsoft SDKs\Service Fabric\Tools\Scripts\DefaultLocalClusterSetup.psm1'; Set-LocalClusterReady -createOneNodeCluster $true" 2>-------------------------------------------- 2>Local Service Fabric Cluster is not running... 2>Please wait while we start the Local Service Fabric Cluster. This may take few minutes... 2>Performing Start-Service on: FabricHostSvc . This may take a few minutes... 2> 2>Waiting for Service Fabric Cluster to be ready. This may take a few minutes... 2>Local Cluster ready status: 4% completed. 2>Local Cluster ready status: 100% completed. 2> 2>Waiting for fabric:/System/NamingService to be ready. This may take a few minutes... 2>fabric:/System/NamingService is ready now... 2> 2>Deploying Addon Service:AzureFilesVolumePlugin in the cluster... 2> 2> 2> Directory: C:\Users\Steve\AppData\Local\Temp 2> 2> 2>Mode LastWriteTime Length Name
2>---- ------------- ------ ----
2>d----- 11/01/2019 15:30 AzureFilesVolumePlugin
2>Using ImageStoreConnectionString='file:C:\SfDevCluster\Data\ImageStoreShare' 2>Upload to Image Store succeeded 2>Register application type succeeded 2> 2>ApplicationParameters : {ListenPort, InstanceCount} 2>ApplicationName : fabric:/AzureFilesVolumePlugin 2>ApplicationTypeName : AzureFilesVolumePluginType 2>ApplicationTypeVersion : 6.4.622.9590 2>MaximumNodes : 0 2>MinimumNodes : 0 2>Metrics : {} 2> 2> 2>Waiting for fabric:/AzureFilesVolumePlugin/Service to be ready. This may take a few minutes... 2>fabric:/AzureFilesVolumePlugin/Service ready status: 8% completed. 2>fabric:/AzureFilesVolumePlugin/Service is ready now... 2> 2>Deploying Addon Service:ServiceFabricVolumeDriver in the cluster... 2>d----- 11/01/2019 15:31 ServiceFabricVolumeDriver
2>Using ImageStoreConnectionString='file:C:\SfDevCluster\Data\ImageStoreShare' 2>Upload to Image Store succeeded 2>Register application type succeeded 2> 2>ApplicationParameters : {ListenPort, InstanceCount} 2>ApplicationName : fabric:/ServiceFabricVolumeDriver 2>ApplicationTypeName : ServiceFabricVolumeDriverType 2>ApplicationTypeVersion : 6.4.622.9590 2>MaximumNodes : 0 2>MinimumNodes : 0 2>Metrics : {} 2> 2> 2>Waiting for fabric:/ServiceFabricVolumeDriver/Service to be ready. This may take a few minutes... 2>fabric:/ServiceFabricVolumeDriver/Service ready status: 8% completed. 2>fabric:/ServiceFabricVolumeDriver/Service is ready now... 2> 2>Local Service Fabric Cluster is running now. 2>---------------------------------------- 2>Launching Service Fabric Local Cluster Manager... 2>You can use Service Fabric Local Cluster Manager (system tray application) to manage your local dev cluster. 2> 2> 2>Finished executing script 'Set-LocalClusterReady'. 2>Time elapsed: 00:02:30.9555172 2>Started executing script 'GetApplicationExistence'. 2>Finished executing script 'GetApplicationExistence'. 2>Time elapsed: 00:00:01.2374216 2>Started executing script 'GetApplicationExistence'. -------- Package started: Project: StatelessCalculatorApp, Configuration: Debug x64 ------ 2>Finished executing script 'GetApplicationExistence'. 2>Time elapsed: 00:00:01.0377925 StatelessCalculatorService -> E:\Reference source\Orleans\Samples\2.1\ServiceFabric\Stateless\StatelessCalculatorService\bin\Debug\netcoreapp2.1\StatelessCalculatorService.dll StatelessCalculatorService -> E:\Reference source\Orleans\Samples\2.1\ServiceFabric\Stateless\StatelessCalculatorApp\pkg\Debug\StatelessCalculatorServicePkg\Code\ StatelessCalculatorApp -> E:\Reference source\Orleans\Samples\2.1\ServiceFabric\Stateless\StatelessCalculatorApp\pkg\Debug -------- Package: Project: StatelessCalculatorApp succeeded, Time elapsed: 00:00:09.4987049 -------- 2>Started executing script 'Deploy-FabricApplication.ps1'. 2>powershell -NonInteractive -NoProfile -WindowStyle Hidden -ExecutionPolicy Bypass -Command ". 'E:\Reference source\Orleans\Samples\2.1\ServiceFabric\Stateless\StatelessCalculatorApp\Scripts\Deploy-FabricApplication.ps1' -ApplicationPackagePath 'E:\Reference source\Orleans\Samples\2.1\ServiceFabric\Stateless\StatelessCalculatorApp\pkg\Debug' -PublishProfileFile 'E:\Reference source\Orleans\Samples\2.1\ServiceFabric\Stateless\StatelessCalculatorApp\PublishProfiles\Local.1Node.xml' -DeployOnly:$true -ApplicationParameter:@{WFDebugParams='[{"""CodePackageName""":"""Code""","""CodePackageLinkFolder""":"""E:\Reference source\Orleans\Samples\2.1\ServiceFabric\Stateless\StatelessCalculatorService\bin\Debug\netcoreapp2.1""","""ConfigPackageName""":"""Config""","""ConfigPackageLinkFolder""":"""E:\Reference source\Orleans\Samples\2.1\ServiceFabric\Stateless\StatelessCalculatorService\PackageRoot\Config""","""DataPackageName""":null,"""DataPackageLinkFolder""":null,"""LockFile""":"""E:\Reference source\Orleans\Samples\2.1\ServiceFabric\Stateless\StatelessCalculatorService\bin\Debug\netcoreapp2.1\_VS_ServiceFabric_lock.txt""","""WorkingFolder""":"""E:\Reference source\Orleans\Samples\2.1\ServiceFabric\Stateless\StatelessCalculatorService""","""ServiceManifestName""":"""StatelessCalculatorServicePkg""","""EntryPointType""":"""Main""","""DebugExePath""":null,"""DebugArguments""":null,"""DebugParametersFile""":"""E:\Reference source\Orleans\Samples\2.1\ServiceFabric\Stateless\StatelessCalculatorService\bin\Debug\netcoreapp2.1\_VS_ServiceFabric_debug.txt"""}]'} -UnregisterUnusedApplicationVersionsAfterUpgrade $false -OverrideUpgradeBehavior 'None' -OverwriteBehavior 'Always' -SkipPackageValidation:$true -ErrorAction Stop" 2>Copying application to image store... 2>Upload to Image Store succeeded 2>Registering application type... 2>Register application type started. Use Get-ServiceFabricApplicationType to query for status. 2>Running Image Builder process ... 2>Downloading application package from 'StatelessCalculatorApp' ... 2>FABRIC_E_IMAGEBUILDER_VALIDATION_ERROR: The EntryPoint StatelessCalculatorService.exe is not found. 2>FileName: C:\SfDevCluster\Data\ImageBuilderProxy\AppType\a02b2e7b-2148-45e5-a503-34d7abc9c1f0\StatelessCalculatorServicePkg\ServiceManifest.xml 2>Registration of application type failed. 2>At C:\Program Files\Microsoft SDKs\Service 2>Fabric\Tools\PSModule\ServiceFabricSDK\Publish-NewServiceFabricApplication.ps1:308 char:17 2>+ throw "Registration of application type failed." 2>+
~~~~~~~~~~~~ 2> + CategoryInfo : OperationStopped: (Registration of application type failed.:String) [], RuntimeException 2> + FullyQualifiedErrorId : Registration of application type failed. 2> 2>Finished executing script 'Deploy-FabricApplication.ps1'. 2>Time elapsed: 00:00:08.9462862 2>The PowerShell script failed to execute. ========== Build: 1 succeeded, 0 failed, 3 up-to-date, 0 skipped ========== ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========