Opened 7 years ago

Closed 7 years ago

#1521 closed defect (fixed)

wcst_import silently fails ingestion

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: critical Milestone: 9.4
Component: petascope Version: development
Keywords: Cc: Vlad Merticariu, Peter Baumann
Complexity: Medium

Description

wcst_import keeps ingesting data as if everything is fine, but petascope is empty (i.e. nothing is ingested). Please test wcst_import with a faulty petascope installation (e.g. wrong petascopedb user/passwd).

# wcst_import.sh /opt/rasdaman/meris.json
Initialization
Collected files: ['/oda/repository/MERIS/LAI/10D/MOSAIC/2003/GlobLAI-20030101-20030110-H00V01-1.0_MERIS-FR-LAI-HA.nc', '/oda/repository/MERIS/LAI/10D/MOSAIC/2003/GlobLAI-20030101-20030110-H00V02-1.0_MERIS-FR-LAI-HA.nc', '/oda/repository/MERIS/LAI/10D/MOSAIC/2003/GlobLAI-20030101-20030110-H00V03-1.0_MERIS-FR-LAI-HA.nc', '/oda/repository/MERIS/LAI/10D/MOSAIC/2003/GlobLAI-20030101-20030110-H00V10-1.0_MERIS-FR-LAI-HA.nc', '/oda/repository/MERIS/LAI/10D/MOSAIC/2003/GlobLAI-20030101-20030110-H00V11-1.0_MERIS-FR-LAI-HA.nc', '/oda/repository/MERIS/LAI/10D/MOSAIC/2003/GlobLAI-20030101-20030110-H00V13-1.0_MERIS-FR-LAI-HA.nc', '/oda/repository/MERIS/LAI/10D/MOSAIC/2003/GlobLAI-20030101-20030110-H01V01-1.0_MERIS-FR-LAI-HA.nc', '/oda/repository/MERIS/LAI/10D/MOSAIC/2003/GlobLAI-20030101-20030110-H01V02-1.0_MERIS-FR-LAI-HA.nc', '/oda/repository/MERIS/LAI/10D/MOSAIC/2003/GlobLAI-20030101-20030110-H01V03-1.0_MERIS-FR-LAI-HA.nc',
'/oda/repository/MERIS/LAI/10D/MOSAIC/2003/GlobLAI-20030101-20030110-H01V06-1.0_MERIS-FR-LAI-HA.nc']...

Validation
The recipe has been validated and is ready to run.
Recipe: general_coverage
Coverage: meris_lai
WCS Service: http://localhost:8080/rasdaman/ows
Operation: INSERT
Subset Correction: False
Mocked: False
WMS Import: True

Change History (4)

comment:1 by Bang Pham Huu, 7 years ago

in case postgresql user is not correct, petascope could not query database, wcst_import will simply change to Update request, even though the coverage id does not exist and ingest without error.

Operation: UPDATE
Subset Correction: False
Mocked: True
WMS Import: False
A couple of files have been analyzed. Check that the axis subsets are correct.
Slice 1: {Axis Subset: Lat(-44.525,-8.975) Long(111.975,156.275) 
Data Provider: file:///home/rasdaman/rasdaman/systemtest/testcases_services/test_all_wcst_import/test_data/wcps_mean_summer_air_temp/mean_summer_airtemp.tif}


Running
Progress: [------------------------------] 0/1 0.00% 
This is just a mocked request, no data will be changed. 
http://localhost:8080/rasdaman/ows?service=WCS&version=2.0.1&request=UpdateCoverage&coverageId=test_mean_summer_airtemp2&subset1=Lat(-44.525,-8.975)&inputCoverageRef=file:///tmp/c0c8c4fe_87c8_4824_b18c_10f7411497d8.gml&subset2=Long(111.975,156.275)
Progress: [##############################] 1/1 100.00% Done.

comment:2 by Dimitar Misev, 7 years ago

Resolution: invalid
Status: newclosed

Invalid, the real problem is #1524

comment:3 by Bang Pham Huu, 7 years ago

Resolution: invalid
Status: closedreopened

It will need to check for some cases petascope has an internal exception like could not read metadata with wrong username, password, better to check.

comment:4 by Bang Pham Huu, 7 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.