Project

General

Profile

Actions

VM Creation #7902

closed

VRE #7892: Creation of new VRE - EcoEvo

Create a CKAN instance for EcoEvo VRE

Added by Leonardo Candela about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
_InfraScience Systems Engineer
Target version:
Start date:
Mar 30, 2017
Due date:
Mar 31, 2017
% Done:

100%

Infrastructure:
Production
RAM:
4
CPU:
2
DiskSpace:
15
Smartgears:
Yes
Smartgears Version:
Application Instructions:
Smartgears scopes:

/d4science.research-infrastructures.eu/D4Research/EcoEvo

Applications list and version:
Applications context path:
External storage data disk:
Smartgears auth connector:
CKAN connector
data transfer enabled:
No
PostgreSQL database:
Yes
Number of VMs:

Description

The EcoEvo VRE is not linked to any existing project or initiative.

A dedicated catalogue instance should be created in the D4Research context. If possible this instance can rely on existing RDB and ElasticSearch instances. It is impossible to estimate the number of items that will be registered into the catalogue, yet I do not feel there will be millions.

Actions #1

Updated by Leonardo Candela about 8 years ago

  • Subject changed from CReate a CKAN instance for EcoEvo VRE to Create a CKAN instance for EcoEvo VRE
  • Due date set to Mar 31, 2017
Actions #2

Updated by Andrea Dell'Amico about 8 years ago

  • Tracker changed from Task to VM Creation
  • RAM set to 4
  • CPU set to 2
  • DiskSpace set to 15
  • Smartgears set to Yes
Actions #3

Updated by Andrea Dell'Amico about 8 years ago

  • data transfer enabled set to No
  • Smartgears auth connector CKAN connector added
Actions #4

Updated by Andrea Dell'Amico about 8 years ago

  • Smartgears scopes updated (diff)
Actions #5

Updated by Andrea Dell'Amico about 8 years ago

  • PostgreSQL database set to Yes
Actions #6

Updated by Leonardo Candela about 8 years ago

  • Priority changed from Normal to High

Is there any news about the deployment of the service, it is one of the key component for the VRE

Actions #7

Updated by Tommaso Piccioli about 8 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

New host name will be ckan-ecoevo.d4science.org

Actions #8

Updated by Andrea Dell'Amico about 8 years ago

  • % Done changed from 10 to 30
Actions #9

Updated by Andrea Dell'Amico about 8 years ago

@francesco.mangiacrapa@isti.cnr.it the template download is failing for ckan-ecoevo:

fatal: [ckan-ecoevo.d4science.org]: FAILED! => {"changed": false, "dest": "/usr/lib/ckan/default/src/ckanext-d4science_theme/ckanext/d4science_theme/templates/home/snippets/promoted.html", "failed": true, "gid": 1001, "group": "ckan", "mode": "0644", "msg": "Request failed", "owner": "ckan", "response": "HTTP Error 404: Not Found", "size": 1547, "state": "file", "status_code": 404, "uid": 1001, "url": "http://svn.research-infrastructures.eu/public/d4science/gcube/branches/data-catalogue/ckan-d4science-extension/2.6/promoted/ckan-ecoevo.d4science.org-promoted.html"}

Actions #10

Updated by Leonardo Candela about 8 years ago

  • Priority changed from High to Immediate
Actions #11

Updated by Francesco Mangiacrapa about 8 years ago

Andrea Dell'Amico wrote:

@francesco.mangiacrapa@isti.cnr.it the template download is failing for ckan-ecoevo:

fatal: [ckan-ecoevo.d4science.org]: FAILED! => {"changed": false, "dest": "/usr/lib/ckan/default/src/ckanext-d4science_theme/ckanext/d4science_theme/templates/home/snippets/promoted.html", "failed": true, "gid": 1001, "group": "ckan", "mode": "0644", "msg": "Request failed", "owner": "ckan", "response": "HTTP Error 404: Not Found", "size": 1547, "state": "file", "status_code": 404, "uid": 1001, "url": "http://svn.research-infrastructures.eu/public/d4science/gcube/branches/data-catalogue/ckan-d4science-extension/2.6/promoted/ckan-ecoevo.d4science.org-promoted.html"}

Andrea, the error seems due to download of http://svn.research-infrastructures.eu/public/d4science/gcube/branches/data-catalogue/ckan-d4science-extension/2.6/promoted/ckan-ecoevo.d4science.org-promoted.html which does not exist.
However, the ansible playbook in this case could skip the error and take the default promoted.html located here:
http://svn.research-infrastructures.eu/public/d4science/gcube/branches/data-catalogue/ckan-d4science-extension/2.6/promoted/default-promoted.html

I just added the file ckan-ecoevo.d4science.org-promoted.html, @andrea.dellamico@isti.cnr.it you can try again.. thx

@leonardo.candela@isti.cnr.it Can you provide a Welcome message to this catalogue? A promoted message like this..
http://svn.research-infrastructures.eu/public/d4science/gcube/branches/data-catalogue/ckan-d4science-extension/2.6/promoted/ckan-d4s.d4science.org-promoted.html

Actions #12

Updated by Andrea Dell'Amico about 8 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 30 to 100
Actions #13

Updated by Francesco Mangiacrapa about 8 years ago

Thx... Andrea It seems work fine.
Moreover, Can you add the following entries for the prodcution.ini?

ckan.d4science_theme.systemtypefield = system:type
ckan.d4science_theme.namespace_separator = :

Thx again

Actions #14

Updated by Andrea Dell'Amico about 8 years ago

playbook ready for both prod and dev. Let me know if/when run it and on which hosts.

Actions #15

Updated by Francesco Mangiacrapa about 8 years ago

@andrea.dellamico@isti.cnr.it configurations for production.ini have been added correctly
Moreover, I updated ckan-theme plugin via ansible and It works fine
https://ckan-ecoevo.d4science.org/

please @costantino.perciante@isti.cnr.it , add GR/RR to the EcoEvo VRE (see: https://services.d4science.org/group/ecoevo/datasets) for Data Catalogue Portlet

Actions #16

Updated by Costantino Perciante about 8 years ago

I need some information to create such resources:

  • db location, user and password of the ckan instance;
  • where ckan is located (its url) and the token of the sysadmin for that instance

please provide this information

Actions #17

Updated by Andrea Dell'Amico about 8 years ago

Costantino Perciante wrote:

I need some information to create such resources:

  • db location, user and password of the ckan instance;

DB host and password are the same as the other instances. The DB name is ckan_ecoevo, the DB username is ckan_ecoevo_u

  • where ckan is located (its url) and the token of the sysadmin for that instance

You find the URL at https://support.d4science.org/issues/7902#note-12
The token resides here: /home/gcube/tomcat/webapps/ckan-connector/WEB-INF/web.xml on the machine. You have access to it.

please provide this information

Actions #18

Updated by Costantino Perciante about 8 years ago

Thanks Andrea.

Resources have been added to the context. I've also created the EcoEvo organization. Please let me know if someone there need catalogue administrator role

Actions #19

Updated by Leonardo Candela about 8 years ago

  • Status changed from Feedback to Closed
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)