-
Task
-
Resolution: Done
-
Critical
-
1.2.0.GA
-
None
Migration script doesn't support local registry:
- it demands local registry to use pre-defined organization in container image address, which is codeready-workspaces by default;
- it demands local server container image to be named as server-rhel8 (https://github.com/redhat-developer/codeready-workspaces-deprecated/blob/6.19.x/operator-installer/migrate_1.1_to_1.2.sh#L6);
- it demands local operator container image to be named as operator-rhel8 (https://github.com/redhat-developer/codeready-workspaces-deprecated/blob/6.19.x/operator-installer/migrate_1.1_to_1.2.sh#L91) or server-operator-rhel8 (https://github.com/redhat-developer/codeready-workspaces-deprecated/blob/6.19.x/operator-installer/migrate_1.1_to_1.2.sh#L5);
- it demands local postgreSQL image address to be redhat-sso-7/sso73-openshift:1.0-11 https://github.com/redhat-developer/codeready-workspaces-deprecated/blob/6.19.x/operator-installer/migrate_1.1_to_1.2.sh#L8;
- it demands local RH SSO image address to be rhscl/postgresql-96-rhel7:1-40 https://github.com/redhat-developer/codeready-workspaces-deprecated/blob/6.19.x/operator-installer/migrate_1.1_to_1.2.sh#L9;
- it demands setting of 1.2 tag for local server and operator containers images https://github.com/redhat-developer/codeready-workspaces-deprecated/blob/6.19.x/operator-installer/migrate_1.1_to_1.2.sh#L178, https://github.com/redhat-developer/codeready-workspaces-deprecated/blob/6.19.x/operator-installer/migrate_1.1_to_1.2.sh#L194, which could be latest locally, or something different.
An example:
Given:
- command to migrate:
migrate_1.1_to_1.2.sh -p=crw --rh-registry=localhost:5000 --crw-registry=localhost:5000
- local operator container image address was localhost:5000/operator-local
Actual behavior:
- migration script treated operator container image address as localhost:5000/codeready-workspaces/server-operator-rhel8:1.2
There is test scenario to test offline migration: https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/pre-release-offline-migration-testing-against-OKD/
- is related to
-
RHDEVDOCS-1105 Update AG to document offline CRW 1.1 update to 1.2
- Closed
- relates to
-
CRW-290 CRW 1.1 to 1.2 migration tasks
- Closed