成島雅人
unread,Mar 30, 2023, 7:08:02 AM3/30/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to iRODS-Chat
I want to set a replica when iput, so core.py (using irods_rule_engine_plugin_python) calls acPostProcForPut and creates a replica with msiDataObjRepl.
Replica is created, but error is printed in debug message and log.
[message]
$ iput testfile00
Level 0: selected destination hierarchy [replResc;replicaresc] is not stale; replication is not allowed.
Level 1: DEBUG: msiDataObjRepl: rsDataObjRepl failed /tempZone/home/rdmuser/testfile00, status = -169000
[log]
log_message":"applyRule: -169000, [-]\t/irods_source/server/re/include/irods/irods_re_plugin.hpp:333:irods::error irods::dynamic_operation_execution_manager<std::tuple<>, RuleExecInfo *, irods::DONT_AUDIT_RULE>::call(const std::string &, const std::string &, OP, As &&...) [T = std::tuple<>, C = RuleExecInfo *, Audit = irods::DONT_AUDIT_RULE, OP = std::function<irods::error (const std::string &, irods::re_pack_inp<std::tuple<>> &)>, As = <const std::string &, irods::re_pack_inp<std::tuple<>> &>] : status [SYS_NOT_ALLOWED] errno [] -- message [irods_rule_engine_plugin_python::irods::error exec_rule(const irods::default_re_ctx &, const std::string &, std::list<boost::any> &, irods::callback) Caught Python exception.\nTraceback (most recent call last):\n File \"/etc/irods/core.py\", line 20, in acPostProcForPut\n callback.msiDataObjRepl(source_file, 'destRescName=' + dest_resource, 0)\nRuntimeError: [iRods__Error__Code:-169000] [-]\t/irods_source/server/re/include/irods/irods_re_plugin.hpp:333:irods::error irods::dynamic_operation_execution_manager<std::tuple<>, RuleExecInfo *, irods::DONT_AUDIT_RULE>::call(const std::string &, const std::string &, OP, As &&...) [T = std::tuple<>, C = RuleExecInfo *, Audit = irods::DONT_AUDIT_RULE, OP = std::function<irods::error (const std::string &, RuleExecInfo *&, irods::unpack &&)>, As = <const std::string &, RuleExecInfo *&, irods::unpack>] : status [SYS_NOT_ALLOWED] errno [] -- message [exec_microservice_adapter failed]\n\t[-]\t/irods_source/server/re/src/irods_re_plugin.cpp:133:irods::error irods::default_microservice_manager<RuleExecInfo *>::exec_microservice_adapter(std::string, irods::default_ms_ctx, std::list<boost::any> &) : status [SYS_NOT_ALLOWED] errno [] -- message [exec_microservice_adapter failed]\n\n\n]\n\t[-]\t/irods_plugin_source/irods_rule_engine_plugin-python.cxx:557:irods::error exec_rule(const irods::default_re_ctx &, const std::string &, std::list<boost::any> &, irods::callback) : status [SYS_NOT_ALLOWED] errno [] -- message [irods_rule_engine_plugin_python::irods::error exec_rule(const irods::default_re_ctx &, const std::string &, std::list<boost::any> &, irods::callback) Caught Python exception.\nTraceback (most recent call last):\n File \"/etc/irods/core.py\", line 20, in acPostProcForPut\n callback.msiDataObjRepl(source_file, 'destRescName=' + dest_resource, 0)\nRuntimeError: [iRods__Error__Code:-169000] [-]\t/irods_source/server/re/include/irods/irods_re_plugin.hpp:333:irods::error irods::dynamic_operation_execution_manager<std::tuple<>, RuleExecInfo *, irods::DONT_AUDIT_RULE>::call(const std::string &, const std::string &, OP, As &&...) [T = std::tuple<>, C = RuleExecInfo *, Audit = irods::DONT_AUDIT_RULE, OP = std::function<irods::error (const std::string &, RuleExecInfo *&, irods::unpack &&)>, As = <const std::string &, RuleExecInfo *&, irods::unpack>] : status [SYS_NOT_ALLOWED] errno [] -- message [exec_microservice_adapter failed]\n\t[-]\t/irods_source/server/re/src/irods_re_plugin.cpp:133:irods::error irods::default_microservice_manager<RuleExecInfo *>::exec_microservice_adapter(std::string, irods::default_ms_ctx, std::list<boost::any> &) : status [SYS_NOT_ALLOWED] errno [] -- message [exec_microservice_adapter failed]\n\n\n]\n\n"