Вечер добрый, я снова по своей проблеме из этого топика -
https://t.me/azure_russia/22127. Теперь при выполнении Start-ServiceFabricApplicationUpgrade я получаю ошибку
The default service description for 'fabric:/TargetScanner/TargetScannerWeb' was modified as part of upgrade, which is not allowed. TargetReplicaSetSize has changed from '1' to '-1'. To allow the modification, set EnableDefaultServicesUpgrade to true following
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-cluster-fabric-settings. Note, at the start of the application upgrade, there may be three descriptions of a default service: (1) the description with which it was last created (2) the description with which it is currently running, which could diverge from (1) because of Update-ServiceFabricService API call and (3) the description in the target manifest.
This error is about the difference between the descriptions (1) and (3). For more details, refer to
https://aka.ms/upgrade-defaultservicesUnregister application type '@{FabricNamespace=fabric:; ApplicationTypeName=TargetScannerType; ApplicationTypeVersion=1.0.0}.ApplicationTypeName' and version '@{FabricNamespace=fabric:; ApplicationTypeName=TargetScannerType; ApplicationTypeVersion=1.0.0}.ApplicationTypeVersion' ...
Странно то, что в апдейт TargetScannerWeb не входит от слова совсем, я в этом проекте ничего не менял, и в честь чего Powershell полез чего-то там менять в нем я не понимаю. А во вторых, нигде в Xml файлах при первоначальном деплое нет свойства TargetReplicaSetSize. В апдейте тоже нигде не указана TargetReplicaSetSize. Пробовал перед апдейтом накатить скрипт отсюда (
https://maheshkumar.wordpress.com/2017/05/24/azure-service-fabric-error-to-allow-it-set-enabledefaultservicesupgrade-to-true/) с явным указанием InstanceCount - пофигу