Reputation: 11
Whenever I deploy any project on my local cluster (Even following simple Service Fabric tutorials online) I get the following message:
System application is unhealthy.
Unhealthy services: 100% (1/1), ServiceType='EventStoreServiceType', MaxPercentUnhealthyServices=0%.
Unhealthy service: ServiceName='fabric:/System/EventStoreService', AggregatedHealthState='Error'.
Unhealthy partitions: 100% (1/1), MaxPercentUnhealthyPartitionsPerService=0%.
Unhealthy partition: PartitionId='00000000-0000-0000-0000-000000009000', AggregatedHealthState='Error'.
Error event: SourceId='System.FM', Property='State'. Partition is below target replica or instance count.
Even though I have more than 120GBs of disk space
Upvotes: 1
Views: 5427
Reputation: 71
I had this issue while trying to debug Service Fabric Application. When I published to local node there was no problem but had the same exact error when trying to run it in Debug mode.
Solution:
Go to Service Fabric project properties by right-clicking the Service Fabric Project (the one with Service Fabric Icon) -> Properties -> Application Debug Mode and set it to Remove Application. By default it is set to Refresh Application and the description says that it
'refreshes the application with new binaries without redeploying the application'
My colleague didn't have any issue with that setting but we succesfully solved that on couple of machines, so it's worth trying.
Upvotes: 2
Reputation: 11
Apparently the issue had something to do with my C drive, when I created a new drive with more than 10GBs space and located the cluster to that new drive the issue was solved.
Upvotes: 0
Reputation: 11470
Deploy an amount of replicas that is equal to or less than the amount of nodes in your cluster. So, if you're running a single node dev cluster, deploy a single replica. If you want to deploy more, you'll need to use the 5 node dev cluster.
Upvotes: 1