Ich habe ein großes Paket, das ich in einem Testcluster in Azure bereitstellen möchte. Ich erhalte einen OperationTimeout, wenn ich versuche, den Anwendungstyp zu registrieren, also dachte ich, ich könnte den TimeoutSec-Parameter an Register-ServiceFabricApplicationType senden, aber ich bekomme einen Fehler zurück, der sagt, dass mein Wert (1 Stunde) größer ist als MaxOperationTimeout konfiguriert auf dem Cluster. Wo würde ich diesen Wert konfigurieren, ich kann ihn nirgends finden? Das Paket funktioniert lokal.MaxOperationTimeout im Cluster festlegen
Copying application to image store...
Copy application package succeeded
Registering application type...
Register-ServiceFabricApplicationType : Client timeout must be less than or equal to the cluster configuration forMaxOperationTimeout. Requested value and timeout limit: (59:59.999, 10:00.000)
At D:\sf\Publish-NewServiceFabricApplication2.psm1:220 char:9
+ Register-ServiceFabricApplicationType -ApplicationPathInImageStore $appl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (Microsoft.Servi...usterConnection:ClusterConnection) [Register-ServiceFabricApplicationType], FabricException
+ FullyQualifiedErrorId : RegisterApplicationTypeErrorId,Microsoft.ServiceFabric.Powershell.RegisterApplicationType
Es stellt sich heraus, dass es zu diesem Thema verwandt war: http://StackOverflow.com/Questions/38119341/register-ServiceFabricapplicationtype-on-a-secure-cluster-always-times-out/38151560 # 38151560 – Haukman