-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Description
We're encountering the following errors when trying to create a group in iRODS 5.0.0. We suspect the issue originates from this.
The client side error:
root@f6655138b3dd:/# cat test.py
import os, os.path
from irods.session import iRODSSession
env_file = os.getenv('IRODS_ENVIRONMENT_FILE', os.path.expanduser('~/.irods/irods_environment.json'))
with iRODSSession(irods_env_file=env_file) as session:
session.groups.create("test_group")
root@f6655138b3dd:/# python3 test.py
Traceback (most recent call last):
File "//test.py", line 9, in <module>
session.groups.create("test_group")
File "/usr/local/lib/python3.12/dist-packages/irods/session.py", line 121, in create
return super(_GroupManager, self).create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/irods/manager/user_manager.py", line 317, in create
response = conn.recv()
^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/irods/connection.py", line 196, in recv
raise exc
irods.exception.SYS_NOT_ALLOWED: Error: Using 'add' with 'user' and type 'rodsgroup' is not allowed. Use 'add' with 'group' instead.
irods logs:
[2025-06-10T09:05:57.661Z][icts-t-cloud-rdm-leu-2] {"processname": "rsyslogd", "groupname": "rsyslogd", "pid": "109", "channel": "stdout", "rsyslogd": {"log_category": "api", "log_level": "info", "log_message": "rsGeneralAdmin: rcGeneralAdmin error -169000", "request_api_name": "GENERAL_ADMIN_AN", "request_api_number": 701, "request_api_version": "d", "request_client_user": "operator", "request_host": "127.0.0.1", "request_proxy_user": "operator", "request_release_version": "rods4.3.4", "server_host": "icts.irods.t.icts.kuleuven.be", "server_pid": 1876577, "server_timestamp": "2025-06-10T09:05:57.660Z", "server_type": "agent", "server_zone": "icts"}}
[2025-06-10T09:05:57.661Z][icts-t-cloud-rdm-leu-2] {"processname": "rsyslogd", "groupname": "rsyslogd", "pid": "109", "channel": "stdout", "rsyslogd": {"log_category": "api", "log_level": "error", "log_message": "_rsGeneralAdmin: Error: Using 'add' with 'user' and type 'rodsgroup' is not allowed. Use 'add' with 'group' instead.", "request_api_name": "GENERAL_ADMIN_AN", "request_api_number": 701, "request_api_version": "d", "request_client_user": "operator", "request_host": "127.0.0.1", "request_proxy_user": "operator", "request_release_version": "rods4.3.4", "server_host": "icts.irods.t.icts.kuleuven.be", "server_pid": 1876577, "server_timestamp": "2025-06-10T09:05:57.660Z", "server_type": "agent", "server_zone": "icts"}}