{"action":"created","issue":{"url":"https://api.github.com/repos/irods/irods/issues/2441","labels_url":"https://api.github.com/repos/irods/irods/issues/2441/labels{/name}","comments_url":"https://api.github.com/repos/irods/irods/issues/2441/comments","events_url":"https://api.github.com/repos/irods/irods/issues/2441/events","html_url":"https://github.com/irods/irods/issues/2441","id":51547176,"number":2441,"title":"Using irods with wos resource","user":{"login":"countwitte","id":6272930,"avatar_url":"https://avatars.githubusercontent.com/u/6272930?v=3","gravatar_id":"","url":"https://api.github.com/users/countwitte","html_url":"https://github.com/countwitte","followers_url":"https://api.github.com/users/countwitte/followers","following_url":"https://api.github.com/users/countwitte/following{/other_user}","gists_url":"https://api.github.com/users/countwitte/gists{/gist_id}","starred_url":"https://api.github.com/users/countwitte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/countwitte/subscriptions","organizations_url":"https://api.github.com/users/countwitte/orgs","repos_url":"https://api.github.com/users/countwitte/repos","events_url":"https://api.github.com/users/countwitte/events{/privacy}","received_events_url":"https://api.github.com/users/countwitte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2014-12-10T11:24:41Z","updated_at":"2015-01-09T12:00:34Z","closed_at":null,"body":"irods v4.0.3\r\n\r\nAfter configuring a compound resource to interface iRODS with our WOS storage, I get an error when using the `iput` command. I've pasted the output below to describe the resources, `ils -L`, and the error I get from `iput`.\r\n\r\n```\r\n> iadmin lr wosResc\r\nresc_id: 10021\r\nresc_name: wosResc\r\nzone_name: tempZone\r\nresc_type_name: compound\r\nresc_net: EMPTY_RESC_HOST\r\nresc_def_path: EMPTY_RESC_PATH\r\nfree_space: \r\nfree_space_ts 1970-01-01.01:00:00\r\nresc_info: \r\nr_comment: \r\nresc_status: \r\ncreate_ts 2014-11-11.21:06:52\r\nmodify_ts 2014-12-05.11:48:21\r\nresc_children: cacheResc{cache};archiveResc{archive}\r\nresc_context: \r\nresc_parent: \r\nresc_objcount: 1\r\n\r\n> iadmin lr archiveResc\r\nresc_id: 10025\r\nresc_name: archiveResc\r\nzone_name: tempZone\r\nresc_type_name: wos\r\nresc_net: ####.gla.ac.uk\r\nresc_def_path: /fakePath\r\nfree_space: \r\nfree_space_ts 1970-01-01.01:00:00\r\nresc_info: \r\nr_comment: \r\nresc_status: \r\ncreate_ts 2014-11-11.22:00:51\r\nmodify_ts 2014-11-11.22:01:32\r\nresc_children: \r\nresc_context: wos_host=http://####.gla.ac.uk;wos_policy=test\r\nresc_parent: wosResc\r\nresc_objcount: 0\r\n\r\n> iadmin lr cacheResc\r\nresc_id: 10024\r\nresc_name: cacheResc\r\nzone_name: tempZone\r\nresc_type_name: unixfilesystem\r\nresc_net: ####.gla.ac.uk\r\nresc_def_path: /var/lib/irods/iRODS/Vault\r\nfree_space: \r\nfree_space_ts 1970-01-01.01:00:00\r\nresc_info: \r\nr_comment: \r\nresc_status: \r\ncreate_ts 2014-11-11.21:59:16\r\nmodify_ts 2014-12-05.11:48:21\r\nresc_children: \r\nresc_context: \r\nresc_parent: wosResc\r\nresc_objcount: 1\r\n\r\n> ils -L\r\n/tempZone/home/irods:\r\n  irods             0 wosResc;cacheResc     35809836 2014-12-05.11:48 & install4j_unix_6_0.sh\r\n        wosResc    generic    /var/lib/irods/iRODS/Vault/home/irods/install4j_unix_6_0.sh\r\n  irods             0 demoResc    266700077 2014-11-11.22:05 & RapidMiner-Server-Installer-2.0.008.zip\r\n        demoResc    generic    /var/lib/irods/iRODS/Vault/home/irods/RapidMiner-Server-Installer-2.0.008.zip\r\n\r\n> iput -f -R wosResc GCC_Data/GPSurgeries/gp-healthcentre-clinic.csv\r\nERROR: putUtil: put error for /tempZone/home/irods/gp-healthcentre-clinic.csv, status = -806000 status = -806000 CAT_SQL_ERR\r\n\r\n> ils -L\r\n/tempZone/home/irods:\r\n  irods             0 wosResc;cacheResc        42859 2014-12-10.10:47 & gp-healthcentre-clinic.csv\r\n        wosResc    generic    /var/lib/irods/iRODS/Vault/home/irods/gp-healthcentre-clinic.csv\r\n  irods             0 wosResc;cacheResc     35809836 2014-12-05.11:48 & install4j_unix_6_0.sh\r\n        wosResc    generic    /var/lib/irods/iRODS/Vault/home/irods/install4j_unix_6_0.sh\r\n  irods             0 demoResc    266700077 2014-11-11.22:05 & RapidMiner-Server-Installer-2.0.008.zip\r\n        demoResc    generic    /var/lib/irods/iRODS/Vault/home/irods/RapidMiner-Server-Installer-2.0.008.zip\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/irods/irods/issues/comments/69325939","html_url":"https://github.com/irods/irods/issues/2441#issuecomment-69325939","issue_url":"https://api.github.com/repos/irods/irods/issues/2441","id":69325939,"user":{"login":"countwitte","id":6272930,"avatar_url":"https://avatars.githubusercontent.com/u/6272930?v=3","gravatar_id":"","url":"https://api.github.com/users/countwitte","html_url":"https://github.com/countwitte","followers_url":"https://api.github.com/users/countwitte/followers","following_url":"https://api.github.com/users/countwitte/following{/other_user}","gists_url":"https://api.github.com/users/countwitte/gists{/gist_id}","starred_url":"https://api.github.com/users/countwitte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/countwitte/subscriptions","organizations_url":"https://api.github.com/users/countwitte/orgs","repos_url":"https://api.github.com/users/countwitte/repos","events_url":"https://api.github.com/users/countwitte/events{/privacy}","received_events_url":"https://api.github.com/users/countwitte/received_events","type":"User","site_admin":false},"created_at":"2015-01-09T12:00:34Z","updated_at":"2015-01-09T12:00:34Z","body":"After exploring the issue more with @richard-mansfield we've found that the wos driver is installed and loaded: \r\n\r\n```\r\n:~$ iadmin lt resc_type\r\nunivmss\r\nload_balanced\r\nmso\r\nreplication\r\nunixfilesystem\r\nstructfile\r\nroundrobin\r\nwos\r\ndeferred\r\nmssofile\r\npassthru\r\nmockarchive\r\ncompound\r\nnonblocking\r\nrandom\r\n```\r\nproxy issues were tested and to make sure there were no issues http_proxy and CURLOPT_PROXY were set to \"\", this was also hard coded into the server start up. Also this is a Layer 2 connection.\r\n\r\nWe can successfully communicate with the the wos box on the cmd line from the irods server, for example we are able to run the following successfully:\r\n```\r\ncurl -si -X POST --data-binary @/etc/hosts -H 'x-ddn-policy:test' -H 'x-ddn-meta:\"DDN\":\"Demo\"' http://DDN_IP/cmd/put\r\n\r\ncurl -s \"http://USER:PASS@DDN_IP:8088/mgmt/node_info\" | python -mjson.tool\r\n```\r\nHowever, running a tcpdump on port 80 on both the wos box and the irods server shows that no packets ever leave the irods server when the iput cmd is given. iput does not throw an error and the rodsLog contains no information:\r\n```\r\nirodsServer: /tmp/hudson-irodsbuild/workspace/irods-build-automated_release-ubuntu10/external/boost_1_55_0z/boost/thread/pthread/condition_variable_fwd.hpp:81: boost::condition_variable::~condition_variable(): Assertion `!ret' failed.\r\nJan  9 11:14:38 pid:16702 NOTICE: environment variable set, irodsEnvFile=/var/lib/irods/.irods/.irodsEnv\r\n    LocalHostName:  localhost, IRODS_HOSTNAME, IRODS_HOSTNAME.gla.ac.uk, Port Num: 1247.\r\n\r\nJan  9 11:14:38 pid:16702 NOTICE:    RescName: bundleResc, VaultPath: /bundle\r\nZone Info:\r\n    ZoneName: tempZone   Type: LOCAL_ICAT    HostAddr: localhost   PortNum: 1247\r\n\r\nreHost:   localhost\r\n\r\nJan  9 11:14:38 pid:16702 NOTICE: rodsServer Release version rods4.0.3 - API Version d is up\r\nJan  9 11:14:38 pid:16704 NOTICE: Starting irodsReServer\r\nJan  9 11:14:38 pid:16704 NOTICE: environment variable set, irodsEnvFile=/var/lib/irods/.irods/.irodsEnv\r\nJan  9 11:14:52 pid:16702 NOTICE: Agent process 16731 started for puser=irods and cuser=irods from 127.0.0.1\r\nJan  9 11:14:52 pid:16731 NOTICE: environment variable set, irodsEnvFile=/var/lib/irods/.irods/.irodsEnv\r\nJan  9 11:14:52 pid:16731 NOTICE: readAndProcClientMsg: received disconnect msg from client\r\nJan  9 11:14:52 pid:16731 NOTICE: Agent exiting with status = 0\r\nJan  9 11:15:11 pid:16702 NOTICE: Agent process 16731 exited with status 0\r\nJan  9 11:15:11 pid:16702 NOTICE: Agent process 16802 started for puser=irods and cuser=irods from 127.0.0.1\r\nJan  9 11:15:11 pid:16802 NOTICE: environment variable set, irodsEnvFile=/var/lib/irods/.irods/.irodsEnv\r\nJan  9 11:15:11 pid:16802 NOTICE: readAndProcClientMsg: received disconnect msg from client\r\nJan  9 11:15:11 pid:16802 NOTICE: Agent exiting with status = 0\r\nJan  9 11:15:17 pid:16702 NOTICE: Agent process 16802 exited with status 0\r\nJan  9 11:15:17 pid:16702 NOTICE: Agent process 16807 started for puser=irods and cuser=irods from 127.0.0.1\r\nJan  9 11:15:17 pid:16807 NOTICE: environment variable set, irodsEnvFile=/var/lib/irods/.irods/.irodsEnv\r\nJan  9 11:15:17 pid:16807 NOTICE: readAndProcClientMsg: received disconnect msg from client\r\nJan  9 11:15:17 pid:16807 NOTICE: Agent exiting with status = 0\r\n```\r\n"}}