Bug 1879428 - Guest data does not show for VMI
Summary: Guest data does not show for VMI
Keywords:
Status: CLOSED DUPLICATE of bug 1884654
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Console Kubevirt Plugin
Version: 4.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.7.0
Assignee: Phillip Bailey
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On: 1883875 1946081
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-16 09:45 UTC by Guohua Ouyang
Modified: 2021-04-04 07:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-07 07:02:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
guest data not show (172.26 KB, image/png)
2020-09-17 07:41 UTC, Guohua Ouyang
no flags Details

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 ***


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