azure-service-fabric

Azure Service Fabric - Multiple application deployment through Azure DevOps

↘锁芯ラ 提交于 2021-02-08 09:35:09
问题 I have a two microservices applications running in Azure Service fabric cluster. I don't have any issue when I deploy the applications from Visual Studio. But when I try to deploy the applications through Azure DevOps CI/CD pipeline I'm getting the below error. [error]Found more than one item with search pattern D:\a\r1\a**\drop\projectartifacts**\PublishProfiles\Cloud.xml. There can be only one. From this error message what I can understand I should have only one Cloud.xml file in the

Command-line Package Service Fabric Application

纵然是瞬间 提交于 2021-02-06 10:55:36
问题 Our continuous delivery set-up, until recently, was delivering Service Fabric packages using the following command: msbuild SFApp.sfproj /t:Package This was necessary because the target Package is unavailable at the solution level. I.e. The command msbuild SFSolution.sln /t:Package Fails, as the target does not exist. As our dependency mesh grows, it gets to a point in which most interfaces projects will not build without a solution file (to work around the "OutputPath does not exist" red

Scale set using keyvault in another region

柔情痞子 提交于 2021-02-06 09:31:06
问题 I'm working with an ARM template that creates a VM Scale Set for a Service Fabric cluster and associates some secrets with the VMs from a keyvault. I discovered this morning that it appears the VMs and keyvault must exist in the same region or I get an error like this: New-AzureRmResourceGroupDeployment : 9:24:55 AM - Resource Microsoft.Compute/virtualMachineScaleSets 'StdNode' failed with message '{ "status": "Failed", "error": { "code": "ResourceDeploymentFailure", "message": "The resource

Service Fabric Error in Azure during deployment

蹲街弑〆低调 提交于 2021-02-05 05:16:41
问题 Having issues when deploying my cluster to Azure. Everything works locally but when deploying to Azure I get an error when trying to call one of the services. In Azure the service fabric is 6.1.480.9494 , and it cannot be upgraded. But my local version is 6.2.262.9494 that was released 6 days ago. Am I getting this error due to the different versions? Unable to cast COM object of type 'System.__ComObject' to interface type 'IFabricTestManagementClient4'. This operation failed because the

Assign service principal Admin Role on Service Fabric AD App

痴心易碎 提交于 2021-01-29 22:44:41
问题 I am setting up Azure AD applications for my Service Fabric cluster, so I do not need to rely on Cert Auth to connect to the cluster. We use a Service Principal from an App Registration that has Contributor access to the subscription to run the ARM template to set up the cluster. Is there a way that I can make the Service Principal an Admin on the Cluster AD Application as well? Our deployment script is in Powershell and saw this post: Deploying ServiceFabric apps using AzureAD Authentication

Assign service principal Admin Role on Service Fabric AD App

橙三吉。 提交于 2021-01-29 22:40:49
问题 I am setting up Azure AD applications for my Service Fabric cluster, so I do not need to rely on Cert Auth to connect to the cluster. We use a Service Principal from an App Registration that has Contributor access to the subscription to run the ARM template to set up the cluster. Is there a way that I can make the Service Principal an Admin on the Cluster AD Application as well? Our deployment script is in Powershell and saw this post: Deploying ServiceFabric apps using AzureAD Authentication

Is Linux and Windows in one cluster supported on Azure Service Fabric?

好久不见. 提交于 2021-01-29 09:42:06
问题 Is there a possibility to have mixed windows and linux work nodes on Azure Service Fabric, or the cluster must be homogeneous? 回答1: No this is still not possible. Was also asked before as well: Service Fabric: Is it possible to run both Linux and Windows nodes 来源: https://stackoverflow.com/questions/57434695/is-linux-and-windows-in-one-cluster-supported-on-azure-service-fabric

Selenium-Chromedriver test execution leaves scoped_dir* temp files which makes test execution on an internal website to return 500 error

天涯浪子 提交于 2021-01-29 08:07:16
问题 We have Selenium-C# automation tests running an internal web application that requires an Outh-2 Bearer token. When I run the tests, set of temp files named scope_dir are created. These files get deleted automatically for some tests. But at some time during the test execution, they just remain without being deleted. After, this point, I receive a 500 error response. I have tried the following: Chromedriver not deleting scoped* dir in temp folder after test is complete https://bugs.chromium

Writing UnitTests for a Service Fabric Application Class

六月ゝ 毕业季﹏ 提交于 2021-01-29 06:05:09
问题 I am writing unit tests for a Service Fabric Application class. I am running into some errors which I don't understand how to fix. The class definition is of the sort: namespace SearchService { internal sealed class SearchServiceClass : StatelessService { //variables defined followed by constructor private string jsonStr; public SearchServiceClass(StatelessServiceContext context) : base(context) { //constructor stuff } public bool IsDataJsonLoaded { get { return !(jsonStr == null); } } } }

Reliable Collection Caching as Cache in Service Fabric

。_饼干妹妹 提交于 2021-01-27 02:28:48
问题 My system uses a bunch of micro service to process an item and I am planning to create a Stateful MicroService which holds the latest state of the item. In that service, I am planning to store all the item state in a reliable dictionary and whenever an item is accessed update the Last accessed field of the item. My requirement is that, I only want to store the recently used items in the reliable collection and need to move the items that are not accessed for long time to an external storage