You may need to change the port range in Global Settings for On-Demand Plans, and if that port range is outside ports already assigned to existing service instances using service-gateway, the upgrades for the service instances will fail in Upgrade All Service Instances errand with error similar to the following.
[upgrade-all-service-instances] 2024/01/16 11:06:59.665816 operation type: upgrade failed for service instance f78a0d9d-6c9a-4297-be83-d0847d200c59: unexpected status code: 500. description: failed to create router groups: external port 1224 assigned to router group RMQ-service-instance_f78a0d9d-6c9a-4297-be83-d0847d200c59-AMQP is outside the new port range [1075-1125]
. This is expected as described in docs
Caution
If you already have service instances using service-gateway, any modifications to this range must include ports that are already assigned to these service instances. If the port range does not contain the ports already assigned to service instances, the upgrades for the service instances fail. For example, if service-gateway access has the port range1000-1005
, and there are service instances that correspond to ports1000
,1001
, and1002
, then the new port range must have ports1000
,1001
, and1002
.