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
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