S3_INIT_ERROR status = -701108, Cannot send after transport endpoint shutdown

829 views
Skip to first unread message

sve...@gmail.com

unread,
Nov 7, 2014, 5:10:03 PM11/7/14
to irod...@googlegroups.com
Hi all,

I setup compound resource with unixfilesystem cache and s3 archive - on Ubuntu and getting the following error from iput:

iput -f -R compResc2 /home/admin/foo3.txt
ERROR: putUtil: put error for /tempZone/home/rods/foo3.txt, status = -701108 status = -701108 S3_INIT_ERROR, Cannot send after transport endpoint shutdown

Looking at the logs it seems it attempts to read AWS credentials file from /root directory (although I specified path to my home directory in mkresc) and getting permission denied:

Nov  7 13:59:05 pid:616 ERROR: [-]	libirods_s3.cpp:610:s3StartOperation :  status [SYS_CONFIG_FILE_ERR]  errno [] -- message [Failed to read S3 auth info.]
	[-]	libirods_s3.cpp:273:s3ReadAuthInfo :  status [SYS_CONFIG_FILE_ERR]  errno [] -- message [Failed reading the authorization credentials file.]
		[-]	libirods_s3.cpp:228:readS3AuthInfo :  status [SYS_CONFIG_FILE_ERR]  errno [] -- message [Failed to open S3 auth file: "/root/AWS.keypair", errno = "Permission denied".]

When creating a resource I was following steps on the plugin page: https://github.com/irods/irods_resource_plugin_s3
But it seems that path to AWS.keypair is ignored, it's always looking for the file in root directory. 

How can I reconfigure or workaround this? I'm running as admin user - was following the Docker tutorial to setup: http://irods.org/post/icat-idrop-docker-part1/

Thanks!

Terrell Russell

unread,
Nov 7, 2014, 5:31:30 PM11/7/14
to irod...@googlegroups.com
Can you please share...

`ilsresc -l s3Resc`

for whatever your s3Resc is named?

And you're definitely using a fullpath in the S3_AUTH_FILE value in the context string?

i.e. irods@hostname $ iadmin mkresc archiveResc s3 <hostname>:/<s3BucketName>/irods/Vault S3_AUTH_FILE=</full/path/to/AWS.keypair>


Terrell
> --
> --
> "iRODS: the Integrated Rule-Oriented Data-management System; A community driven, open source, data grid software solution" https://www.irods.org
>  
> iROD-Chat: http://groups.google.com/group/iROD-Chat
>
> ---
> You received this message because you are subscribed to the Google Groups "iRODS-Chat" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to irod-chat+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages