Bug 1879428

Summary: Guest data does not show for VMI
Product: OpenShift Container Platform Reporter: Guohua Ouyang <gouyang>
Component: Console Kubevirt PluginAssignee: Phillip Bailey <phbailey>
Status: CLOSED DUPLICATE QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: high    
Version: 4.6CC: aos-bugs, gouyang, irosenzw, phbailey, yzamir
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-07 07:02:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1883875, 1946081    
Bug Blocks:    
Attachments:
Description Flags
guest data not show none

Description Guohua Ouyang 2020-09-16 09:45:36 UTC
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:

Comment 1 Ido Rosenzwig 2020-09-17 07:19:11 UTC
which data is not shown ? can you please be more specific ?

Comment 2 Guohua Ouyang 2020-09-17 07:41:26 UTC
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.

Comment 3 Phillip Bailey 2020-09-29 13:03:55 UTC
I was unable to reproduce this bug on master.

Comment 4 Phillip Bailey 2020-09-30 12:59:06 UTC
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.

Comment 5 Yaacov Zamir 2020-10-07 07:02:56 UTC

*** This bug has been marked as a duplicate of bug 1884654 ***