Project

General

Profile

Task #8090

Upgrade mn-ucsb/unm/orc Metacat

Added by Jing Tao over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Environment.Production
Target version:
Start date:
2017-05-03
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

Currently they are version 2.7.1. After 2.8.2 is released, we need to upgrade them to the newest one.

History

#1 Updated by Jing Tao over 7 years ago

  • Category changed from Metacat to Environment.Production

#2 Updated by Chris Jones over 7 years ago

Laura pointed out a number of replication request failures. I've looked at some of the logs, and all requests to @mn-orc-1@ are failing. After looking at the Metacat installation, while the PostgreSQL database is fine, the filesystem is not. There should be thousands of objects stored in @/var/metacat@, but the subdirectories are gone. Either they were deleted, corrupted, or perhaps the filesystem didn't mount correctly - it's hard to say. Nevertheless, Metacat thinks that the three sub directories of @/var/metacat/{documents, data, temporary}@ should be available, and they're not. Requests for replication are attempting to spool the MMP object for the system metadata to the temporary directory, and can't:

[ERROR] 2017-05-09 02:19:32,247 (MNCommunication:requestReplication:45) Caught base exception attempting to call replicate for pid:
resource_map_urn:uuid:dc4b2a33-a83d-4232-85c8-9dbb5e7c2516 at target: urn:node:mnORC1with exception:
Could not resolve multipart files: Processing of multipart/form-data request failed.
/var/metacat/temporary/upload_3961ca52_15bcf40708e8000_00000783.tmp (No such file or directory) and message:
Could not resolve multipart files: Processing of multipart/form-data request failed. /var/metacat/temporary/upload
3961ca52_15bcf40708e_8000_00000783.tmp (No such file or directory)

It looks to me like the @/var/metacat@ directory needs to be restored in order to get this Metacat installation back up and running.

#3 Updated by Jing Tao over 7 years ago

Since mn-orc-1 had an issue without enough spaces, Dave created new partition and the metadata data directory was moved from /var/metacat to /var/data/metacat. I remember the metacat.properties was configured correctly. However, when I looked the file, it isn't. This is weird. I will correct it during the upgrade.

#4 Updated by Matthew Jones over 7 years ago

Jing -- the config probably ended back at defaults during an upgrade. While metacat supports reconfiguring the location of /var/metacat, I highly recommend that you don't, and instead provide a symbolic link from /var/metacat to /var/data/metacat to prevent this problem in the future.

#5 Updated by Jing Tao over 7 years ago

Matt -- Sounds good. I will use a symbolic link from /var/metacat to /var/data/metacat.

#6 Updated by Jing Tao over 7 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Upgraded them to 2.8.2. On mn-orc-1, we use a symbolic link for /var/metacat and /var/data/metacat

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)