i am using the cloud based Octopus Deploy, and trying to create a Service Fabric Deployment Target, but it’s failing - it looks like maybe a bug as the on Premises version i have running connects without any problems.
I’ve been using the New-OctopusAzureServiceFabricTarget cmdlet but it throws an error when trying to connect to the target.
11:56:43 Error | An error occurred during this operation. Please check the trace logs for more details.
11:56:43 Error | System.Fabric.FabricException
11:56:43 Error | at System.Fabric.Interop.Utility.WrapNativeSyncInvoke[TResult](Func
1 func, String functionTag, String functionArgs) 11:56:43 Error | at System.Fabric.Interop.Utility.RunInMTA(Action action) 11:56:43 Error | at System.Fabric.FabricClient.InitializeFabricClient(SecurityCredentials credentialArg, FabricClientSettings newSettings, String hostEndpointsArg) 11:56:43 Error | at Calamari.Azure.HealthChecks.ServiceFabricHealthChecker.ExecuteHealthCheck(CalamariVariableDictionary variables) 11:56:43 Error | at Calamari.Commands.HealthCheckCommand.Execute(String commandLineArguments) 11:56:43 Error | at Calamari.Program.Execute(String args) 11:56:43 Error | --Inner Exception-- 11:56:43 Error | The credentials supplied to the package were not recognized (Exception from HRESULT: 0x8009030D) 11:56:43 Error | System.Runtime.InteropServices.COMException 11:56:43 Error | at System.Fabric.Interop.NativeClient.IFabricClientSettings2.SetSecurityCredentials(IntPtr credentials) 11:56:43 Error | at System.Fabric.FabricClient.SetSecurityCredentialsInternal(SecurityCredentials credentials) 11:56:43 Error | at System.Fabric.Interop.Utility.<>c__DisplayClass27_0.<WrapNativeSyncInvoke>b__0() 11:56:43 Error | at System.Fabric.Interop.Utility.WrapNativeSyncInvoke[TResult](Func1 func, String functionTag, String functionArgs)
This is having a major impact on deploying to our service fabric instance.