To ensure that command will be executed always as remote, we should add new parameter like 'remote' to Command object.
and specify `remote: true` for all commands which work within container.
The reason is simple. If shotgun executes command locally, it will be executed in mcollective container. Otherwise, shotgun will execute remote command by ssh on the host container thus allowing us to look into another containers.
if command will be executed as a remote command (due to utils.is_local improper detection),
then we just need to add new commands such as:
https:/ /github. com/openstack/ fuel-web/ blob/master/ nailgun/ nailgun/ settings. yaml#L781- L783
> command: dockerctl shell <container_name> rpm -qa
To ensure that command will be executed always as remote, we should add new parameter like 'remote' to Command object.
and specify `remote: true` for all commands which work within container.
The reason is simple. If shotgun executes command locally, it will be executed in mcollective container. Otherwise, shotgun will execute remote command by ssh on the host container thus allowing us to look into another containers.