Service fabric deployment failing with Changing property 'imageReference.offer' is not allowed error

Vikas Gupta 0 Reputation points Microsoft Employee
2023-02-08T19:41:51.14+00:00

Hello Team,
I am trying to update vmImageSku in template file from 2019-Datacenter-with-Containers to 2019-Datacenter but EV2 deployment is failing with error : "Changing property 'imageReference.offer' is not allowed". I think I can delete VMSS and deploy which might work. Is there a way to make this deployment go through without deleting VMSS.
Error message :
Status: Failed
Error:
Code: PropertyChangeNotAllowed
Message: Changing property 'imageReference.offer' is not allowed.
Target: imageReference.offerHelp Link: https://aka.ms/ev2/errors/troubleshooting
Deployment Name: 6AEA8D6CC5774CE5940151975DEC8D300JobProcessorService
Operation Id: CA0569F376B93CD3
Operation: Create
Mode: Incremental
Correlation Id: dd4c9197-7c2e-4a2f-9fe1-da36fe233092
Our service is deployed only in one region and delete VMSS will cause service outage. Hence we want to avoid deleting cluster.

Azure Service Fabric
Azure Service Fabric
An Azure service that is used to develop microservices and orchestrate containers on Windows and Linux.
253 questions
{count} votes

1 answer

Sort by: Most helpful
  1. deherman-MSFT 35,011 Reputation points Microsoft Employee
    2023-02-09T22:11:10.32+00:00

    @Vikas Gupta

    You should be able to Modify the OSK SKU for the node type of your cluster. You can follow the documentation here which walks you through doing this for the portal as well as ARM template. Make sure the Service Fabric managed cluster resource apiVersion is 2021-05-01 or later.
    Please try this and let me know if you are still facing issues.


    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments