Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1536937

Summary: Guest's ipv4 and ipv6 show N/A on rhv4.2 no matter whether guest's MAC address is distributed by RHV network profile or not
Product: Red Hat Enterprise Virtualization Manager Reporter: mxie <mxie>
Component: ovirt-engineAssignee: Nobody <nobody>
Status: CLOSED NOTABUG QA Contact: meital avital <mavital>
Severity: low Docs Contact:
Priority: low    
Version: 4.2.0CC: juzhou, kuwei, lsurette, michal.skrivanek, mxie, mzhan, nsimsolo, rbalakri, Rhev-m-bugs, srevivo, tzheng, xiaodwan, ykaul
Target Milestone: ---Flags: mxie: needinfo-
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-23 11:35:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
create-guest-rhv.png
none
vmware-original-mac.png
none
vmware-before-import
none
vmware-after-import.png
none
qemu-guest-agent none

Description mxie@redhat.com 2018-01-22 04:54:19 UTC
Created attachment 1384198 [details]
create-guest-rhv.png

Description of problem:
Guest's ipv4 and ipv6 show N/A on rhv4.2 no matter whether guest's MAC address is distributed by RHV network profile or not

Version-Release number of selected component (if applicable):
rhv:4.2.1.1-0.1.el7
vdsm-4.20.13-1.el7ev.x86_64


How reproducible:
100%

Steps to Reproduce:
Scenario1:create a new guest on rhv
1.Login rhv4.2 -> click dashboard-> click 'virtual machine'->click 'new'->input guest name, create instance image and network-> attach os image in CD option and set CD-ROM as first device-> click 'ok' to install os for guest

2.Power on guest after finishing os installation,check guest's network status in os and rhv
2.1 Guest's mac address of rhv is consistent with OS's 
2.2 guest could obtain IP in os normally but ipv4 and ipv6 show N/A at rhv, pls refer to screenshot "create-guest-rhv"



Scenario2:import guest from VMware source
1.Check guest's original mac address is "00:50:56:b7:a6:71"on vsphere client, pls refer to screenshot"vmware-original-mac"

2.Login rhv4.2 -> click dashboard-> click virtual machine -> select import -> choose "Vmware" and input related esxi host info-> load guests sucessfully->select above guest to import->check that guest's mac address is still "00:50:56:b7:a6:71" before import, pls refer to "vmware-before-import"->click 'ok' to import

3.Power on guest after finishing converting, guest could get ip in system normally but the guest's ipv4 and ipv6 still show N/A on rhv4.2, pls refer to screenshot "vmware-after-import"


Actual results:
As above description

Expected results:
Guest could show ipv4 and ipv6 normally on rhv4.2 

Additional info:

Comment 1 mxie@redhat.com 2018-01-22 04:55:03 UTC
Created attachment 1384199 [details]
vmware-original-mac.png

Comment 2 mxie@redhat.com 2018-01-22 04:55:37 UTC
Created attachment 1384200 [details]
vmware-before-import

Comment 3 mxie@redhat.com 2018-01-22 04:56:17 UTC
Created attachment 1384201 [details]
vmware-after-import.png

Comment 4 Michal Skrivanek 2018-01-22 11:52:44 UTC
is ovirt-guest-agent running in the guest? If not then no IP addresses are going o be displayed

Comment 5 mxie@redhat.com 2018-01-23 02:18:30 UTC
Hi Michal,

   This is the first time I heard ovirt-guest-agent service, could you please tell me how to configure this service in guest on rhv? By the way, there is qemu-guest-agent service running in the guest, pls refer to screenshot"qemu-guest-agent"

Thanks

Comment 6 mxie@redhat.com 2018-01-23 02:19:03 UTC
Created attachment 1384652 [details]
qemu-guest-agent

Comment 7 mxie@redhat.com 2018-01-23 04:07:43 UTC
(In reply to mxie from comment #5)
> Hi Michal,
> 
>    This is the first time I heard ovirt-guest-agent service, could you
> please tell me how to configure this service in guest on rhv? By the way,
> there is qemu-guest-agent service running in the guest, pls refer to
> screenshot"qemu-guest-agent"
> 
> Thanks


Hi Michal,

   Sorry for my stupid question, I just found package"ovirt-guest-agent-comment" and rhv-guest-tools-iso. IP address will be displayed on rhv if ovirt-guest-agent service is running in linux guest or launch RHEV-toolsSetup in windows guest,pls help to close the bug, thanks

Comment 8 Michal Skrivanek 2018-01-23 11:35:56 UTC
no problem, I'm glad it works now

Comment 9 Franta Kust 2019-05-16 12:55:12 UTC
BZ<2>Jira re-sync