Project

General

Profile

Actions

Task #23451

closed

Please update the url of grsf-publisher service

Added by Luca Frosini almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
May 31, 2022
Due date:
% Done:

100%

Estimated time:

Description

We created a dedicated instance of the service for each VRE.

Here is the list of hosts and the corresponding VRE:

smart-grsfpre.d4science.org is serving FARM/GRSF_Pre
smart-grsf-admin.d4science.org is serving GRSF_Admin
smart-grsf-d4s.d4science.org is serving GRSF

You should already have the token of grsf.publisher user for each context which is not changed. Otherwise please contact me and I'll send all of them again.


Files


Related issues

Blocks StocksAndFisheriesKB - Task #23452: Please publish all the records in the GRSF public VREClosedYannis MarketakisMay 31, 2022

Actions
Actions #1

Updated by Luca Frosini almost 3 years ago

  • Blocks Task #23452: Please publish all the records in the GRSF public VRE added
Actions #2

Updated by Yannis Marketakis almost 3 years ago

  • Status changed from New to In Progress

Thanks @luca.frosini@isti.cnr.it

I've just tried in GRSF-ADMIN and I encounter the following:

{
    "id": null,
    "knowledge_base_id": null,
    "product_url": null,
    "error": "Error while performing a POST! Request url is:https://ckan-grsf-admin.d4science.org/api/3/action/package_update  CkanResponse{error=Ckan error of type: Search Index Error  
message:Unable to add package to search index: Solr returned an error: (u'Solr responded with an error (HTTP 500): 
[Reason: Exception writing document id f43067cf2e9a7e5ad418918a1ac769be to the index; possible analysis error.]',) 
 Other fields:{}, success=false, help=https://ckan-grsf-admin2.d4science.org/api/3/action/help_show?name=package_update}
CkanClient{catalogURL=https://ckan-grsf-admin.d4science.org, ckanToken=*****MASKED_TOKEN*******}"
}
Actions #3

Updated by Yannis Marketakis almost 3 years ago

In GRSF public, some records were published, however we encounter other types of errors like the following:

{
    "id": null,
    "knowledge_base_id": null,
    "product_url": null,
    "error": "Error while performing a POST! Request url is:https://ckan-grsf.d4science.org/api/3/action/package_create  CkanResponse{error=Ckan error of type: Search Index Error
message:Unable to add package to search index: Solr returned an error: (u'Solr responded with an error (HTTP 500):
[Reason: Exception writing document id fa222d9220bdd9f1f3d7fe6aca92897f to the index; possible analysis error.]',)
Other fields:{}, success=false, help=https://ckan-grsf.d4science.org/api/3/action/help_show?name=package_create}  
CkanClient{catalogURL=https://ckan-grsf.d4science.org, ckanToken=*****MASKED_TOKEN*******}"
}

A json object that causes the aforementioned failure is attached

Actions #4

Updated by Luca Frosini almost 3 years ago

Yannis Marketakis wrote in #note-3:

In GRSF public, some records were published, however we encounter other types of errors like the following:

{
  "id": null,
  "knowledge_base_id": null,
  "product_url": null,
  "error": "Error while performing a POST! Request url is:https://ckan-grsf.d4science.org/api/3/action/package_create  CkanResponse{error=Ckan error of type: Search Index Error
message:Unable to add package to search index: Solr returned an error: (u'Solr responded with an error (HTTP 500):
[Reason: Exception writing document id fa222d9220bdd9f1f3d7fe6aca92897f to the index; possible analysis error.]',)
Other fields:{}, success=false, help=https://ckan-grsf.d4science.org/api/3/action/help_show?name=package_create}  
CkanClient{catalogURL=https://ckan-grsf.d4science.org, ckanToken=*****MASKED_TOKEN*******}"
}

A json object that causes the aforementioned failure is attached

Yannis Marketakis wrote in #note-2:

Thanks @luca.frosini@isti.cnr.it

I've just tried in GRSF-ADMIN and I encounter the following:

{
  "id": null,
  "knowledge_base_id": null,
  "product_url": null,
  "error": "Error while performing a POST! Request url is:https://ckan-grsf-admin.d4science.org/api/3/action/package_update  CkanResponse{error=Ckan error of type: Search Index Error  
message:Unable to add package to search index: Solr returned an error: (u'Solr responded with an error (HTTP 500): 
[Reason: Exception writing document id f43067cf2e9a7e5ad418918a1ac769be to the index; possible analysis error.]',) 
 Other fields:{}, success=false, help=https://ckan-grsf-admin2.d4science.org/api/3/action/help_show?name=package_update}
CkanClient{catalogURL=https://ckan-grsf-admin.d4science.org, ckanToken=*****MASKED_TOKEN*******}"
}

@francesco.mangiacrapa@isti.cnr.it can you investigate?

Actions #6

Updated by Francesco Mangiacrapa almost 3 years ago

Hi all,

due to an unexpected restart on some SOLR machines, they are using a wrong configuration, we will fix them asap (this ticket is blocked by #23464)

Actions #7

Updated by Francesco Mangiacrapa almost 3 years ago

Dear @marketak@ics.forth.gr,

we have just fixed the SOLR configuration of ckan-grsf and grsf-admin, can you retry the publishing? Thanks

Actions #8

Updated by Yannis Marketakis almost 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

Grazzie mille @francesco.mangiacrapa@isti.cnr.it and @luca.frosini@isti.cnr.it

It works as expected.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)