Description of problem: After some period of time, guest agent data stops being reported by virtctl, even though the guest agent is active. The exact threshold at which the data stops being reported is unknown. Version-Release number of selected component (if applicable): virtctl client v0.33.0 How reproducible: 100% Steps to Reproduce: 1. Create and start a VM or VMI 2. Install and enable the guest agent 3. Let it run for potentially up to 24 hours 4. Request the guestosinfo from virtctl Actual results: An error is displayed Expected results: The guestosinfo details are displayed Additional info: This is the error that I get: virtctl -n rhodes guestosinfo vmi-fedora {"component":"","level":"error","msg":"Cannot retrieve GuestOSInfo: an error on the server (\"Operation cannot be fulfilled on virtualmachineinstance.kubevirt.io \\\"vmi-fedora\\\": VMI does not have guest agent connected\") has prevented the request from succeeding","pos":"vmi.go:449","timestamp":"2020-09-30T12:11:56.369648Z"} Error getting guestosinfo of VirtualMachine vmi-fedora, an error on the server ("Operation cannot be fulfilled on virtualmachineinstance.kubevirt.io \"vmi-fedora\": VMI does not have guest agent connected") has prevented the request from succeeding
based on the virtctl version indicated, im setting the bug version to 2.5 instead of 2.1
Actually, it's important to clarify that. Phillip, what version of CNV is running on your cluster? The description of this BZ makes it sound like it might be related to these BZs: https://bugzilla.redhat.com/show_bug.cgi?id=1847525 https://bugzilla.redhat.com/show_bug.cgi?id=1856979
Ignore comment 3 We suspect this is a duplicate of this bug https://bugzilla.redhat.com/show_bug.cgi?id=1886453
moving back to assign since: https://bugzilla.redhat.com/show_bug.cgi?id=1886453#c17
The following steps were done: 1. Fedora VM was created and a guest agent was installed. 2. fslist returned the information properly. 3. Migrate the VM. 4. At the beginning (2 minutes after migration), the fslist worked and returned the information properly for the migrated VM. a few minutes later (4 mins). The fslist stopped working. Lubo is investigating the code and will update on progress
Fixing the bug in https://github.com/kubevirt/kubevirt/pull/4982
Verified on hco v2.6.1-5 Followed steps: 1) create and start vm - OK 2) check guest os info (virtctl get guestosinfo/fslist/userlist) - OK 3) wait ~ 1 hour and check guest os info again - OK 4) migrate vm and check guest os info after ~ 5 hour - OK
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 (CNV 2.6.1 Images), 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/RHEA-2021:1126
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days