Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
3.0 kB
1
Indexable
2023-08-24 12:23:53,807 DEBUG [r-1f4e8e058ee2495b] backend/business/rest_client.py:269:NotifierRestClient._request Response POST http://127.0.0.1:39737/notifier/api/v1/ev/tasks/ <- None -> 200
2023-08-24 12:23:53,813 DEBUG [r-1f4e8e058ee2495b] backend/celery/base_tasks.py:136:ConnectTask.on_failure Task 1e43321c-55ed-4bb7-a129-adf793d5ab1f failed with exception Не разрешено подключать диски iSCSI к хосту, принадлежащему к группе целей iSCSI
2023-08-24 12:23:53,818 DEBUG [r-1f4e8e058ee2495b] backend/business/rest_client.py:269:NotifierRestClient._request Response POST http://127.0.0.1:39737/notifier/api/v1/ev/node_presentation/ <- None -> 200
2023-08-24 12:23:53,820 DEBUG [r-1f4e8e058ee2495b] backend/business/rest_client.py:269:NotifierRestClient._request Response POST http://127.0.0.1:39737/notifier/api/v1/ev/tasks/ <- None -> 200
2023-08-24 12:23:53,820 ERROR [r-1f4e8e058ee2495b] celery/app/trace.py:256:TraceInfo._log_error Task backend.presentation.nodes.iscsi_initiators.tasks.ConnectTask[1e43321c-55ed-4bb7-a129-adf793d5ab1f] raised unexpected: ValidationError('Не разрешено подключать диски iSCSI к хосту, принадлежащему к группе целей iSCSI',)
Traceback (most recent call last):
  File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/celery/app/trace.py", line 382, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/backend/celery/base_tasks.py", line 28, in wrapper
    return fn(*args, **kwargs)
  File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/backend/celery/base_tasks.py", line 101, in __call__
    return self._run(*args, **kwargs)
  File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/backend/celery/base_tasks.py", line 127, in _run
    return super()._run(*args, **kwargs)
  File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/backend/celery/base_tasks.py", line 84, in _run
    return self.run(*args, **kwargs)
  File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/backend/presentation/nodes/iscsi_initiators/tasks.py", line 70, in run
    target = iscsi_initiators_app_service(l).connect(node_id, target_name, portals, auth)
  File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/backend/business/models/nodes/iscsi_initiators/iscsiinitiatorsappservice.py", line 123, in connect
    raise ValidationError(_('Is not permitted to attach iSCSI disks to host belonging to an iSCSI target group'))
backend.business.models.exceptions.ValidationError: Не разрешено подключать диски iSCSI к хосту, принадлежащему к группе целей iSCSI
2023-08-24 12:23:53,824 DEBUG [r-1f4e8e058ee2495b] backend/business/rest_client.py:269:NotifierRestClient._request Response POST http://127.0.0.1:39737/notifier/api/v1/ev/node_presentation/ <- None -> 200