Commit Graph

382 Commits

Author SHA1 Message Date
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
Andrea Dell'Amico 925d545be2 When there's nothing to do, exit without trying to build the script. 2017-07-26 17:17:06 +02:00
Andrea Dell'Amico 27f3a4f000 Add to the workspace configuration all the variables needed to configure jackrabbit and the database. 2017-07-25 21:03:15 +02:00
Andrea Dell'Amico 5d5bc425c5 We need to manage two jackrabbit configuration files as templates. 2017-07-25 20:40:17 +02:00
Andrea Dell'Amico c75648ffba We need to install a templated web.xml for the dataminer app. 2017-07-25 18:37:59 +02:00
Andrea Dell'Amico 1b36211240 Fix the script so that the algorithms that have spaces in their name are handled correctly. 2017-07-25 18:29:54 +02:00
Andrea Dell'Amico 9d8ae525a2 Fix the algorithms-updater script again. 2017-07-25 17:51:26 +02:00
Andrea Dell'Amico 92cdb68b37 Modify and option of addAlgorithms so that it does not recompile everything. 2017-07-25 17:32:31 +02:00
Andrea Dell'Amico 0ea789571b Fix the dataminer algorithms updater script: it searched the lock file in the wrong place. 2017-07-25 15:59:47 +02:00
Andrea Dell'Amico 9d88f841a3 Change the CORS snippet again and introduce a new variable so that the smartgears nginx template is now backward compatible and still able to cope with the CORS settings needed by some geoserver. 2017-07-22 15:52:20 +02:00
Andrea Dell'Amico db61e24d4e Change the smartgears nginx virtualhost to be compatible with the new CORS configuration. 2017-07-22 15:12:47 +02:00
Andrea Dell'Amico 032f49040a Do not enable CORS on the data-transfer. 2017-07-21 18:47:38 +02:00
Roberto Cirillo d6d6960445 ../library/roles/smartgears/grsf_publisher_ws/defaults/main.yml update grsf service version 2017-07-21 16:36:37 +02:00
Andrea Dell'Amico 47788be177 smartgears: Install the gcube root dev key in preprod too. 2017-07-20 17:41:42 +02:00
Andrea Dell'Amico 14758bbc60 library/roles/smartgears/oscar_importer_se_plugin/tasks/main.yml: The package must be installed as root. 2017-07-20 17:03:27 +02:00
Roberto Cirillo f9b037000d Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-07-20 16:06:38 +02:00
Roberto Cirillo 7581efd1ec ../library/roles/smartgears/smartgears/defaults/main.yml update smartgears version 2017-07-20 16:05:47 +02:00
Andrea Dell'Amico 12a7a03c26 library/roles/smartgears/oscar_importer_se_plugin/tasks/main.yml: Add a task to install the required package. 2017-07-20 15:39:40 +02:00
Andrea Dell'Amico fcda3ef2b1 library/roles/smartgears/oscar_importer_se_plugin: Role that installs the oscar importer smart executor plugin. 2017-07-20 15:32:14 +02:00
Andrea Dell'Amico 56eaf5e783 d4science-ghn-cluster/group_vars/all/gcube_vault_keys.yml library/roles/smartgears/dataminer_app/tasks/install-gcube-key.yml library/roles/smartgears/smartgears/tasks/install-gcube-keys.yml: New gcube keys. 2017-07-20 15:25:55 +02:00
Andrea Dell'Amico 68ad035c61 library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: Fix a typo. 2017-07-20 15:04:55 +02:00
Andrea Dell'Amico 2c859a7f49 brary/roles/smartgears/smartgears-nginx-frontend: Optionally expose the gcube logs via http.
d4science-ghn-cluster: Expose the gcube logs on the dataminer servers.
2017-07-20 13:50:38 +02:00
Roberto Cirillo c305b4b60a group_vars/resource_checker_se_plugin_dev/resource_checker_se_plugin_dev.yml set nagios variable
smartgears-node-upgrade.yml set new upgrade variables
./library/roles/smartgears/resource_checker_se_plugin/defaults/main.yml update version
../library/roles/smartgears/smart_executor/defaults/main.yml update version
2017-07-20 10:40:57 +02:00
Andrea Dell'Amico 1660fb37b0 library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2: Better logging. 2017-07-19 19:18:49 +02:00
Andrea Dell'Amico 9450bfe6b1 library/roles/smartgears/resource_checker_se_plugin/tasks/main.yml: Do not install the nagios check if nagios is not enabled on the machine. 2017-07-18 14:39:57 +02:00
Roberto Cirillo 30a6cc508b inventory/hosts.pre added is-exporter, insert-storage, insert-rstudio plugins 2017-07-18 09:45:28 +02:00
Andrea Dell'Amico 4eb4c240a2 library/roles/smartgears/meteodataimporter_se_plugin/defaults/main.yml: New version of the jar file. 2017-07-17 16:37:58 +02:00
Andrea Dell'Amico 1fc1d05687 library/roles/smartgears/smartgears-nginx-frontend: Fix the nginx template so that whn-manager is always added. See https://support.d4science.org/issues/9209 2017-07-07 13:42:33 +02:00
Andrea Dell'Amico 934ba8d8ef library/roles/smartgears/smartgears-nginx-frontend/templates/generic-smartgears-virtualhost.j2: expose whn-manager over http even if we redirect the main apps over https. 2017-07-04 18:17:13 +02:00
Andrea Dell'Amico 83c13df9cc library/roles/smartgears/geoserver_connector: Geoserver smartgears connector. 2017-07-03 19:38:52 +02:00
Andrea Dell'Amico fd0c64de55 library/roles/smartgears/gcubeapp-setup: The file gcube-handlers.xml is now installed starting from a template, when needed. 2017-07-03 19:17:25 +02:00
Andrea Dell'Amico 7468678ae7 d4science-ghn-cluster, library/roles/smartgears/meteodataimporter_se_plugin: Add the meteo data importer smartexecutor plugin. 2017-07-03 12:44:45 +02:00
Andrea Dell'Amico 11b2ad9d51 d4science-ghn-cluster, library/roles/smartgears/twittermon_se_plugins: Twittermon smartexecutor plugins and php tools, see https://support.d4science.org/issues/8911 2017-06-28 18:11:35 +02:00
Andrea Dell'Amico 1aba1accde library/roles/smartgears: cleanup. Remove lots of duplicate handlers. 2017-06-28 16:33:49 +02:00
Andrea Dell'Amico ae17604335 library/roles/smartgears/resource_checker_se_plugin/templates/check_missing_resources.sh.j2: Go to critical if the resources file is older than two hours. It means that the service is not working. 2017-06-27 16:04:49 +02:00
Andrea Dell'Amico 8b0bc4c596 library/roles/smartgears/smartgears_egi_image/templates/smartgears-setup.sh.j2: Fix an undefined variable. 2017-06-27 13:37:14 +02:00
Andrea Dell'Amico f711a7b8b1 d4science-ghn-cluster, library/roles: Refactor smartgears/gcubeapp-setup and change all the use cases accordingly. 2017-06-26 16:07:43 +02:00
Andrea Dell'Amico bf9eaa3309 library/roles/smartgears/gcubeapp-setup: Fix the case where multiple apps are involved. 2017-06-26 14:43:39 +02:00
Andrea Dell'Amico baf4e046ce library/roles/smartgears/gcubeapp-setup/tasks/main.yml: Do not assume that the app context is lowercase. 2017-06-26 13:09:43 +02:00
Andrea Dell'Amico 44e66626cf library/roles/smartgears/home_library: Convert to maven_artifact. 2017-06-23 13:39:30 +02:00
Andrea Dell'Amico d3154f5d95 library/roles/smartgears/dataminer_app: Modify the cron job that updates the algorithms. Now it also runs a tool that configures new algorithms. 2017-06-22 14:39:07 +02:00
Andrea Dell'Amico dfcc84773c library/roles/smartgears/accounting-service: Converto the accounting-service role to maven_artifact. 2017-06-12 17:46:09 +02:00
Andrea Dell'Amico a990b8f6a8 ibrary/roles/smartgears/resource_registry: Convert the role to maven_artifact. 2017-06-12 17:09:26 +02:00
Roberto Cirillo 5881330f82 group_vars/data/main.yml set jdk8
inventory/hosts.production add tabulardata1 new host
./library/roles/smartgears/accounting_aggregator_se_plugin/defaults/main.yml
../library/roles/smartgears/social-networking-library-ws/defaults/main.yml se new artifact version
2017-06-12 11:21:52 +02:00
Andrea Dell'Amico ad08241d76 library/roles/ckan, library/roles/smartgears/ckan_connector: Now it is possible to choose to not initialize the database and create the admin user. 2017-06-07 16:30:35 +02:00
Andrea Dell'Amico 167cb17a88 library/roles/smartgears/resource_checker_se_plugin: Add the nagios check to monitor the resources status. 2017-06-02 15:34:32 +02:00
Andrea Dell'Amico 47c3755c0a library/roles/smartgears/smartgears_egi_image/templates/smartgears-setup.sh.j2: Fix a mistake in the function that sets the container.xml permissions. It screwed the home directory ones. 2017-06-01 13:19:53 +02:00
Roberto Cirillo 09c9663ae5 modified: group_vars/accounting_service_dev/accounting_service_dev.yml
Upgrade versions for gCube 4.5 and refactorying smart-executor on preprod environment
2017-05-26 11:40:21 +02:00
Roberto Cirillo 744c72e1b9 inventory/hosts.dev added EGI instances
roles/haproxy_frontend/templates/haproxy-dataminer.cfg.j2 added EGI instances
../library/roles/smartgears/smartgears/defaults/main.yml update smartgears distribution
2017-05-25 10:57:12 +02:00
Luca Frosini 3bc77ae47f Fixing smart-executor and plugins script 2017-05-23 11:52:17 +02:00
Roberto Cirillo f9e052db71 smartgears-node-upgrade.yml added accounting_aggregator
../library/roles/smartgears/accounting_aggregator_se_plugin/defaults/main.yml
../library/roles/smartgears/accounting_aggregator_se_plugin/tasks/main.yml   merge accounting aggregator and accounting_insert_storage_plugin

../library/roles/smartgears/resource_checker_se_plugin/defaults/main.yml update version
2017-05-19 09:42:18 +02:00
Roberto Cirillo 79718cf062 ../library/roles/smartgears/social_data_indexer_se_plugin/defaults/main.yml update plugin version 2017-05-15 16:17:42 +02:00
Andrea Dell'Amico 62deaafb2c library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Install a cron job that performs a 'svn update' of the algorithms repository. 2017-05-15 13:02:13 +02:00
Andrea Dell'Amico 9c36221e11 library/roles/smartgears/dataminer_app: Install the catalina configuration to extend the classpath. 2017-05-12 19:28:09 +02:00
Andrea Dell'Amico 2f4d7656be d4science-ghn-cluster, library/roles/smartgears/smartgears_egi_image: Changes to the EGI image configuration. 2017-05-12 15:06:47 +02:00