Bug 1820141 - [RFE] deploy qemu-quest-agent on the nodes
Summary: [RFE] deploy qemu-quest-agent on the nodes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.7
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
: 4.7.0
Assignee: Evgeny Slutsky
QA Contact: Guilherme Santos
URL:
Whiteboard:
Depends On: 1900759
Blocks: 1186913
TreeView+ depends on / blocked
 
Reported: 2020-04-02 11:02 UTC by Lukas Svaty
Modified: 2024-06-13 22:32 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:10:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 5118141 0 None None None 2020-05-29 16:56:38 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:11:53 UTC

Description Lukas Svaty 2020-04-02 11:02:04 UTC
Description of problem:
RHV needs to support guest-agent for CoreOS.

Introduced here: https://bugzilla.redhat.com/show_bug.cgi?id=1764804

Comment 7 Marina Kalinin 2020-05-29 18:15:58 UTC
Why qemu-guest-agent matters for RHV?
Because it is needed for successful OCP IPI deployment on RHV. 
   For instance - troubleshooting is challenging, since we cannot collect logs: bz#1810438 due missing Guest IP address.
   Other management tasks that GA provides to RHV for the guest management.

Why we need qemu-GA in container?
Because it is the only way to install anything in RHCOS, and RHCOS instances are running in the VMs providing OCP on RHV.

Is qemu-GA relevant to any other product in our portfolio today?
OSP? If OSP has OCP IPI, it may. -> I do not know.
CNV? Only if we start supporting RHCOS as a standard OS in a VM, outside of OCP use case. (or OCP on top of OCP?)  -> Not today.

Comment 10 Arik 2020-09-13 20:46:43 UTC
1. Deploying qemu-guest-agent requires to set the details of the registry (e.g., authentication, image location) and of the qemu-guest-agent service
2. Ideally, qemu-guest-agent needs to be deployed before the node joins the OCP cluster (e.g., to be able to gather logs during the deployment)
3. We'd also like to deploy qemu-guest-agent on the bootstrap VM (that doesn't join the OCP cluster)
4. For this, we need to set the data for deploying qemu-guest-agent through ignition
5. After the node joins the OCP cluster, it makes sense for MCO to control the lifecycle of the qemu-guest-agent container 

It makes little to no sense to let RHV adding the pieces that are required for deploying the qemu-guest-agent to the ignition script.
It makes more sense to have the OCP installer configuring that and let the ignition content propagate through RHV.

Comment 11 Sandro Bonazzola 2020-10-22 11:31:16 UTC
due to capacity constraints we will be revisiting this bug in the upcoming sprint

Comment 12 Sandro Bonazzola 2020-12-03 12:25:27 UTC
still on track to be included in 4.7, waiting info from CoreOS team about including the QGA within CoreOS.

Comment 13 Evgeny Slutsky 2020-12-07 09:56:57 UTC
tested working with release openshift-install-linux-4.7.0-0.nightly-2020-12-04-013308 and oVirt 4.4.2.6

the IP address is reported back to oVirt without any manual intervention.

Comment 15 Guilherme Santos 2020-12-21 13:45:16 UTC
Verified on:
openshift-4.7.0-0.nightly-2020-12-04-013308

Steps:
1. Deployed a OCP Cluster
2. Check on RHV the IPs from the VMs, once the installation was done
3. Logged in one of the vms and checked the status of guest-agent daemon
# systemctl status qemu-guest-agent

Results:
ip showed on RHV UI as expected and guest agent daemon installed and running

Comment 16 Evgeny Slutsky 2020-12-22 11:48:20 UTC
did you notice which IPs were reported to the oVirt Engine ? (  external only or internal also )

Comment 18 errata-xmlrpc 2021-02-24 15:10:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:5633


Note You need to log in before you can comment on or make changes to this bug.