Shotgun should collect info about installed packages in containers
Bug #1511730 reported by
Vladimir Kozhukalov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Andrey Tykhonov |
Bug Description
Shotgun should collect info about installed packages in containers. Currently it runs rpm -qa command which is not enough because we need to do this inside all docker containers.
Changed in fuel: | |
milestone: | none → 8.0 |
tags: | added: low-hanging-fruit |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Andrey Tykhonov (atykhonov) |
tags: | added: area-python |
To post a comment you must log in.
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.