MG-RAST/Shock

Read-only file system

Closed this issue · 2 comments

Return error message when user tries to create a node on a Shock server whose files system went into read-only mode. Currently connection just times out.

To reproduce, first run mount -o remount,ro /shock-mountpoint. Then, post new content to the object storage service with the following command.

curl -X POST -H "Authorization: OAuth <SANITIZED>" http://seb-shock.mcs.anl.gov:7445/node

This has been resolved. I get this response when POSTing to a read-only filesystem when using latest version:

{"status":400,"data":null,"error":["Error parsing form: open /Volumes/data/temp/55770067919477794108674665223082153551: read-only file system"]}