#23 RFE: Support Containers Natively
Opened 3 years ago by mrniranjan. Modified 3 years ago

pytest-multihost should have support for containers natively. Currently pytest-multihost uses ssh to connect to hosts. Request pytest-multihost to add support for natively support connecting to containers.


Currently pytest-multihost basically relies on ssh being run on the hosts to connect. Though this sufficient for physical and virtual machines. But this does not work in case of containers and making ssh run on existing application containers is no-go. Containers contain at most single process. Running multiple daemons is not something very popular.

This feature request is add another method like ssh to be added to pytest-multihost so that pytest-multihost could connect to containers without requiring ssh to be running on them.

For example podman has support for varlink which can be used to connect to containers.

Example: https://podman.io/blogs/2019/01/16/podman-varlink.html

Another motivation for this as far as sssd is concerned is we in qe would like to run existing pytest-multihost tests on containers. And we would like to utilize same automation to run on containers. Changing our automation code to make it run on containers is not something we would like. So adding functionality of connecting to containers (natively) keeping all the existing method/functions of pytest-multihost in tact would be really be helpful .

Login to comment on this ticket.

Metadata