Description of problem: Guest data is showing for VM, but not for VMI. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create a fedora VMI 2. Install qemu-guest-agent and enable the service, then reboot it 3. Actual results: Guest data does not show. Expected results: Guest data shows. Additional info:
which data is not shown ? can you please be more specific ?
Created attachment 1715181 [details] guest data not show The new data fields added on OCP 4.6: OS, TimeZone, Active User and Filesystem. The alert message below 'Status' also shows even with guest agent installed.
I was unable to reproduce this bug on master.
Disregard my last comment. The problem started occurring after the VMI had been running for awhile. The problem appears to be coming from the backend as I get the following message from virtctl even though systemctl reported the qemu-guest-agent as active. 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 I have opened https://bugzilla.redhat.com/show_bug.cgi?id=1883875 to track this bug.
*** This bug has been marked as a duplicate of bug 1884654 ***