-
Bug
-
Resolution: Done
-
Major
-
DM 4.0.0
-
None
Release steps
- [D] Synchronize database with production (staging only)
- [D] Make sure the old version runs with the synchronized data (staging only)
- [D] Shut down DM on both nodes
- [D] Create database dump in case it was necessary to do a backup
- [D] Remove no longer necessary records from the database:
delete from configuration where property in('rest.subscrsstatus.tolerance', 'rest.subscrsstatus.secret', 'rhtit.restServiceGroupName', 'rhtit.streamlineApiSecretKey', 'rhtit.streamlineApiBaseUrl', 'rhtit.restServicesBaseUrl', 'rhtit.restServicesTermsIdCacheRHD'); ALTER TABLE terms_and_conditions DROP COLUMN htmltext; ALTER TABLE terms_and_conditions DROP COLUMN plainttext; delete from user_userrights where userrights = 'EDIT_TERMS_AND_CONDITIONS'; DROP TABLE users_redhatdevelopersubscription; DROP TABLE sku_subscription; DROP TABLE termsandconditionssigninfo_attributes; DROP TABLE termsandconditionssigninfo;
- [L] Prepare the machine for upgrade to EAP 7
- Cleanup EAP 6 installation (including old Keycloak module)
- Install EAP 7
- Configure cluster
- Prolong transaction timeout to 60 seconds:
- find \<cache-container name="web"
- make sure the default cache points to cache named dist
- make sure the web cache has \<transport lock-timeout="180000"/> set
- make sure the definition of dist cache looks like:
<distributed-cache name="dist" mode="ASYNC" l1-lifespan="0" owners="2"> <locking acquire-timeout="60000" isolation="REPEATABLE_READ"/> <transaction mode="BATCH"/> <file-store/> </distributed-cache>
- Update JDBC driver
- Configure puppet
- Install new version of Keycloak client module (2.5.5)
- [L] Install new DM RPM
- [L] Run the service
- [D] Check the log and start testing
- JBoss Download
- RHD Download
- both JBoss and RHD download with modified thank you page
- check SSO bridge
- check available REST API
- check admin REST API
- check Web UI modification of records and locking
- check the proper work with user profiles (Keycloak integration)
Emergency Fallback
- [D] Shut down the service on both nodes
- [L] Revert EAP 7 to EAP 6 and revert the Keycloak module
- [L] Restore database from backup
- [L] start service
- [D] check it is working