After upgrading to 0.42 service upgrades are failing with the error message:
FATA Bad response statusCode . Status [422 status code 422]. Body: [fieldName=Either toServiceId or launchConfig/secondaryLaunchConfigs params need to be specified, code=InvalidOption] from [http://rancher_addr/v1/services/1s318/?action=upgrade]
The command I am using is as follows:
rancher-compose -f rancher-compose.yml -p dev-main upgrade dev-ui dev-ui-temp --cleanup
And the compose file is:
dev-ui: #noop dev-ui-temp: restart: always tty: true image: ui:development7e5e82ffa3163cc8ab7f12ec8b95c1d9c15a7d14 links: - dev-redis:redis - dev-memcache:memcache - dev-api:api stdin_open: true labels: io.rancher.scheduler.affinity:host_label: type=application
The documentation doesn’t suggest that anything has changed with regards to this, though I suspect that I am just missing something.