Describe the bug
When starting the actions service via docker compose up, the container crashes with the following error:
File "/app/app/services/executor_registry.py", line 23, in
from app.executors.network import AllowIPExecutor, BlockDomainExecutor, BlockIPExecutor
File "/app/app/executors/network.py", line 21, in
from app.clients.aws_security_groups import AWSSecurityGroupsClient
ImportError: cannot import name 'AWSSecurityGroupsClient' from 'app.clients.aws_security_groups' (/app/app/clients/aws_security_groups.py)
Steps to reproduce
- docker compose up -d
- docker logs aisoc-actions
Expected behavior
The actions service should start without import errors.
Actual behavior
The container crashes with this error:
File "/app/app/services/executor_registry.py", line 23, in
from app.executors.network import AllowIPExecutor, BlockDomainExecutor, BlockIPExecutor
File "/app/app/executors/network.py", line 21, in
from app.clients.aws_security_groups import AWSSecurityGroupsClient
ImportError: cannot import name 'AWSSecurityGroupsClient' from 'app.clients.aws_security_groups' (/app/app/clients/aws_security_groups.py)
Component
Docker / Compose
AiSOC version
AiSOC v5.1.0
Environment
OS: Linux (Ubuntu/Debian)
Checklist
Describe the bug
When starting the actions service via docker compose up, the container crashes with the following error:
File "/app/app/services/executor_registry.py", line 23, in
from app.executors.network import AllowIPExecutor, BlockDomainExecutor, BlockIPExecutor
File "/app/app/executors/network.py", line 21, in
from app.clients.aws_security_groups import AWSSecurityGroupsClient
ImportError: cannot import name 'AWSSecurityGroupsClient' from 'app.clients.aws_security_groups' (/app/app/clients/aws_security_groups.py)
Steps to reproduce
Expected behavior
The actions service should start without import errors.
Actual behavior
The container crashes with this error:
File "/app/app/services/executor_registry.py", line 23, in
from app.executors.network import AllowIPExecutor, BlockDomainExecutor, BlockIPExecutor
File "/app/app/executors/network.py", line 21, in
from app.clients.aws_security_groups import AWSSecurityGroupsClient
ImportError: cannot import name 'AWSSecurityGroupsClient' from 'app.clients.aws_security_groups' (/app/app/clients/aws_security_groups.py)
Component
Docker / Compose
AiSOC version
AiSOC v5.1.0
Environment
OS: Linux (Ubuntu/Debian)
Checklist