The Orchestrator is released as Docker Container. In order to upgrade a deployed instance to a new version you have to:
- if the instance is deployed on a orchestration solution (like Kubernetes), make reference on its guide on how to upgrade the instance to the new version
- if the instance is deployed on a host with just a docker engine running:
-
Stop the old container:
sudo docker stop orchestrator
-
Remove the old container:
sudo docker rm orchestrator
-
Pull the new image version:
sudo docker pull indigodatacloud/orchestrator:{TAG_OF_THE_VERSION}
-
Start the new version:
sudo docker run --name orchestrator ...**parameters**... indigodatacloud/orchestrator:{TAG_OF_THE_VERSION}
-
This section highlights important changes upgrading the PaaS Orchestrator. Each section covers the upgrade from the previous release. If you are skipping releases when upgrading, it is recommended to read the sections for all releases in between.
Starting from v2.5.0-FINAL, the schema of the database used by the Orchestrator for storing deployments information has changed. Anyway, the migration is managed automatically when the service starts and the upgrade should go smoothly.
As usual, it's recommended to clean the refresh tokens:
mysql>use orchestrator;
mysql>delete from oidc_refresh_token;
The following steps are necessary for the upgrade:
- delete all the tokens/refresh tokens stored in the orchestrator DB (database table 'oidc_refresh_token'), e.g. using commands like:
mysql>use orchestrator;
mysql>delete from oidc_refresh_token;
The following steps are necessary for the upgrade:
- add the 'admingroup' property (mandatory) to iam-properties in
application.yml
(see Configure IAM integration).
Please note that, starting from this release, the Orchestrator can interact with providers not integrated with IAM getting the user's credentials from Vault. In order to exploit this new functionality you need to configure the integration with Vault as explained in the section Configure Vault (optional)
The following steps are necessary for the upgrade:
- delete all the tokens/refresh tokens stored in the orchestrator DB (database tables 'oidc_entity' and 'oidc_refresh_token'), e.g. using commands like:
mysql>use orchestrator;
mysql>delete from oidc_entity;
mysql>delete from oidc_refresh_token;
-
add the 'audience' property (mandatory) to iam-properties in
application.yml
(see Configure IAM integration); this can be a user-defined string. We recommend to generate a uuid.UPGRADING TO v2.1.x
Upgrading to v2.1.0-FINAL
With this release 2 major configuration changes have been introduced:
- It has been introduced the retrieval of the Mesos frameworks information from CMDB. The configuration through properties/YAML file has been therefore deprecated and removed.
- There have also been some changes with the OneData integration:
- The property
ONEDATA_SERVICE_SPACE_ONEPROVIDER_URL
have been removed; now the OneProvider endpoint for the Service Space Storage is automatically retrieved from OneZone - The property
ONEDATA_SERVICE_SPACE_ONEZONE_URL
have been introduced to optionally allow to use, for the Serivce Space, a OneZone different from the default one.
- The property
Additionally, a way to import self-signed certificates has been added. Please check to the deployment guide to learn more about this feature.
No action required.
No change in configuration file is needed.
The way the service must be configured has been completely revised, making it more coherent and expressive. Please refer to the deployment guide to properly update the service configuration
No action required.
No action required.
In this release the IAM integration has undergone a major rework, thus some changes in the configuration needs to be done:
-
The
profile
andoffline_access
scopes need to be added (if not already present) in the IAM protected resource server configuration.⚠️ The access tokens used to authenticate API requests to the Orchestrator will need to have this scopes granted. Please check the IAM configuration of the clients calling the Orchestrator and refer to their guide in order to understand how to configure them with this new scopes. -
The
urn:ietf:params:oauth:grant-type:token-exchange
grant type needs to be added in the IAM protected resource server configuration. -
The
SECURITY_ENABLE
parameter has been renamed toOIDC_ENABLED
-
The
OIDC_ISSUERS
,OIDC_CLIENT_ID
andOIDC_CLIENT_SECRET
have been deprecated and combined intoOIDC_IAM-PROPERTIES[{issuer}]_ORCHESTRATOR_CLIENT-ID
andOIDC_IAM-PROPERTIES[{issuer}]_ORCHESTRATOR_CLIENT-SECRET
.If your configuration was:
OIDC_ISSUERS
: https://iam-test.indigo-datacloud.eu/OIDC_CLIENT_ID
: client_idOIDC_CLIENT_SECRET
: client_secret
now it would be:
-
OIDC_IAM-PROPERTIES[https://iam-test.indigo-datacloud.eu/]_ORCHESTRATOR_CLIENT-ID
: client_id -
OIDC_IAM-PROPERTIES[https://iam-test.indigo-datacloud.eu/]_ORCHESTRATOR_CLIENT-SECRET
: client_secretUPGRADING TO v1.1.x
Upgrading to v1.1.0-FINAL
The
openid
scope needs to be added (if not already present) in the IAM protected resource server configuration.UPGRADING TO v1.2.x
Upgrading to v1.2.0-FINAL
No action required.
Upgrading to v1.2.1-FINAL
This release require a parameter change regarding the Zabbix wrapper endpoint; the environment variable must be changed from
http://${host}:${port}/monitoring/adapters/zabbix/zones/indigo/types/*service*/groups/Cloud_Providers/hosts/
to
http://${host}:${port}/monitoring/adapters/zabbix/zones/indigo/types/*infrastructure*/groups/Cloud_Providers/hosts/
Upgrading to v1.2.2-FINAL
No action required.