Changing default resource in iRODS 4.2.8

89 views
Skip to first unread message

Mohamad Hayek

unread,
Feb 9, 2021, 11:12:44 AM2/9/21
to iRODS-Chat
Hello,

We updated our iRODS instance from 4.2.3 to 4.2.8
in 4.2.3, we uncommented some parts in the core.re to change the default resource.
The lines we changed are (where dss is the default resource we want:

acSetRescSchemeForCreate {msiSetDefaultResc("dss","null"); msiSetRescSortScheme("random"); msiSetRescSortScheme("byRescClass"); }

acSetRescSchemeForCreate {msiSetDefaultResc("dss","null"); }

acSetRescSchemeForRepl {msiSetDefaultResc("dss","null"); }


We did the same for 4.2.8 and got this:

Feb  8 12:13:38 pid:130386  ERROR: Agent [130386] exiting with status = -4000
Feb  8 12:13:38 pid:130315  ERROR: Agent process [130386] exited with status [96]
Feb  8 12:13:39 pid:130390 remote addresses: ERROR: [-]  /irods_git_repo/server/core/src/rsApiHandler.cpp:541:int readAndProcClientMsg(rsComm_t *, int) :  status [SYS_HEADER_READ_LEN_ERR]  errno [] -- messa$
        [-]     /irods_git_repo/lib/core/src/sockComm.cpp:201:irods::error readMsgHeader(irods::network_object_ptr, msgHeader_t *, struct timeval *) :  status [SYS_HEADER_READ_LEN_ERR]  errno [] -- message [failed to call 'read header']
                [-]     /irods_git_repo/plugins/network/tcp/libtcp.cpp:194:irods::error tcp_read_msg_header(irods::plugin_context &, void *, struct timeval *) :  status [SYS_HEADER_READ_LEN_ERR]  errno [] -- message [only read [0] of [4]]

Feb  8 12:13:39 pid:130390  ERROR: Agent [130390] exiting with status = -4000
Feb  8 12:13:39 pid:130315  ERROR: Agent process [130390] exited with status [96]
Feb  8 12:15:48 pid:130485 remote addresses:  ERROR: msiSetRescSortScheme is no longer supported, please use a resource composition of a similar type
Feb  8 12:15:48 pid:130485 remote addresses: ERROR: executeRuleAction Failed for msiSetRescSortScheme status = -66000 SYS_NOT_SUPPORTED

Commenting the lines in core.re on our systems solved the issue.
msiSetRescSortScheme seems to be not supported.

How could I safely change the core.re file to update the default resource?

Best regards
Mohamad

Terrell Russell

unread,
Feb 9, 2021, 1:32:03 PM2/9/21
to irod...@googlegroups.com
I think you've got it...  All you should need is this line:

acSetRescSchemeForCreate {msiSetDefaultResc("dss","null"); }

Terrell




--
--
The Integrated Rule-Oriented Data System (iRODS) - https://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.
To view this discussion on the web visit https://groups.google.com/d/msgid/irod-chat/88ab022b-2580-415a-a2aa-aa865eef166an%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages