Commit Graph

436 Commits

Author SHA1 Message Date
Andrea Dell'Amico c31725edad geoserver-connector: Fix the upgrade scenario. 2017-09-25 18:28:37 +02:00
Andrea Dell'Amico 4859629c1c gcube-oauth: Fix the upgrade scenario. 2017-09-25 18:17:06 +02:00
Andrea Dell'Amico e2b6920db9 fhn_manager: fix the upgrade scenario. It still needs some tasks to correctly install and configure the EGI API environment. 2017-09-25 18:14:51 +02:00
Andrea Dell'Amico 0f098c640a dm_pool_manager: Fix the upgrade scenario. 2017-09-25 18:07:42 +02:00
Andrea Dell'Amico 213a21898d catalogue_ws: Fix the upgrade scenario. 2017-09-25 17:36:53 +02:00
Andrea Dell'Amico 20d589a837 accounting_rstudio_se_plugin: Fix the upgrade scenario. 2017-09-25 16:54:28 +02:00
Andrea Dell'Amico 9062535a35 accounting_insert_storage_se_plugin: Fix the upgrade scenario. 2017-09-25 16:53:26 +02:00
Andrea Dell'Amico 1d8c5b11fe accounting_aggregator: Fix the deinstall scenario. 2017-09-25 16:53:12 +02:00
Andrea Dell'Amico fbca3de150 accounting-service: fix the upgrade scenario. 2017-09-25 16:47:23 +02:00
Andrea Dell'Amico 2c733203fd smart executor: use the 'downloads' directory, fix the upgrade scenario. See https://support.d4science.org/issues/9688 2017-09-25 16:43:45 +02:00
Andrea Dell'Amico 3254530eab generic-smartgears-virtualhost: fix the server_name directive. 2017-09-24 13:58:34 +02:00
Andrea Dell'Amico 2d909ff031 smartgears get-scopes: try to manage all the scenarios correctly. 2017-09-22 19:23:20 +02:00
Andrea Dell'Amico 72c260b3b4 nginx virtualhost for smartgears: set the nginx client temporary directory for the uploads if it's defined. 2017-09-22 13:10:24 +02:00
Roberto Cirillo 7c9477c2e4 ../library/roles/smartgears/fhn_manager/defaults/main.yml update fhn-manager version 2017-09-20 16:52:18 +02:00
Andrea Dell'Amico 3eed2abc3a algorithms-updater: cleanup the list of installed algorithms even when installing a new one. 2017-09-20 13:42:40 +02:00
Andrea Dell'Amico a758ab8c71 dataminer algorithms-updater: another attempt to fix the algorithms upgrade. 2017-09-20 12:42:38 +02:00
Andrea Dell'Amico 0bec78a25d Fix the gcube-app.xml exclusion list. It changed with the latest smartgears release. 2017-09-20 12:27:18 +02:00
Andrea Dell'Amico 1e5f6b6e30 data-transfer-service: expand the war file after the installation and setup the gcube-app.xml file. 2017-09-19 20:08:12 +02:00
Roberto Cirillo 36e95e334c Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-09-19 20:00:15 +02:00
Roberto Cirillo 0ed9f4228a ../library/roles/smartgears/dm_pool_manager/templates/web.xml.j2
./library/roles/smartgears/dm_pool_manager/templates/service.properties.j2 add new templates
./library/roles/smartgears/social-networking-library-ws/defaults/main.yml set version for 4.6.1 release
2017-09-19 19:58:22 +02:00
Andrea Dell'Amico fc6688b26d smartgears data-transfer: expand the war file, because we need to put stuff inside. 2017-09-19 17:11:59 +02:00
Andrea Dell'Amico 02bcd00968 dataminer: Install the war archive by default. 2017-09-19 15:37:14 +02:00
Andrea Dell'Amico d7a12eb375 Change the nginx smartgears template to add opencpu as a special case. 2017-09-19 15:13:57 +02:00
Andrea Dell'Amico 7f91b5f36a dataminer: New workarounds to fix some broken behaviour. 2017-09-19 14:44:35 +02:00
Andrea Dell'Amico c0864e4e43 dataminer: Give the possibility to not install the algorithms updater cron job. 2017-09-19 14:17:37 +02:00
Roberto Cirillo d225d7704c Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-09-18 12:03:43 +02:00
Andrea Dell'Amico b011d82213 Correct another case of the algorithms-updater script. 2017-09-15 19:38:57 +02:00
Andrea Dell'Amico 56df697c0e Fix the ckan-connector-fixer.sh.j2 script. 2017-09-15 19:25:58 +02:00
Andrea Dell'Amico daeda765a1 Other fixes to library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2. 2017-09-15 19:25:06 +02:00
Andrea Dell'Amico f2196b3cf9 More fixes to the algorithms updater script. 2017-09-15 19:22:56 +02:00
Andrea Dell'Amico 25eebdf57f Fix a typo. 2017-09-15 13:02:18 +02:00
Andrea Dell'Amico ce44423955 library/roles/smartgears/smartgears/defaults/main.yml: add a default for the catalina (tomcat) tmp directory, so that we can change it when needed. 2017-09-15 12:52:03 +02:00
Roberto Cirillo 5d3cc0a8f0 Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-09-15 12:27:13 +02:00
Andrea Dell'Amico bdfcf211d9 Add a missing '-block' statement. 2017-09-15 12:26:38 +02:00
Roberto Cirillo 218aa3e3c2 Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-09-15 12:20:14 +02:00
Andrea Dell'Amico 71d583d505 dm_pool_manager: add the ansible_ppa role as a dependency. Fix the maven_artifact behaviour. 2017-09-14 19:01:11 +02:00
Andrea Dell'Amico 0e94d276ec catalogue_ws: Convert to maven_artifact properly. 2017-09-14 18:45:17 +02:00
Andrea Dell'Amico 604733465e accounting_aggregator_se_plugin: Manage the app removal. 2017-09-14 18:40:17 +02:00
Andrea Dell'Amico e38cd4c569 ccounting_insert_storage_se: Manage the app removal. 2017-09-14 18:37:52 +02:00
Andrea Dell'Amico 4461e019f4 accounting_insert_rstudio_se_plugin: Manage the plugin removal. 2017-09-14 18:36:33 +02:00
Andrea Dell'Amico 6b4f08e912 gcube-oauth: Fix the install task. 2017-09-14 18:33:51 +02:00
Andrea Dell'Amico da6a90513a accounting-service: Manage the app removal. 2017-09-14 18:27:30 +02:00
Andrea Dell'Amico c2988484c5 gcube-oauth: Manage the app removal correctly. 2017-09-14 18:25:35 +02:00
Andrea Dell'Amico 7e6dc2efc4 Fix the gcube-oauth role. 2017-09-14 18:16:26 +02:00
Andrea Dell'Amico 29e43c5498 Fix a typo in the sis_geotk_dt_plugin role. 2017-09-14 17:43:36 +02:00
Andrea Dell'Amico 603cc237be Fix the downloads dir creation. The ownership must be assigned to the gcube user. 2017-09-14 17:41:52 +02:00
Roberto Cirillo ab9eb826cc Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-09-14 17:27:14 +02:00
Andrea Dell'Amico 6839589455 Add a task that removes the sis-geotk-plugin when it is not meant to be installed. 2017-09-14 17:25:23 +02:00
Andrea Dell'Amico fb99dba454 Add a role to manage the sis-geotk-plugin (data transfer). 2017-09-14 17:23:51 +02:00
Andrea Dell'Amico ea49eb993a Move the data_transfer variables from the nginx role to the main smartgears one. 2017-09-14 17:23:17 +02:00
Andrea Dell'Amico 7378e765f1 Fix the social-networking-library-ws role. See https://support.d4science.org/issues/9688 2017-09-14 17:05:14 +02:00
Roberto Cirillo bcadddef74 group_vars/dm_pool_manager*
group_vars/catalogue_ws_prod added variable for production environment

inventory/hosts.pre add new tabulardata node
inventory/hosts.production added new  nodes
2017-09-14 15:20:32 +02:00
Andrea Dell'Amico 11f5be1a83 dataminer: add variables that permit to change the algorithms installer run frequency. Default: 1 hour.
dataminer proto: run the algorithm installer every minute.
2017-09-14 14:18:22 +02:00
Andrea Dell'Amico 22632aa634 dataminer: Fix the algorithms installer script, in some situations it created duplicated lines in the file that lists the already installed algorithms.
dataminer: Download the distribution files into /home/gcube/downloads
2017-09-14 13:41:55 +02:00
Andrea Dell'Amico 8687fdab47 Add new tags to the task that creates the downloads directory so that we can use it without running all the smartgears role. 2017-09-14 13:30:25 +02:00
Andrea Dell'Amico 30e59e6526 Add the accouting_rstudio_se_plugin role. See https://support.d4science.org/issues/9667. 2017-09-13 19:45:12 +02:00
Andrea Dell'Amico 0fdbc7dba8 Accounting service: more optimization to the role tasks. 2017-09-13 19:41:07 +02:00
Andrea Dell'Amico 99d0a519ff Convert the accounting_insert_storage_se_plugin role to maven_artifact and fix the upgrade scenario. 2017-09-13 18:53:04 +02:00
Andrea Dell'Amico a985775707 The accounting service role now uses the /home/gcube/downloads directory. 2017-09-13 18:41:39 +02:00
Andrea Dell'Amico 8892e0f257 Fix the accounting_aggregator_se_plugin upgrade. 2017-09-13 18:24:31 +02:00
Andrea Dell'Amico 704f990d5c Create a downloads directory inside the gcube home directory where to download all the smartgears related wars and jars. 2017-09-13 18:19:18 +02:00
Andrea Dell'Amico 1aad034435 Fix the accounting-service upgrade case. 2017-09-13 18:13:15 +02:00
Andrea Dell'Amico e0fa10319d Dataminer: remove the dataminer war when the new one has been downloaded from maven. 2017-09-13 16:35:12 +02:00
Andrea Dell'Amico d1597d1784 dataminer: Remove the old algorithms installer when a new distribution has been downloaded from maven. 2017-09-13 16:33:16 +02:00
Andrea Dell'Amico e9e8fa5c7c Fix the logback template when we use the SizeAndTimeBasedRollingPolicy, see https://support.d4science.org/issues/9576 2017-09-12 18:25:43 +02:00
Andrea Dell'Amico 84fe5ff968 library/roles/smartgears/dataminer_app: Install the algorithms importer archive, using maven_artifact. 2017-09-12 17:18:00 +02:00
Andrea Dell'Amico 86733fa6c6 library/roles/smartgears/accounting_aggregator_se_plugin/tasks/main.yml: Remove the old get_url task. 2017-09-12 17:10:44 +02:00
Andrea Dell'Amico 901b66e536 Add a broken role for the accounting_rstudio_se_plugin. 2017-09-12 16:52:46 +02:00
Andrea Dell'Amico aff5671199 Fix the accounting_aggregator_se_plugin role. 2017-09-12 16:51:59 +02:00
Andrea Dell'Amico 7d1dda3e32 Fix a typo. 2017-09-12 15:59:56 +02:00
Luca Frosini de239a88f3 Using snapshot version in production accounting-aggregator 2017-09-12 15:57:02 +02:00
Andrea Dell'Amico 02d74065cb library/roles/smartgears/dataminer_app/templates/wps-config-fixer.j2: Set the provided hostname. 2017-09-12 15:35:27 +02:00
Andrea Dell'Amico 7ea507790f Change the default listen host for tomcat to 127.0.0.1.
Change the virtualhost filename to a fixed one plus a numeric ID. So if the hostname changes, we do not duplicate files.
2017-09-12 15:35:27 +02:00
Andrea Dell'Amico d617ada1ec Remove some duplicate variables. 2017-09-12 15:35:27 +02:00
Roberto Cirillo ff78f5611e group_vars/socialnetworking_dev/socialnetworking_dev.yml update service version
../library/roles/smartgears/dm_pool_manager/tasks/main.yml add condition on first checkout task
../library/roles/smartgears/social-networking-library-ws/defaults/main.yml update service version
2017-09-12 12:28:51 +02:00
Roberto Cirillo 33a9d97173 ../library/roles/smartgears/dm_pool_manager/defaults/main.yml update service version 2017-09-08 15:23:30 +02:00
Roberto Cirillo dcb5aac7bb ../library/roles/smartgears/sdi_service/defaults/main.yml update service version 2017-09-07 18:20:33 +02:00
Roberto Cirillo 29c79e59f5 group_vars/dm_pool_manager_pre/vault.yml encripted svn password
../library/roles/smartgears/dm_pool_manager/tasks/main.yml manage additional files and packages for dm-pool-manager service
2017-09-07 12:23:27 +02:00
Roberto Cirillo 04a116f78d ../library/roles/smartgears/dm_pool_manager/tasks/main.yml add task for managing web.xml file
../library/roles/smartgears/dm_pool_manager/templates/web.xml.j2 add web.xml template file
2017-09-05 18:58:21 +02:00
Roberto Cirillo e4c251cdb2 Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-09-05 18:35:13 +02:00
Roberto Cirillo 3411c5086e ../library/roles/smartgears/dm_pool_manager/templates/service.properties.j2 add template file 2017-09-05 18:34:21 +02:00
Roberto Cirillo 23f98f8845 group_vars/dm_pool_manager_pre/dm_pool_manager_pre.yml set environmental variable
smartgears-node-upgrade.yml set upgrade variable for dm-pool-manager
../library/roles/smartgears/dm_pool_manager/tasks/main.yml add task for manage additional files
../library/roles/smartgears/dm_pool_manager/defaults/main.yml add additional variables
2017-09-05 18:32:31 +02:00
Andrea Dell'Amico d9569fda96 Fix a path. 2017-09-05 13:32:49 +02:00
Andrea Dell'Amico 12608c7357 Fix a task description. 2017-09-05 13:28:47 +02:00
Andrea Dell'Amico be5ff553de Restart the tomcat instance after a logback.xml update. 2017-09-05 13:09:16 +02:00
Andrea Dell'Amico 04c74c3e67 Add a variable to switch from a time based only logback appender to the new size and time based. The new one needs a logback version newer that the one currently installed. See https://support.d4science.org/issues/9599 2017-09-05 12:43:46 +02:00
Andrea Dell'Amico 30c4f0e415 smartgears: install the logback configuration from a template, if not instructed to use the old way. See https://support.d4science.org/issues/9576 2017-09-04 20:02:37 +02:00
Andrea Dell'Amico 0908b0bbd6 Modify the algorithms updater script so that it can manage algorithms upgrades. See https://support.d4science.org/issues/9562 2017-09-04 19:39:08 +02:00
Roberto Cirillo 7258e12d3b dm-pool-manager update version
smartgears update version
2017-09-04 12:00:05 +02:00
Roberto Cirillo 973a21d0d1 update version to sdi-service and social-networking-library-ws services 2017-08-31 14:32:25 +02:00
Roberto Cirillo d28a3e8036 dm-pool-manager, tabulardata, grsf-publisher: update service version 2017-08-31 11:48:12 +02:00
Andrea Dell'Amico 7ac767247f The NRPE handler will run a service restart and not a 'start'. 2017-08-28 19:54:14 +02:00
Andrea Dell'Amico defbf77503 Add a nagios NRPE handler to restart the tomcat instance when it dies. 2017-08-28 19:46:16 +02:00
Andrea Dell'Amico 2dc37dff40 library/roles/smartgears/home_library/defaults/main.yml: Remove a duplicate variable. 2017-08-17 14:22:18 +02:00
Roberto Cirillo e0fce456e8 smartgears-node-upgrade.yml fix check on openjdk in the following way: openjdk_install is defined and openjdk_install
smartgears-node.yml added check on opnejdk installation as done for smartgears-node-upgrade
  ../library/roles/smartgears/grsf_publisher_ws/defaults/main.yml update grsf_publisher service version
2017-08-01 17:37:02 +02:00
Andrea Dell'Amico 661ecfb79b Fix a wrong variable. 2017-07-26 20:50:30 +02:00
Andrea Dell'Amico acf5253447 bootstrap.properties.txt must be bootstrap.properties instead. 2017-07-26 20:00:34 +02:00
Andrea Dell'Amico 6118b10902 Configure the dev workspace repository servers and the load balancer in front of them. Cleanup some configurations that are not used anymore. 2017-07-26 19:50:26 +02:00
Andrea Dell'Amico d0b8b42a93 Set the jackrabbit cluster node ID. 2017-07-26 19:50:26 +02:00
Andrea Dell'Amico ed19ccf2bd home library, new version. 2017-07-26 17:33:26 +02:00