Upgrade service fabric application (PowerShell)

▼魔方 西西 提交于 2019-12-18 06:59:28

问题


I'm trying to start application upgrade using Start-ServiceFabricApplicationUpgrade command, but getting an error complaining:

Default service descriptions must not be modified as part of upgrade. Modified default service: ...

None of the service configurations was changed. Also upgrade works fine when deployed from Visual Studio.


Update:
It turns out that parameters used in DefaultServices section of application manifest must be provided by -ApplicationParameter<Hashtable> command parameter (despite the fact they can't be changed during the upgrade).


回答1:


When you deploy from Visual Studio it uses a parameter file that provides values for the application parameters defined in the application manifest. Can you check if you are providing the same value of the application parameters used in the default services section of your application manifest?



来源:https://stackoverflow.com/questions/37929302/upgrade-service-fabric-application-powershell

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!