Skip to content

Can not be connect to Smartsim Redis DB inside of apptainer #529

@Wenke-D

Description

@Wenke-D

Description

Smartsim Redis DB cannot be launched inside of apptainer, not cluster mode nor colocated mode, TCP nor UDS.

In my host machine it is OK

but after launch it inside apptainer shell, the client cannot connect to the DB
Unable to connect to backend database: failed to connect to Redis (127.0.0.1:6379): Connection refused
Unable to connect to backend database: failed to connect to Redis (/tmp/redis.socket): No such file or directory

How to reproduce

Install smartsim inside of an apptainer. The application code and driver code are the demo showing in the officiel documentation.

Expected behavior

application successfully connect to the DB

System

  • OS: Rocky 9 apptainer image over Rockey 9
  • OS version:
  • Commit/version of library: SmartSim 0.80, SmartRedis 0.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugGeneral bug tag before severity classification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions