Commit Graph

339 Commits

Author SHA1 Message Date
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
Andrea Dell'Amico 9bb4f896f9 library/roles/smartgears/dataminer_app/defaults/main.yml: Fix a typo. 2017-05-12 13:43:39 +02:00
Andrea Dell'Amico 766a276cc2 library/roles/smartgears/dataminer_app: The war and zip versions of dataminer need to cohesist for the time being. 2017-05-12 13:24:01 +02:00
Andrea Dell'Amico 660341fd56 library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Copy the algorithms inside the WPS WEB-INF/lib directory. It's temporary, until Lucio finds a way to dynamically load them. 2017-05-11 20:29:08 +02:00
Andrea Dell'Amico f4bbb267ab library/roles/smartgears/smartgears/templates/get-scopes.j2: Fix the case when we are upgrading but we cannot get the state from the IS. In that case, we request new tokens to the IS. 2017-05-11 17:45:23 +02:00
Andrea Dell'Amico 938f661793 library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Fix the subversion options so the task does not fail if the repository is already present. 2017-05-10 18:21:38 +02:00
Andrea Dell'Amico f2f94af17c d4science-ghn-cluster/group_vars/dataminer_devnext/dataminer_devnext.yml: Install from gcube-snapshots.
library/roles/smartgears/dataminer_app/tasks/dataminer-app.yml: Do not link the algorithms inside WEB-INF/lib: it does not work.
2017-05-10 18:21:38 +02:00
Luca Frosini fc2d47e2ef Fixing variable 2017-05-09 18:26:39 +02:00
Luca Frosini c428bb90b0 Fixed latest verison to lowercase 2017-05-09 18:19:50 +02:00
Luca Frosini 6a9758c159 Changed playbook for is-sweepr and is-exporter smarte-executor plugin. They now use maven coordinates and redefine the smartgears_gcube_repository 2017-05-09 17:59:56 +02:00
Andrea Dell'Amico 9f0f5309ba library/roles/smartgears/smartgears/defaults/main.yml: Add the smartgears_gcube_repository variable, see https://support.d4science.org/issues/8466 2017-05-09 17:29:53 +02:00
Andrea Dell'Amico 64a3476e0b library/roles/smartgears/gcubeapp-setup/templates/gcube-app.xml.j2: Fix a wrong variable. 2017-05-09 17:11:48 +02:00
Andrea Dell'Amico 861672bab1 d4science-ghn-cluster/group_vars/geonetwork_prod_smartgears: Install the geonetwork app, for real.
library/roles/smartgears/gcubeapp-setup: Fix the installation path.
2017-05-09 17:11:48 +02:00
Luca Frosini 6d9638b49d Trying to add is-exporter-se-plugin to node17 2017-05-09 17:01:54 +02:00
Andrea Dell'Amico d393a18363 library/roles/smartgears/gcubeapp-setup: More parameters in the gcube-app.xml template. 2017-05-09 14:25:57 +02:00
Andrea Dell'Amico a5f3856141 library/roles/smartgears/dataminer_app: Fix a wrong variable name. Remove a now unused script. 2017-05-09 14:25:56 +02:00
Andrea Dell'Amico 08220160ad library/roles/smartgears/dataminer_app: Move from the zip file to a war. Install the algorithms checking them out from the subversion repository. 2017-05-09 14:25:56 +02:00
Andrea Dell'Amico cc7c04342a library/roles/smartgears/sharelatex_connector/templates/sharelatex-web.xml.j2: Fix a variable. 2017-05-09 14:25:56 +02:00
Andrea Dell'Amico 83f02b9292 library/roles/smartgears/ic_proxy/tasks/main.yml: Fix a typo. 2017-05-09 14:25:56 +02:00
Andrea Dell'Amico 8a8005a484 library/roles/smartgears/catalogue_ws: role to install the catalogue ws service. 2017-05-05 13:07:03 +02:00
Andrea Dell'Amico 325efe76a3 library/roles/smartgears/sdi_service/handlers/main.yml: A handler file is not needed here. 2017-05-05 13:06:43 +02:00
daniele.pavia 550254e96a moved the gcore roles around as per mail exchange with Andrea 2017-05-04 17:08:57 +02:00
Roberto Cirillo 1ee36151a4 group_vars/smartexecutor_dev/smartexecutor_dev.yml change repository to staging
group_vars/smartexecutor_dev_devsec/smartexecutor_dev_devsec.yml upgrade distro version (from staging)
group_vars/social_data_indexer_se_plugin_dev/social_data_indexer_se_plugin_dev.yml commented snapshot version
../library/roles/smartgears/smart_executor/defaults/main.yml update smart-executor version
./library/roles/smartgears/social_data_indexer_se_plugin/defaults/main.yml update plugin version
2017-05-04 12:46:39 +02:00
Roberto Cirillo de940474ef ../library/roles/smartgears/dataminer_app/tasks/install-gcube-key.yml added new vo keys 2017-05-02 13:48:45 +02:00
Roberto Cirillo 9c5ea22569 ../library/roles/smartgears/dm_pool_manager/defaults/main.yml upgrade revision number 2017-05-02 11:18:03 +02:00
Roberto Cirillo a6927b06a2 ../library/roles/smartgears/smartgears/tasks/install-gcube-keys.yml added new VO keys 2017-04-28 17:23:53 +02:00
Roberto Cirillo 30adee8788 inventory/hosts.production host changed from sdi-p-d4s to sdi-d4s
../library/roles/smartgears/smartgears/defaults/main.yml fix sintax error
2017-04-28 17:14:08 +02:00
Roberto Cirillo 312ca95eec group_vars/all/gcube_vault_keys.yml added keys for new VOs Edison and SmartArea
./library/roles/smartgears/smartgears/defaults/main.yml added new VO definition for the following VOs Edison OpenAIRE
2017-04-28 11:09:45 +02:00
Roberto Cirillo f005f5b224 ../library/roles/smartgears/dm_pool_manager/defaults/main.yml added new service dm-pool-manager 2017-04-28 10:36:18 +02:00
Roberto Cirillo a85ddf4f9e ../library/roles/smartgears/grsf_publisher_ws/defaults/main.yml upgrade service version
group_vars/smart_grsf_dev/smart_grsf_dev.yml add smartgears production distro variable
2017-04-21 17:58:30 +02:00
Andrea Dell'Amico 8e44ea5b13 library/roles/smartgears/smart_executor/defaults/main.yml: Install the latest smartexecutor version by default. 2017-04-20 19:02:21 +02:00
Andrea Dell'Amico 33eafc19c9 library/roles/smartgears/sdi_service: Role that installs the sdi service webapp. 2017-04-20 19:00:20 +02:00
Andrea Dell'Amico 5fa669d71b library/roles/smartgears/resource_checker_se_plugin: Add a role for the resource checker se plugin. 2017-04-20 17:23:58 +02:00
Andrea Dell'Amico 74482a285d library/roles/smartgears/smartgears/defaults/main.yml: Add a smartgears_global_base_url variable that can be used to replace the base URLs placed everywhere. 2017-04-20 16:56:48 +02:00
Andrea Dell'Amico 9d79eaa89a library/roles/smartgears/smartgears/templates/get-scopes.j2: Fix the get-scopes so that it requests tokens for the port 80 even when we redirect to https. 2017-04-12 15:34:41 +02:00
Andrea Dell'Amico 2681e0574d library/roles/smartgears/smart_executor: Refactored to use the maven_artifact module. 2017-04-11 18:36:45 +02:00
Andrea Dell'Amico 2238f7813c library/roles/smartgears/smartgears/templates/container.xml.j2: Do not set the https port if the https redirection is enabled. smartgears needs to still publish itself on port 80. 2017-04-11 17:37:50 +02:00
Luca Frosini 5c30b79437 Merge branch 'master' of gitorious.research-infrastructures.eu:infrastructure-management/ansible-playbooks 2017-04-05 14:36:06 +02:00
Luca Frosini f19fbcf778 Upgraded resource registry config 2017-04-05 14:36:02 +02:00
Tommaso Piccioli cdb4c7ab17 new accounting service
new garr dataminer nodes added to jackrabbit iptables
2017-03-31 23:09:48 +02:00
Tommaso Piccioli 68c0687eec new workspace-repository-prod node for jackrabbit (postgres on workspace-repository-pg) 2017-03-30 19:13:22 +02:00
Andrea Dell'Amico 691b10ad28 library/roles/smartgears/{dataminer_app,smartgears}: Handle the SoBigData gcube key. 2017-03-29 17:32:05 +02:00
Andrea Dell'Amico c2d493d83e library/roles/smartgears/r_connector: New version that fixes the 'missing userconfig.csv' bug. The rusersadd script also readds the .Rprofile if it's missing. 2017-03-29 17:30:12 +02:00
Andrea Dell'Amico c9a63a6330 library/roles/smartgears: Handle the case when we need VO level authorization. Use the locally saved scopes instead of the provided ones. See https://support.d4science.org/issues/7880 2017-03-28 20:19:36 +02:00