Vinzenz Feenstra has submitted this change and it was merged.
Change subject: Support for reporting active docker containers
......................................................................
Support for reporting active docker containers
With this patch we'll be able to report active docker containers
running on a VM.
If there are no containers, the reported list would be empty.
The reported data is a list of objects with the following fields:
- id: Docker Container ID
- names: List of aliases for the running container
- image: Name of the running image
- cmd: The command the container was started with
- status: The status message of the container
Change-Id: Iaeab78cdab55ba9a525479a1785c2c1e4730a862
Guest-Agent-API-Version: 3
Bug-Url:
https://bugzilla.redhat.com/1273399
Signed-off-by: Vinzenz Feenstra <vfeenstr(a)redhat.com>
---
M ovirt-guest-agent.rhel6.spec
M ovirt-guest-agent.spec
M ovirt-guest-agent/GuestAgentLinux2.py
M ovirt-guest-agent/GuestAgentWin32.py
M ovirt-guest-agent/OVirtAgentLogic.py
M ovirt-guest-agent/consoleapps/Makefile.am
A ovirt-guest-agent/consoleapps/ovirt-container-list
M ovirt-guest-agent/pam/Makefile.am
A ovirt-guest-agent/pam/ovirt-container-list
M scripts/Makefile.am
A scripts/container-list
M scripts/sudoers.ovirt-guest-agent
M scripts/wrappers/Makefile.am
A scripts/wrappers/ovirt-container-list-wrapper.sh
M tests/guest_agent_test.py
M tests/message_validator.py
16 files changed, 203 insertions(+), 25 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Vinzenz Feenstra: Verified; Looks good to me, approved
Francesco Romani: Looks good to me, but someone else must approve
Milan Zamazal: Looks good to me, but someone else must approve
--
To view, visit
https://gerrit.ovirt.org/47402
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iaeab78cdab55ba9a525479a1785c2c1e4730a862
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-guest-agent
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <vfeenstr(a)redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay(a)redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Polednik <mpolednik(a)redhat.com>
Gerrit-Reviewer: Milan Zamazal <mzamazal(a)redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr(a)redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>